[go: up one dir, main page]

CN110941590A - File processing method and electronic equipment - Google Patents

File processing method and electronic equipment Download PDF

Info

Publication number
CN110941590A
CN110941590A CN201911100405.1A CN201911100405A CN110941590A CN 110941590 A CN110941590 A CN 110941590A CN 201911100405 A CN201911100405 A CN 201911100405A CN 110941590 A CN110941590 A CN 110941590A
Authority
CN
China
Prior art keywords
file
target
input
control
controls
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
CN201911100405.1A
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 CN201911100405.1A priority Critical patent/CN110941590A/en
Publication of CN110941590A publication Critical patent/CN110941590A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation
    • G06F16/166File name conversion

Landscapes

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

Abstract

本发明提供一种文件处理方法及电子设备,该方法包括:接收第一输入,响应于所述第一输入,显示N个控件,所述第一输入为截屏输入或结束录制输入,N为正整数;接收对所述N个控件中的目标控件的第二输入,响应于所述第二输入,显示所述目标控件对应的页面;在所述目标控件对应的页面确定目标文件的保存位置和文件名中的至少一项,所述目标文件为截屏文件或录制文件。本发明可以提高文件处理效率。

Figure 201911100405

The present invention provides a file processing method and electronic device. The method includes: receiving a first input, and displaying N controls in response to the first input, where the first input is a screen capture input or an end recording input, and N is positive Integer; receive a second input to a target control in the N controls, and in response to the second input, display a page corresponding to the target control; determine the save location of the target file on the page corresponding to the target control and At least one of the file names, and the target file is a screenshot file or a recording file. The present invention can improve the file processing efficiency.

Figure 201911100405

Description

