WO2017161817A1 - 一种终端的控制方法及装置 - Google Patents

一种终端的控制方法及装置 Download PDF

Info

Publication number
WO2017161817A1
WO2017161817A1 PCT/CN2016/096428 CN2016096428W WO2017161817A1 WO 2017161817 A1 WO2017161817 A1 WO 2017161817A1 CN 2016096428 W CN2016096428 W CN 2016096428W WO 2017161817 A1 WO2017161817 A1 WO 2017161817A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
operation information
user
touch area
memory
Prior art date
Application number
PCT/CN2016/096428
Other languages
English (en)
French (fr)
Inventor
索浩森
Original Assignee
乐视控股(北京)有限公司
乐视移动智能信息技术(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视移动智能信息技术(北京)有限公司 filed Critical 乐视控股(北京)有限公司
Priority to US15/334,227 priority Critical patent/US20170277420A1/en
Publication of WO2017161817A1 publication Critical patent/WO2017161817A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a terminal control method and apparatus.
  • the screens of current mainstream terminals are implemented by using a touch screen, and the user realizes the operation of the terminal by clicking or sliding the function keys on the touch screen.
  • the terminal In order to ensure the running speed of the terminal, the terminal usually has a cleaning function.
  • the application in the terminal will enter the background after the end of use, or generate historical data such as files and a registry, resulting in the memory usage of the terminal.
  • the user can clean the memory of the terminal through the cleaning tool installed in the terminal, thereby ensuring the running speed of the terminal.
  • the inventor has found that at least the following problems exist in the prior art: when cleaning the memory of the terminal through the cleaning tool of the terminal, the cleaning tool needs to be opened, and then the cleaning button is clicked, so the operation process is complicated, and The touch screen of the terminal is getting larger and larger, and the operation is inconvenient. Therefore, the efficiency of cleaning the memory of the terminal in the prior art is relatively low.
  • the embodiment of the present application provides a method and a device for controlling a terminal, so as to solve the problem that the efficiency of cleaning the memory of the terminal is relatively low in the prior art.
  • the embodiment of the present application provides a method for controlling a terminal, where the method includes: acquiring first operation information of a user in an edge touch area of the terminal; The first operation information of the edge touch area is used to clean the memory of the terminal.
  • any possible implementation manner further providing an implementation manner, according to the first operation information of the user in the edge touch area of the terminal, cleaning the memory of the terminal, including: determining the location Whether the first operation information matches the preset first cleaning operation information; if it is determined that the first operation information matches the first cleaning operation information, the memory of the terminal is cleaned.
  • the memory of the terminal is cleared, including: Obtaining second operation information of the user in the edge touch area of the terminal; determining whether the second operation information matches the preset second cleaning operation information; and determining the second operation information and the second cleaning The operation information is matched, and the memory of the terminal is deeply cleaned.
  • the method further includes: if it is determined that the second operation information does not match the second cleaning operation information, to the terminal The memory is released quickly.
  • the method further includes: if it is determined that the first operation information does not match the first cleaning operation information, maintaining the terminal The current state of memory.
  • the above-mentioned aspect and any possible implementation manner further provide an implementation manner, the first operation information of the user in the edge touch area of the terminal or the second operation information of the user in the edge touch area of the terminal,
  • the method includes: the user touches an edge of the terminal The operation information generated after the sliding operation of the area; or the operation information generated by the user after the click operation of the edge touch area of the terminal; or the pressing operation of the user in the edge touch area of the terminal Post-generated operational information.
  • the first operation information of the user in the edge touch area of the terminal is obtained; and the memory of the terminal is cleaned according to the first operation information of the user in the edge touch area of the terminal. .
  • the memory of the terminal can be cleaned conveniently and quickly. Therefore, when the memory of the terminal is cleaned, the operation of the terminal is simple and convenient, and the efficiency of cleaning the memory of the terminal is improved, and the problem that the memory of the terminal is cleaned in the prior art is relatively low.
  • the embodiment of the present application further provides a terminal control device, including: an acquiring module, configured to acquire first operation information of a user in an edge touch area of the terminal; The memory of the terminal is cleaned according to the first operation information of the user in the edge touch area of the terminal.
  • the cleaning module is specifically configured to: determine whether the first operation information matches a preset first cleaning operation information; Determining that the first operation information matches the first cleaning operation information, and cleaning the memory of the terminal.
  • the cleaning module is configured to: if it is determined that the first operation information matches the first cleaning operation information, the memory of the terminal When the cleaning is performed, the method is specifically configured to: obtain second operation information of the user in the edge touch area of the terminal; determine whether the second operation information matches the pre-set second cleaning operation information; and if the second The operation information is matched with the second cleaning operation information, and the memory of the terminal is deeply cleaned.
  • the cleaning module is further configured to: if it is determined that the second operation information does not match the second cleaning operation information, The memory of the terminal is quickly released.
  • the cleaning module is further configured to: if it is determined that the first operation information does not match the first cleaning operation information, The current state of the terminal's memory.
  • the above-mentioned aspect and any possible implementation manner further provide an implementation manner, the first operation information of the user in the edge touch area of the terminal or the second operation information of the user in the edge touch area of the terminal, The operation information generated by the user after the sliding operation of the edge touch area of the terminal; or the operation information generated by the user after the click operation of the edge touch area of the terminal; or The operation information generated by the user after the pressing operation of the edge touch area of the terminal.
  • the first operation information of the user in the edge touch area of the terminal is obtained by the acquiring module in the terminal; and the cleaning module in the terminal is based on the edge touch area of the user in the terminal.
  • the first operation information is used to clean up the memory of the terminal.
  • the memory of the terminal can be cleaned conveniently and quickly. Therefore, when the memory of the terminal is cleaned, the operation of the terminal is simple and convenient, and the efficiency of cleaning the memory of the terminal is improved, and the problem that the memory of the terminal is cleaned in the prior art is relatively low. .
  • the embodiment of the present application further provides a terminal, including: at least one processor; and a memory communicably connected to the at least one processor; wherein the memory is stored
  • An instruction executed by the at least one processor the instruction being executed by the at least one processor, to enable the at least one processor to: acquire first operation information of a user in an edge touch area of the terminal; The first operation information of the user in the edge touch area of the terminal is used to clean the memory of the terminal.
  • the embodiment of the present application further provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium stores computer executable instructions, the computer executable The command is used to: obtain the first operation information of the user in the edge touch area of the terminal; and clean the memory of the terminal according to the first operation information of the user in the edge touch area of the terminal.
  • the embodiment of the present application further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising a program
  • the instructions when executed by a computer, cause the computer to perform the methods described in the above aspects.
  • the terminal, the storage medium, and the computer program provided by the embodiment of the present application obtain the first operation information of the user in the edge touch area of the terminal, and the memory of the terminal according to the first operation information of the user in the edge touch area of the terminal. Clean up.
  • the memory of the terminal can be cleaned conveniently and quickly. Therefore, when the memory of the terminal is cleaned, the operation of the terminal is simple and convenient, and the efficiency of cleaning the memory of the terminal is improved, and the problem that the memory of the terminal is cleaned in the prior art is relatively low. .
  • Embodiment 1 is a flowchart of Embodiment 1 of a method for controlling a terminal according to an embodiment of the present application;
  • FIG. 2 is a schematic diagram of an edge touch area of a terminal according to an embodiment of the present disclosure
  • FIG. 3 is a flow of a second embodiment of a method for controlling a terminal according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a terminal control apparatus according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a hardware of a terminal for controlling a terminal according to an embodiment of the present disclosure.
  • first, second, etc. may be used to describe operational information in the embodiments of the present application, such operational information should not be limited to these terms. These terms are only used to distinguish operational information from one another.
  • first operation information may also be referred to as second operation information without departing from the scope of the embodiments of the present application.
  • second operation information may also be referred to as first operation information.
  • the word “if” as used herein can be interpreted as “at time” or “when” or “in response to determination” or “in response to detection.”
  • the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) "Time” or “in response to a test (condition or event stated)”.
  • FIG. 1 is a flowchart of Embodiment 1 of a method for controlling a terminal according to an embodiment of the present disclosure. As shown in FIG. 1 , the method in this embodiment may include the following steps 100-101.
  • the terminal involved in the embodiment of the present application may include, but is not limited to, a personal computer (PC), a personal digital assistant (PDA), a wireless handheld device, a tablet computer, a mobile phone, and an MP3. Player, MP4 player, etc.
  • PC personal computer
  • PDA personal digital assistant
  • MP3 wireless handheld device
  • tablet computer a tablet computer
  • mobile phone a mobile phone
  • MP3 MP4 player
  • the first operation information of the user in the edge touch area of the terminal may include, but is not limited to, the first operation information generated by the user after the sliding operation of the edge touch area of the terminal, such as a sliding gesture; or The first operation information generated by the user after the click operation of the edge touch area of the terminal, such as the number of clicks; or the first operation information generated by the user after the pressing operation of the edge touch area of the terminal, such as a pressure value.
  • edge touch provides touch input through the edge or the edge of the terminal, and tracks the tapping, sliding or pressing of the finger on the edge of the terminal to control the terminal.
  • FIG. 2 is an example of an edge touch area of a terminal according to an embodiment of the present disclosure.
  • the edge touch area of the terminal may be a user's finger when the user naturally holds the terminal.
  • the side of the terminal includes four sides other than the front and back sides.
  • the edge touch area of the terminal can be implemented by using a physical button, a virtual button, a sensor, or a screen.
  • the edge touch area of the terminal can This is done using the edge screen of the curved screen.
  • the capacitance of the contact changes, so that the frequency of the oscillator connected to the capacitor changes, and the touch position can be determined by measuring the frequency change of the oscillator.
  • the first operation information of the user in the edge touch area of the terminal can be obtained.
  • its edge touch area can be implemented using physical buttons, virtual buttons, or sensors.
  • the physical button for adjusting the volume in the terminal is taken as an example.
  • the terminal obtains the button that the user presses the volume.
  • the button is pressed on the button for adjusting the volume.
  • the first operation information of the user in the edge touch area of the terminal can be obtained.
  • the terminal determines the virtual button on which the user touches by the capacitance of the capacitive virtual button. Specifically, when the user touches the capacitive virtual button, the finger forms a capacitance with the electrode piece in the capacitive virtual button, and the terminal determines the position touched by the user by detecting the change of the capacitance, thereby determining which user touches.
  • the first operation information of the user in the edge touch area of the terminal can be obtained.
  • the sensor on the terminal uses a pressure sensor as an example
  • a pressure sensor when the user presses the pressure sensor, a semiconductor deformation pressure is formed on the surface of the sheet of the pressure sensor, and the thin skin is deformed by pressing.
  • the piezoelectric impedance effect converts the change of the impedance into an electrical signal.
  • the terminal After the terminal obtains the electrical signal, it can determine which pressure sensor the user is pressing on, or at which position on the pressure sensor, to determine which function the user is. Pressing by the pressure sensor can further acquire the first operation information of the user at the edge touch area of the terminal.
  • a sensor having a certain function on the edge of the terminal may also be a light sensor.
  • the first operation information of the user in the edge touch area of the terminal is obtained, that is, The first operation information of the effective area of the user on the edge touch area of the terminal is obtained, and only the operation in the effective area can generate the corresponding first operation information.
  • the effective area of the edge screen is that the user can click or touch when the user naturally holds the terminal. To the edge of the screen.
  • the first operation information of the user in the edge touch area of the terminal is used to clean the memory of the terminal.
  • the purpose of the first operation information of the user in the edge touch area of the terminal can be preset in the terminal.
  • the first operation information of the user in the edge touch area of the terminal can be achieved.
  • the purpose is to clean the memory of the terminal. In this way, when the terminal runs slowly, the memory usage of the terminal is large. In this case, the user can operate the edge touch area of the terminal. After the first operation information of the touch area of the edge of the terminal, the first operation information triggers cleaning of the memory of the terminal.
  • the execution body of the control method of the terminal in the embodiment of the present application may be a control device of the terminal, and the device may be located in an application of the local terminal, or may be a plug-in or a software development kit in an application of the local terminal.
  • Functional units such as a Software Development Kit (SDK) are not specifically limited in this embodiment of the present application.
  • the application may be an application installed on the terminal (nativeApp), or may be a web application (webApp) of a browser on the terminal. This embodiment of the present application does not limit this.
  • the first operation information of the user in the edge touch area of the terminal is obtained; and the memory of the terminal is cleaned according to the first operation information of the user in the edge touch area of the terminal. .
  • the memory of the terminal can be cleaned conveniently and quickly. Therefore, when the memory of the terminal is cleaned, the operation of the terminal is simple and convenient, and the efficiency of cleaning the memory of the terminal is improved, and the problem that the memory of the terminal is cleaned in the prior art is relatively low.
  • FIG. 3 is a flowchart of Embodiment 2 of a method for controlling a terminal according to an embodiment of the present application. As shown in FIG. 3, the method for controlling a terminal in the embodiment of the present application is further based on the embodiment shown in FIG. A description is made of the technical solution of the embodiment of the present application.
  • the method for controlling a terminal may specifically include the following steps 300-303.
  • step 301 Determine whether the first operation information matches the preset first cleaning operation information, and if it is determined that the first operation information matches the first cleaning operation information, perform step 302, otherwise, if the first operation information is determined The first cleaning operation information does not match, and step 303 is performed.
  • the first cleaning operation information is preset in the terminal, and after the first operation information of the user in the edge touch area of the terminal is obtained, the first cleaning operation information is matched with the preset first cleaning operation information, thereby determining whether the first operation information is The preset first cleaning operation information, if the obtained first operation information is the preset first cleaning operation information, indicating that the first operation information of the user in the edge touch area of the terminal is used to trigger the memory cleaning of the terminal, Step 302 is performed. Otherwise, if the obtained first operation information is not the preset first cleaning operation information, the first operation information of the user in the edge touch area of the terminal is not used to trigger the memory cleaning of the terminal, and therefore, the execution is performed. Step 303.
  • the first cleaning operation information is a preset number of clicks.
  • the obtained user's operation in the edge touch area of the terminal is a click operation in the edge touch area of the terminal, the user will touch the edge of the terminal.
  • the number of clicks of the click operation in the control area is compared with the preset number of clicks. If the number of clicks of the click operation in the edge touch area of the terminal is greater than or equal to the preset number of clicks, the memory of the terminal is cleaned.
  • the user may not be able to use the terminal. If only the application running in the background of the terminal is cleaned, the user can be used normally.
  • the terminal can also ensure that the memory of the terminal is cleaned up. Therefore, the user can select the cleaning mode according to actual needs.
  • the second operation information of the user in the edge touch area of the terminal may be further acquired. Determining whether the second operation information matches the preset second cleaning operation information; if it is determined that the second operation information matches the second cleaning operation information, the memory of the terminal is deeply cleaned. If it is determined that the second operation information does not match the second cleaning operation information, the memory of the terminal is quickly released.
  • the second operation information of the user in the edge touch area of the terminal may include, but is not limited to, the second operation information generated by the user after the sliding operation of the edge touch area of the terminal, such as a sliding gesture; or The second operation information generated by the user after the click operation of the edge touch area of the terminal, such as the number of clicks; or the second operation information generated by the user after the pressing operation of the edge touch area of the terminal, such as a pressure value.
  • the first operation information and the second operation information may be the same, but the first operation information and the second operation information respectively correspond to different functions, so the first operation information and the first The second operation information is different as an example.
  • the second operation information in this embodiment is a pressure value generated by the user after the pressing operation of the edge touch area of the terminal
  • the corresponding second cleaning operation information is a preset pressure threshold. After obtaining the pressure value generated by the user after the pressing operation of the touch area of the edge of the terminal, the pressure threshold is performed with the preset pressure threshold.
  • the pressure value generated by the user after the pressing operation of the edge touch area of the terminal is greater than or equal to the preset pressure threshold, only the application running in the background of the terminal is cleaned, that is, the memory of the terminal is quickly released.
  • the pressure generated by the user after the pressing operation of the edge touch area of the terminal is less than the preset pressure threshold, the application running in the background of the terminal and the historical data generated when the terminal is used are cleaned, that is, the terminal is The memory is cleaned up in depth.
  • the technical solution of the present application is described by using the obtained first operation information as the number of clicks and the obtained second operation information as the pressure value.
  • the present invention is not limited to this implementation manner, for example, It can also be a sliding gesture, etc., and its implementation principle is the same as that of the embodiment. For details, refer to the related description above, and details are not described herein again.
  • the current state of the memory of the terminal is maintained, that is, the memory of the terminal is not cleaned.
  • the second operation information of the user in the edge touch area of the terminal is obtained; Second, the operation information is used to clean the memory of the terminal to different degrees.
  • the memory of the terminal can be cleaned to different degrees conveniently and quickly. Therefore, when the memory of the terminal is cleaned, the operation of the terminal is simple and convenient, and the efficiency of cleaning the memory of the terminal is improved, and the problem that the memory of the terminal is cleaned in the prior art is relatively low. .
  • the terminal control device provided by the embodiment of the present application includes an obtaining module 10 and a cleaning module 11.
  • information data and the like can be transmitted between modules.
  • the obtaining module 10 is configured to acquire the first operation of the user in the edge touch area of the terminal Make information.
  • the cleaning module 11 is configured to clean the memory of the terminal according to the first operation information of the user in the edge touch area of the terminal.
  • the implementation mechanism of the terminal device in the embodiment of the present application is the same as the implementation mechanism of the embodiment shown in FIG. 1 by using the above-mentioned module. For details, refer to the description of the embodiment shown in FIG. 1 . I will not repeat them here.
  • the first operation information of the user in the edge touch area of the terminal is acquired by the obtaining module 10 in the terminal; and the cleaning module 11 in the terminal touches the edge of the terminal according to the user.
  • the first operation information of the control area is used to clean the memory of the terminal.
  • the memory of the terminal can be cleaned conveniently and quickly. Therefore, when the memory of the terminal is cleaned, the operation of the terminal is simple and convenient, and the efficiency of cleaning the memory of the terminal is improved, and the problem that the memory of the terminal is cleaned in the prior art is relatively low. .
  • the cleaning module 11 is specifically configured to: determine whether the first operation information matches the preset first cleaning operation information; It is determined that the first operation information matches the first cleaning operation information, and the memory of the terminal is cleaned.
  • the cleaning module 11 may further obtain second operation information of the user in the edge touch area of the terminal; determine whether the second operation information matches the pre-set second cleaning operation information; and if the second operation information is determined Matching with the second cleaning operation information, performing deep cleaning on the memory of the terminal; if it is determined that the second operation information does not match the second cleaning operation information, the memory of the terminal is quickly released.
  • the first operation information of the user in the edge touch area of the terminal or the second operation information of the user in the edge touch area of the terminal includes: operation information generated by the user after the sliding operation of the edge touch area of the terminal; or The operation information generated by the user after the click operation of the edge touch area of the terminal; or the user pressing the touch area of the edge of the terminal Post-generated operational information.
  • the cleaning module 11 is further configured to: if it is determined that the first operation information does not match the first cleaning operation information, the memory of the terminal is maintained. Current status.
  • control mechanism of the terminal provided by the embodiment of the present application is the same as the implementation mechanism of the embodiment shown in FIG. 3 by using the above-mentioned module to implement the cleaning of the memory of the terminal.
  • the record is not repeated here.
  • the embodiment of the present application provides a non-transitory computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions can execute the control method in any of the foregoing method embodiments.
  • FIG. 6 is a schematic structural diagram of a hardware of a terminal for controlling a method for performing a terminal according to an embodiment of the present disclosure.
  • the terminal includes: one or more processors 610 and a memory 620, and one processor 610 in FIG.
  • the terminal may further include: an input device 630 and an output device 640.
  • the processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 620 is a non-transitory computer readable storage medium for storing non-transitory software programs, non-transitory computer executable programs, and modules.
  • the processor 610 performs various functional applications and data processing of the terminal by running non-transitory software programs, instructions, and modules stored in the memory 620, that is, the processing method of the foregoing method embodiments.
  • the memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data or the like.
  • memory 620 can include high speed random access memory, and can also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid state storage. Device.
  • memory 620 can optionally include memory remotely located relative to processor 610, which can be connected to the processing device over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 630 can receive input digital or character information and generate a signal input.
  • the output device 640 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 620, and when executed by the one or more processors 610, performing: acquiring first operation information of a user in an edge touch area of the terminal; The first operation information of the touch area of the edge of the terminal is used to clean the memory of the terminal.
  • the cleaning by the user, the first operation information of the user in the edge touch area of the terminal, the first operation information and the preset first Whether the cleaning operation information matches; if it is determined that the first operation information matches the first cleaning operation information, the memory of the terminal is cleaned.
  • the memory of the terminal if it is determined that the first operation information matches the preset first cleaning operation information, the memory of the terminal is cleared, including: acquiring a user's edge touch area in the terminal Two operation information; determining whether the second operation information matches the preset second cleaning operation information; if it is determined that the second operation information matches the second cleaning operation information, the memory of the terminal Perform a deep cleaning.
  • the method further includes: if it is determined that the second operation information does not match the second cleaning operation information, quickly releasing the memory of the terminal.
  • the method further includes: if it is determined that the first operation information does not match the first cleaning operation information, maintaining a current state of the memory of the terminal.
  • the first operation information of the user in the edge touch area of the terminal or the second operation information of the user in the edge touch area of the terminal includes: The operation information generated by the user after the sliding operation of the edge touch area of the terminal; or the operation information generated by the user after the click operation of the edge touch area of the terminal; or the user is The operation information generated after the pressing operation of the edge touch area of the terminal.
  • the terminal of the embodiment of the present application exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile PC devices These devices belong to the category of personal computers, have computing and processing functions, and generally have mobile Internet access.
  • Such terminals include: PDAs, MIDs, and UMPC devices, such as the iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server A device that provides computing services.
  • the server consists of a processor, hard disk, memory, system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power, stability, and reliability. Security, scalability, manageability and other aspects are high.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the method and device for controlling a terminal obtaineds the first operation information of the user in the edge touch area of the terminal, and according to the first operation information of the user in the edge touch area of the terminal, The memory of the terminal is cleaned, and when the memory of the terminal is cleaned, the operation is simple and convenient, and the efficiency of cleaning the memory of the terminal is improved.

