CN113986083A - File processing method and electronic equipment - Google Patents

File processing method and electronic equipment Download PDF

Info

Publication number
CN113986083A
CN113986083A CN202111272564.7A CN202111272564A CN113986083A CN 113986083 A CN113986083 A CN 113986083A CN 202111272564 A CN202111272564 A CN 202111272564A CN 113986083 A CN113986083 A CN 113986083A
Authority
CN
China
Prior art keywords
file
target
user
input
splitting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111272564.7A
Other languages
Chinese (zh)
Inventor
唐应忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202111272564.7A priority Critical patent/CN113986083A/en
Publication of CN113986083A publication Critical patent/CN113986083A/en
Priority to PCT/CN2022/127408 priority patent/WO2023072083A1/en
Pending legal-status Critical Current

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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory

Abstract

The application discloses a file processing method and electronic equipment, and belongs to the technical field of mobile terminals. The method comprises the following steps: receiving a first input of a user for a file list, wherein the file list comprises a plurality of alternative files; in response to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file; receiving a second input of the user for the file splitting control; in response to a second input, at least one target subfile is generated based on the target file.

Description

File processing method and electronic equipment
Technical Field
The application belongs to the technical field of mobile terminals, and particularly relates to a file processing method and electronic equipment
Background
With the increasing abundance of functions of electronic devices, the functions become an essential part of the daily life of people. For example, the user can use the electronic device to transmit a file, thereby obtaining the file data desired by the user. For a certain target file, a user may only need to transmit individual file fragments in the target file, and therefore, the user has a requirement for splitting the target file.
However, in the current splitting process of the target file, a user needs to manually load the target file to a specific other application program for file processing, and then split the file in the application program, so that if the user needs to split the target file in a certain file list, the user needs to call the other application program, and the problems of complex operation process and poor user experience of the file splitting process exist, and in addition, the user needs to additionally install the other application program, which inevitably occupies the memory resource of the electronic device.
Disclosure of Invention
The embodiment of the application aims to provide a file processing method and electronic equipment, and the method and the electronic equipment can solve the problems that an operation process of a file splitting process is complex, user experience is poor, other application programs need to be additionally installed, and memory resources of the electronic equipment tend to be occupied.
In a first aspect, an embodiment of the present application provides a method for processing a file, where the method includes:
receiving a first input of a user for a file list, wherein the file list comprises a plurality of alternative files;
in response to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file;
receiving a second input of the user for the file splitting control;
in response to the second input, generating at least one target subfile based on the target file.
In a second aspect, an embodiment of the present application provides an apparatus for document processing, where the apparatus includes:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving first input of a user for a file list, and the file list comprises a plurality of alternative files;
the splitting control display module is used for responding to the first input, determining a target file to be split in the multiple candidate files and displaying a file splitting control corresponding to the target file;
a second receiving module, configured to receive a second input of the user for the file splitting control;
a file generation module to generate at least one target subfile based on the target file in response to the second input.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, and when executed by the processor, the program or the instruction implements the steps of the method for processing a file according to the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method for processing files according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method for processing a file according to the first aspect.
In the file processing method and the electronic device provided by the embodiment of the application, a first input of a user for a file list is received, wherein the file list comprises a plurality of candidate files; in response to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file; receiving a second input of the user for the file splitting control; in response to a second input, at least one target subfile is generated based on the target file. I.e., after receiving a first input by the user for the file list, if it is determined that the user has a file splitting requirement, determining the alternative file aimed at by the first input as a target file, and directly displaying a file splitting control corresponding to the target file on a certain user interface under a target application corresponding to the file list, so that the user can utilize the file splitting control to trigger the splitting processing of the target file to generate at least one required target subfile, therefore, the file splitting processing can be directly finished under the target application for managing, downloading or generating the target file without moving the target file to other specific file splitting applications, thereby not only improving the file splitting efficiency and the user experience, and additional other application programs do not need to be installed, and the occupation of the memory resource of the electronic equipment due to the installation of excessive application programs with low use frequency can be reduced.
Drawings
FIG. 1a is a first flowchart of a document processing method according to an embodiment of the present disclosure;
FIG. 1b is a second flowchart of a document processing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic view of a first display interface of a method for processing a document according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a second display interface of a method for processing a document according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a third display interface of a method for document processing according to an embodiment of the present disclosure;
FIG. 5 is a diagram illustrating a fourth display interface of a method for document processing according to an embodiment of the disclosure;
FIG. 6 is a schematic diagram of a fifth display interface of a method for processing a document according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a sixth display interface of a method for document processing according to an embodiment of the present application;
FIG. 8 is a block diagram of an apparatus for document processing according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the document processing method provided by the embodiment of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1a is a schematic specific flowchart of a document processing method according to an embodiment of the present application, and as shown in fig. 1a, the document processing method mainly includes:
s102, receiving a first input of a user for a file list, wherein the file list comprises a plurality of alternative files;
the file list may include a plurality of candidate files managed or downloaded under a target application, where the target application may be a file manager, and correspondingly, the file list includes a plurality of candidate files managed under the file manager, and the target application may also be a certain video application or browser application, and correspondingly, the file list includes a plurality of candidate files downloaded under the video application or browser application; the target application may also be a camera application, and correspondingly, the file list includes a plurality of candidate files (such as video files, audio files, or picture files) captured by the camera application.
Wherein the first input may include: any one of a click input of a user on a certain file in the file list, a click input of a user on a designated control on the file list, a voice instruction input by the user, and a specific gesture input by the user may be specifically determined according to an actual use requirement, and the embodiment of the present application does not limit this.
It should be noted that the specific gesture in the embodiment of the present application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture; the click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input.
S104, responding to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file;
specifically, after receiving a first input of a user for a file list, determining an alternative file to which the first input is directed as a target file, for example, after receiving a click input of the user for a certain alternative file in the file list, determining the alternative file as the target file, and for example, after receiving a long-press input of the user for the certain alternative file in the file list, determining the alternative file as the target file; the type of the target file may include: any type of the text file type, the audio file type, the video file type, and the executable file type may be specifically set according to actual requirements, which is not limited in the embodiment of the present application.
The file splitting control can be a sliding progress bar comprising at least one sliding block, and can also be an information input box used for inputting splitting indication information representing a splitting starting point and a splitting ending point; in a specific implementation, the sliding progress bar may be set separately, or an existing file progress bar, for example, a playing progress bar of a video file or an audio file, where in a file playing state, the playing progress bar is used to indicate a playing position of the video, and in a file splitting state, a position of a slider on the playing progress bar is used to indicate a starting point and an ending point of the file splitting.
Specifically, in the display process of the file splitting control, since the file splitting can be directly performed under the user interface where the file list is located, the corresponding file splitting control is correspondingly displayed at the specified position of the target file under the user interface where the file list is located; because the user interface 1 where the file list is located can automatically jump to the next user interface 2 (namely, the splitting interface, the user interface 2 and the user interface 1 are different user interfaces under the target application), the file is split under the splitting interface, and correspondingly, the target file and the corresponding file splitting control are displayed under the splitting interface.
S106, receiving a second input of the file splitting control corresponding to the target file by the user;
wherein the second input may include: any one of the click input of the user to the file splitting control corresponding to the target file, the slide input of the user to the slider on the file splitting control, the information input of the user on the file splitting control, the voice instruction input by the user, and the specific gesture input by the user can be specifically determined according to the actual use requirement, and the embodiment of the application is not limited thereto.
S108, responding to the second input, and generating at least one target subfile based on the target file;
specifically, the target subfile may be a file fragment obtained by a user splitting a target file based on a corresponding file splitting control, and in a specific implementation, the user may split the target file in a file list under a target application (such as a file manager, a video application, a camera application, or a browser application) according to a requirement of the user to obtain a file fragment that the user wants to transmit.
Specifically, after receiving a second input of the user for a file splitting control corresponding to the target file, determining a file segment between a splitting start point and a splitting end point indicated by the second input as the target subfile, for example, after receiving a sliding input of the user for a slider on the file splitting control, determining a file segment between the splitting start point and the splitting end point located by the slider as the target subfile, and for example, after receiving an information input of an information input box on the file splitting control by the user, determining a file segment between the splitting start point and the splitting end point indicated by the information input by the user as the target subfile.
For example, if the type of the target file to be split is a text file type and the target file to be split is a certain novel, the user can input the chapter mark information for section selection in the information input box on the file splitting control according to the requirement of the user, so as to trigger the splitting of the target file into at least one of a text segment containing cover content, a text segment containing directory content and a text segment containing subsequent chapter content based on the chapter mark information for section selection; for another example, if the type of the target file to be split is an audio file type, and the target file to be split is a certain song, the user can locate a splitting starting point and a splitting ending point through a slider on the file splitting control according to the own requirement, so as to trigger the splitting of the target file into at least one of an audio clip containing a prelude, an audio clip containing an interlude, and an audio clip containing a tailpiece based on a starting staying position and an ending staying position of the slider; for another example, if the type of the target file to be split is a video file format type and the target file to be split is a certain episode of television show, the user may input the information of the object to be split in the information input box on the file splitting control according to the own requirement, so as to trigger the splitting of the target file into at least one file segment of a video segment containing a certain scenario and a video segment containing a certain person based on the information of the object to be split.
In the embodiment of the application, after receiving the first input of the user for the file list, if the user is determined to have the file splitting requirement, determining the alternative file aimed at by the first input as a target file, and directly displaying a file splitting control corresponding to the target file on a certain user interface under a target application corresponding to the file list, so that the user can utilize the file splitting control to trigger the splitting processing of the target file to generate at least one required target subfile, therefore, the file splitting processing can be directly finished under the target application for managing, downloading or generating the target file without moving the target file to other specific file splitting applications, thereby not only improving the file splitting efficiency and the user experience, and additional other application programs do not need to be installed, and the occupation of the memory resource of the electronic equipment due to the installation of excessive application programs with low use frequency can be reduced.
Further, considering that after the splitting process is performed on the target file to obtain at least one target subfile, the user may further have a need to transmit the target subfile, and based on this, as shown in fig. 1b, after the generating at least one target subfile based on the target file in response to the second input at S108, further includes:
s110, receiving a third input of the user aiming at the target subfile;
wherein the third input may include: any one of a click input of a user on the target subfile, a drag input of the user on the target subfile, a click input of a user on the designated control, a voice instruction input by the user, and a specific gesture input by the user can be specifically determined according to actual use requirements, and the method is not limited in the embodiment of the application.
And S112, responding to the third input, and transmitting the target subfile selected by the user to the target receiver.
Specifically, after receiving a third input of the user for the target subfile, the target subfile targeted by the third input is determined as the target subfile selected by the user, and the target subfile is transmitted to the target receiver, for example, after receiving an input that the user moves a certain target subfile to a position of a trigger control for representing a file sending segment on a current user interface, the target subfile is transmitted to the target receiver, and for example, after receiving an input that the user clicks both the certain target subfile and the trigger control for representing the file sending segment, the target subfile is transmitted to the target receiver, so that not only the file splitting processing is directly completed under a target application for managing, downloading or generating the target file, but also the transmission of the subfile is further completed under the target application.
Specifically, the target receiving party may include: the cloud server, appoint the friend under using, or with another electronic equipment of present electronic equipment wireless communication connection, wherein, this cloud server can be the server that a certain network disk application corresponds, also can be the cloud server that cloud storage space corresponds of taking oneself in the electronic equipment, the friend under this appointed application can be the friend under a certain instant messaging application, this can be with another electronic equipment of present electronic equipment wireless communication connection with another electronic equipment of present electronic equipment with a certain wireless communication mode set up wireless communication connection, it is concrete can be set for according to actual demand, this application embodiment does not limit to this.
In a specific implementation, the determination process for the target recipient may be a default target recipient, that is, after receiving a transmission trigger input for a certain target subfile by a user, the target subfile is transmitted to the default target recipient; in addition, when it is determined that the user has a need for transferring the subfile, the candidate recipient list may be automatically displayed so that the user may select the target recipient from the candidate recipient list and transfer the target subfile to the target recipient.
Specifically, taking a target application as a file manager as an example, for a case that a target receiver is a cloud server, the file manager may call a certain network disk application, transmit a target subfile selected by a user to a server corresponding to the network disk application, or call a cloud server corresponding to a cloud storage space in an electronic device, and transmit the target subfile selected by the user to the cloud server; aiming at the condition that the target receiver is a friend under a designated application, the file manager can call a certain instant messaging application and transmit the target subfile selected by the user to the friend selected by the user under the file manager; aiming at the condition that the target receiver is another electronic device in wireless communication connection with the current electronic device, the electronic device of the target receiver establishes wireless communication connection with the current electronic device in a certain wireless communication mode, and a file manager of the current electronic device transmits the target subfile selected by the user to the electronic device of the target receiver through a wireless communication module corresponding to the wireless communication mode.
In specific implementation, a file splitting control and a file transmission control are provided for a user under a target application for managing, downloading or generating a target file, namely, the target file is split based on a second input of the user for the file splitting control corresponding to the target file to generate at least one target subfile, and then the target subfile is transmitted to a target receiver by triggering the file transmission control based on a third input of the user for the target subfile, so that the slicing and transmission work of the target file are directly finished under the target application for managing, downloading or generating the target file, and the efficiency of file slicing-transmission is improved.
In the embodiment of the application, a function of slicing and sending a file is simultaneously integrated into a target application for managing, downloading or generating a target file, the target file is firstly split into at least one target subfile based on an input operation of a user for a file splitting control corresponding to the target file, and then the target subfile is transmitted to a target receiver based on an input of the user for the target subfile, so that the user can not only split the file to obtain a file data fragment to be transmitted in the target application for managing, downloading or generating the target file, but also transmit the file data fragment, that is, the slicing-sending function is simultaneously integrated into the target application for managing, downloading or generating the target file, so that the file is more accurately and quickly edited and sent, The method is simple and convenient, and the experience of the user in file transmission is further improved.
Further, considering that the file manager is an application program for managing all files in the electronic device, and the file list includes all files in the electronic device under the file manager, the file splitting function may be provided under the file manager, and further, the sub-file transfer function may also be provided under the file manager, based on which the step S102 receives a first input of the user for the file list, which specifically includes:
receiving a first input of a user for a file list under a user interface of a file manager;
the file manager can be a file management program carried in the electronic equipment, the file management program is used for managing all types of files in the electronic equipment, and a user can view required files under the file management program; specifically, after a user triggers and opens a user interface corresponding to a file manager in the electronic equipment, a file list is displayed on the user interface, and the user can select a certain alternative file under the file list as a target file.
Correspondingly, in the step S106, receiving a second input of the file splitting control corresponding to the target file by the user specifically includes:
and receiving a second input of the user for a file splitting control displayed on a user interface under the file manager.
The file splitting control can be displayed at the designated position of a target file under a user interface where a file list of a file manager is located; the file splitting interface can also be displayed under a splitting interface of a user interface different from a file list of the file manager, for example, after it is determined that a user has a splitting requirement for a certain target file, the user interface 1 where the file list is located automatically jumps to a next user interface 2 (i.e. the splitting interface, where the user interface 2 and the user interface 1 are different user interfaces under the file manager), and the target file and a corresponding file splitting control are displayed under the splitting interface; and then receiving a second input of the user aiming at the file splitting control.
In specific implementation, in consideration of the fact that files stored in electronic equipment are various and complex and are distributed in a plurality of different applications, in order to meet personalized searching requirements of users, a file manager capable of managing all storage resources of the electronic equipment is utilized to realize the file processing method in the application, so that the users can quickly find the required target files; the file manager may be a file management program provided in the electronic device, and stores all types of files in the electronic device.
The target files displayed in the file list under the file manager have multiple preset display modes, and a user can select the corresponding display modes according to actual requirements; for example, if the user needs to search for a file on a certain date, the target files displayed in the file list may be displayed in the positive order according to the storage time of the file; for another example, if the user needs to search for a certain type of file, the target files displayed in the file list may be sorted according to the type of file and displayed in a positive order according to the storage time of the file.
Further, in order to improve the accuracy of file splitting and ensure that the file splitting requirement of a user is met in a personalized manner, considering that the target file has different types, different splitting modes can be set for the target file according to the type of the target file, that is, the splitting unit of the file splitting control is associated according to the type of the target file, so that the file splitting process is faster, simpler and more convenient, and more free, based on this, the S104 displays the file splitting control corresponding to the target file, and specifically includes:
if the target file is a text file, determining a first control taking the size of the file as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file;
specifically, since the file content of the text file corresponds to the file size, the file size progress bar can be used as a file splitting control corresponding to the target file for the text file, so that the user can pointedly clip the document fragment with the preset file size.
And if the target file is a multimedia file, determining a second control taking time as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file.
Specifically, since the multimedia file usually has a playing progress bar related to time, and the position where the file content appears also corresponds to the time, for the multimedia file, the time progress bar can be used as a file splitting control corresponding to the target file, so that the user can pointedly clip the multimedia clip in a certain time period.
If the target file is a picture file, determining a third control element which is divided into splitting units by areas as a file splitting control element, and displaying the file splitting control element corresponding to the target file; for example, the third control may be a draggable region selection box.
Specifically, the picture file can be divided into a plurality of different sub-pictures according to the area, and each sub-picture corresponds to the picture content in a certain area in the picture, so that the draggable area selection frame can be used as a file splitting control corresponding to the target file for the picture file, and a user can pointedly clip the corresponding picture content in a certain area in the picture.
In specific implementation, a file splitting control of a target file is provided on a user interface of a target application for managing, downloading or generating the target file, so that a user can trigger splitting processing for the target file through the file splitting control, wherein in order to improve flexibility in splitting the target file and meet personalized splitting requirements of the user, a plurality of different splitting modes can be set for the target file in the target application for managing, downloading or generating the target file;
for example, the file splitting control may be a sliding progress bar, and correspondingly, the second input is a sliding operation of a user for at least one slider on the sliding progress bar, in a specific implementation, taking a target application as a file manager as an example, the sliding progress bar for indicating splitting of a target file is displayed under the file manager, based on the sliding operation of the user on the sliding progress bar, a first position where a first slider on the sliding progress bar is located is marked as a start splitting position, a second position where a second slider on the sliding progress bar is located is marked as an end splitting position, and a file fragment of the target file between the start splitting position and the end splitting position is determined as a target subfile;
for another example, the file splitting control may also be an information input box, and correspondingly, the second input is that the user can input at least one splitting information of the splitting size, the splitting time interval, the splitting start/stop time, the splitting chapter identifier, and the splitting object in the information input box, in a specific implementation, still taking a target application as a file manager as an example, the information input box for indicating to split the target file is displayed under the file manager, based on the splitting information input by the user for the target file in the information input box, the target file is split into a plurality of file fragments according to at least one splitting information of the splitting size, the splitting time interval, the splitting start/stop time, the splitting chapter identifier, and the splitting object, and the plurality of file fragments are determined as the target subfiles.
In the embodiment of the application, in consideration of the fact that the files stored in the electronic equipment are various and complex and are distributed in a plurality of different applications, the splitting process of the target file can be integrated into a file manager for managing all storage resources of the electronic equipment, so that a user can quickly find the target file required to be split, and meanwhile, a plurality of different splitting modes are set for the target file in the file manager, so that the personalized requirements of the user are met.
Specifically, considering that the target file has different types, different splitting modes can be set for the target file in the file manager according to the type of the target file, so that the file splitting process is quicker, simpler and more free, that is, the type of the target file is associated with the splitting scale type of the file splitting control; in specific implementation, a file list is displayed on a user interface of a file manager, clicking operation of a user for a file in the file list is received, a sliding progress bar with the size of the file as a splitting unit is displayed under the file manager, the length of the sliding progress bar is the size of the text file, a first position where a first slider on the sliding progress bar is located is marked as a splitting starting position, a second position where a second slider on the sliding progress bar is located is marked as a splitting ending position based on the sliding operation of the user on the sliding progress bar, and a file fragment between the splitting starting position and the splitting ending position is determined as a target subfile of the text file; or after receiving a click operation of a user on the text file, displaying an information input box under the file manager, splitting the text file into a plurality of file fragments based on split size information input in the information input box by the user, and determining the plurality of file fragments as target subfiles.
Specifically, when the type of the target file is a multimedia file, the target file is split according to time, and correspondingly, the file splitting control is a control taking time as a splitting unit; in specific implementation, after a click operation of a user on the multimedia file is received, displaying a sliding progress bar with time as a splitting unit under a file manager, wherein the length of the sliding progress bar is the duration of the audio file, marking the time corresponding to a first slider on the sliding progress bar as a splitting starting time, marking the time corresponding to a second slider on the sliding progress bar as a splitting ending time based on the sliding operation of the user on the sliding progress bar, and determining a file fragment of the multimedia file corresponding to the duration from the splitting starting time to the splitting ending time as a target subfile; or after receiving the click operation of the user on the multimedia file, displaying an information input box under the file manager, splitting the multimedia file into a plurality of file fragments based on the splitting time information such as the splitting time interval, the splitting starting and stopping time and the like input in the information input box by the user, and determining the file fragments as target subfiles; in the method, the target file can be split according to the file size when the type of the target file is the multimedia file, considering that the multimedia file not only has a time attribute but also has a size attribute.
Furthermore, for the situation that the file splitting control is a sliding progress bar displayed below the target file, the file fragments which are actually required to be split by the user can be conveniently and quickly positioned on the sliding progress bar by the user, or whether a certain target subfile is a subfile which needs to be transmitted currently can be conveniently and quickly identified by the user, so that the corresponding file content can be displayed in a preview window; specifically, the file content can be displayed in the form of a preview window in the file splitting process, so that a user can quickly locate a file segment to be split based on the file content displayed in the preview window; the content of the subfile can also be displayed in a preview window after the file is split, so that a user can quickly identify whether the target subfile is the subfile which needs to be transmitted currently or not based on the content of the file displayed in the preview window. Specifically, page turning can be automatically performed in the preview window or manually clicked by a user to perform page turning; and displaying a multimedia playing interface corresponding to the target subfile in the preview window and playing sound aiming at the condition that the target file is the multimedia file.
Furthermore, in consideration of the splitting process for the target file, the file can be directly split under the user interface where the file list of the target application (such as a file manager) is located, at this time, the file splitting control is displayed on the user interface where the file list is located, or the file can be split under the splitting interface different from the user interface where the file list of the target application (such as a file manager) is located, at this time, the file splitting control is displayed on the splitting interface; considering the situation that the file is split under the user interface where the file list is located, the target file is displayed in the form of an information list, and the specific file content of the target file cannot be displayed, so that the file content can be displayed in the form of a preview window in the file splitting process, so that a user can quickly locate the file segment to be split based on the file content displayed in the preview window; correspondingly, for the case that the file is split under the splitting interface different from the user interface where the file list is located, specific file content of the target file can be displayed in a certain area of the splitting interface, and the split target subfiles are displayed in another area of the splitting interface in the form of an information list.
Specifically, in the first splitting manner, that is, for a case where a file is split under a user interface where a file list is located, since a target file is displayed in the form of an information list and cannot display specific file content of the target file, the file content can be displayed in the form of a preview window in the file splitting process, so that a user can quickly locate a file segment to be split based on the file content displayed in the preview window, and based on this, in step S104, displaying a file splitting control corresponding to the target file specifically includes:
displaying a file splitting control corresponding to a target file at a specified position of the target file under a file list of a target application, wherein the file splitting control comprises: a sliding progress bar corresponding to a file type of the target file;
specifically, for the case that the target file is a text file, the sliding progress bar with the file size as the splitting unit is determined as a file splitting control, and for the case that the target file is a multimedia file, the sliding progress bar with the playing time as the splitting unit is determined as a file splitting control; in a specific implementation, a sliding progress bar corresponding to the target file may be displayed below a piece of information used for characterizing the target file.
Correspondingly, in the step S106, receiving a second input of the file splitting control corresponding to the target file by the user specifically includes:
displaying a preview window for displaying the file content corresponding to the position of the slider on the sliding progress bar;
and receiving a second input of the user aiming at the slider on the sliding progress bar based on the file content displayed in the preview window.
Specifically, the user may move the slider to a first position and a second position based on the content of the file displayed in the preview window, where the first position may represent a start position of the file splitting, the second position may represent an end position of the file splitting, and a file segment between the first position and the second position is a target subfile.
Further, considering that after the file splitting is completed, the user may further have a need to view the split subfiles, and based on this, after the step S108, generating at least one target subfile based on the target file, the method further includes:
and displaying the file content corresponding to the split target subfile in the preview window.
Specifically, after the user moves the slider to the first position and the second position based on the file content displayed in the preview window, the specific file content of the target subfile may continue to be played in the preview window, so that the user can confirm again whether the target subfile is a file fragment that the user actually wants to split.
In specific implementation, in order to facilitate a user to quickly complete splitting and transmission of a target file, a file splitting related control may be directly provided for the user in a user interface of the file manager, and specifically, a file splitting control for indicating splitting of the target file may be displayed in a lower area of the target file selected by the user. Correspondingly, in order to facilitate the user to quickly locate the file fragment which the user really wants to transmit, after the file splitting control is operated, a preview window of the target file can be directly displayed to the user at the position close to the file splitting control, specifically, the preview window can be displayed in a floating window mode, and a preview interface can also be displayed in a preset area of a user interface of the file manager.
In specific implementation, for a case that the file splitting control is a sliding progress bar, as shown in fig. 2, a file list is displayed on a user interface of the file manager, where the file list includes: after receiving a click operation of a user on an audio file in the file list, displaying a sliding progress bar which takes time as a splitting unit and is used for indicating the splitting of the audio file below the audio file, and displaying file content corresponding to a current stop position corresponding to a slider in the sliding progress bar in a preview window below the sliding progress bar based on the sliding operation of the user on the slider on the sliding progress bar.
In specific implementation, a file list is displayed on a user interface of a file manager according to a condition that a file splitting control is an information input box, after a click operation of a user on an audio file in the file list is received, the information input box is displayed at a preset position away from the audio file, the target file is split into a plurality of target subfiles based on at least one splitting information item of splitting size, splitting time interval, splitting starting and stopping time, splitting chapter marks and splitting objects input by the user in the information input box, and file contents corresponding to the target subfiles are displayed in a preview window, wherein the preview window can be divided into a plurality of sub-windows, and each sub-window respectively displays the file contents corresponding to one target subfile.
Specifically, the second splitting manner, that is, for a case where a file is split on a splitting interface different from a user interface where a file list is located, because a specific file content of a target file may be displayed in a certain area of the splitting interface, and a plurality of split target subfiles are displayed in another area of the splitting interface in the form of an information list, the file content of the target subfile selected by a user may be displayed in the form of a preview window after the file is split, so that the user can quickly identify whether the target subfile is a subfile that needs to be currently transmitted based on the file content displayed in the preview window, based on which, in step S104, the file splitting control corresponding to the target file is displayed, which specifically includes:
receiving a fourth input of the user for the target file;
wherein the fourth input may include: any one of a click input of a user on a target file, an input of a user moving the target file to a file splitting control, a click input of a user on a designated control on a file list, a voice instruction input by the user, and a specific gesture input by the user can be specifically determined according to actual use requirements, and the method is not limited in the embodiment of the application.
Responding to the fourth input, and displaying a splitting interface of the target file;
specifically, after receiving a fourth input of the user for the target file, if it is determined that the user has a file splitting requirement, jumping to a next user interface (i.e., a splitting interface), for example, after receiving an input operation of the user to move a target file in the file list to a file splitting control on the file list, displaying a splitting interface different from the user interface where the file list is located; for another example, after receiving that the user clicks the target file and the file splitting control at the same time, a splitting interface different from the user interface where the file list is located is displayed.
Displaying a target file and a file splitting control corresponding to the target file in a first preset area of the splitting interface;
specifically, the file content of the target file can be displayed in the first preset area, so that a user can quickly position the file fragment which needs to be split actually; the file splitting control can be a sliding progress bar corresponding to the file type of the target file;
specifically, for the case that the target file is a text file, the sliding progress bar with the file size as the splitting unit is determined as a file splitting control, and for the case that the target file is a multimedia file, the sliding progress bar with the playing time as the splitting unit is determined as a file splitting control; in a specific implementation, a sliding progress bar corresponding to the target file may be displayed below a piece of information used for characterizing the target file.
Correspondingly, in step S108, after generating at least one target subfile based on the target file, the method further includes:
step one, displaying at least one target subfile obtained by splitting in a second preset area of the splitting interface;
specifically, the plurality of split target subfiles may be displayed in the second preset area in the form of an information list item by item.
Receiving a fifth input of the user aiming at any target subfile; wherein the fifth input is different from the third input, and the fifth input is used for triggering the display of a preview window for showing the specific file content of the target subfile selected by the user.
Wherein the fifth input may include: any one of the click input of the user on the target subfile, the click input of the user on the designated control on the splitting interface, the voice instruction input by the user and the specific gesture input by the user can be determined according to the actual use requirement, and the method is not limited in the embodiment of the application.
And step three, responding to the fifth input, and displaying a preview window of the target subfile aimed by the fifth input.
Specifically, after receiving a fifth input of the user for the target subfile, displaying a corresponding preview window and displaying the file content of the target subfile selected by the user in the preview window, for example, after receiving a click input of the user for a certain target subfile, displaying the specific file content of the target subfile in the preview window; for another example, after receiving a voice specification input by a user for a certain target subfile, displaying specific file contents of the target subfile in a preview window, so that the user can quickly identify whether the target subfile is a subfile that needs to be currently transmitted based on the file contents displayed in the preview window.
In specific implementation, in order to enable a user to split a target file more systematically, a file splitting interface can be automatically expanded after the user selects the target file, so that richer file related information can be displayed for the user, and the user can more accurately select a file fragment which is really desired to be transmitted; meanwhile, in order to facilitate the user to more accurately select the file fragment which the user really wants to transmit, a preview window of the target subfile can be displayed in the splitting interface.
In specific implementation, as shown in fig. 3, taking a target file as an audio file and taking the duration of the audio file as 3 minutes and 58 seconds for an example, first, a file list is displayed on a user interface of a file manager, a click input of a user for the audio file in the file list is received, then, a splitting interface of the audio file is entered, a file splitting control for indicating splitting of the audio file is displayed in a lower area of the audio file in the splitting interface, as shown in fig. 3, the file splitting control is a sliding progress bar taking time as a splitting unit, the length of the sliding progress bar is 3 minutes and 58 seconds, a second input of the user in the sliding progress bar is received, and an audio clip in the audio file to which the second input is directed is determined as a target subfile; the user can freely split the sliding progress bar in the splitting interface, and split the audio file into a plurality of audio segments, each audio segment can correspond to a different time period, that is, the audio file is split into a plurality of target subfiles, as shown in fig. 3, the audio file is split into three audio subfiles, and the three audio subfiles are displayed in a list form; displaying a plurality of audio clips (an audio subfile 1, an audio subfile 2 and an audio subfile 3) obtained by splitting the audio file in a second preset area of the splitting interface, namely the lowest part of the splitting interface; further, receiving a fifth input of the user for any audio segment; wherein the fifth input and the third input are different inputs; and displaying a preview interface of the audio subfile aimed by the fifth input above the audio subfile list, wherein the preview interface comprises a music playing interface corresponding to the selected audio subfile, the music playing interface comprises lyrics and plays sound, and a user can more accurately select the audio clip which the user really wants to transmit.
In the embodiment of the application, two file splitting interactive modes are provided for a user in a target application for managing, downloading or generating a target file, one mode is that the target file is directly split and previewed on a user interface of the target application, the operation is simple, the use of the user is convenient, and the other mode is that after the target file is selected under the user interface of the target application, a file splitting interface is automatically expanded so as to display richer file related information to the user, the user can more accurately select a file fragment which really wants to be transmitted, and the user can select the two interactive modes based on own requirements, so that the personalized requirements of the user are met.
Further, considering that after the target file is split into the target subfiles, the user may have a requirement for sending the target subfile to a certain receiver, that is, the user needs to transmit the target subfile to the target receiver, in order to make the file transmission process faster, more convenient and simpler, the file transmission function may be incorporated into the target application for managing, downloading or generating the target file, and meanwhile, in order to facilitate the user to quickly select the target receiver to be actually sent, the user may directly and quickly select the target receiver in the target application, and then complete the file transmission, based on this, before transmitting the target subfile selected by the user to the target receiver in the step S112, the method further includes:
displaying a candidate receiver list, wherein the candidate receiver list is determined based on historical behavior data in a preset time period of a user;
specifically, the list of the alternative recipients is determined based on at least one record of an application usage record, a chat record, and a wireless signal connection record of the user within a preset time period; in specific implementation, a file receiving party, which a user wishes to perform file transmission, is automatically identified based on historical behavior data of the user within a preset time period, the identified file receiving party is used as an alternative receiving party and is displayed at a preset position on a user interface of a target application in a list form, for example, the alternative receiving party may be a certain network disk frequently used by the user in the near future, a certain number of friends frequently contacted by the user in the near future under a certain instant messaging application, or an electronic device with which wireless communication connection is established, and the alternative receiving party is displayed at the preset position on the user interface of the target application in the list form.
Correspondingly, the step S112 of transmitting the target subfile selected by the user to the target recipient specifically includes:
and after receiving a sixth input of the user aiming at any alternative receiver in the alternative receiver list, transmitting the target subfile selected by the user to a target receiver corresponding to the sixth input.
Wherein the sixth input may include: any one of the click input of the user to any optional receiver in the list of optional receivers, the click input of the user to the designated control, the voice instruction input by the user, and the specific gesture input by the user may be specifically determined according to the actual use requirement, and the embodiment of the present application does not limit this.
Specifically, after the candidate recipient list is displayed, the user may select a target recipient from the candidate recipient list and trigger transmission of a file desired to be transmitted to the target recipient, specifically, receive a sixth input of the user for any one of the candidate recipients in the candidate recipient list, receive a third input of the user for a target subfile, determine the target subfile as the target subfile selected by the user, and transmit the target subfile selected by the user to the target recipient to which the sixth input is directed; the third input and the sixth input may be the same input, for example, the user drags the target subfile to a position of a certain recipient in the candidate recipient list; the third input and the sixth input may also be different inputs, for example, a user first clicks on a certain receiver in the candidate receiver list, that is, selects the target receiver, and then drags the target subfile to the position of the control for indicating to send the data segment.
In specific implementation, the target receiving party selected by the user may be determined based on the sixth input, and then the target subfile targeted by the third input is dragged to the position of the control for indicating to send the data segment, at this time, the third input and the sixth input are different inputs, that is, the target subfile selected by the user may be transmitted to the target receiving party selected by the user in advance or in default, specifically, the file transmission process may be directly performed in a user interface of a file manager, as shown in fig. 4, in the user interface of the file list in the file manager, the audio subfile corresponding to the sliding progress bar is dragged to the position of the control for indicating to send the data segment; the file transmission process may also be performed in the splitting interface, as shown in fig. 5, in the splitting interface, the audio subfile 1 in the audio subfile list is dragged to the position of the control for indicating to send the data fragment.
In a specific implementation, the target subfile may also be directly dragged to a location of a certain candidate receiver in the list of candidate receivers, at this time, the third input and the sixth input are the same input, and correspondingly, a certain candidate receiver corresponding to the location where the third input is last located in the list of receivers is determined as the target receiver, and the target subfile selected by the user is transmitted to the target receiver, specifically, the file transmission process may be directly performed in the file manager user interface, as shown in fig. 6, in the file manager user interface, the audio file corresponding to the sliding progress bar is dragged to the location of the friend 1 under the communication application in the list of candidate receivers, and the friend 1 is determined as the target receiver, the audio subfile selected by the user is transmitted to the friend 1, and a communication chat interface with the friend 1 is jumped to, specifically, after the audio subfile is determined to be required to be transmitted to the friend 1, the associated application where the friend 1 is located is called, and file transmission is performed through the associated application; as shown in fig. 7, in the splitting interface, dragging the audio subfile 1 in the audio subfile list to the position of the friend 1 under the communication application in the candidate receiver list, determining the friend 1 as a target receiver, transmitting the audio subfile 1 selected by the user to the friend 1, specifically, after determining that the audio subfile 1 needs to be transmitted to the friend 1, calling the associated application where the friend 1 is located, and performing file transmission through the associated application.
In the file processing method provided by the embodiment of the application, a first input of a user for a file list is received, wherein the file list comprises a plurality of alternative files; in response to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file; receiving a second input of the user for the file splitting control; in response to a second input, at least one target subfile is generated based on the target file. I.e., after receiving a first input by the user for the file list, if it is determined that the user has a file splitting requirement, determining the alternative file aimed at by the first input as a target file, and directly displaying a file splitting control corresponding to the target file on a certain user interface under a target application corresponding to the file list, so that the user can utilize the file splitting control to trigger the splitting processing of the target file to generate at least one required target subfile, therefore, the file splitting processing can be directly finished under the target application for managing, downloading or generating the target file without moving the target file to other specific file splitting applications, thereby not only improving the file splitting efficiency and the user experience, and additional other application programs do not need to be installed, and the occupation of the memory resource of the electronic equipment due to the installation of excessive application programs with low use frequency can be reduced.
It should be noted that, in the method for processing a file provided in the embodiment of the present application, the execution main body may be a device for processing a file, or a control module for executing the method for processing a file in the device for processing a file. In the embodiment of the present application, a method for executing a document processing by a document processing apparatus is taken as an example, and the document processing apparatus provided in the embodiment of the present application is described.
Specifically, corresponding to the method for processing the document, as shown in fig. 8, the apparatus for processing the document provided in the embodiment of the present application includes:
a first receiving module 802, configured to receive a first input of a user for a file list, where the file list includes a plurality of candidate files;
a splitting control display module 804, configured to determine, in response to the first input, a target file to be split from the multiple candidate files, and display a file splitting control corresponding to the target file;
a second receiving module 806, configured to receive a second input of the user for the file splitting control;
a file generation module 808, configured to generate at least one target subfile based on the target file in response to the second input.
In the embodiment provided by the application, after receiving the first input of the user for the file list, if the user is determined to have file splitting requirements, determining the alternative file for which the first input is directed as the target file, and directly displaying a file splitting control corresponding to the target file on a certain user interface under the target application corresponding to the file list, so that the user can utilize the file splitting control to trigger the splitting processing of the target file to generate at least one required target subfile, therefore, the file splitting processing can be directly finished under the target application for managing, downloading or generating the target file without moving the target file to other specific file splitting applications, thereby not only improving the file splitting efficiency and the user experience, and additional other application programs do not need to be installed, and the occupation of the memory resource of the electronic equipment due to the installation of excessive application programs with low use frequency can be reduced.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive a third input by the user for the target subfile after generating at least one target subfile based on the target file;
a file transfer module to transfer the user-selected target subfile to a target recipient in response to the third input.
Optionally, the first receiving module 802 is specifically configured to:
receiving a first input of a user for a file list under a user interface of a file manager;
the second receiving module 806 is specifically configured to:
receiving a second input of the user for the file splitting control displayed on the user interface.
Optionally, the split control display module 804 is specifically configured to:
if the target file is a text file, determining a first control taking the size of the file as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file;
and if the target file is a multimedia file, determining a second control taking time as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file.
Optionally, the split control display module 804 is further specifically configured to:
displaying a file splitting control corresponding to the target file at the designated position of the target file under the file list, wherein the file splitting control comprises: a sliding progress bar corresponding to the file type of the target file;
the second receiving module 806 is further specifically configured to:
displaying a preview window for displaying the file content corresponding to the position of the slider on the sliding progress bar;
receiving a second input by the user for the slider based on the file content displayed in the preview window.
Optionally, the apparatus further comprises: a first file content display module to:
and after at least one target subfile is generated based on the target file, displaying file contents corresponding to the target subfile in the preview window.
Optionally, the split control display module 804 is further specifically configured to:
receiving a fourth input of the user for the target file;
in response to the fourth input, displaying a splitting interface of the target file;
displaying the target file and a file splitting control corresponding to the target file in a first preset area of the splitting interface;
the device further comprises: a second file content display module for:
displaying the at least one target subfile in a second preset area of the splitting interface;
receiving a fifth input by the user for any of the target subfiles;
in response to the fifth input, displaying a preview window of the target subfile for which the fifth input is directed.
In the file processing device provided by the embodiment of the application, a first input of a user for a file list is received, wherein the file list comprises a plurality of candidate files; in response to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file; receiving a second input of the user for the file splitting control; in response to a second input, at least one target subfile is generated based on the target file. I.e., after receiving a first input by the user for the file list, if it is determined that the user has a file splitting requirement, determining the alternative file aimed at by the first input as a target file, and directly displaying a file splitting control corresponding to the target file on a certain user interface under a target application corresponding to the file list, so that the user can utilize the file splitting control to trigger the splitting processing of the target file to generate at least one required target subfile, therefore, the file splitting processing can be directly finished under the target application for managing, downloading or generating the target file without moving the target file to other specific file splitting applications, thereby not only improving the file splitting efficiency and the user experience, and additional other application programs do not need to be installed, and the occupation of the memory resource of the electronic equipment due to the installation of excessive application programs with low use frequency can be reduced.
The device for processing the document in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The file processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The file processing apparatus provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1a to 1b, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 900 is further provided in this embodiment of the present application, and includes a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and executable on the processor 901, where the program or the instruction is executed by the processor 901 to implement each process of the above-mentioned method embodiment for processing a file, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 1010 is configured to receive a first input of a user for a file list, where the file list includes a plurality of candidate files;
in response to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file;
receiving a second input of the user for the file splitting control;
in response to the second input, generating at least one target subfile based on the target file.
In the embodiment of the application, after receiving the first input of the user for the file list, if the user is determined to have the file splitting requirement, determining the alternative file aimed at by the first input as a target file, and directly displaying a file splitting control corresponding to the target file on a certain user interface under a target application corresponding to the file list, so that the user can utilize the file splitting control to trigger the splitting processing of the target file to generate at least one required target subfile, therefore, the file splitting processing can be directly finished under the target application for managing, downloading or generating the target file without moving the target file to other specific file splitting applications, thereby not only improving the file splitting efficiency and the user experience, and additional other application programs do not need to be installed, and the occupation of the memory resource of the electronic equipment due to the installation of excessive application programs with low use frequency can be reduced.
Optionally, the processor 1010 is further configured to, after generating at least one target subfile based on the target file, further include:
receiving a third input by the user for the target subfile;
in response to the third input, transmitting the user-selected target subfile to a target recipient.
Optionally, the processor 1010 is configured to receive a first input of a user for a file list, and includes:
receiving a first input of a user for a file list under a user interface of a file manager;
the receiving a second input of the user for the file splitting control comprises:
receiving a second input of the user for the file splitting control displayed on the user interface.
Optionally, the processor 1010 is configured to display a file splitting control corresponding to the target file, and includes:
if the target file is a text file, determining a first control taking the size of the file as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file;
and if the target file is a multimedia file, determining a second control taking time as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file.
Optionally, the processor 1010 is configured to display a file splitting control corresponding to the target file, and includes:
displaying a file splitting control corresponding to the target file at the designated position of the target file under the file list, wherein the file splitting control comprises: a sliding progress bar corresponding to the file type of the target file;
the receiving a second input of the user for the file splitting control comprises:
displaying a preview window for displaying the file content corresponding to the position of the slider on the sliding progress bar;
receiving a second input by the user for the slider based on the file content displayed in the preview window.
Optionally, the processor 1010 is further configured to, after the generating at least one target subfile based on the target file, further include:
and displaying the file content corresponding to the target subfile in the preview window.
Optionally, the processor 1010 is configured to display a file splitting control corresponding to the target file, and includes:
receiving a fourth input of the user for the target file;
in response to the fourth input, displaying a splitting interface of the target file;
displaying the target file and a file splitting control corresponding to the target file in a first preset area of the splitting interface;
after the generating at least one target subfile based on the target file, the method further comprises:
displaying the at least one target subfile in a second preset area of the splitting interface;
receiving a fifth input by the user for any of the target subfiles;
in response to the fifth input, displaying a preview window of the target subfile for which the fifth input is directed.
The electronic device provided by the embodiment of the application receives a first input of a user for a file list, wherein the file list comprises a plurality of alternative files; in response to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file; receiving a second input of the user for the file splitting control; in response to a second input, at least one target subfile is generated based on the target file. I.e., after receiving a first input by the user for the file list, if it is determined that the user has a file splitting requirement, determining the alternative file aimed at by the first input as a target file, and directly displaying a file splitting control corresponding to the target file on a certain user interface under a target application corresponding to the file list, so that the user can utilize the file splitting control to trigger the splitting processing of the target file to generate at least one required target subfile, therefore, the file splitting processing can be directly finished under the target application for managing, downloading or generating the target file without moving the target file to other specific file splitting applications, thereby not only improving the file splitting efficiency and the user experience, and additional other application programs do not need to be installed, and the occupation of the memory resource of the electronic equipment due to the installation of excessive application programs with low use frequency can be reduced.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the method for processing a file, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the method and embodiment of the file processing, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (16)