File processing method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a file processing method and electronic equipment.
Background
With the development of electronic equipment, more and more interests are used for recording life by using the electronic equipment, such as recording, recording video, recording screen, capturing screen and the like by using a mobile phone.
At present, after the recording of the electronic device is finished or the screen is captured, the related files are directly saved in the default folder by the default file names, so that the file processing efficiency is low. Such as: if the user needs to change the file name of a certain file subsequently, the user needs to go to the default storage position of the file to select the file, but the default file name has high similarity, and the file which is recorded by mistake is probably selected, namely the selected file is not the file which is expected to be selected; if the user needs to change the storage position of a certain file subsequently, the user needs to go to the default storage position of the file, select the file, and move the file to a self-defined directory through cutting or copying, so that the operation is complicated.
Disclosure of Invention
The embodiment of the invention provides a file processing method and electronic equipment, and aims to solve the problem of low file processing efficiency in the prior art.
In order to solve the problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a file processing method, where the method includes:
receiving a first input, responding to the first input, and displaying N controls, wherein the first input is screen capture input or recording ending input, and N is a positive integer;
receiving a second input to a target control in the N controls, and responding to the second input to display a page corresponding to the target control;
and determining at least one of a storage position and a file name of a target file on a page corresponding to the target control, wherein the target file is a screen shot file or a recorded file.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
the first display module is used for receiving a first input, responding to the first input, and displaying N controls, wherein the first input is screen capture input or recording ending input, and N is a positive integer;
the second display module is used for receiving second input of a target control in the N controls and responding to the second input to display a page corresponding to the target control;
and the determining module is used for determining at least one of a storage position and a file name of a target file on a page corresponding to the target control, wherein the target file is a screen shot file or a recorded file.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the file processing method described above.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the file processing method as described above.
In the embodiment of the invention, after the recording or screen capturing is finished, the electronic equipment displays the N controls, and a user can trigger the electronic equipment to display a page corresponding to the target control by touching the target control in the N controls so as to determine at least one of a storage position and a file name of a target file on the page. Therefore, compared with the prior art that a user can only change the file name and/or the storage position of the target file according to the requirement of the user after the target file is stored to the default storage position by the default file name, the file processing efficiency can be improved by the embodiment of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flowchart of a document processing method according to an embodiment of the present invention;
FIG. 2 is a schematic view of a floating window provided by an embodiment of the present invention;
FIG. 3 is a diagram of a filename determination page provided by an embodiment of the present invention;
FIG. 4 is a schematic diagram of saving a location determination page provided by an embodiment of the invention;
FIG. 5 is a second flowchart of a document processing method according to an embodiment of the present invention;
FIG. 6 is a second flowchart of a file processing method according to an embodiment of the present invention;
FIG. 7 is a block diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a second structural diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description herein are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Further, as used herein, "and/or" means at least one of the connected objects, e.g., a and/or B and/or C, means 7 cases including a alone, B alone, C alone, and both a and B present, B and C present, a and C present, and A, B and C present.
The following describes a document processing method according to an embodiment of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of a file processing method according to an embodiment of the present invention. The file processing method provided by the embodiment of the invention can be applied to electronic equipment. In practical applications, the electronic Device may be an electronic Device, a Tablet Personal Computer (Tablet Personal Computer), a Laptop Computer (Laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), a vehicle-mounted Device, or the like.
As shown in fig. 1, the file processing method may include the steps of:
step 101, receiving a first input, responding to the first input, and displaying N controls, wherein the first input is screen capture input or recording ending input, and N is a positive integer.
In specific implementation, the electronic device may generate a screenshot file and display the N controls in response to the screenshot input when receiving the screenshot input.
The electronic device may generate a recording file and display the N controls in response to the recording end input when receiving the recording end input. Further, the record ending input may be used to trigger the electronic device to end recording, end recording a screen, or end recording a video, and accordingly, the recording file may be a recording file, a screen recording file, or a video file.
In practical applications, N controls may be displayed in a floating window (also referred to as a floating frame). Further, the floating window can also comprise a thumbnail. For ease of understanding, please refer to fig. 2. In fig. 2, the screen 20 pops up a floating window 21, the floating window 21 including a thumbnail 22 and a control 23.
In one implementation manner, optionally, the N controls may include at least one of a first control and a second control, where a page corresponding to the first control may be used to determine a file name of the target file, and a page corresponding to the second control may be used to determine a storage location of the target file.
In another implementation manner, optionally, the N controls may include a third control, and a page corresponding to the third control may be used to determine the file name and the storage location of the target file.
It should be understood that the target file has a correspondence with the first input. Specifically, when the first input is screen capture input, the target file is a screen capture file; and if the first input is the recording ending input, the target file is a recording file.
And 102, receiving a second input of a target control in the N controls, and responding to the second input to display a page corresponding to the target control.
In this embodiment, each of the N controls is in a touchable state. As can be seen from the foregoing, the pages corresponding to different controls are different, and the functions of different pages are different. Therefore, in practical application, a user can select a target control for touch control according to own requirements.
In specific implementation, the display size of the page corresponding to the target can be flexibly adjusted.
And 103, determining at least one of a storage position and a file name of a target file on a page corresponding to the target control, wherein the target file is a screen capture file or a recording file.
In this embodiment, the electronic device may save the target file before, when, or after the page corresponding to the target control determines at least one of the saving location and the file name of the target file. The method can be determined according to actual requirements, and the embodiment of the invention is not limited to the method.
According to the file processing method, after recording or screen capturing is finished, the electronic device displays the N controls, and a user can trigger the electronic device to display a page corresponding to a target control by touching the target control in the N controls, so that at least one of a storage position and a file name of a target file is determined on the page. Therefore, compared with the prior art that a user can only change the file name and/or the storage position of the target file according to the requirement of the user after the target file is stored to the default storage position by the default file name, the file processing efficiency can be improved by the embodiment of the invention.
The following description deals with the case where different expressions of the target control correspond to each other.
In case one, the target control is the first control.
In case one, the page corresponding to the target control is a file name determination page.
Optionally, the determining, at a page corresponding to the target control, at least one of a storage location and a file name of the target file includes:
and determining the input information of the user on the file name determination page as the file name of the target file.
In this embodiment, the file name determination page may include an input box (or called an edit box), and the user may input information such as characters and symbols in the input box.
As shown in fig. 3, the file name determination page 31 may include an input box 32, a determination control 33, and a cancel control 34. In particular implementations, the user may enter information such as characters, symbols, etc. in the input box 32.
If the user clicks the determination control 33, the current input information in the input box 32 may be determined as the file name of the target file. If the user clicks on the cancel control 34, the target file may be named using a default file name.
It should be noted that the file name determination page in fig. 3 is only an example, and the concrete expression of the file name determination page is not limited thereto.
In other embodiments, the file name determination page may include M file names, where M is an integer greater than 1, for selection by a user. In this embodiment, the electronic device may determine a target file name selected by the user at the file name determination page as the file name of the target file. It should be noted that, in some embodiments, the file name determination page may include an input box and M file names.
And in case two, the target control is the second control.
In case two, the page corresponding to the target control is a storage location determination page.
Optionally, the determining, at a page corresponding to the target control, at least one of a storage location and a file name of the target file includes:
and determining a target saving position selected by the user from the candidate saving positions included in the saving position determination page as the saving position of the target file.
In a specific implementation, optionally, the saving position determination page may be as shown in fig. 4. In fig. 4, the saved position determination page 41 includes a selection box 42, a display box 43, a new control 44, a determination control 45, and a cancel control 46.
In which the selection box 42 shows the top-level folder directory already existing in the electronic device. During specific implementation, if a user executes a first touch operation on a certain directory, the electronic device can be triggered to determine the directory as a saved file of a target file; if the user executes a second touch operation on a certain directory, the electronic device can be triggered to display the next folder directory of the directory, and so on.
The display box 43 may display the target saving location selected by the user to prompt the user for the currently selected target saving location. Illustratively, as shown in FIG. 4, the selection box 42 includes a document folder, a movie folder, and a music folder. If the user performs the first touch operation on the document folder, the document folder may be displayed in the display frame 43. Of course, it should be understood that in other embodiments, the electronic device may prompt the user for the currently selected target saving location in other manners, such as highlighting the currently selected target saving location in the selection box 42, in which case the display box may not be included in the saving location determination page.
The user can touch the new control 44 to trigger the electronic device to establish a new storage location. Specifically, the user may trigger the electronic device to create a new directory under the current directory by touching the new creation control 44.
If the user touches the determination control 45, the target saving position currently displayed in the display frame 43 may be determined as the saving position of the target file. If the user touches the cancel control 46, the default save location may be determined as the save location of the target file. Alternatively, the default storage location may be preset, or set to the most recently used storage location.
It should be noted that the saving position determination page in fig. 4 and 5 is only an example, and the specific representation form of the saving position determination page is not limited thereby.
And in case III, the target control is the third control.
For case three, it differs from cases one and two in that: the first case and the second case are to determine the file name and the storage location of the target file through two different pages, respectively, and the third case is to determine the file name and the storage location of the target file through one page at the same time. However, the file name of the target file may be determined in the same manner as in the first case, and the storage location may be determined in the same manner as in the second case, which may specifically refer to the description of the foregoing content, and will not be described herein again.
In this embodiment, optionally, after displaying the N controls, the method further includes:
and hiding the N controls under the condition that the N controls do not receive third input within a preset time length, and saving the target file to a default saving position by using a default file name.
In this embodiment, the N controls only display the preset duration when no input is received. The starting time of the preset duration may be the display time of the N controls, or the time when the electronic device receives the first input.
In specific implementation, the electronic device may detect whether the N controls receive an input within the preset duration.
And if the input is not received, hiding the N controls, and saving the target file to a default saving position by using a default file name. And if the target control in the N controls receives a second input, displaying a page corresponding to the target control, and determining at least one of a storage position and a file name of a target file in the page corresponding to the target control.
It should be noted that, various optional implementations described in the embodiments of the present invention may be implemented in combination with each other or separately without conflict between the implementations, and the embodiments of the present invention are not limited in this respect.
For ease of understanding, examples are described below.
Referring to fig. 5, fig. 5 is a second flowchart of a file processing method according to an embodiment of the present invention. As shown in fig. 5, the file processing method may include the steps of:
step 501, under the condition that the screen recording operation of the user is finished, generating a floating window with an editing file name button on the screen.
And after the user clicks the ending screen recording, a suspension frame pops up in the middle of the electronic equipment. The suspension frame is divided into a thumbnail and a button for editing a file name, the thumbnail can be generated by taking continuous K frames of the beginning of the content of the screen, the button is in a clickable state, and the suspension window only stays for a preset time, such as 2 seconds, under the condition that a user does not touch.
Step 502, detecting whether a user touches a button for editing a file name within a preset time.
The electronic equipment records a time point when screen recording is finished, and detects whether a user touches a button for editing a file name within preset time from the time point.
If yes, go to step 503; if not, go to step 505.
Step 503, pop up the editing page.
The edit page may include an edit box, a cancel button, and a confirm button.
A file name can be generated in the edit box by default, and the file name can be edited.
Step 504, saving the screen file using the name in the edit box.
In particular, the user may edit the file name. And clicking and determining by the user, storing the screen recording content, and adopting the file name in the edit box for screen recording. And clicking by the user to cancel, storing the screen recording content, and naming the file name by adopting an automatically generated name.
And 505, saving the screen recording file by using the automatically generated file name.
The implementation can realize that the user can specify the self-defined file name after the screen is finished, and the user does not need to save the screen recording file and then enter the corresponding directory to modify the name of the file, so that the scheme is more convenient to operate and more flexible in specifying the file name.
Referring to fig. 6, fig. 6 is a third flowchart of a file processing method according to an embodiment of the present invention. As shown in fig. 6, the file processing method may include the steps of:
step 601, under the condition that the user finishes screen recording operation, generating a floating window with a button for selecting and saving the catalog on the screen.
After a user clicks and finishes recording a screen, a suspension frame pops up in the middle of the electronic equipment, the suspension frame is divided into a thumbnail and a button for selecting and storing a catalog, the button is in a clickable state, and the suspension window only stays for a reserved time, such as 2 seconds, under the condition that the user does not touch.
Step 602, detecting whether a user touches a button for selecting a saved directory within a preset time period.
The electronic equipment records the time point of finishing recording the screen, and detects whether a user touches a button for selecting and saving the catalog within a preset time period from the time point.
If yes, go to step 603. Otherwise, step 604 is performed.
Step 603, pop up dialog box that can browse the top-level directory already existing in the electronic device.
In particular, the electronic device may pop up a dialog box in the middle of the screen that may browse the existing top-level directory. Specifically, the dialog box includes a selectable directory, a new folder button, a cancel button, and a confirm button.
The user clicks the specified directory to enter the corresponding directory, and the current folder is updated.
A user clicking on the new folder button may create a directory in the current directory.
And clicking the determined button by the user, and saving the screen recording file to the current directory.
And clicking a cancel button by the user, and recording the screen file to store the default directory of the system. Alternatively, the folder defaults to using the most recently used directory.
And step 604, saving the screen recording file by using the directory selected by the user.
The user selects the save directory. And determining by clicking of the user, storing screen recording contents, and storing the screen recording contents to a documents directory. And clicking by the user to cancel, storing screen recording contents, and storing the screen recording contents to a default directory.
Step 605, saving the screenshot file using a default directory.
According to the method and the device, the user can designate the user-defined directory to store the file after the screen recording is finished, the corresponding directory does not need to be entered after the screen recording file is stored, and the file is moved to the target directory through the copying or cutting function, so that the operation is more convenient and the file storage is more flexible.
Referring to fig. 7, fig. 7 is a block diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 7, the electronic device 700 includes:
the first display module 701 is configured to receive a first input, and in response to the first input, display N controls, where the first input is a screen capture input or a recording ending input, and N is a positive integer;
a second display module 702, configured to receive a second input to a target control in the N controls, and in response to the second input, display a page corresponding to the target control;
a determining module 703, configured to determine at least one of a storage location and a file name of a target file in a page corresponding to the target control, where the target file is a screen capture file or a recording file.
Optionally, the N controls include at least one of a first control and a second control, a page corresponding to the first control is used to determine a file name of the target file, and a page corresponding to the second control is used to determine a storage location of the target file.
Optionally, the target control is the first control; the page corresponding to the target control is a file name determining page;
the determining module 703 is specifically configured to:
and determining the input information of the user on the file name determination page as the file name of the target file.
Optionally, the target control is the second control, and a page corresponding to the target control is a storage location determination page;
the determining module 703 is specifically configured to:
and determining a target saving position selected by the user from the candidate saving positions included in the saving position determination page as the saving position of the target file.
Optionally, the electronic device 700 further includes:
and the hiding module is used for hiding the N controls and saving the target file to a default saving position by a default file name under the condition that the N controls do not receive a third input within a preset time length.
The electronic device 700 can implement the processes in the method embodiment of the present invention and achieve the same beneficial effects, and is not described herein again to avoid repetition.
Referring to fig. 8, fig. 8 is a second structural diagram of an electronic device according to a second embodiment of the present invention, where the electronic device may be a hardware structural diagram of an electronic device for implementing various embodiments of the present invention. As shown in fig. 8, electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, a processor 810, and a power supply 811. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 8 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, an electronic device, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein, the display unit 806 is configured to:
in a case where the user input unit 807 receives a first input, which is a screen capture input or an end recording input, N controls are displayed in response to the first input, where N is a positive integer;
in a case where the user input unit 807 receives a second input for a target control of the N controls, displaying a page corresponding to the target control in response to the second input;
a processor 810 configured to: and determining at least one of a storage position and a file name of a target file on a page corresponding to the target control, wherein the target file is a screen shot file or a recorded file.
Optionally, the N controls include at least one of a first control and a second control, a page corresponding to the first control is used to determine a file name of the target file, and a page corresponding to the second control is used to determine a storage location of the target file.
Optionally, the target control is the first control; the page corresponding to the target control is a file name determining page;
the processor 810 is specifically configured to:
and determining the input information of the user on the file name determination page as the file name of the target file.
Optionally, the target control is the second control, and a page corresponding to the target control is a storage location determination page;
the processor 810 is specifically configured to:
and determining a target saving position selected by the user from the candidate saving positions included in the saving position determination page as the saving position of the target file.
Optionally, the processor 810 is further configured to:
and hiding the N controls under the condition that the N controls do not receive third input within a preset time length, and saving the target file to a default saving position by using a default file name.
It should be noted that, in this embodiment, the electronic device 800 may implement each process in the method embodiment of the present invention and achieve the same beneficial effects, and for avoiding repetition, details are not described here.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 810; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. Further, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 802, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into an audio signal and output as sound. Also, the audio output unit 803 may also provide audio output related to a specific function performed by the electronic apparatus 800 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
The input unit 804 is used for receiving an audio or video signal. The input Unit 804 may include a Graphics Processing Unit (GPU) 8041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 801 in case of a phone call mode.
The electronic device 800 also includes at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 8061 according to the brightness of ambient light and a proximity sensor that can turn off the display panel 8061 and/or the backlight when the electronic device 800 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 805 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 806 is used to display information input by the user or information provided to the user. The Display unit 806 may include a Display panel 8061, and the Display panel 8061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 807 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 8071 (e.g., operations by a user on or near the touch panel 8071 using a finger, a stylus, or any other suitable object or accessory). The touch panel 8071 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 810, receives a command from the processor 810, and executes the command. In addition, the touch panel 8071 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 8071, the user input unit 807 can include other input devices 8072. In particular, other input devices 8072 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.
Further, the touch panel 8071 can be overlaid on the display panel 8061, and when the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch operation is transmitted to the processor 810 to determine the type of the touch event, and then the processor 810 provides a corresponding visual output on the display panel 8061 according to the type of the touch event. Although in fig. 8, the touch panel 8071 and the display panel 8061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated to implement the input and output functions of the electronic device, and the implementation is not limited herein.
The interface unit 808 is an interface for connecting an external device to the electronic apparatus 800. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic device 800 or may be used to transmit data between the electronic device 800 and external devices.
The memory 809 may be used to store software programs as well as various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 809 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 810 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 809 and calling data stored in the memory 809, thereby monitoring the whole electronic device. Processor 810 may include one or more processing units; preferably, the processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
The electronic device 800 may also include a power supply 811 (e.g., a battery) for powering the various components, and preferably, the power supply 811 may be logically coupled to the processor 810 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the electronic device 800 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 810, a memory 809, and a computer program stored in the memory 809 and capable of running on the processor 810, where the computer program, when executed by the processor 810, implements each process of the file processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the file processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as an electronic device, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (12)