Landscapes

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

Abstract

一种终端的控制方法及装置,该终端的控制方法包括:获取用户在终端的边缘触控区域的第一操作信息(100);根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理(101)。该方法在对终端的内存进行清理时,操作简单方便,提高了对终端的内存进行清理的效率,能够解决现有技术中,对终端的内存进行清理的效率比较低的问题。

Description

一种终端的控制方法及装置
交叉引用
本申请要求在2016年3月25日提交中国专利局、申请号为2016101803482、发明名称为“一种终端的控制方法及装置”的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种终端的控制方法及装置。
背景技术
当前主流终端的屏幕都采用触摸屏实现,用户通过对触摸屏上的功能按键进行点击或滑动等来实现对终端的操作。
为了保证终端的运行速度,终端中通常设有进行清理功能,例如,终端中的应用程序在结束使用后会进入后台运行,或者,产生一些文件和注册表等历史数据,导致终端的内存占用率较高,影响了终端的运行速度,用户可以通过终端中安装的清理工具对终端的内存进行清理,从而保证终端的运行速度。
在实现本申请过程中,发明人发现现有技术中至少存在如下问题:通过终端的清理工具对终端的内存进行清理时,需要打开清理工具,然后点击清理按钮,因此操作过程复杂,且随着终端的触摸屏越来越大,也会带来操作不便,因此,现有技术中对终端的内存进行清理的效率比较低。
发明内容
有鉴于此,本申请实施例提供一种终端的控制方法及装置,以解决现有技术中,对终端的内存进行清理的效率比较低的问题。
为实现上述发明目的,一方面,本申请实施例提供了一种终端的控制方法,所述方法包括:获取用户在终端的边缘触控区域的第一操作信息;根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理,包括:判断所述第一操作信息与预设的第一清理操作信息是否相匹配;若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,若判断出所述第一操作信息与预设的第一清理操作信息相匹配,对终端的内存进行清理,包括:获取用户在终端的边缘触控区域的第二操作信息;判断所述第二操作信息与预设的第二清理操作信息是否相匹配;若判断出所述第二操作信息与所述第二清理操作信息相匹配,对所述终端的内存进行深度清理。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:若判断出所述第二操作信息与所述第二清理操作信息不匹配,对所述终端的内存进行快速释放。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述方法还包括:若判断出所述第一操作信息与所述第一清理操作信息不匹配,保持所述终端的内存的当前状态。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述用户在终端的边缘触控区域的第一操作信息或者用户在终端的边缘触控区域的第二操作信息,包括:所述用户在所述终端的边缘触控 区域的滑动操作后生成的操作信息;或者,所述用户在所述终端的边缘触控区域的点击操作后生成的操作信息;或者,所述用户在所述终端的边缘触控区域的按压操作后生成的操作信息。
本申请实施例所提供的终端的控制方法中,通过获取用户在终端的边缘触控区域的第一操作信息;根据用户在终端的边缘触控区域的第一操作信息,对终端的内存进行清理。本申请中,通过在终端的边缘触控区域进行操作,就可以方便快捷的实现对终端的内存进行清理。因此,本申请的技术方案在对终端的内存进行清理时,操作简单方便,提高了对终端的内存进行清理的效率,能够解决现有技术中,对终端的内存进行清理的效率比较低的问题。
为实现上述发明目的,另一方面,本申请实施例还提供了一种终端的控制装置,包括:获取模块,用于获取用户在终端的边缘触控区域的第一操作信息;清理模块,用于根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述清理模块,具体用于:判断所述第一操作信息与预设的第一清理操作信息是否相匹配;若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述清理模块用于若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理时,具体用于:获取用户在终端的边缘触控区域的第二操作信息;判断述第二操作信息与预所设的第二清理操作信息是否相匹配;若判断出所述第二操作信息与所述第二清理操作信息相匹配,对所述终端的内存进行深度清理。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述清理模块,还用于:若判断出所述第二操作信息与所述第二清理操作信息不匹配,对所述终端的内存进行快速释放。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述清理模块还用于:若判断出所述第一操作信息与所述第一清理操作信息不匹配,保持所述终端的内存的当前状态。
如上所述的方面和任一可能的实现方式,进一步提供一种实现方式,所述用户在终端的边缘触控区域的第一操作信息或者用户在终端的边缘触控区域的第二操作信息,包括:所述用户在所述终端的边缘触控区域的滑动操作后生成的操作信息;或者,所述用户在所述终端的边缘触控区域的点击操作后生成的操作信息;或者,所述用户在所述终端的边缘触控区域的按压操作后生成的操作信息。
本申请实施例所提供的终端的控制装置中,通过终端中的获取模块获取用户在终端的边缘触控区域的第一操作信息;并由终端中的清理模块根据用户在终端的边缘触控区域的第一操作信息,对终端的内存进行清理。本申请中,通过在终端的边缘触控区域进行操作,就可以方便快捷的实现对终端的内存进行清理。因此,本申请的技术方案在对终端的内存进行清理时,操作简单方便,提高了对终端的内存进行清理的效率,能够解决现有技术中,对终端的内存进行清理的效率比较低的问题。
为实现上述发明目的,再一方面,本申请实施例还提供了一种终端,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户在终端的边缘触控区域的第一操作信息;根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
为实现上述发明目的,还一方面,本申请实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于:获取用户在终端的边缘触控区域的第一操作信息;根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
为实现上述发明目的,下一方面,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行以上各方面所述的方法。
本申请实施例所提供的终端、存储介质以及计算机程序,通过获取用户在终端的边缘触控区域的第一操作信息,根据用户在终端的边缘触控区域的第一操作信息,对终端的内存进行清理。本申请中,通过在终端的边缘触控区域进行操作,就可以方便快捷的实现对终端的内存进行清理。因此,本申请的技术方案在对终端的内存进行清理时,操作简单方便,提高了对终端的内存进行清理的效率,能够解决现有技术中,对终端的内存进行清理的效率比较低的问题。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本申请实施例所提供的终端的控制方法的实施例一的流程图;
图2为本申请实施例所提供的终端的边缘触控区域的示例图;
图3为本申请实施例所提供的终端的控制方法的实施例二的流 程图;
图4为本申请实施例所提供的终端的控制装置的结构示意图;
图5为本申请实施例提供的执行终端的控制方法的终端的硬件结构示意图。
具体实施方式
以下结合附图对本申请的优选实施例进行说明,应当理解,此处所描述的优选实施例仅用于说明和解释本申请,并不用于限定本申请。
应当明确,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
应当理解,尽管在本申请实施例中可能采用术语第一、第二等来描述操作信息,但这些操作信息不应限于这些术语。这些术语仅用来将操作信息彼此区分开。例如,在不脱离本申请实施例范围的情况下,第一操作信息也可以被称为第二操作信息,类似地,第二操作信息也可以被称为第一操作信息。
取决于语境,如在此所使用的词语“如果”可以被解释成为 “在......时”或“当......时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
实施例1
图1为本申请实施例终端的控制方法的实施例1的流程图,如图1所示,本实施例的方法可以包括如下步骤100~101。
100、获取用户在终端的边缘触控区域的第一操作信息。
例如,本申请实施例中所涉及的终端可以包括但不限于个人计算机(Personal Computer,PC)、个人数字助理(Personal Digital Assistant,PDA)、无线手持设备、平板电脑(Tablet Computer)、手机、MP3播放器、MP4播放器等。
本申请实施例中,用户在终端的边缘触控区域的第一操作信息可以包括但不限于:用户在终端的边缘触控区域的滑动操作后生成的第一操作信息,如滑动手势;或者,用户在终端的边缘触控区域的点击操作后生成的第一操作信息,如点击次数;或者,用户在终端的边缘触控区域的按压操作后生成的第一操作信息,如压力值。
可以理解的是,边缘触控是通过终端边缘或边框提供触控输入,跟踪手指在终端边缘上的轻击、滑动或按压,实现对终端的控制。
请参考图2,其为本申请实施例所提供的终端的边缘触控区域的示例图,如图2所示,终端的边缘触控区域可以为用户自然持握所述终端时,用户的手指在终端的侧面能够达到的区域,终端的侧面包括除所述正面和背面以外的其他四个侧面。
本申请实施例中,终端的边缘触控区域可以利用物理按键、虚拟按键、传感器或者屏幕实现。
例如,若终端使用了曲面屏幕,则终端的边缘触控区域可以 利用曲面屏幕的边缘屏幕实现。以电容式触摸屏为例进行说明,当用户手指触摸在边缘触摸屏上时,触点的电容就会发生变化,使得与电容相连的振荡器频率发生变化,通过测量振荡器频率变化可以确定触摸位置,进而能够获取到用户在终端的边缘触控区域的第一操作信息。
或者,又例如,对于没有使用曲面屏幕的终端,其边缘触控区域可以利用物理按键、虚拟按键或者传感器实现。
例如,如果终端边缘上存在调节音量的物理按键,以终端中调节音量的物理按键为例进行说明,当用户手指按压调节音量的物理按键时,终端会获得用户是按压在了调高音量的按键上还是按压在了调低音量的按键上,同理,如果用户在边缘触控趋于有按压操作,则可以获取到用户在所述终端的边缘触控区域的第一操作信息。
又例如,如果终端边缘上存在具有一定功能的虚拟按键,并且虚拟按键是电容式虚拟按键时,终端通过电容式虚拟按键的电容量来判断用户触摸在哪个虚拟按键上。具体的,用户接触到电容式虚拟按键时手指会与电容式虚拟按键中的电极片形成电容,终端通过侦测电容量的变化来确定用户触摸的位置,从而就可以确定出用户触摸在了哪个虚拟按键上,进而能够获取到用户在所述终端的边缘触控区域的第一操作信息。
再例如,如果终端边缘上存在具有一定功能的传感器,以终端上的传感器采用压力传感器为例,当用户按压到压力传感器时,在压力传感器的薄片表面形成半导体变形压力,通过按压使薄皮变形产生压电阻抗效果,使阻抗的变化转换成电信号,终端获得电信号后就可以确定出用户在哪个压力传感器上进行的按压,或在压力传感器上哪个位置进行的按压,从而确定用户对哪个功能的压力传感器进行的按压,进而能够获取到用户在所述终端的边缘触控区域的第一操作信息。另外,终端边缘上存在具有一定功能的传感器还可以为光感应器。
具体的,获取用户在终端的边缘触控区域的第一操作信息,即 获取用户在终端的边缘触控区域上的有效区域的第一操作信息,只有在有效区域中的操作才可以生成相应的第一操作信息。
例如,若终端使用了曲面屏幕,在终端的边缘触控区域利用曲面屏幕的边缘屏幕实现获取用户的第一操作信息时,边缘屏幕的有效区域为用户自然持握终端时用户手指能够点击或接触到的屏幕边缘区域。
101、用户在终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
具体地,用户对终端进行不同操作时,生成不同的第一操作信息,进而触发终端相应的功能模块完成该第一操作信息所需要达到的目的。因此,可以在终端中预先设置好用户在终端的边缘触控区域的第一操作信息所要达到的目的。
例如,终端使用过程中会存在一些后台运行的应用程序和文件和注册表等历史数据,并占据终端的内存,影响终端的运行速度。
由于用户自然持握终端时,手指很容易触摸到终端的边缘触控区域,因此为了能够方便快捷的对终端的内存进行清理,可以将用户在终端的边缘触控区域的第一操作信息所要达到的目的设置为对终端的内存进行清理,这样,当终端出现运行速度慢等现象时,说明终端的内存占用率较大,此时用户可以对终端的边缘触控区域进行操作,当获取到用户在终端的边缘触控区域的第一操作信息后,该第一操作信息会触发对终端的内存进行清理。
需要说明的是,本申请实施例的终端的控制方法的执行主体可以为终端的控制装置,该装置可以位于本地终端的应用,或者还可以为位于本地终端的应用中的插件或软件开发工具包(Software Development Kit,SDK)等功能单元,本申请实施例对此不进行特别限定。
可以理解的是,所述应用可以是安装在终端上的应用程序(nativeApp),或者还可以是终端上的浏览器的一个网页程序(webApp), 本申请实施例对此不进行限定。
本申请实施例所提供的终端的控制方法中,通过获取用户在终端的边缘触控区域的第一操作信息;根据用户在终端的边缘触控区域的第一操作信息,对终端的内存进行清理。本申请中,通过在终端的边缘触控区域进行操作,就可以方便快捷的实现对终端的内存进行清理。因此,本申请的技术方案在对终端的内存进行清理时,操作简单方便,提高了对终端的内存进行清理的效率,能够解决现有技术中,对终端的内存进行清理的效率比较低的问题。
实施例2
图3为本申请实施例所提供的终端的控制方法的实施例2的流程图,如图3所示,本申请实施例的终端的控制方法是在图1所示实施例的基础上进一步地对本申请实施例的技术方案进行的描述。
如图3所示,本申请实施例所提供的终端的控制方法具体可以包括如下步骤300~303。
300、获取用户在终端的边缘触控区域的第一操作信息。
301、判断第一操作信息与预设的第一清理操作信息是否相匹配,若判断出第一操作信息与第一清理操作信息相匹配,执行步骤302,否则,若判断出第一操作信息与第一清理操作信息不匹配,执行步骤303。
终端中会预先设置第一清理操作信息,在获取到用户在终端的边缘触控区域的第一操作信息后,会与预设的第一清理操作信息进行匹配,进而判断第一操作信息是否为预设的第一清理操作信息,若获取的第一操作信息是预设的第一清理操作信息,说明用户在终端的边缘触控区域的第一操作信息是用于触发终端的内存清理,因此,执行步骤302,否则,若获取的第一操作信息不是预设的第一清理操作信息,说明用户在终端的边缘触控区域的第一操作信息不是用于触发终端的内存清理,因此,执行步骤303。
302、对终端的内存进行清理。
例如,第一清理操作信息为预设的点击次数,此时若获取到的用户在终端的边缘触控区域的操作为在终端的边缘触控区域的点击操作,之后会将在终端的边缘触控区域的点击操作的点击次数与预设的点击次数进行比较,若在终端的边缘触控区域的点击操作的点击次数大于或者等于预设的点击次数,则对终端的内存进行清理。
但通常情况下,对终端的历史数据进行清理时,耗时较长,该过程可能存在用户无法使用终端的情况,而若仅对终端的后台运行的应用程序进行清理,既能保证用户正常使用终端,又能保证对终端的内存进行清理,因此,用户可以根据实际需求选择清理模式。
具体地,可以采用与上述清理方式相同的原理,即可以进一步获取用户在终端的边缘触控区域的第二操作信息。判断第二操作信息与预设的第二清理操作信息是否相匹配;若判断出第二操作信息与第二清理操作信息相匹配,对终端的内存进行深度清理。若判断出第二操作信息与第二清理操作信息不匹配,对终端的内存进行快速释放。
本申请实施例中,用户在终端的边缘触控区域的第二操作信息可以包括但不限于:用户在终端的边缘触控区域的滑动操作后生成的第二操作信息,如滑动手势;或者,用户在终端的边缘触控区域的点击操作后生成的第二操作信息,如点击次数;或者,用户在终端的边缘触控区域的按压操作后生成的第二操作信息,如压力值。
本实施例中,第一操作信息与第二操作信息可以相同可以不相同,但由于获取第一操作信息和第二操作信息分别对应不同的功能,所以本实施例中以第一操作信息和第二操作信息不同为例。例如,本实施例中的第二操作信息为用户在终端的边缘触控区域的按压操作后生成的压力值,对应的第二清理操作信息为预设的压力阈值。在获取到用户在终端的边缘触控区域的按压操作后生成的压力值后,会与预设的压力阈值进行 比较,若用户在终端的边缘触控区域的按压操作后生成的压力值大于或者等于预设的压力阈值,则仅对终端的后台运行的应用程序进行清理,即快速释放终端的内存。反之,若用户在终端的边缘触控区域的按压操作后生成的压力值小于预设的压力阈值,则对终端的后台运行的应用程序和使用终端时产生的历史数据都进行清理,即对终端的内存进行深度清理。
需要说明的是,本实施例仅以获取的第一操作信息为点击次数,获取的第二操作信息为压力值为例对本申请的技术方案进行说明,但并不限于这一种实现方式,例如,还可以为滑动手势等,其实现原理与本实施例的实现原理相同,详细请参考上述相关描述,在此不再赘述。
303、保持终端的内存的当前状态。
若在终端的边缘触控区域的点击操作的点击次数小于预设的点击次数,则保持终端的内存的当前状态,即不对终端的内存进行清理。
本申请实施例所提供的终端的控制方法中,在对终端的内存清理的过程中,通过获取用户在终端的边缘触控区域的第二操作信息;根据用户在终端的边缘触控区域的第二操作信息,对终端的内存进行不同程度的清理。本申请中,通过在终端的边缘触控区域进行操作,就可以方便快捷的实现对终端的内存进行不同程度清理。因此,本申请的技术方案在对终端的内存进行清理时,操作简单方便,提高了对终端的内存进行清理的效率,能够解决现有技术中,对终端的内存进行清理的效率比较低的问题。
实施例3
图4为本申请实施例所提供的终端的控制装置的结构示意图,如图4所示,本申请实施例所提供的终端的控制装置包括获取模块10和清理模块11。
在一个具体的实现过程中,各模块之间能够传递信息数据等。
获取模块10,用于获取用户在终端的边缘触控区域的第一操 作信息。
清理模块11,用于根据用户在终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
本申请实施例的终端的控制装置,通过采用上述模块实现对终端的内存进行清理的实现机制与上述图1所示实施例的实现机制相同,详细可以参考上述图1所示实施例的记载,在此不再赘述。
本申请实施例所提供的终端的控制装置中,通过终端中的获取模块10获取用户在终端的边缘触控区域的第一操作信息;并由终端中的清理模块11根据用户在终端的边缘触控区域的第一操作信息,对终端的内存进行清理。本申请中,通过在终端的边缘触控区域进行操作,就可以方便快捷的实现对终端的内存进行清理。因此,本申请的技术方案在对终端的内存进行清理时,操作简单方便,提高了对终端的内存进行清理的效率,能够解决现有技术中,对终端的内存进行清理的效率比较低的问题。
进一步地,在一个具体的实现过程中,上述所述实施例的终端的控制装置中:清理模块11,具体用于:判断第一操作信息与预设的第一清理操作信息是否相匹配;若判断出第一操作信息与第一清理操作信息相匹配,对终端的内存进行清理。
具体地,清理模块11可以进一步获取用户在终端的边缘触控区域的第二操作信息;判断述第二操作信息与预所设的第二清理操作信息是否相匹配;若判断出第二操作信息与第二清理操作信息相匹配,对终端的内存进行深度清理;若判断出第二操作信息与第二清理操作信息不匹配,对终端的内存进行快速释放。
其中,用户在终端的边缘触控区域的第一操作信息或者用户在终端的边缘触控区域的第二操作信息,包括:用户在终端的边缘触控区域的滑动操作后生成的操作信息;或者,用户在终端的边缘触控区域的点击操作后生成的操作信息;或者,用户在终端的边缘触控区域的按压操作 后生成的操作信息。
进一步地,在一个具体的实现过程中,上述所述实施例的终端的控制装置中:清理模块11还用于若判断出第一操作信息与第一清理操作信息不匹配,保持终端的内存的当前状态。
本申请实施例所提供的终端的控制装置,通过采用上述模块实现对终端的内存进行清理的实现机制与上述图3所示实施例的实现机制相同,详细可以参考上述图3所示实施例的记载,在此不再赘述。
实施例5
本申请实施例提供了一种非暂态计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行上述任意方法实施例中的控制方法。
实施例6
图6是本申请实施例提供的执行终端的控制方法的终端的硬件结构示意图,如图6所示,该终端包括:一个或多个处理器610以及存储器620,图6中以一个处理器610为例。该终端还可以包括:输入装置630和输出装置640。
处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图6中以通过总线连接为例。
存储器620作为一种非暂态计算机可读存储介质,可用于存储非暂态软件程序、非暂态计算机可执行程序以及模块。处理器610通过运行存储在存储器620中的非暂态软件程序、指令以及模块,从而执行终端的各种功能应用以及数据处理,即实现上述方法实施例的处理方法。
存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需要的应用程序;存储数据区可存储数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储 器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置630可接收输入的数字或字符信息,以及产生信号输入。输出装置640可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行:获取用户在终端的边缘触控区域的第一操作信息;根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
在一种可能的实现方式中,根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理,包括:判断所述第一操作信息与预设的第一清理操作信息是否相匹配;若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理。
在一种可能的实现方式中,若判断出所述第一操作信息与预设的第一清理操作信息相匹配,对终端的内存进行清理,包括:获取用户在终端的边缘触控区域的第二操作信息;判断所述第二操作信息与预设的第二清理操作信息是否相匹配;若判断出所述第二操作信息与所述第二清理操作信息相匹配,对所述终端的内存进行深度清理。
在一种可能的实现方式中,所述方法还包括:若判断出所述第二操作信息与所述第二清理操作信息不匹配,对所述终端的内存进行快速释放。
在一种可能的实现方式中,所述方法还包括:若判断出所述第一操作信息与所述第一清理操作信息不匹配,保持所述终端的内存的当前状态。
在一种可能的实现方式中,所述用户在终端的边缘触控区域的第一操作信息或者用户在终端的边缘触控区域的第二操作信息,包括: 所述用户在所述终端的边缘触控区域的滑动操作后生成的操作信息;或者,所述用户在所述终端的边缘触控区域的点击操作后生成的操作信息;或者,所述用户在所述终端的边缘触控区域的按压操作后生成的操作信息。
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。
本申请实施例的终端以多种形式存在,包括但不限于:
移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等,例如iPad。
便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、***总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
其他具有数据交互功能的电子装置。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。
工业实用性
本申请实施例提供的一种终端的控制方法及装置,通过获取用户在终端的边缘触控区域的第一操作信息,根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理,在对终端的内存进行清理时,操作简单方便,提高了对终端的内存进行清理的效率。