1. A method of file processing, the method comprising:
receiving a first input of a user for a file list, wherein the file list comprises a plurality of alternative files;
in response to the first input, determining a target file to be split in the multiple candidate files, and displaying a file splitting control corresponding to the target file;
receiving a second input of the user for the file splitting control;
in response to the second input, generating at least one target subfile based on the target file.
2. The method of claim 1, further comprising, after generating at least one target subfile based on the target file:
receiving a third input by the user for the target subfile;
in response to the third input, transmitting the user-selected target subfile to a target recipient.
3. The method of claim 1, wherein receiving a first input from a user for a list of files comprises:
receiving a first input of a user for a file list under a user interface of a file manager;
the receiving a second input of the user for the file splitting control comprises:
receiving a second input of the user for the file splitting control displayed on the user interface.
4. The method of claim 1, wherein the displaying the file splitting control corresponding to the target file comprises:
if the target file is a text file, determining a first control taking the size of the file as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file;
and if the target file is a multimedia file, determining a second control taking time as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file.
5. The method of claim 1, wherein the displaying the file splitting control corresponding to the target file comprises:
displaying a file splitting control corresponding to the target file at the designated position of the target file under the file list, wherein the file splitting control comprises: a sliding progress bar corresponding to the file type of the target file;
the receiving a second input of the user for the file splitting control comprises:
displaying a preview window for displaying the file content corresponding to the position of the slider on the sliding progress bar;
receiving a second input by the user for the slider based on the file content displayed in the preview window.
6. The method of claim 5, further comprising, after the generating at least one target subfile based on the target file:
and displaying the file content corresponding to the target subfile in the preview window.
7. The method of claim 1, wherein the displaying the file splitting control corresponding to the target file comprises:
receiving a fourth input of the user for the target file;
in response to the fourth input, displaying a splitting interface of the target file;
displaying the target file and a file splitting control corresponding to the target file in a first preset area of the splitting interface;
after the generating at least one target subfile based on the target file, the method further comprises:
displaying the at least one target subfile in a second preset area of the splitting interface;
receiving a fifth input by the user for any of the target subfiles;
in response to the fifth input, displaying a preview window of the target subfile for which the fifth input is directed.
8. An apparatus for document processing, the apparatus comprising:
the device comprises a first receiving module, a second receiving module and a display module, wherein the first receiving module is used for receiving first input of a user for a file list, and the file list comprises a plurality of alternative files;
the splitting control display module is used for responding to the first input, determining a target file to be split in the multiple candidate files and displaying a file splitting control corresponding to the target file;
a second receiving module, configured to receive a second input of the user for the file splitting control;
a file generation module to generate at least one target subfile based on the target file in response to the second input.
9. The apparatus of claim 8, further comprising:
a third receiving module, configured to receive a third input by the user for the target subfile after generating at least one target subfile based on the target file;
a file transfer module to transfer the user-selected target subfile to a target recipient in response to the third input.
10. The apparatus of claim 8, wherein the first receiving module is specifically configured to:
receiving a first input of a user for a file list under a user interface of a file manager;
the second receiving module is specifically configured to:
receiving a second input of the user for the file splitting control displayed on the user interface.
11. The apparatus of claim 8, wherein the split control display module is specifically configured to:
if the target file is a text file, determining a first control taking the size of the file as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file;
and if the target file is a multimedia file, determining a second control taking time as a splitting unit as a file splitting control, and displaying the file splitting control corresponding to the target file.
12. The apparatus of claim 8, wherein the split control display module is further specifically configured to:
displaying a file splitting control corresponding to the target file at the designated position of the target file under the file list, wherein the file splitting control comprises: a sliding progress bar corresponding to the file type of the target file;
the second receiving module is further specifically configured to:
displaying a preview window for displaying the file content corresponding to the position of the slider on the sliding progress bar;
receiving a second input by the user for the slider based on the file content displayed in the preview window.
13. The apparatus of claim 12, further comprising: a first file content display module to:
and after at least one target subfile is generated based on the target file, displaying file contents corresponding to the target subfile in the preview window.
14. The apparatus of claim 8, wherein the split control display module is further specifically configured to:
receiving a fourth input of the user for the target file;
in response to the fourth input, displaying a splitting interface of the target file;
displaying the target file and a file splitting control corresponding to the target file in a first preset area of the splitting interface;
the device further comprises: a second file content display module for:
displaying the at least one target subfile in a second preset area of the splitting interface;
receiving a fifth input by the user for any of the target subfiles;
in response to the fifth input, displaying a preview window of the target subfile for which the fifth input is directed.
15. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method of file processing according to any one of claims 1-7.
16. A readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method of file processing according to any one of claims 1 to 7.
CN202111272564.7A 2021-10-29 2021-10-29 File processing method and electronic equipment Pending CN113986083A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111272564.7A CN113986083A (en) 2021-10-29 2021-10-29 File processing method and electronic equipment
PCT/CN2022/127408 WO2023072083A1 (en) 2021-10-29 2022-10-25 File processing method, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111272564.7A CN113986083A (en) 2021-10-29 2021-10-29 File processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN113986083A true CN113986083A (en) 2022-01-28