1.一种文件处理方法,应用于电子设备,其特征在于,所述方法包括:1. a file processing method, applied to electronic equipment, is characterized in that, described method comprises: 接收第一输入,响应于所述第一输入,显示N个控件,所述第一输入为截屏输入或结束录制输入,N为正整数;receiving a first input, and displaying N controls in response to the first input, where the first input is a screen capture input or an end recording input, and N is a positive integer; 接收对所述N个控件中的目标控件的第二输入,响应于所述第二输入,显示所述目标控件对应的页面;receiving a second input to a target control in the N controls, and in response to the second input, displaying a page corresponding to the target control; 在所述目标控件对应的页面确定目标文件的保存位置和文件名中的至少一项,所述目标文件为截屏文件或录制文件。At least one of a save location and a file name of the target file is determined on the page corresponding to the target control, where the target file is a screenshot file or a recording file. 2.根据权利要求1所述的方法,其特征在于,所述N个控件包括第一控件和第二控件中的至少一项,所述第一控件对应的页面用于确定所述目标文件的文件名,所述第二控件对应的页面用于确定所述目标文件的保存位置。2. The method according to claim 1, wherein the N controls comprise at least one of a first control and a second control, and a page corresponding to the first control is used to determine the File name, the page corresponding to the second control is used to determine the save location of the target file. 3.根据权利要求2所述的方法,其特征在于,所述目标控件为所述第一控件;所述目标控件对应的页面为文件名确定页面;3. The method according to claim 2, wherein the target control is the first control; the page corresponding to the target control is a file name determination page; 所述在所述目标控件对应的页面确定目标文件的保存位置和文件名中的至少一项,包括:Determining at least one of the save location and file name of the target file on the page corresponding to the target control includes: 将用户在所述文件名确定页面的输入信息确定为所述目标文件的文件名。The input information of the user on the file name determination page is determined as the file name of the target file. 4.根据权利要求2所述的方法,其特征在于,所述目标控件为所述第二控件,所述目标控件对应的页面为保存位置确定页面;4. The method according to claim 2, wherein the target control is the second control, and the page corresponding to the target control is a save location determination page; 所述在所述目标控件对应的页面确定目标文件的保存位置和文件名中的至少一项,包括:Determining at least one of the save location and file name of the target file on the page corresponding to the target control includes: 将用户在所述保存位置确定页面包括的候选保存位置中选择的目标保存位置确定为所述目标文件的保存位置。The target save location selected by the user from the candidate save locations included in the save location determination page is determined as the save location of the target file. 5.根据权利要求1至4中任一项所述的方法,其特征在于,所述显示N个控件之后,所述方法还包括:5. The method according to any one of claims 1 to 4, wherein after the N controls are displayed, the method further comprises: 在所述N个控件在预设时长内未接收到第三输入的情况下,隐藏所述N个控件,并将所述目标文件以默认文件名保存到默认保存位置。In the case that the N controls do not receive the third input within a preset time period, the N controls are hidden, and the target file is saved to a default save location with a default file name. 6.一种电子设备,其特征在于,所述电子设备包括:6. An electronic device, characterized in that the electronic device comprises: 第一显示模块,用于接收第一输入,响应于所述第一输入,显示N个控件,所述第一输入为截屏输入或结束录制输入,N为正整数;a first display module, configured to receive a first input, and display N controls in response to the first input, where the first input is a screen capture input or an end recording input, and N is a positive integer; 第二显示模块,用于接收对所述N个控件中的目标控件的第二输入,响应于所述第二输入,显示所述目标控件对应的页面;a second display module, configured to receive a second input to a target control among the N controls, and in response to the second input, display a page corresponding to the target control; 确定模块,用于在所述目标控件对应的页面确定目标文件的保存位置和文件名中的至少一项,所述目标文件为截屏文件或录制文件。A determination module, configured to determine at least one of a storage location and a file name of a target file on a page corresponding to the target control, where the target file is a screenshot file or a recording file. 7.根据权利要求6所述的电子设备,其特征在于,所述N个控件包括第一控件和第二控件中的至少一项,所述第一控件对应的页面用于确定所述目标文件的文件名,所述第二控件对应的页面用于确定所述目标文件的保存位置。7. The electronic device according to claim 6, wherein the N controls comprise at least one of a first control and a second control, and a page corresponding to the first control is used to determine the target file The page corresponding to the second control is used to determine the save location of the target file. 8.根据权利要求7所述的电子设备,其特征在于,所述目标控件为所述第一控件;所述目标控件对应的页面为文件名确定页面;8. The electronic device according to claim 7, wherein the target control is the first control; the page corresponding to the target control is a file name determination page; 所述确定模块,具体用于:The determining module is specifically used for: 将用户在所述文件名确定页面的输入信息确定为所述目标文件的文件名。The input information of the user on the file name determination page is determined as the file name of the target file. 9.根据权利要求7所述的电子设备,其特征在于,所述目标控件为所述第二控件,所述目标控件对应的页面为保存位置确定页面;9. The electronic device according to claim 7, wherein the target control is the second control, and the page corresponding to the target control is a save location determination page; 所述确定模块,具体用于:The determining module is specifically used for: 将用户在所述保存位置确定页面包括的候选保存位置中选择的目标保存位置确定为所述目标文件的保存位置。The target save location selected by the user from the candidate save locations included in the save location determination page is determined as the save location of the target file. 10.根据权利要求6至9中任一项所述的电子设备,其特征在于,所述电子设备还包括:10. The electronic device according to any one of claims 6 to 9, wherein the electronic device further comprises: 隐藏模块,用于在所述N个控件在预设时长内未接收到第三输入的情况下,隐藏所述N个控件,并将所述目标文件以默认文件名保存到默认保存位置。A hiding module, configured to hide the N controls when the N controls do not receive a third input within a preset time period, and save the target file to a default save location with a default file name. 11.一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的文件处理方法的步骤。11. An electronic device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and running on the processor, the computer program being executed by the processor to achieve the right The steps of the document processing method described in any one of claims 1 to 5. 12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的文件处理方法的步骤。12. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program according to any one of claims 1 to 5 is implemented. The steps of the file processing method.
CN201911100405.1A 2019-11-12 2019-11-12 File processing method and electronic equipment Pending CN110941590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911100405.1A CN110941590A (en) 2019-11-12 2019-11-12 File processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911100405.1A CN110941590A (en) 2019-11-12 2019-11-12 File processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110941590A true CN110941590A (en) 2020-03-31