Claims (25)

  1. 一种终端的控制方法,其特征在于,所述方法包括:
    获取用户在终端的边缘触控区域的第一操作信息;
    根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
  2. 根据权利要求1所述的方法,其特征在于,根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理,包括:
    判断所述第一操作信息与预设的第一清理操作信息是否相匹配;
    若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理。
  3. 根据权利要求2所述的方法,其特征在于,若判断出所述第一操作信息与预设的第一清理操作信息相匹配,对终端的内存进行清理,包括:
    获取用户在终端的边缘触控区域的第二操作信息;
    判断所述第二操作信息与预设的第二清理操作信息是否相匹配;
    若判断出所述第二操作信息与所述第二清理操作信息相匹配,对所述终端的内存进行深度清理。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    若判断出所述第二操作信息与所述第二清理操作信息不匹配,对所述终端的内存进行快速释放。
  5. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    若判断出所述第一操作信息与所述第一清理操作信息不匹配,保持所述终端的内存的当前状态。
  6. 根据权利要求3-5中任一所述的方法,其特征在于,所述用户在终端的边缘触控区域的第一操作信息或者用户在终端的边缘触控区域的第二操作信息,包括:
    所述用户在所述终端的边缘触控区域的滑动操作后生成的操作信息;或者,
    所述用户在所述终端的边缘触控区域的点击操作后生成的操作信息;或者,
    所述用户在所述终端的边缘触控区域的按压操作后生成的操作信息。
  7. 一种终端的控制装置,其特征在于,包括:
    获取模块,用于获取用户在终端的边缘触控区域的第一操作信息;
    清理模块,用于根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
  8. 根据权利要求7所述的装置,其特征在于,所述清理模块,具体用于:
    判断所述第一操作信息与预设的第一清理操作信息是否相匹配;
    若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理。
  9. 根据权利要求8所述的装置,其特征在于,所述清理模块用于若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理时,具体用于:
    获取用户在终端的边缘触控区域的第二操作信息;
    判断述第二操作信息与预所设的第二清理操作信息是否相匹配;
    若判断出所述第二操作信息与所述第二清理操作信息相匹配,对所述终端的内存进行深度清理。
  10. 根据权利要求9所述的装置,其特征在于,所述清理模块,还用于:
    若判断出所述第二操作信息与所述第二清理操作信息不匹配,对所述终端的内存进行快速释放。
  11. 根据权利要求8所述的装置,其特征在于,所述清理模块还用于:
    若判断出所述第一操作信息与所述第一清理操作信息不匹配,保持所述终端的内存的当前状态。
  12. 根据权利要求9-11中任一所述的装置,其特征在于,所述用户在终端的边缘触控区域的第一操作信息或者用户在终端的边缘触控区域的第二操作信息,包括:
    所述用户在所述终端的边缘触控区域的滑动操作后生成的操作信息;或者,
    所述用户在所述终端的边缘触控区域的点击操作后生成的操作信息;或者,
    所述用户在所述终端的边缘触控区域的按压操作后生成的操作信息。
  13. 一种终端,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:获取用户在终端的边缘触控区域的第一操作信息;
    根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
  14. 根据权利要求13所述的终端,其特征在于,根据所述用户在所述终 端的边缘触控区域的第一操作信息,对终端的内存进行清理,包括:
    判断所述第一操作信息与预设的第一清理操作信息是否相匹配;
    若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理。
  15. 根据权利要求14所述的终端,其特征在于,若判断出所述第一操作信息与预设的第一清理操作信息相匹配,对终端的内存进行清理,包括:
    获取用户在终端的边缘触控区域的第二操作信息;
    判断所述第二操作信息与预设的第二清理操作信息是否相匹配;
    若判断出所述第二操作信息与所述第二清理操作信息相匹配,对所述终端的内存进行深度清理。
  16. 根据权利要求15所述的终端,其特征在于,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    若判断出所述第二操作信息与所述第二清理操作信息不匹配,对所述终端的内存进行快速释放。
  17. 根据权利要求14所述的终端,其特征在于,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够:
    若判断出所述第一操作信息与所述第一清理操作信息不匹配,保持所述终端的内存的当前状态。
  18. 根据权利要求15-17中任一所述的终端,其特征在于,所述用户在终端的边缘触控区域的第一操作信息或者用户在终端的边缘触控区域的第二操作信息,包括:
    所述用户在所述终端的边缘触控区域的滑动操作后生成的操作信息;或者,
    所述用户在所述终端的边缘触控区域的点击操作后生成的操作信息;或者,
    所述用户在所述终端的边缘触控区域的按压操作后生成的操作信息。
  19. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于:获取用户在终端的边缘触控区域的第一操作信息;
    根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理。
  20. 根据权利要求19所述的非暂态计算机可读存储介质,其特征在于,根据所述用户在所述终端的边缘触控区域的第一操作信息,对终端的内存进行清理,包括:
    判断所述第一操作信息与预设的第一清理操作信息是否相匹配;
    若判断出所述第一操作信息与所述第一清理操作信息相匹配,对终端的内存进行清理。
  21. 根据权利要求20所述的非暂态计算机可读存储介质,其特征在于,若判断出所述第一操作信息与预设的第一清理操作信息相匹配,对终端的内存进行清理,包括:
    获取用户在终端的边缘触控区域的第二操作信息;
    判断所述第二操作信息与预设的第二清理操作信息是否相匹配;
    若判断出所述第二操作信息与所述第二清理操作信息相匹配,对所述终端的内存进行深度清理。
  22. 根据权利要求21所述的非暂态计算机可读存储介质,其特征在于,所述计算机可执行指令用于:
    若判断出所述第二操作信息与所述第二清理操作信息不匹配,对所述终 端的内存进行快速释放。
  23. 根据权利要求20所述的非暂态计算机可读存储介质,其特征在于,所述计算机可执行指令用于:
    若判断出所述第一操作信息与所述第一清理操作信息不匹配,保持所述终端的内存的当前状态。
  24. 根据权利要求21-23中任一所述的非暂态计算机可读存储介质,其特征在于,所述用户在终端的边缘触控区域的第一操作信息或者用户在终端的边缘触控区域的第二操作信息,包括:
    所述用户在所述终端的边缘触控区域的滑动操作后生成的操作信息;或者,
    所述用户在所述终端的边缘触控区域的点击操作后生成的操作信息;或者,
    所述用户在所述终端的边缘触控区域的按压操作后生成的操作信息。
  25. 一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-6任一项所述的方法。