Family

ID=79744437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111272564.7A Pending CN113986083A (en) 2021-10-29 2021-10-29 File processing method and electronic equipment

Country Status (2)

Country Link
CN (1) CN113986083A (en)
WO (1) WO2023072083A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023072083A1 (en) * 2021-10-29 2023-05-04 维沃移动通信有限公司 File processing method, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808976A (en) * 2014-01-26 2015-07-29 联想(北京)有限公司 File sharing method
CN107635083A (en) * 2017-09-28 2018-01-26 努比亚技术有限公司 The tinkle of bells method to set up, mobile terminal and readable storage medium storing program for executing
CN108471550A (en) * 2018-03-16 2018-08-31 维沃移动通信有限公司 A kind of video intercepting method and terminal
CN110069774A (en) * 2019-03-15 2019-07-30 维沃移动通信有限公司 Text handling method, device and terminal
CN111901534A (en) * 2020-07-23 2020-11-06 北京字节跳动网络技术有限公司 Audio and video segmentation interaction method, device, equipment and storage medium
CN112291341A (en) * 2020-10-28 2021-01-29 维沃移动通信有限公司 File transmission method, device and equipment
CN112437353A (en) * 2020-12-15 2021-03-02 维沃移动通信有限公司 Video processing method, video processing apparatus, electronic device, and readable storage medium
CN112767013A (en) * 2021-01-05 2021-05-07 北京锐安科技有限公司 Business report splitting method, device, server and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017052613A1 (en) * 2015-09-25 2017-03-30 Advanced Bionics Ag Systems and methods for preparing an audio file for an evaluation of cochlear implant system performance
CN105450769A (en) * 2015-12-10 2016-03-30 浪潮通用软件有限公司 File transmission method and device
CN109819306B (en) * 2018-12-29 2022-11-04 花瓣云科技有限公司 Media file clipping method, electronic device and server
US20200245040A1 (en) * 2019-01-25 2020-07-30 International Business Machines Corporation Securing and segmental sharing of multimedia files
CN113986083A (en) * 2021-10-29 2022-01-28 维沃移动通信有限公司 File processing method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808976A (en) * 2014-01-26 2015-07-29 联想(北京)有限公司 File sharing method
CN107635083A (en) * 2017-09-28 2018-01-26 努比亚技术有限公司 The tinkle of bells method to set up, mobile terminal and readable storage medium storing program for executing
CN108471550A (en) * 2018-03-16 2018-08-31 维沃移动通信有限公司 A kind of video intercepting method and terminal
CN110069774A (en) * 2019-03-15 2019-07-30 维沃移动通信有限公司 Text handling method, device and terminal
CN111901534A (en) * 2020-07-23 2020-11-06 北京字节跳动网络技术有限公司 Audio and video segmentation interaction method, device, equipment and storage medium
CN112291341A (en) * 2020-10-28 2021-01-29 维沃移动通信有限公司 File transmission method, device and equipment
CN112437353A (en) * 2020-12-15 2021-03-02 维沃移动通信有限公司 Video processing method, video processing apparatus, electronic device, and readable storage medium
CN112767013A (en) * 2021-01-05 2021-05-07 北京锐安科技有限公司 Business report splitting method, device, server and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023072083A1 (en) * 2021-10-29 2023-05-04 维沃移动通信有限公司 File processing method, and electronic device

