CN108958578B - File control method and device and electronic device - Google Patents

File control method and device and electronic device Download PDF

Info

Publication number
CN108958578B
CN108958578B CN201810645901.4A CN201810645901A CN108958578B CN 108958578 B CN108958578 B CN 108958578B CN 201810645901 A CN201810645901 A CN 201810645901A CN 108958578 B CN108958578 B CN 108958578B
Authority
CN
China
Prior art keywords
file
display area
information display
touch operation
icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810645901.4A
Other languages
Chinese (zh)
Other versions
CN108958578A (en
Inventor
廖新风
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810645901.4A priority Critical patent/CN108958578B/en
Publication of CN108958578A publication Critical patent/CN108958578A/en
Application granted granted Critical
Publication of CN108958578B publication Critical patent/CN108958578B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application discloses a file control method and device and an electronic device. The method comprises the following steps: detecting a touch operation acting on an application icon; if the touch operation acting on the application program icon is detected and the detected touch operation meets a preset condition, displaying an information display area on an interface where the application program icon is located; and acquiring a target file identifier determined from the information display area, and opening a file corresponding to the target file identifier. According to the method, the electronic device can control the file corresponding to the target identification to display the content after acquiring the target identification determined from the information display area, so that in the process of displaying the content of the file, a user does not need to open an application program for displaying the file first and then select the displayed file from the application program, the file display steps are simplified, and the user experience is improved.

Description

File control method and device and electronic device
Technical Field
The present disclosure relates to the field of electronic devices, and more particularly, to a file control method and apparatus, and an electronic device.
Background
With the function enrichment of the electronic device, the electronic device can display the contents of more types of files. For example, a music playing application may play audio files, a text file reader may present the content of a text file, and a video playing application may play the content of a video file. However, for any type of file, before displaying the content of the file, the corresponding application program needs to be started first, and then the file to be displayed needs to be selected from the started application programs, so that the file displaying step is complicated, and the user experience is poor.
Disclosure of Invention
In view of the above problems, the present application provides a file control method, device and electronic device to improve the above problems.
In a first aspect, the present application provides a file control method applied to an electronic device, the method including: detecting a touch operation acting on an application icon; if the touch operation acting on the application program icon is detected and the detected touch operation meets the preset condition, displaying an information display area on an interface where the application program icon is located, wherein a file identifier in an application program corresponding to the application program icon is displayed in the information display area; and acquiring a target file identifier determined from the information display area, and opening a file corresponding to the target file identifier.
In a second aspect, the present application provides a file control apparatus, operating in an electronic apparatus, the file control apparatus comprising: the icon touch detection unit is used for detecting touch operation acting on the application icon; the file identification display unit is used for displaying an information display area on an interface where the application program icon is located if touch operation acting on the application program icon is detected and the detected touch operation meets a preset condition, wherein the information display area displays a file identification in an application program corresponding to the application program icon; and the file control unit is used for acquiring the target file identifier determined from the information display area and opening the file corresponding to the target file identifier.
In a third aspect, the present application provides an electronic device comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the methods described above.
In a fourth aspect, the present application provides a computer-readable storage medium comprising a stored program, wherein the method described above is performed when the program is executed.
In a fifth aspect, the present application provides an electronic device comprising a detection circuit and a processing circuit coupled to each other; the detection circuit is used for detecting touch operation acting on the application program icon; if the touch operation acting on the application program icon is detected and the detected touch operation meets the preset condition, displaying an information display area on an interface where the application program icon is located, wherein a file identifier in an application program corresponding to the application program icon is displayed in the information display area; and the processing circuit is used for acquiring the target file identifier determined from the information display area and opening the file corresponding to the target file identifier.
According to the file control method, the file control device and the electronic device, by detecting the touch operation acting on the application icon, when the touch operation acting on the application icon is detected and the detected touch operation meets the preset condition, an information display area displaying the identification of the file corresponding to the application program to which the application icon belongs is displayed on the interface where the application icon is located, so that a user can directly select the file with required display content from the information display area according to the file identification, the electronic device can control the file corresponding to the target identification to display the content after acquiring the target identification determined from the information display area, and the user does not need to open the application program for displaying the file first and then select the displayed file from the application program in the process of displaying the content of the file, the file display method simplifies the file display steps and improves the user experience.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 illustrates a flow chart of a document control method as set forth in the present application;
FIG. 2 is a schematic diagram illustrating an interface for placing application icons in a file control method proposed by the present application;
fig. 3 is a schematic diagram illustrating page turning in an information display area in a file control method according to the present application;
FIG. 4 is a diagram illustrating a file identification display in a file control method according to the present application;
FIG. 5 is a schematic diagram illustrating a position indication display in a document control method proposed in the present application;
FIG. 6 illustrates a flow chart of another document control method presented herein;
FIG. 7 is a schematic diagram illustrating a first distance and a second distance of another document control method proposed by the present application;
FIG. 8 is a flow chart illustrating yet another document control method set forth herein;
FIG. 9 is a block diagram showing a structure of a document control apparatus proposed in the present application;
FIG. 10 is a block diagram showing the construction of another document control apparatus proposed in the present application;
FIG. 11 is a block diagram showing a structure of still another document control apparatus proposed in the present application;
fig. 12 is a schematic structural diagram of an electronic device for executing a file control method according to an embodiment of the present application.
Fig. 13 is a block diagram illustrating a configuration of an electronic apparatus according to the present application for executing a file control method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Often, a user will install various applications in the electronic device to run different files. For example, for an audio file, open playback may be performed by a music playback application installed in the electronic device. And for the video file, the video file can be opened and played through a video playing application program installed in the electronic device. And the text file can be opened and viewed by a text reading application program installed in the electronic device.
The inventor finds that although there are many types of files, it is usually necessary to start a corresponding running application program in an electronic device and then search or browse the required files in an interface of the started application program in order to open the required files. For example, when a user needs to listen to music, the user usually starts a music playing application program, and then goes to an interface of the music playing application program to select music to be played, and the application playing application program displays file identifiers of all audio files stored in the electronic device, which inevitably causes the user to spend a certain time on selecting music to be played.
Therefore, in order to facilitate a user to quickly select a file to be opened by the user and improve user experience, the inventor proposes a file control method, a file control device and an electronic device in the application.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1, a file control method provided by the present application is applied to an electronic device, and the method includes:
step S110: touch operation acting on the application program icon is detected.
Generally, application icons are configured corresponding to all applications installed in an electronic device, and the application icons are generally configured to be set on a system desktop, so that the corresponding applications can be started by touching the application icons on the system desktop. And it is usually detected that the touch operation, i.e. the touch operation of starting the application, is a touch or a press. It is understood that, in order to distinguish the touch manner from the touch manner in which the control application is immediately started, the touch detection condition of the touch operation in the present application is different from the touch manner in which the control application is started.
Step S120: if the touch operation acting on the application program icon is detected, and the detected touch operation meets the preset condition, displaying an information display area on an interface where the application program icon is located, wherein a file identifier in an application program corresponding to the application program icon is displayed in the information display area.
The touch operation can be determined whether to meet the preset condition through the duration or the strength of the touch operation. As a mode, the preset condition includes that the duration of the touch operation meets a preset duration; or the strength of the touch operation meets the preset strength. As shown in fig. 2, the schematic diagram of the information display area not displayed in the interface displaying the application icon is shown. The preset duration and the preset force can be uniformly configured according to experience values, and can also be configured according to the use habits of different users.
As a manner in which when a plurality of files are identified, the plurality of files can be displayed in the information display area in a plurality of manners. For example, for an audio file and a video file, the total usage frequency or the usage frequency in a period of time may be counted, and the file identifiers displayed in the information display area are sequentially arranged according to the total usage frequency or the usage frequency in a period of time of the file corresponding to the file identifier from high to low.
It should be noted that the information display area may have a plurality of pages, and may be arranged in an arrangement manner in each page. For example, in the case where the information display area includes a first page and a second page, the order of the audio files and the video files that have been downloaded into the electronic device may be displayed in the first page, while the order of the audio files and the video files in the network music library is displayed in the second page. Further, as one mode, file identifiers sorted according to the frequency of use may be displayed in the first page, and file identifiers that are specially marked by the user, for example, file identifiers of files set to be of particular interest or favorite by the user, may be displayed in the second page. As shown in fig. 3, the first page is not shown in the left-hand side of the drawing in fig. 3, and when a user is detected to perform a sliding operation as shown in the first page 99, the information display area is switched to the second page 98.
And for text files, the arrangement can be performed according to the editing time sequence. In this case, the file identifiers corresponding to the text files may be arranged according to the distance from the current time, wherein the text files with editing time closer to the current time have the higher corresponding rank. Doc is the document that the user has most recently edited when sorted in the order from top to bottom in fig. 4, for example, as shown in fig. 4.
Step S130: and acquiring a target file identifier determined from the information display area, and opening a file corresponding to the target file identifier.
As one way, the position of the file identifier acted on by the touch operation in the information display area may be detected to identify the target file identifier selected by the user. For example, if it is shown in 3, when it is detected that the user clicks "insomnia worldwide", the target file is identified as "insomnia worldwide".
In addition, in order to facilitate a user to operate the electronic device with one hand, as a manner, after detecting a continuous sliding operation in the touch operation, where a sliding direction of the sliding operation is a preset direction, and the sliding end point stays for a preset time length, a position identifier corresponding to a file identifier ranked at a first position is displayed in the information display area, and if the electronic device detects that the electronic device continues to stay at the sliding end point for the preset time length, the position identifier is moved to a position corresponding to a file identifier ranked at a second position, and the position identifier is moved along with the arrangement sequence in such a pair that the position identifier is increased along with the stay at the sliding end point.
For example, as shown in fig. 5, in the information display area 96, after the sliding operation continuous with the aforementioned touch operation is moved to the end point 93 by the touch point 94 in the direction indicated by the arrow, the position mark 95 is displayed in the information display area 96 after the end point stays for t seconds, and if the touch maintaining effect of the terminal 93 is continued and the touch maintaining effect lasts for t seconds again, the position mark 95 is moved to the position shown in the right side diagram, and after the position mark 95 is displayed, when the touch operation of the terminal 93 disappears after the touch operation disappears, the electronic apparatus disappears, and the file mark corresponding to the position mark 95 is taken as the target file mark, so that the user can open the file with one hand.
The file control method provided by the application comprises the steps that touch operation acting on an application icon is detected, when the touch operation acting on the application icon is detected, and the detected touch operation meets a preset condition, an information display area displaying an identifier of a file corresponding to an application program to which the application icon belongs is displayed on an interface where the application icon is located, so that a user can directly select the file with required display content from the information display area according to the file identifier, an electronic device can control the file corresponding to the target identifier to display the content after acquiring the target identifier determined from the information display area, and the user does not need to open the application program for displaying the file first and then select the displayed file from the application program in the process of displaying the content of the file, the file display method simplifies the file display steps and improves the user experience.
Referring to fig. 6, a file control method provided by the present application is applied to an electronic device, and the method includes:
step S210: touch operation acting on the application program icon is detected.
Step S220: if the touch operation acting on the application program icon is detected and the detected touch operation meets the preset condition, acquiring a first distance between the application program icon and the top of the interface where the application program icon is located and a second distance between the application program icon and the bottom of the interface where the application program icon is located.
It can be understood that, in general, icons of a plurality of applications are placed in an interface for placing the application icons, and then the application icons are different from the top or the bottom of the interface because of different positions of the application icons. Then, as one mode, in order to facilitate the information display area to be displayed better, the information display area may be displayed in a range of a larger position. As a manner, when it is detected that the touch operation on the application icon satisfies the preset condition, a first distance between the touched application icon and the top of the interface where the touched application icon is located and a second distance between the touched application icon and the bottom of the interface where the touched application icon is located may be detected. As shown in FIG. 7, H1 is the distance from the top of the application icon identified as "music" and H2 is the distance from the bottom of the application icon identified as "music".
Step S230: and if the first distance is greater than the second distance, displaying an information display area on one side of the application program icon close to the top.
In the case that the first distance is larger, the range of the upper part of the touched application icon is larger, and then the information display area can be displayed on the upper part of the application icon.
Step S240: and if the second distance is greater than the first distance, displaying an information display area on one side of the application program icon close to the bottom, wherein a file identifier in the application program corresponding to the application program icon is displayed in the information display area.
In the case that the second distance is larger, the range of the lower part of the application icon representing the touched position is larger, and then the information display area can be displayed on the lower part of the application icon.
Step S250: and acquiring a target file identifier determined from the information display area, and opening a file corresponding to the target file identifier.
According to the file control method, the electronic device can control the file corresponding to the target identification to display the content after acquiring the target identification determined in the information display area, so that in the process of displaying the content of the file, a user does not need to open an application program for displaying the file first and then select the displayed file from the application program, the file display steps are simplified, and the user experience is improved. Further, when the information display area is displayed, the display is performed according to the position of the application icon, which is advantageous in reducing the influence of the position of the icon on the display position of the information display area.
Referring to fig. 8, a file control method provided by the present application is applied to an electronic device, and the method includes:
step S310: touch operation acting on the application program icon is detected.
Step S320: if the touch operation acting on the application program icon is detected, and the detected touch operation meets the preset condition, controlling the application program to which the application program icon belongs to start at the background, and displaying an information display area on an interface where the application program icon is located, wherein a file identifier in the application program corresponding to the application program icon is displayed in the information display area.
Step S330: and acquiring the target file identifier determined from the information display area.
Step S340: and if the application program is detected to be started in the background, switching the application program to the foreground for running, and controlling the application program to open the content of the file corresponding to the target file identifier.
Step S350: and if the application program is detected not to be started in the background, switching the application program to the foreground to continue the subsequent starting steps, and controlling the started application program to open the content of the file corresponding to the target file identifier.
According to the file control method, the electronic device can control the file corresponding to the target identification to display the content after acquiring the target identification determined in the information display area, so that in the process of displaying the content of the file, a user does not need to open an application program for displaying the file first and then select the displayed file from the application program, the file display steps are simplified, and the user experience is improved. And when the touch operation meets the preset condition, the application program corresponding to the touched application program icon is controlled to be started in the background, so that the file corresponding to the target file identifier can be opened by the application program more quickly after the target file identifier is detected to be determined.
Referring to fig. 9, a file control apparatus 400 provided in the present application runs on an electronic apparatus, the file control apparatus 400 includes:
the icon touch detection unit 410 is configured to detect a touch operation applied to an application icon.
The file identifier display unit 420 is configured to, if a touch operation acting on an application icon is detected and the detected touch operation meets a preset condition, display an information display area on an interface where the application icon is located, where a file identifier in an application corresponding to the application icon is displayed in the information display area.
As one mode, the file identifiers displayed in the information display area are arranged in order from high to low according to the use frequency of the files corresponding to the file identifiers.
Wherein the preset conditions include: the duration of the touch operation meets the preset duration; or the strength of the touch operation meets the preset strength.
And a file control unit 430, configured to acquire the target file identifier determined in the information display area, and open a file corresponding to the target file identifier.
Referring to fig. 10, a file control apparatus 500 provided by the present application runs on an electronic apparatus, the file control apparatus 500 includes:
the icon touch detection unit 510 is configured to detect a touch operation applied to an application icon.
A distance obtaining unit 520, configured to obtain a first distance between the icon of the application program and the top of the interface where the icon of the application program is located and a second distance between the icon of the application program and the bottom of the interface where the icon of the application program is located, if the icon touch detection unit 510 detects a touch operation applied to the icon of the application program and the detected touch operation meets a preset condition;
a distance comparing unit 530, configured to compare the first distance and the second distance.
A file identifier display unit 540, configured to display an information display area on a side of the application icon close to the top if the first distance is greater than the second distance; and if the second distance is greater than the first distance, displaying an information display area on one side of the application program icon close to the bottom.
The file identifier display unit 540 is further configured to display a popup window having the same area as the interface in the interface where the application icon is located if it is detected that the first distance and the second distance do not satisfy the condition for displaying all the file identifiers; and displaying the information display area in the popup window.
And a file control unit 550, configured to acquire the target file identifier determined in the information display area, and open a file corresponding to the target file identifier.
Referring to fig. 11, a file control apparatus 600 provided by the present application runs on an electronic apparatus, the file control apparatus 600 includes:
the icon touch detection unit 610 is configured to detect a touch operation applied to an application icon.
The file identifier display unit 620 is configured to, if the icon touch detection unit 610 detects a touch operation applied to an application icon, and the detected touch operation meets a preset condition, display an information display area on an interface where the application icon is located, where a file identifier in an application corresponding to the application icon is displayed in the information display area.
The application control unit 630 is configured to, if the icon touch detection unit 610 detects a touch operation applied to an application icon, control an application to which the application icon belongs to start in the background if the detected touch operation satisfies a preset condition.
The file control unit 640 is configured to obtain a target file identifier determined in the information display area, switch the application program to a foreground for operation if it is detected that the application program is started in a background, and control the application program to open a content of a file corresponding to the target file identifier; and if the application program is detected not to be started in the background, switching the application program to the foreground to continue the subsequent starting steps, and controlling the started application program to open the content of the file corresponding to the target file identifier.
It should be noted that the foregoing apparatus embodiment corresponds to the foregoing method embodiment, and specific contents in the apparatus embodiment may refer to contents in the foregoing method embodiment.
To sum up, the file control method, the file control device and the electronic device provided by the application acquire the touch parameter triggering the touch operation of encrypting the data after detecting that the data needs to be encrypted, determine the data encryption level based on the touch parameter acting on the touch operation in the set area, encrypt the data based on the encryption level, so that different encryption levels can be determined based on different touch parameters generated by different touch operations of a user on different data, thereby realizing the hierarchical encryption of the data and avoiding the performance waste caused by the same encryption mode adopted by all data.
An electronic device provided by the present application will be described with reference to fig. 12 and 13.
Referring to fig. 12, based on the data processing method and apparatus, the embodiment of the present application further provides a mobile terminal 100 capable of executing the data processing method. The mobile terminal 100 comprises an electronic body 10, wherein the electronic body 10 comprises a housing 12 and a screen 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the screen 120 and the second screen 121 generally include a display panel 111, and may also include a circuit or the like for responding to a pressing operation on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
Referring to fig. 13, based on the file control method and apparatus, an electronic apparatus 100 capable of executing the file control method is further provided in the embodiment of the present application. The electronic device 100 includes one or more (only one shown) processors 102, a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 132. It will be understood by those skilled in the art that the present application is not limited to the structure of the electronic device 100. For example, the electronic device 100 may also include more or fewer components than shown, or have a different configuration than shown.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used to store software programs and modules, for example, programs and devices that can execute the file control method provided in the present application, and the processor 102 executes various functional applications and data processing by operating the software programs and devices stored in the memory 104. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the electronic device 100 or the screen 210 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., IEEE802.1 a, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless communications, wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The camera 220 is used as an image capturing device for capturing an image, for example, capturing data to be encrypted, and transmitting the data to the process 102 for processing. Alternatively, the electronic device 100 includes a touch device, a detection circuit, and a processing circuit, which are coupled to each other, where the touch device is used for a user to perform a touch operation; the detection circuit is used for acquiring touch parameters for triggering the touch operation for encrypting the data after detecting that the data needs to be encrypted; the processing circuit is used for determining a data encryption level based on the touch parameter of the touch operation; encrypting the data based on the encryption level.
The audio circuitry 110, speaker 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic device 100 or the screen 210. Specifically, the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the speaker 101. The speaker 101 converts an electric signal into a sound wave audible to the human ear. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed within the electronic device 100 or within the screen 210, examples of the sensor 114 include, but are not limited to: light sensors 114F, operational sensors, pressure sensors 114G, infrared heat sensors, distance sensors, acceleration sensors, and other sensors. The acceleration sensor can be used for acquiring the motion attitude of the electronic device in real time, for example, acquiring the acceleration value and the direction of the acceleration of the electronic device in real time.
Among them, the pressure sensor 114G may be a sensor that detects pressure generated by pressing on the electronic device 100. That is, the pressure sensor 114G detects pressure resulting from contact or pressing between the user and the electronic device, for example, contact or pressing between the user's ear and the electronic device. Thus, the pressure sensor 114G may be used to determine whether contact or pressure has occurred between the user and the electronic device 100, as well as the magnitude of the pressure.
Referring to fig. 13, in particular, in the embodiment shown in fig. 13, the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111. The light sensor 114F can turn off the display output when an object is near the screen 210, such as when the electronic device 100 moves to the ear.
As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when the electronic device is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the electronic device 100. In addition, the electronic device 100 may further be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein again. Wherein the gyroscope may acquire the rotation angular velocity of the electronic device 100 in real time, so that the electronic device may determine whether the electronic device is in a falling state according to the foregoing embodiments.
In this embodiment, the input module 118 may include the touch screen 109 disposed on the screen 210, and the touch screen 109 may collect a touch operation of the user (for example, an operation of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include 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 detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by using resistive, capacitive, infrared, and surface acoustic wave types. In addition to the touch screen 109, in other variations, the input module 118 may include other input devices, such as keys. The keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The screen 210 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic device 100, which may be configured by graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 109 may be disposed on the display panel 111 so as to be integrated with the display panel 111.
The power module 132 is used to provide power supply to the processor 102 and other components. Specifically, the power module 132 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the generation, management, and distribution of power within the electronic device 100 or the screen 210.
The electronic device 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the electronic device 100. In this embodiment, the locator 119 uses a positioning service to locate the electronic device 100, and the positioning service is understood to be a technology or a service for obtaining the position information (e.g. longitude and latitude coordinates) of the electronic device 100 by a specific positioning technology and marking the position of the located object on the electronic map.
It should be understood that the electronic apparatus 100 described above is not limited to the smartphone terminal, and it should refer to a computer device that can be used in a mobile. Specifically, the electronic device 100 refers to a mobile computer device equipped with an intelligent operating system, and the electronic device 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (8)

1. A file control method is applied to an electronic device, and the method comprises the following steps:
detecting a touch operation acting on an application icon;
if touch operation acting on an application icon is detected, and the detected touch operation meets a preset condition, displaying an information display area on an interface where the application icon is located, wherein file identifiers in an application program corresponding to the application icon are displayed in the information display area, the information display area comprises a plurality of pages, the file identifiers in each page are arranged in different corresponding modes, and the preset condition comprises: the duration of the touch operation meets the preset duration;
if the sliding operation continuous with the touch operation is detected, and the sliding direction of the sliding operation is a preset direction, after a touch point corresponding to the touch operation stays at a sliding end point for a preset time length, displaying a position identifier corresponding to the file identifier arranged at the first position in the information display area, wherein the position identifier moves along with the arrangement sequence of the file identifiers along with the increase of the staying time of the touch point at the sliding end point, taking the file identifier corresponding to the position identifier when the touch operation disappears as a target file identifier, and opening a file corresponding to the target file identifier.
2. The method according to claim 1, wherein the file identifications displayed in the information display area are arranged in sequence from high to low according to the use frequency of the files corresponding to the file identifications.
3. The method according to claim 1, wherein the step of displaying an information display area on the interface where the application icon is located comprises:
acquiring a first distance between the application program icon and the top of the interface, and acquiring a second distance between the application program icon and the bottom of the interface;
if the first distance is larger than the second distance, displaying an information display area on one side, close to the top, of the application program icon;
and if the second distance is greater than the first distance, displaying an information display area on one side of the application program icon close to the bottom.
4. The method of claim 3, further comprising:
if the first distance and the second distance are detected to not meet the condition of displaying all the file identifiers, displaying a popup window with the same area as the interface in the interface where the application program icon is located;
and displaying the information display area in the popup window.
5. The method of claim 1, wherein the step of opening the file corresponding to the target file identifier comprises:
detecting whether a system desktop of the electronic device is provided with a file playing control;
and if the file playing control is detected, controlling the file playing control arranged on the system desktop to open the file corresponding to the target file identifier.
6. A file control apparatus, operable with an electronic apparatus, the file control apparatus comprising:
the icon touch detection unit is used for detecting touch operation acting on the application icon;
the file identification display unit is used for displaying an information display area on an interface where an application icon is located if touch operation acting on the application icon is detected and the detected touch operation meets a preset condition, wherein the information display area displays file identifications in application programs corresponding to the application icon, the information display area comprises a plurality of pages, the arrangement modes corresponding to the file identifications in each page are different, and the preset condition comprises: the duration of the touch operation meets the preset duration;
and the file control unit is used for displaying a position identifier corresponding to the file identifier arranged at the first position in the information display area after a touch point corresponding to the touch operation stays at a sliding end point for a preset time length if the sliding operation continuous with the touch operation is detected and the sliding direction of the sliding operation is a preset direction, wherein the position identifier moves along with the arrangement sequence of the file identifiers along with the increase of the staying time of the touch point at the sliding end point, the file identifier corresponding to the position identifier when the touch operation disappears is taken as a target file identifier, and a file corresponding to the target file identifier is opened.
7. An electronic device comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-5.
8. A computer-readable storage medium having program code executable by a processor, the computer-readable storage medium comprising a stored program, wherein the method of any of claims 1-5 is performed when the program is executed by the processor.
CN201810645901.4A 2018-06-21 2018-06-21 File control method and device and electronic device Active CN108958578B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810645901.4A CN108958578B (en) 2018-06-21 2018-06-21 File control method and device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810645901.4A CN108958578B (en) 2018-06-21 2018-06-21 File control method and device and electronic device

Publications (2)

Publication Number Publication Date
CN108958578A CN108958578A (en) 2018-12-07
CN108958578B true CN108958578B (en) 2021-01-26

Family

ID=64491744

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810645901.4A Active CN108958578B (en) 2018-06-21 2018-06-21 File control method and device and electronic device

Country Status (1)

Country Link
CN (1) CN108958578B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667142B (en) * 2021-01-22 2024-03-29 上海擎感智能科技有限公司 Information quick display method and device and computer storage medium
CN115328539B (en) * 2022-08-05 2023-06-02 广州斯必得电子科技有限公司 File control method and system capable of being controlled in programmable manner

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176705A (en) * 2013-03-29 2013-06-26 东莞宇龙通信科技有限公司 Mobile terminal and preview method thereof
CN105278836A (en) * 2015-09-24 2016-01-27 小米科技有限责任公司 Content switching method and apparatus, and terminal
CN105677199A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Inputting method and device based on pressure touch
CN105786982A (en) * 2016-01-29 2016-07-20 珠海汇迪科技有限公司 Method for rapidly previewing multimedia files through automobile data recorder
CN105849686A (en) * 2015-11-23 2016-08-10 华为技术有限公司 File selection method in intelligent terminal and intelligent terminal
CN106055202A (en) * 2016-05-27 2016-10-26 维沃移动通信有限公司 Copying/pasting method and mobile terminal
CN106325508A (en) * 2016-08-18 2017-01-11 北京小米移动软件有限公司 Method and device for processing application
CN106951492A (en) * 2017-03-14 2017-07-14 广东欧珀移动通信有限公司 File search method, device and electronic equipment
CN107547750A (en) * 2017-09-11 2018-01-05 广东欧珀移动通信有限公司 Control method, device and the storage medium of terminal

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080098331A1 (en) * 2005-09-16 2008-04-24 Gregory Novick Portable Multifunction Device with Soft Keyboards
US8245156B2 (en) * 2008-06-28 2012-08-14 Apple Inc. Radial menu selection
US8732579B2 (en) * 2011-09-23 2014-05-20 Klip, Inc. Rapid preview of remote video content
US9632664B2 (en) * 2015-03-08 2017-04-25 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback
CN105389086B (en) * 2015-12-14 2019-11-05 魅族科技(中国)有限公司 Music application operating method and device
CN105955653A (en) * 2016-05-09 2016-09-21 钟林 Method and device for operating key input of smart television by orientation gesture
CN107870705B (en) * 2016-09-28 2021-12-28 珠海金山办公软件有限公司 Method and device for changing icon position of application menu
CN106843652A (en) * 2017-01-22 2017-06-13 深圳市金立通信设备有限公司 icon display method and terminal device
CN107707762A (en) * 2017-10-19 2018-02-16 维沃移动通信有限公司 A kind of method for operating application program and mobile terminal
CN107992244A (en) * 2017-12-01 2018-05-04 维沃移动通信有限公司 The control method and terminal device of a kind of application program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176705A (en) * 2013-03-29 2013-06-26 东莞宇龙通信科技有限公司 Mobile terminal and preview method thereof
CN105278836A (en) * 2015-09-24 2016-01-27 小米科技有限责任公司 Content switching method and apparatus, and terminal
CN105849686A (en) * 2015-11-23 2016-08-10 华为技术有限公司 File selection method in intelligent terminal and intelligent terminal
CN105677199A (en) * 2015-12-31 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Inputting method and device based on pressure touch
CN105786982A (en) * 2016-01-29 2016-07-20 珠海汇迪科技有限公司 Method for rapidly previewing multimedia files through automobile data recorder
CN106055202A (en) * 2016-05-27 2016-10-26 维沃移动通信有限公司 Copying/pasting method and mobile terminal
CN106325508A (en) * 2016-08-18 2017-01-11 北京小米移动软件有限公司 Method and device for processing application
CN106951492A (en) * 2017-03-14 2017-07-14 广东欧珀移动通信有限公司 File search method, device and electronic equipment
CN107547750A (en) * 2017-09-11 2018-01-05 广东欧珀移动通信有限公司 Control method, device and the storage medium of terminal

Also Published As

Publication number Publication date
CN108958578A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US11237703B2 (en) Method for user-operation mode selection and terminals
CN108710456B (en) Application icon processing method and device and mobile terminal
CN108762859B (en) Wallpaper display method and device, mobile terminal and storage medium
CN108932102B (en) Data processing method and device and mobile terminal
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
CN108021642B (en) Application program recommendation method and device, mobile terminal and storage medium
CN106375179B (en) Method and device for displaying instant communication message
CN108037990B (en) Task information processing method and device and server
CN108334272B (en) Control method and mobile terminal
CN108804005B (en) Terminal control method and device and mobile terminal
CN108646994B (en) Information processing method and device, mobile terminal and storage medium
CN108536415B (en) Application volume control method and device, mobile terminal and computer readable medium
CN107766548B (en) Information display method and device, mobile terminal and readable storage medium
CN109032491B (en) Data processing method and device and mobile terminal
CN108769299B (en) Screen control method and device and mobile terminal
CN108388671B (en) Information sharing method and device, mobile terminal and computer readable medium
CN108958576B (en) Content identification method and device and mobile terminal
CN109085982B (en) Content identification method and device and mobile terminal
CN107896256B (en) Information pushing method and device, mobile terminal, server and readable storage medium
CN108803961B (en) Data processing method and device and mobile terminal
CN108803972B (en) Information display method, device, mobile terminal and storage medium
CN108958578B (en) File control method and device and electronic device
CN109032465B (en) Data processing method and device and mobile terminal
CN108600807B (en) Video playing control method, device, terminal and computer readable medium
CN109086113B (en) Screen capturing method and device and mobile terminal

Legal Events

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