PCT/CN2016/096428 2016-03-25 2016-08-23 一种终端的控制方法及装置 WO2017161817A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/334,227 US20170277420A1 (en) 2016-03-25 2016-10-25 Control method and device for terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610180348.2 2016-03-25
CN201610180348.2A CN105867916A (zh) 2016-03-25 2016-03-25 一种终端的控制方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/334,227 Continuation US20170277420A1 (en) 2016-03-25 2016-10-25 Control method and device for terminal

Publications (1)

Publication Number Publication Date
WO2017161817A1 true WO2017161817A1 (zh) 2017-09-28

Family

ID=56626004

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/096428 WO2017161817A1 (zh) 2016-03-25 2016-08-23 一种终端的控制方法及装置

Country Status (2)

Country Link
CN (1) CN105867916A (zh)
WO (1) WO2017161817A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867916A (zh) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 一种终端的控制方法及装置
CN106527927A (zh) * 2016-10-31 2017-03-22 珠海市魅族科技有限公司 一种内存清理方法及装置
CN106603809A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种内存清理装置及方法
CN106598442A (zh) * 2016-11-09 2017-04-26 上海斐讯数据通信技术有限公司 一种数码产品、基于压力感应完成数码产品后台清理方法
CN108604160A (zh) * 2016-12-21 2018-09-28 华为技术有限公司 触摸屏手势识别的方法及装置
CN106843673A (zh) * 2016-12-22 2017-06-13 深圳众思科技有限公司 清空任务的方法与终端
CN107037971A (zh) * 2017-03-27 2017-08-11 努比亚技术有限公司 应用管理装置、移动终端及方法
CN107402704B (zh) * 2017-07-28 2021-06-25 努比亚技术有限公司 一种应用管理的实现方法及装置
CN107402677B (zh) * 2017-07-31 2020-10-09 北京小米移动软件有限公司 触控操作中识别手指抬起的方法、装置及终端
CN110502341A (zh) * 2019-08-15 2019-11-26 Oppo广东移动通信有限公司 移动终端清理内存的方法、装置以及存储介质
CN111443861A (zh) * 2020-03-30 2020-07-24 上海闻泰信息技术有限公司 一种缓存清理方法、装置、设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092342A (zh) * 2012-12-31 2013-05-08 北京金山安全软件有限公司 移动终端的处理方法及装置
CN104571926A (zh) * 2015-01-27 2015-04-29 深圳市中兴移动通信有限公司 触控方法及装置
CN104793885A (zh) * 2015-04-23 2015-07-22 努比亚技术有限公司 一种移动终端及其内存清理控制方法
CN104866190A (zh) * 2015-04-27 2015-08-26 努比亚技术有限公司 一种移动终端及其通过多指滑动实现内存清理操作的方法
CN105867916A (zh) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 一种终端的控制方法及装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104850345A (zh) * 2015-04-29 2015-08-19 努比亚技术有限公司 一种移动终端及其任务快速切换方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092342A (zh) * 2012-12-31 2013-05-08 北京金山安全软件有限公司 移动终端的处理方法及装置
CN104571926A (zh) * 2015-01-27 2015-04-29 深圳市中兴移动通信有限公司 触控方法及装置
CN104793885A (zh) * 2015-04-23 2015-07-22 努比亚技术有限公司 一种移动终端及其内存清理控制方法
CN104866190A (zh) * 2015-04-27 2015-08-26 努比亚技术有限公司 一种移动终端及其通过多指滑动实现内存清理操作的方法
CN105867916A (zh) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 一种终端的控制方法及装置