Also Published As

Publication number Publication date
WO2023072083A1 (en) 2023-05-04

Similar Documents

Publication Publication Date Title
CN114003326B (en) Message processing method, device, equipment and storage medium
KR20190132360A (en) Method and device for processing multimedia resources
US20200012701A1 (en) Method and apparatus for recommending associated user based on interactions with multimedia processes
CN113300938B (en) Message sending method and device and electronic equipment
US11907316B2 (en) Processor-implemented method, computing system and computer program for invoking a search
CN112399006B (en) File sending method and device and electronic equipment
US20150324086A1 (en) Information processing apparatus, information processing method, and recording medium
CN112286887A (en) File sharing method and device and electronic equipment
WO2023061230A1 (en) Content display method and apparatus, device, and storage medium
CN113127773A (en) Page processing method and device, storage medium and terminal equipment
CN111857460A (en) Split screen processing method, split screen processing device, electronic equipment and readable storage medium
CN113918522A (en) File generation method and device and electronic equipment
CN112486444A (en) Screen projection method, device, equipment and readable storage medium
CN109683760B (en) Recent content display method, device, terminal and storage medium
CN113114845B (en) Notification message display method and device
WO2023072083A1 (en) File processing method, and electronic device
CN113836089A (en) Application program display method and device, electronic equipment and readable storage medium
CN113253883A (en) Application interface display method and device and electronic equipment
CN112328829A (en) Video content retrieval method and device
CN114221923A (en) Message processing method and device and electronic equipment
CN113485600A (en) Singing list sharing method and device and electronic equipment
CN112818094A (en) Chat content processing method and device and electronic equipment
CN113190162A (en) Display method, display device, electronic equipment and readable storage medium
CN112783386A (en) Page jump method, device, storage medium and computer equipment
CN113536037A (en) Video-based information query method, device, equipment and storage medium

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