Family

ID=69907665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911100405.1A Pending CN110941590A (en) 2019-11-12 2019-11-12 File processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110941590A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468110A (en) * 2021-06-10 2021-10-01 北京达佳互联信息技术有限公司 File management method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426295A (en) * 2015-11-18 2016-03-23 广东欧珀移动通信有限公司 Video production method and device
CN106791545A (en) * 2016-12-30 2017-05-31 深圳天珑无线科技有限公司 Data recording method and recording terminal and mobile terminal
CN107273005A (en) * 2017-04-19 2017-10-20 上海卓悠网络科技有限公司 A kind of screenshotss method and device
CN108196750A (en) * 2018-01-03 2018-06-22 努比亚技术有限公司 The method, apparatus and computer readable storage medium of screen interface sectional drawing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426295A (en) * 2015-11-18 2016-03-23 广东欧珀移动通信有限公司 Video production method and device
CN106791545A (en) * 2016-12-30 2017-05-31 深圳天珑无线科技有限公司 Data recording method and recording terminal and mobile terminal
CN107273005A (en) * 2017-04-19 2017-10-20 上海卓悠网络科技有限公司 A kind of screenshotss method and device
CN108196750A (en) * 2018-01-03 2018-06-22 努比亚技术有限公司 The method, apparatus and computer readable storage medium of screen interface sectional drawing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
九天科技: "《电脑入门傻瓜书 Windows 7+Office 2010》", 31 May 2014, 中国铁道出版社 *
朱定见: "《微课、慕课与翻转课堂视频制作一本通》", 31 October 2019, 西南交通大学出版社 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468110A (en) * 2021-06-10 2021-10-01 北京达佳互联信息技术有限公司 File management method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108762954B (en) Object sharing method and mobile terminal
WO2019137429A1 (en) Picture processing method and mobile terminal
CN110909524B (en) Editing method and electronic equipment
CN110007835B (en) Object management method and mobile terminal
CN110618969B (en) Icon display method and electronic equipment
CN111142723B (en) Icon moving method and electronic device
CN109213416B (en) A display information processing method and mobile terminal
EP3699743B1 (en) Image viewing method and mobile terminal
CN108334265B (en) A kind of document handling method and mobile terminal
CN111338530A (en) Application icon control method and electronic device
CN108763540B (en) A file browsing method and terminal
CN111143299A (en) File management method and electronic equipment
CN108052251A (en) A kind of screenshotss method for information display and mobile terminal
CN108132749B (en) Image editing method and mobile terminal
US20210200432A1 (en) Display method and mobile terminal
CN108646960B (en) File processing method and flexible screen terminal
CN111124223A (en) Application interface switching method and electronic device
CN108124059A (en) A kind of way of recording and mobile terminal
WO2020156118A1 (en) Management method and terminal apparatus
CN108121486B (en) Picture display method and mobile terminal
CN111008179A (en) A file management method and electronic device
CN111459374A (en) Interactive method and electronic device
CN110333803B (en) A kind of multimedia object selection method and terminal device
CN109683768A (en) A kind of operating method and mobile terminal of application
CN111061446A (en) A display method and electronic device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200331