Also Published As

Publication number Publication date
CN105867916A (zh) 2016-08-17

Similar Documents

Publication Publication Date Title
WO2017161817A1 (zh) 一种终端的控制方法及装置
WO2017161803A1 (zh) 一种设置的调节方法和终端
WO2017161825A1 (zh) 一种滚动截屏的使用方法和终端
WO2017161814A1 (zh) 一种终端的控制方法及装置
WO2017161826A1 (zh) 一种功能的控制方法和终端
US9423883B2 (en) Electronic apparatus and method for determining validity of touch key input used for the electronic apparatus
WO2015033609A1 (ja) 情報処理装置、入力方法およびプログラム
WO2017161816A1 (zh) 一种终端的解锁方法和终端
WO2017161824A1 (zh) 一种终端的控制方法及装置
KR20140131061A (ko) 터치 스크린 동작 방법 및 그 전자 장치
WO2017161827A1 (zh) 一种调节相机焦距的方法和终端
CN109407833A (zh) 操控电子设备的方法、装置、电子设备及存储介质
WO2017032063A1 (zh) 一种屏幕切换方法及移动终端
WO2017161819A1 (zh) 一种终端的控制方法和终端
US20170277379A1 (en) Method and terminal for processing desktop icon
WO2015131590A1 (zh) 一种控制黑屏手势处理的方法及终端
WO2017161809A1 (zh) 一种终端的控制方法和终端
US20170277419A1 (en) Method and Electronic Device for Replying to a Message
CN108073405B (zh) 一种应用程序卸载方法及移动终端
WO2018157348A1 (zh) 触控检测误报点的确定方法、电容触控装置及电子装置
WO2016095395A1 (zh) 激活移动终端的操作状态的方法及装置
WO2017161812A1 (zh) 一种消息回复方法和终端
WO2017161807A1 (zh) 一种终端及其握力检测方法
WO2018039914A1 (zh) 一种数据复制方法及用户终端
KR20210002583A (ko) 압력 센서 설계와의 펜 상호운용성을 위한 메커니즘

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16895166

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16895166

Country of ref document: EP

Kind code of ref document: A1