WO2017071456A1 - 一种终端的处理方法、终端及存储介质 - Google Patents

一种终端的处理方法、终端及存储介质 Download PDF

Info

Publication number
WO2017071456A1
WO2017071456A1 PCT/CN2016/101176 CN2016101176W WO2017071456A1 WO 2017071456 A1 WO2017071456 A1 WO 2017071456A1 CN 2016101176 W CN2016101176 W CN 2016101176W WO 2017071456 A1 WO2017071456 A1 WO 2017071456A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
screen
displacement
vertical displacement
content
Prior art date
Application number
PCT/CN2016/101176
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 努比亚技术有限公司
Publication of WO2017071456A1 publication Critical patent/WO2017071456A1/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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the terminal operation technology in the communication field related to the present invention relates to a terminal processing method, a terminal, and a storage medium.
  • the application of mobile terminals has become more and more extensive, and mobile phones have become an indispensable tool in people's daily life.
  • the application of the touch screen technology simplifies the operation keyboard of the mobile terminal, greatly increases the size of the display screen of the mobile terminal, thereby improving the interaction experience between the user and the terminal.
  • the mobile terminal can only detect the movement trajectory of the finger on the two-dimensional operation plane parallel to the touch screen of the mobile terminal, and determine the operation instruction according to the movement trajectory of the finger, usually a kind of movement
  • the track corresponds to an operation command. Since the movement of the finger on the two-dimensional operation plane is relatively simple, the number of operation instructions that can be realized during the space-saving operation is small, and the instruction for the space-save operation is also single, and the user experience is not good.
  • an embodiment of the present invention is to provide a method for processing a terminal,
  • the terminal and the storage medium increase the number of operations that can be realized when the terminal is operated by the air, improve the diversity of the space-saving operation, and thereby improve the user experience.
  • an embodiment of the present invention provides a method for processing a terminal, where the method includes:
  • the content to be operated indicated on the screen of the terminal is operated according to the vertical displacement.
  • the operating the content to be operated indicated on the screen of the terminal according to the vertical displacement comprises:
  • the operating the content to be operated indicated on the screen of the terminal according to the vertical displacement comprises:
  • the method before the operating the content to be operated indicated on the screen of the terminal according to the vertical displacement, the method further includes:
  • the method further includes:
  • the operating the content to be operated indicated on the screen of the terminal according to the vertical displacement comprises:
  • the content to be operated indicated on the screen of the terminal is operated according to the vertical displacement.
  • the object to be operated is selected.
  • the operations include: a click operation, a drag operation on the selected content, a pop-up current location property menu operation, a zoom-in operation, and a zoom-out operation.
  • the method further includes:
  • an embodiment of the present invention provides a terminal, where the terminal includes:
  • An acquiring unit configured to obtain a vertical displacement of the operating object in a vertical direction of the terminal screen
  • the processing unit is configured to operate the content to be operated indicated on the screen of the terminal according to the vertical displacement.
  • the processing unit is specifically configured to:
  • the obtaining unit is further configured to:
  • the processing unit is specifically configured to:
  • the device further includes a display unit configured to display an indication cursor on a screen of the terminal when the operation object is detected in an operation area of the terminal;
  • the acquiring unit is further configured to acquire a first parallel displacement of the operator in a parallel direction of the terminal screen
  • the apparatus also includes a movement unit configured to move the indication cursor in accordance with the first parallel displacement such that the indication cursor indicates the content to be operated.
  • the acquiring unit is further configured to: acquire a second parallel displacement of the operator in a parallel direction of the terminal screen when performing the vertical displacement;
  • the apparatus also includes a determining unit configured to determine whether the difference is greater than or equal to a preset threshold.
  • the processing unit is configured to: when the difference is greater than or equal to a preset threshold, operate the content to be operated indicated on the screen of the terminal according to the vertical displacement.
  • the object to be operated is selected.
  • the operations include: a click operation, a drag operation on the selected content, a pop-up current location property menu operation, a zoom-in operation, and a zoom-out operation.
  • the acquiring unit is further configured to acquire the operating object to perform the The time of the first parallel displacement
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the processing method of the terminal.
  • An embodiment of the present invention provides a processing method, a terminal, and a storage medium of a terminal, where the method includes: acquiring a vertical displacement of an operating object in a vertical direction of the terminal screen; and on a screen of the terminal according to the vertical displacement The indicated content to be operated is operated.
  • the terminal provided by the embodiment of the present invention can also detect the vertical displacement of the operator in the vertical direction of the terminal screen, thereby increasing the type and quantity of the displacement that the terminal can detect, thereby increasing the capability.
  • the number of operations defined according to the displacement that is, the number of operations that can be realized when the terminal is operated by the gap, improves the diversity of the space-storing operation, thereby improving the user experience.
  • FIG. 1 is a schematic structural diagram of hardware of a mobile terminal that implements various embodiments of the present invention
  • FIG. 2 is a schematic diagram of a wireless communication system of the mobile terminal shown in FIG. 1;
  • FIG. 3 is a flowchart of a method for processing a terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a vertical displacement according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of another method for processing a terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a parallel displacement according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram 1 of a terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram 2 of a terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram 3 of a terminal according to an embodiment of the present invention.
  • the mobile terminal can be implemented in various forms.
  • the terminals described in the present invention may include, for example, mobile phones, smart phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (PADs), portable multimedia players (PMPs), navigation devices, and the like.
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • PDAs personal digital assistants
  • PADs tablet computers
  • PMPs portable multimedia players
  • Mobile terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a mobile terminal.
  • configurations in accordance with embodiments of the present invention can be applied to fixed type terminals in addition to components that are specifically for mobile purposes.
  • FIG. 1 is a schematic diagram showing the hardware structure of a mobile terminal embodying various embodiments of the present invention.
  • the mobile terminal 100 may include a wireless communication unit 110, an audio/video (A/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190. and many more.
  • Figure 1 illustrates a mobile terminal having various components, but it should be understood that not all illustrated components are required to be implemented. More or fewer components can be implemented instead. The elements of the mobile terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components that permit radio communication between mobile terminal 100 and a wireless communication system or network.
  • the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
  • the broadcast receiving module 111 receives a broadcast signal from an external broadcast management server via a broadcast channel And/or broadcast related information.
  • the broadcast channel can include a satellite channel and/or a terrestrial channel.
  • the broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to the terminal.
  • the broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like.
  • the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal.
  • the broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112.
  • the broadcast signal may exist in various forms, for example, it may exist in the form of Digital Multimedia Broadcasting (DMB) Electronic Program Guide (EPG), Digital Video Broadcasting Handheld (DVB-H) Electronic Service Guide (ESG), and the like.
  • the broadcast receiving module 111 can receive a signal broadcast by using various types of broadcast systems.
  • the broadcast receiving module 111 can use forward link media (MediaFLO) by using, for example, multimedia broadcast-terrestrial (DMB-T), digital multimedia broadcast-satellite (DMB-S), digital video broadcast-handheld (DVB-H) Digital broadcasting systems such as data broadcasting systems, terrestrial digital broadcasting integrated services (ISDB-T), etc. receive digital broadcasting.
  • the broadcast receiving module 111 can be constructed as various broadcast systems suitable for providing broadcast signals as well as the above-described digital broadcast system.
  • the broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
  • the mobile communication module 112 transmits the radio signals to and/or receives radio signals from at least one of a base station (e.g., an access point, a Node B, etc.), an external terminal, and a server.
  • a base station e.g., an access point, a Node B, etc.
  • Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
  • the wireless internet module 113 supports wireless internet access of the mobile terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include Wireless Local Area Network (WLAN) (Wi-Fi), Wireless Broadband (Wibro), Worldwide Interoperability for Microwave Access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like. .
  • WLAN Wireless Local Area Network
  • Wibro Wireless Broadband
  • Wimax Worldwide Interoperability for Microwave Access
  • HSDPA High Speed Downlink Packet Access
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technology include Bluetooth TM, a radio frequency identification (RFID), infrared data association (IrDA), ultra wideband (UWB), ZigBee, etc. TM.
  • the location information module 115 is a module for checking or acquiring location information of the mobile terminal.
  • a typical example of a location information module is the Global Positioning System (GPS).
  • GPS Global Positioning System
  • the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information to accurately calculate three-dimensional current position information based on longitude, latitude, and altitude.
  • the method for calculating position and time information uses three satellites and corrects the calculated position and time information errors by using another satellite.
  • the GPS module 115 is capable of calculating speed information by continuously calculating current position information in real time.
  • the A/V input unit 120 is for receiving an audio or video signal.
  • the A/V input unit 120 may include a camera 121 and a microphone 122 that processes image data of still pictures or video obtained by the image capturing device in a video capturing mode or an image capturing mode.
  • the processed image frame can be displayed on the display unit 151.
  • the image frames processed by the camera 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the configuration of the mobile terminal.
  • the microphone 122 can receive sound (audio data) via a microphone in an operation mode of a telephone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound as audio data.
  • the processed audio (voice) data can be converted to a format output that can be transmitted to the mobile communication base station via the mobile communication module 112 in the case of a telephone call mode.
  • the microphone 122 can implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated during the process of receiving and transmitting audio signals.
  • the user input unit 130 may generate key input data according to a command input by the user to control various operations of the mobile terminal.
  • the user input unit 130 allows the user to input various types of information, and may include a keyboard, a pot, a touch pad (eg, a touch sensitive component that detects changes in resistance, pressure, capacitance, etc. due to contact), a scroll wheel , rocker, etc. Especially when the touchpad When superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
  • the sensing unit 140 detects the current state of the mobile terminal 100 (eg, the open or closed state of the mobile terminal 100), the location of the mobile terminal 100, the presence or absence of contact (ie, touch input) by the user with the mobile terminal 100, and the mobile terminal.
  • the sensing unit 140 can sense whether the slide type phone is turned on or off.
  • the sensing unit 140 can detect whether the power supply unit 190 provides power or whether the interface unit 170 is coupled to an external device.
  • Sensing unit 140 may include proximity sensor 141 which will be described below in connection with a touch screen.
  • the interface unit 170 serves as an interface through which at least one external device can connect with the mobile terminal 100.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, and an audio input/output. (I/O) port, video I/O port, headphone port, and more.
  • the identification module may be stored to verify various information used by the user using the mobile terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), a Universal Customer Identity Module (USIM), and the like.
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the mobile terminal 100 via a port or other connection device.
  • the interface unit 170 can be configured to receive input from an external device (eg, data information, power, etc.) and transmit the received input to one or more components within the mobile terminal 100 or can be used at the mobile terminal and external device Transfer data between.
  • the interface unit 170 may function as a path through which power is supplied from the base to the mobile terminal 100 or may be used as a transmission of various command signals allowing input from the base to the mobile terminal 100 The path to the terminal.
  • Various command signals or power input from the base can be used as signals for identifying whether the mobile terminal is accurately mounted on the base.
  • the output unit 150 is configured to provide an output signal in a visual, audio, and/or tactile manner (eg, For example, audio signals, video signals, alarm signals, vibration signals, etc.).
  • the output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
  • the display unit 151 can display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 can display a user interface (UI) or a graphical user interface (GUI) related to a call or other communication (eg, text messaging, multimedia file download, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or image and related functions, and the like.
  • UI user interface
  • GUI graphical user interface
  • the display unit 151 can function as an input device and an output device.
  • the display unit 151 may include at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diode
  • a flexible display a three-dimensional (3D) display, and the like.
  • 3D three-dimensional
  • Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as a transparent display, and a typical transparent display may be, for example, a TOLED (Transparent Organic Light Emitting Diode) display or the like.
  • TOLED Transparent Organic Light Emitting Diode
  • the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown) .
  • the touch screen can be used to detect touch input pressure as well as touch input position and touch input area.
  • the audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 when the mobile terminal is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like.
  • the audio signal is output as sound.
  • the audio output module 152 can provide audio output (eg, call signal reception sound, message reception sound, etc.) associated with a particular function performed by the mobile terminal 100.
  • the audio output module 152 can include a speaker, a buzzer, and the like.
  • the alarm unit 153 can provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical Events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alert unit 153 can provide an output in a different manner to notify of the occurrence of an event. For example, the alarm unit 153 can provide an output in the form of vibrations, and when a call, message, or some other incoming communication is received, the alarm unit 153 can provide a tactile output (ie, vibration) to notify the user of it. By providing such a tactile output, the user is able to recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 can also provide an output of the notification event occurrence via the display unit 151 or the audio output module 152.
  • the memory 160 may store a software program or the like that performs processing and control operations performed by the controller 180, or may temporarily store data (for example, a phone book, a message, a still image, a video, and the like) that has been output or is to be output. Moreover, the memory 160 can store data regarding vibrations and audio signals of various manners that are output when a touch is applied to the touch screen.
  • the memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (eg, SD or DX memory, etc.), a random access memory (RAM), a static random access memory ( SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disk, optical disk, and the like.
  • the mobile terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
  • the controller 180 typically controls the overall operation of the mobile terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like.
  • the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, which may be constructed within the controller 180 or may be configured to be separate from the controller 180.
  • the controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
  • the power supply unit 190 receives external power or internal power under the control of the controller 180 and provides Appropriate power required to operate the various components and components.
  • the various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof.
  • the embodiments described herein may be through the use of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays ( An FPGA, a processor, a controller, a microcontroller, a microprocessor, at least one of the electronic units designed to perform the functions described herein, in some cases, such an embodiment may be at the controller 180 Implemented in the middle.
  • implementations such as procedures or functions may be implemented with separate software modules that permit the execution of at least one function or operation.
  • the software code can be implemented by a software application (or program) written in any suitable programming language, which can be stored in memory 160 and executed by
  • the mobile terminal has been described in terms of its function.
  • a slide type mobile terminal among various types of mobile terminals such as a folding type, a bar type, a swing type, a slide type mobile terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
  • the mobile terminal 100 as shown in FIG. 1 may be configured to operate using a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • a communication system such as a wired and wireless communication system and a satellite-based communication system that transmits data via frames or packets.
  • Such communication systems may use different air interfaces and/or physical layers.
  • air interfaces used by communication systems include, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)). ), Global System for Mobile Communications (GSM), etc.
  • FDMA Frequency Division Multiple Access
  • TDMA Time Division Multiple Access
  • CDMA Code Division Multiple Access
  • UMTS Universal Mobile Telecommunications System
  • LTE Long Term Evolution
  • GSM Global System for Mobile Communications
  • the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
  • a CDMA wireless communication system can include a plurality of mobile terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280.
  • MSC280 It is configured to interface with a public switched telephone network (PSTN) 290.
  • PSTN public switched telephone network
  • the MSC 280 is also configured to interface with a BSC 275 that can be coupled to the base station 270 via a backhaul line.
  • the backhaul line can be constructed in accordance with any of a number of known interfaces including, for example, E1/T1, ATM, IP, PPP, Frame Relay, HDSL, ADSL, or xDSL. It will be appreciated that the system as shown in FIG. 2 can include multiple BSCs 275.
  • Each BS 270 can serve one or more partitions (or regions), each of which is covered by a multi-directional antenna or an antenna directed to a particular direction radially away from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 can be configured to support multiple frequency allocations, and each frequency allocation has a particular frequency spectrum (eg, 1.25 MHz, 5 MHz, etc.).
  • BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology.
  • BTS Base Transceiver Subsystem
  • the term "base station” can be used to generally refer to a single BSC 275 and at least one BS 270.
  • a base station can also be referred to as a "cell station.”
  • each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
  • a broadcast transmitter (BT) 295 transmits a broadcast signal to the mobile terminal 100 operating within the system.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295.
  • GPS Global Positioning System
  • the satellite 300 helps locate at least one of the plurality of mobile terminals 100.
  • a plurality of satellites 300 are depicted, but it is understood that useful positioning information can be obtained using any number of satellites.
  • the GPS module 115 as shown in Figure 1 is typically configured to cooperate with the satellite 300 to obtain desired positioning information. Instead of GPS tracking technology or in addition to GPS tracking technology, other techniques that can track the location of the mobile terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
  • BS 270 receives reverse link signals from various mobile terminals 100.
  • Mobile terminal 100 typically participates in calls, messaging, and other types of communications.
  • Each reverse link signal received by a particular base station 270 is processed within a particular BS 270.
  • the obtained data is forwarded to the relevant BSC 275.
  • the BSC provides call resource allocation and coordinated mobility management functions including a soft handoff procedure between the BSs 270.
  • the BSC 275 also routes the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290.
  • PSTN 290 interfaces with MSC 280, which forms an interface with BSC 275, and BSC 275 controls BS 270 accordingly to transmit forward link signals to mobile terminal 100.
  • An embodiment of the present invention provides a processing method of a terminal, where the processing method of the terminal can be applied to a mobile phone, a tablet computer, or another terminal having a touch screen display function. This is not a limitation. As shown in FIG. 3, the method includes:
  • Step 301 Obtain a vertical displacement of the operator in a vertical direction of the terminal screen.
  • the space-storing operation is a technology that allows a user's finger to touch the screen without touching the terminal screen.
  • the commonly used operation object is the user's finger when performing the space-saving operation, and the operation object can also be used in the actual application. It is an operation pen or an operation lamp.
  • the embodiment of the present invention is described by taking a finger as an example, and is not limited thereto.
  • the sensor supporting the space operation usually has two types of mutual capacitance sensor and self capacitance sensor, wherein Capacitive sensors can generate strong signals and can detect far-reaching finger sensing.
  • Capacitive sensors can generate strong signals and can detect far-reaching finger sensing.
  • the electric field of the mutual-capacitance sensor is so small that the signal strength is very low.
  • the sensor provided on the mobile phone in the embodiment of the invention may select a self-capacitance sensor. The distance between the farthest distance and the closest distance that the sensor can detect, that is, the operation area when the user performs the space-saving operation.
  • the mobile phone may be provided with an air-operated operation switch.
  • the space-operated operation switch When the user needs to perform a blank operation on the mobile phone, the space-operated operation switch is turned on, and the mobile phone starts to detect whether an operation object appears in the operation area, that is, the operation area is detected. Whether the user's finger appears in the middle, when the user's finger appears in the detection operation area, the vertical displacement of the finger in the vertical direction of the terminal screen can be acquired.
  • FIG. 4 it is assumed that when the user needs to perform a space-storing operation on the mobile phone 401, the distance between the finger 402 and the mobile phone 401 in the vertical direction is A, and the vertical direction of the mobile phone 401 is as shown in the Z direction in FIG. The operation is required to move the finger 402.
  • the distance between the moved finger 402 and the mobile phone 401 in the vertical direction is B.
  • the difference ⁇ Z between A and B is the vertical displacement of the finger in the vertical direction of the terminal screen.
  • the target object on the finger 401 can be first determined, and then the distance between the target object and the mobile phone 401 in the vertical direction is detected as the distance between the finger 401 and the mobile phone 401 in the vertical direction, and the target object can make the center position of the finger pad, It may be a preset position of the fingerprint, which is not limited by the embodiment of the present invention.
  • Step 302 Perform operation on the content to be operated indicated on the screen of the terminal according to the vertical displacement.
  • the correspondence between the displacement and the operation instruction may be set in the mobile phone in advance, and the different displacements correspond to different operation instructions, and after the vertical displacement in the vertical direction of the finger and the mobile phone is acquired, according to the vertical displacement and the corresponding relationship Determining an operation instruction corresponding to the vertical displacement, and then operating the to-be-operated content indicated on the screen of the mobile phone according to the operation instruction.
  • the correspondence between the displacement and the operation instruction may be as shown in Table 1, wherein the unit of displacement is centimeters (cm):
  • ⁇ Z is 2 cm, that is, when the user's finger 402 moves 2 cm, it indicates that the operation that the user wants to perform is a click, and the mobile phone performs a click operation on the content indicated on the screen, for example,
  • the content of the indication is an application
  • the application can be opened;
  • ⁇ Z is 5 cm, that is, when the user's finger 402 moves 5 cm, the operation that the user wants to perform is the right key, and the mobile phone performs a right click on the content indicated on the screen.
  • the operation for example, when the content of the indication is a file, the attribute menu of the file may be opened; when ⁇ Z is 8 cm, that is, when the user's finger 402 moves 8 cm, the operation that the user wants to perform is selected, and the mobile phone is selected.
  • the content indicated on the screen is selected, for example, when the content of the indication is a document, a word in the document may be selected, and the word may be copied or cut.
  • the correspondence between the displacement and the operation command can also be as shown in Table 2, wherein the unit of displacement is centimeters (cm). :
  • each displacement may be preset by the mobile phone manufacturer when the mobile phone is made, or may be set by the user according to the habit when the mobile phone is used, which is not limited by the embodiment of the present invention.
  • the operational command may also be determined based on the ratio of displacement to time.
  • Reference 4 after acquiring the vertical displacement ⁇ Z of the finger 402, it is also possible to acquire the time ⁇ t used when the user's finger performs the displacement ⁇ Z, and then calculate the ratio p of the ⁇ Z and ⁇ t, that is, the acceleration when the finger moves, and then according to the acceleration.
  • the size determines the operational instructions that the user wants to perform. It is also possible to obtain the time ⁇ t used by the user's finger to perform horizontal displacement ⁇ X or ⁇ Y, and then calculate the ratio of ⁇ X to ⁇ t, the value or the ratio of ⁇ Y to ⁇ t; preferably, the correspondence between the ratio and the operation command can be set in advance in the mobile phone.
  • the ratio is the ratio of displacement in the X, Y, or Z direction to time.
  • the correspondence between the ratio and the operation instruction may be as shown in Table 3, wherein the unit of vertical displacement is centimeters (cm):
  • Is the zoom-in operation if the picture displayed on the display screen of the current mobile phone, the picture can be enlarged; when ⁇ Z satisfies 4 ⁇ ⁇ Z ⁇ 6, if the ratio p of ⁇ Z and ⁇ t satisfies 1 ⁇ P ⁇ 2, the user The finger moves slowly.
  • the corresponding operation command is the right button, that is, the user wants to perform the operation of opening the attribute. If the ratio p of ⁇ Z and ⁇ t satisfies 2 ⁇ P ⁇ 4, the user's finger moves faster. At this time, the corresponding operation instruction is reduced, that is, the user wants to perform the reduction operation.
  • the picture displayed on the display screen of the current mobile phone the picture can be reduced; the horizontal displacement ⁇ X or the ratio of ⁇ Y to ⁇ t corresponds to
  • the operation instructions can be page up or down or left and right Pages and other operations.
  • the operational command may also be determined based on the direction of the displacement.
  • the positive direction in FIG. 4 is as indicated by the direction Z. If the finger 402 moves in the Z direction, ⁇ Z is positive, and if the finger 402 moves in the opposite direction of the Z direction, ⁇ Z Negative. In practical applications, it can also be defined that when ⁇ Z is positive, the corresponding operation command is amplification, and when ⁇ Z is negative, the corresponding operation command is reduction.
  • An embodiment of the present invention provides a processing method of a terminal, where the method includes: acquiring a vertical displacement of an operating object in a vertical direction of the terminal screen; and performing, according to the vertical displacement, a to-be-operated content indicated on a screen of the terminal Take action.
  • the terminal provided by the embodiment of the present invention can also detect the vertical displacement of the operator in the vertical direction of the terminal screen, thereby increasing the type and quantity of the displacement that the terminal can detect, thereby increasing the capability.
  • the number of operations defined according to the displacement that is, the number of operations that can be realized when the terminal is operated by the gap, improves the diversity of the space-storing operation, thereby improving the user experience.
  • the embodiment of the present invention provides a method for processing a terminal, which is applied to a terminal.
  • the embodiment of the present invention uses a mobile phone as an example, where the operator is a user's finger.
  • the processing method of the terminal is as shown in FIG. 5, and includes:
  • Step 501 Detect whether there is a user finger in the operation area; when there is a user finger in the operation area, perform step 502; when there is no user finger in the operation area, perform step 511.
  • an operation area may be set, and the distance of the operation area along the vertical direction of the screen of the mobile phone may be greater than or equal to 5 cm and less than or equal to 20 cm.
  • the sensor may first detect the user's finger in the operation area, and determine that the user has started the space-storing operation.
  • Step 502 Display an indication cursor on a display screen of the mobile phone, and perform step 503.
  • the position of the display cursor is displayed on the screen.
  • the positional relationship between the position of the operation area and the position of the display screen can be set in advance in the mobile phone. After detecting the position of the user's finger in the operation area, the The position correspondence determines the position at which the pointing cursor is displayed on the screen.
  • Step 503 Acquire a first parallel displacement of the user's finger in the parallel direction of the display screen, and perform step 504.
  • the position indicated by the indication cursor may not be the content to be operated that the user currently wants to operate, and therefore the indication cursor needs to be moved.
  • the user's finger may be in the parallel direction of the display screen according to the user's finger.
  • the first parallel displacement pair indicates that the cursor is moving. For example, since there are two parallel directions in the display screen, as shown in FIG. 6, there are many parallel directions with the display screen 601. For the convenience of measurement, two parallel directions of X and Y perpendicular to each other are selected, and the first parallel displacement is obtained.
  • the displacement ⁇ X1 of the user's finger 602 in the X direction and the displacement ⁇ Y1 of the user's finger in the Y direction, that is, ⁇ X1 and ⁇ Y1, respectively constitute the first parallel displacement of the user's finger.
  • Step 504 Move the indication cursor according to the first parallel displacement, so that the indication cursor indicates the content to be operated, and step 505 is performed.
  • ⁇ X1 indicates that the user's finger moves in the X direction
  • ⁇ Y1 indicates that the user's finger moves in the Y direction
  • the cursor is moved in the X direction, when the first parallel displacement exists ⁇ Y1.
  • the pointing cursor can be moved to the position corresponding to the content to be operated.
  • Step 505 Acquire a vertical displacement of the user's finger in the vertical direction of the display screen, and perform step 506.
  • the vertical direction of the display screen is the Z direction in FIG. 4, and the vertical displacement of the user's finger in the vertical direction of the display screen is obtained, that is, ⁇ Z is acquired.
  • Step 506 Acquire a second parallel displacement of the user's finger in the parallel direction of the terminal screen when performing the vertical displacement, and perform step 507.
  • the two parallel displacements can be composed of ⁇ X2 and ⁇ Y2.
  • Step 507 Calculate a difference between the vertical displacement and the second parallel displacement, and perform step 508.
  • the difference between the vertical displacement and the second parallel displacement is calculated, and the difference between ⁇ Z and ⁇ X2, the difference between ⁇ Z and ⁇ Y2 can be calculated separately; or the magnitudes of ⁇ X2 and ⁇ Y2 can be compared first, and the maximum values of ⁇ X2 and ⁇ Y2 are selected. It is worse than ⁇ Z.
  • Step 508 Determine whether the difference is greater than or equal to a preset threshold. When the difference is greater than or equal to the preset threshold, perform step 509. When the difference is less than the preset threshold, perform step 512.
  • the preset threshold may be set in the mobile phone in advance.
  • the difference between ⁇ Z and ⁇ X2 or the difference between ⁇ Z and ⁇ Y2 is greater than or equal to the preset threshold, the displacement mainly generated by the user's finger is a vertical displacement.
  • Step 509 Determine an operation instruction corresponding to the vertical displacement according to the correspondence between the displacement and the operation instruction, and perform step 510.
  • the operation instruction corresponding to the vertical displacement may be determined according to the corresponding relationship between the displacement and the operation instruction.
  • the specific execution process refer to the foregoing step 302, and the embodiment of the present invention does not repeat the description. .
  • Step 510 Perform operations on the to-be-operated content indicated on the screen of the terminal according to the operation instruction, and the process ends.
  • the mobile phone may perform the operation instruction on the content of the operation.
  • the specific execution process refer to the foregoing step 302, which is not described again in the embodiment of the present invention.
  • Step 511 Re-detecting whether there is a user finger in the operation area, and the process ends.
  • the detection may be performed again to determine whether the user puts the finger in the operation area in time.
  • Step 512 Determine an operation instruction corresponding to the parallel displacement according to the correspondence between the displacement and the operation instruction, and perform step 510.
  • the operation instruction corresponding to the parallel displacement may be determined according to the correspondence between the displacement and the operation instruction.
  • an operation command corresponding to the parallel displacement may be set in a correspondence between the displacement and the operation instruction in advance, and the operation instruction is different from the operation instruction corresponding to the vertical displacement.
  • the operation corresponding to the operation instruction may be performed on the currently-executed content to be operated.
  • the specific execution process is similar to the execution process of the vertical displacement, and is not described again in the embodiment of the present invention.
  • the terminal provided by the embodiment of the present invention can also detect the vertical displacement of the operator in the vertical direction of the terminal screen, thereby increasing the type and quantity of the displacement that the terminal can detect, thereby increasing the number of operations that can be defined according to the displacement. That is to increase the number of operations that can be realized when the terminal is operated by the air, and the diversity of the space-saving operation is improved, thereby improving the user experience.
  • the embodiment of the present invention provides a terminal 70.
  • the terminal 70 includes:
  • the obtaining unit 701 is configured to acquire a vertical displacement of the operator in a vertical direction of the screen of the terminal 70.
  • the processing unit 702 is configured to operate the content to be operated indicated on the screen of the terminal 70 according to the vertical displacement.
  • the terminal provided by the embodiment of the present invention can also detect the vertical displacement of the operator in the vertical direction of the terminal screen, thereby increasing the type and quantity of the displacement that the terminal can detect, thereby increasing the definition according to the displacement.
  • the number of operations that is, the number of operations that can be implemented when the terminal is operated by the air, improves the diversity of the space-saving operation, thereby improving the user experience.
  • processing unit 702 is specifically configured to:
  • the content to be operated indicated on the screen of the terminal 70 is operated according to the operation instruction.
  • the obtaining unit 701 is further configured to:
  • the processing unit 702 is specifically configured to:
  • the content to be operated indicated on the screen of the terminal 70 is operated according to the operation instruction.
  • the terminal 70 further includes a display unit 703, configured to display an indication on the screen of the terminal 70 when the operation object is detected in an operation area of the terminal 70. cursor;
  • the obtaining unit 701 is further configured to acquire a first parallel displacement of the operator in a parallel direction of the screen of the terminal 70;
  • the terminal 70 further includes a moving unit 704, configured to move according to the first parallel displacement
  • the pointing cursor is such that the pointing cursor indicates the content to be operated.
  • the acquiring unit 701 is further configured to: acquire a second parallel displacement of the operator in a parallel direction of the screen of the terminal 70 when performing the vertical displacement;
  • the terminal 70 further includes a determining unit 705, configured to determine whether the difference is greater than or equal to a preset threshold;
  • the processing unit 702 is specifically configured to: when the difference is greater than or equal to a preset threshold, operate the content to be operated indicated on the screen of the terminal 70 according to the vertical displacement.
  • An embodiment of the present invention provides a terminal, where the terminal includes: an acquiring unit, configured to acquire a vertical displacement of an operating object in a vertical direction of the screen of the terminal 70; and a processing unit, configured to: according to the vertical displacement, the terminal The content to be operated indicated on the screen of 70 operates.
  • the terminal provided by the embodiment of the present invention can also detect the vertical displacement of the operator in the vertical direction of the terminal screen, thereby increasing the type and quantity of the displacement that the terminal can detect, thereby increasing the capability.
  • the number of operations defined according to the displacement that is, the number of operations that can be realized when the terminal is operated by the gap, improves the diversity of the space-storing operation, thereby improving the user experience.
  • the obtaining unit 701, the processing unit 702, the mobile unit 704, and the determining unit 705 may be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), or a Microprocessor Unit (MPU) located in the mobile terminal.
  • Digital signal processor Digital Implemented by a Signal Processor (DSP), or a Field Programmable Gate Array (FPGA)
  • the display unit 703 includes a display screen and hardware for driving the display.
  • the data consistency detection method of the primary and secondary databases and/or the data consistency restoration method of the primary and secondary databases are implemented in the form of software function modules, and are sold or used as independent products, they may also be stored in one
  • the computer can read the storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute the processing method of the terminal of the embodiment of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种终端的处理方法,所述方法包括:获取操作物在所述终端屏幕垂直方向上的垂直位移;根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。本发明实施例进一步公开了一种终端及存储介质。

Description

一种终端的处理方法、终端及存储介质 技术领域
本发明涉及的通信领域的终端操作技术,尤其涉及一种终端的处理方法、终端及存储介质。
背景技术
随着通信网络的发展,移动终端的应用也越来越广泛,手机已经成为人们日常生活中不可或缺的工具。尤其是,触摸屏技术的应用,简化了移动终端的操作键盘,大大的增加了移动终端的显示屏的尺寸,进而提高了用户与终端之间的交互体验。
用户对触摸屏的移动终端进行操作时,通常需要通过手指点击所述触摸屏来完成,在操作一些触摸屏较大的手机时,甚至需要用户一只手握持手机,另一只手的手指来点击屏幕。而实际应用中,常常会出现一些用户想要对移动终端进行操作,却不便于进行操作的情况,例如用户做饭时,需要通过移动终端查看菜谱网页或图片,但是双手可能都有油污,不方便接触屏幕,因此隔空操作应运而生。
但是现有的隔空操作技术中,移动终端仅能检测到手指在与移动终端的触摸屏平行的二维操作平面上的移动轨迹,并根据手指的移动轨迹确定操作指令,通常情况下一种移动轨迹对应一个操作指令。由于手指在二维操作平面上的运动较为单一,导致隔空操作时能够实现的操作指令较少,进而导致隔空操作指令也较为单一,用户体验不佳。
发明内容
为解决上述技术问题,本发明实施例期望提供一种终端的处理方法、 终端及存储介质,增加了隔空操作终端时能够实现的操作的数量,提高了隔空操作的多样性,进而提高了用户体验。
本发明的技术方案是这样实现的:
一方面,本发明实施例提供一种终端的处理方法,所述方法包括:
获取操作物在所述终端屏幕垂直方向上的垂直位移;
根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,所述根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作包括:
根据位移与操作指令的对应关系,确定所述垂直位移对应的操作指令;
根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,所述根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作包括:
获取所述操作物进行所述垂直位移时的时间;
获取所述垂直位移与所述时间的第一比值;
根据第一比值与操作指令的对应关系,确定所述第一比值对应的操作指令;
根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,在所述根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作之前,所述方法还包括:
在所述终端的操作区域检测到所述操作物时,在所述终端的屏幕上显示指示光标;
获取所述操作物在所述终端屏幕平行方向上的第一平行位移;
根据所述第一平行位移,移动所述指示光标,使得所述指示光标指示所述待操作内容。
在一实施例中,在所述获取操作物在所述终端屏幕垂直方向上的垂直 位移之后,所述方法还包括:
获取进行所述垂直位移时,所述操作物在所述终端屏幕平行方向上的第二平行位移;
获取所述垂直位移与所述第二平行位移的差值;
确定所述差值是否大于或等于预设阈值。
在一实施例中,所述根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作包括:
当所述差值大于或等于预设阈值,根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,所述操作物平行移动时,用以选择待操作内容。
在一实施例中,所述操作物垂直移动时,用以选择操作类型。
在一实施例中,所述操作包括:点击操作、对选择的内容进行拖拽操作、弹出当前位置属性菜单操作、放大操作和缩小操作。
在一实施例中,所述方法还包括:
获取所述操作物进行所述第一平行位移的时间;
获取所述第一平行位移与所述时间的第二比值;
根据所述第二比值与操作指令的对应关系,确定所述第二比值对应的操作指令。
另一方面,本发明实施例提供一种终端,所述终端包括:
获取单元,配置为获取操作物在所述终端屏幕垂直方向上的垂直位移;
处理单元,配置为根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,所述处理单元具体配置为,
根据位移与操作指令的对应关系,确定所述垂直位移对应的操作指令;
根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,所述获取单元还配置为,
获取所述操作物进行所述垂直位移时的时间;
获取所述垂直位移与所述时间的比值;
所述处理单元具体配置为,
根据比值与操作指令的对应关系,确定所述比值对应的操作指令;
根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,所述装置还包括显示单元,配置为在所述终端的操作区域检测到所述操作物时,在所述终端的屏幕上显示指示光标;
所述获取单元还配置为,获取所述操作物在所述终端屏幕平行方向上的第一平行位移;
所述装置还包括移动单元,配置为根据所述第一平行位移,移动所述指示光标,使得所述指示光标指示所述待操作内容。
在一实施例中,所述获取单元还配置为,获取进行所述垂直位移时,所述操作物在所述终端屏幕平行方向上的第二平行位移;
获取所述垂直位移与所述第二平行位移的差值;
所述装置还包括确定单元,配置为确定所述差值是否大于或等于预设阈值。
在一实施例中,所述处理单元具体配置为,当所述差值大于或等于预设阈值,根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,所述操作物平行移动时,用以选择待操作内容。
在一实施例中,所述操作物垂直移动时,用以选择操作类型。
在一实施例中,所述操作包括:点击操作、对选择的内容进行拖拽操作、弹出当前位置属性菜单操作、放大操作和缩小操作。
在一实施例中,所述获取单元,还配置为,获取所述操作物进行所述 第一平行位移的时间;
获取所述第一平行位移与所述时间的第二比值;
根据所述第二比值与操作指令的对应关系,确定所述第二比值对应的操作指令。
本发明实施例还提供计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行上述的终端的处理方法
本发明实施例提供一种终端的处理方法、终端及存储介质,所述方法包括:获取操作物在所述终端屏幕垂直方向上的垂直位移;根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。相较于现有技术,本发明实施例提供的终端还可以检测到操作物在所述终端屏幕垂直方向上的垂直位移,因此增加了终端能够检测到的位移的种类和数量,进而增加了能够根据位移定义的操作的数量,即增加了隔空操作终端时能够实现的操作的数量,提高了隔空操作的多样性,进而提高了用户体验。
附图说明
图1为实现本发明各个实施例的移动终端的硬件结构示意图;
图2为如图1所示的移动终端的无线通信系统示意图;
图3为本发明实施例提供的一种终端的处理方法的流程图;
图4为本发明实施例提供的一种垂直位移的示意图;
图5为本发明实施例提供的另一种终端的处理方法的流程图;
图6为本发明实施例提供的一种平行位移的示意图;
图7为本发明实施例提供的一种终端的结构示意图1;
图8为本发明实施例提供的一种终端的结构示意图2;
图9为本发明实施例提供的一种终端的结构示意图3。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
现在将参考附图描述实现本发明各个实施例的移动终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。
移动终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(PDA)、平板电脑(PAD)、便携式多媒体播放器(PMP)、导航装置等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是移动终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本发明的实施方式的构造也能够应用于固定类型的终端。
图1为实现本发明各个实施例的移动终端的硬件结构示意。
移动终端100可以包括无线通信单元110、音频/视频(A/V)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的移动终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述移动终端的元件。
无线通信单元110通常包括一个或多个组件,其允许移动终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元可以包括广播接收模块111、移动通信模块112、无线互联网模块113、短程通信模块114和位置信息模块115中的至少一个。
广播接收模块111经由广播信道从外部广播管理服务器接收广播信号 和/或广播相关信息。广播信道可以包括卫星信道和/或地面信道。广播管理服务器可以是生成并发送广播信号和/或广播相关信息的服务器或者接收之前生成的广播信号和/或广播相关信息并且将其发送给终端的服务器。广播信号可以包括TV广播信号、无线电广播信号、数据广播信号等等。而且,广播信号可以进一步包括与TV或无线电广播信号组合的广播信号。广播相关信息也可以经由移动通信网络提供,并且在该情况下,广播相关信息可以由移动通信模块112来接收。广播信号可以以各种形式存在,例如,其可以以数字多媒体广播(DMB)的电子节目指南(EPG)、数字视频广播手持(DVB-H)的电子服务指南(ESG)等等的形式而存在。广播接收模块111可以通过使用各种类型的广播系统接收信号广播。特别地,广播接收模块111可以通过使用诸如多媒体广播-地面(DMB-T)、数字多媒体广播-卫星(DMB-S)、数字视频广播-手持(DVB-H),前向链路媒体(MediaFLO)的数据广播系统、地面数字广播综合服务(ISDB-T)等等的数字广播系统接收数字广播。广播接收模块111可以被构造为适合提供广播信号的各种广播系统以及上述数字广播系统。经由广播接收模块111接收的广播信号和/或广播相关信息可以存储在存储器160(或者其它类型的存储介质)中。
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。
无线互联网模块113支持移动终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括无线局域网(WLAN)(Wi-Fi)、无线宽带(Wibro)、全球微波互联接入(Wimax)、高速下行链路分组接入(HSDPA)等等。
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些 示例包括蓝牙TM、射频识别(RFID)、红外数据协会(IrDA)、超宽带(UWB)、紫蜂TM等等。
位置信息模块115是用于检查或获取移动终端的位置信息的模块。位置信息模块的典型示例是全球定位系统(GPS)。根据当前的技术,GPS模块115计算来自三个或更多卫星的距离信息和准确的时间信息并且对于计算的信息应用三角测量法,从而根据经度、纬度和高度准确地计算三维当前位置信息。当前,用于计算位置和时间信息的方法使用三颗卫星并且通过使用另外的一颗卫星校正计算出的位置和时间信息的误差。此外,GPS模块115能够通过实时地连续计算当前位置信息来计算速度信息。
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风122,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据移动终端的构造提供两个或更多相机121。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。
用户输入单元130可以根据用户输入的命令生成键输入数据以控制移动终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板 以层的形式叠加在显示单元151上时,可以形成触摸屏。
感测单元140检测移动终端100的当前状态,(例如,移动终端100的打开或关闭状态)、移动终端100的位置、用户对于移动终端100的接触(即,触摸输入)的有无、移动终端100的取向、移动终端100的加速或减速移动和方向等等,并且生成用于控制移动终端100的操作的命令或信号。例如,当移动终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。感测单元140可以包括接近传感器141将在下面结合触摸屏来对此进行描述。
接口单元170用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用移动终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM)等等。另外,具有识别模块的装置(下面称为"识别装置")可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与移动终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端和外部装置之间传输数据。
另外,当移动终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到移动终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到移动终端的路径。从底座输入的各种命令信号或电力可以用作用于识别移动终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例 如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152、警报单元153等等。
显示单元151可以显示在移动终端100中处理的信息。例如,当移动终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当移动终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,移动终端100可以包括两个或更多显示单元(或其它显示装置),例如,移动终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。
音频输出模块152可以在移动终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。
警报单元153可以提供输出以将事件的发生通知给移动终端100。典型 的事件可以包括呼叫接收、消息接收、键信号输入、触摸输入等等。除了音频或视频输出之外,警报单元153可以以不同的方式提供输出以通知事件的发生。例如,警报单元153可以以振动的形式提供输出,当接收到呼叫、消息或一些其它进入通信(incoming communication)时,警报单元153可以提供触觉输出(即,振动)以将其通知给用户。通过提供这样的触觉输出,即使在用户的移动电话处于用户的口袋中时,用户也能够识别出各种事件的发生。警报单元153也可以经由显示单元151或音频输出模块152提供通知事件的发生的输出。
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储已经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,移动终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。
控制器180通常控制移动终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块181,多媒体模块181可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。
电源单元190在控制器180的控制下接收外部电力或内部电力并且提 供操作各元件和组件所需的适当的电力。
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。
至此,已经按照其功能描述了移动终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型移动终端等等的各种类型的移动终端中的滑动型移动终端作为示例。因此,本发明能够应用于任何类型的移动终端,并且不限于滑动型移动终端。
如图1中所示的移动终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。
现在将参考图2描述其中根据本发明的移动终端能够操作的通信系统。
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。
参考图2,CDMA无线通信系统可以包括多个移动终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280 被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干已知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC275。
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。
如图2中所示,广播发射器(BT)295将广播信号发送给在系统内操作的移动终端100。如图1中所示的广播接收模块111被设置在移动终端100处以接收由BT295发送的广播信号。在图2中,示出了几个全球定位系统(GPS)卫星300。卫星300帮助定位多个移动终端100中的至少一个。
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的GPS模块115通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪移动终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。
作为无线通信系统的一个典型操作,BS270接收来自各种移动终端100的反向链路信号。移动终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS270内进行处理。 获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到移动终端100。
基于上述移动终端硬件结构以及通信系统,结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。
实施例一
本发明实施例提供一种终端的处理方法,所述终端的处理方法可以应用于手机,平板电脑或者其他具有触摸屏显示功能的终端,需要说明的是,本发明实施例以手机为例进行说明,并不对此做出限定。如图3所示,所述方法包括:
步骤301、获取操作物在所述终端屏幕垂直方向上的垂直位移。
所述隔空操作是一种可以让用户手指在不接触终端屏幕的情况下对屏幕进行触摸操作的技术,在进行隔空操作时常用的操作物是用户的手指,实际应用中操作物也可以是操作笔或操作灯,本发明实施例以手指为例进行说明,并不对此做出限定。
为了实现隔空操作通常需要在手机的前面板加入传感器,用于检测用户手指在操作区域的位移,现有技术中支持隔空操作的传感器通常有互电容传感器和自电容传感器两种,其中自电容传感器能够产生的信号较强,可以检测较远的手指感应,互电容传感器的电场很小,以至于信号强度很低,当用户的手指在屏幕上悬停时,互电容传感器就无法检测到信号。因此本发明实施例中手机上设置的传感器可以选用自电容传感器。所述传感器能够检测到的最远距离与最近距离之间,即为用户进行隔空操作时的操作区域。
示例的,所述手机上可以设置隔空操作开关,当用户需要对手机进行隔空操作时,打开所述隔空操作开关,此时手机开始检测操作区域中是否出现操作物,即检测操作区域中是否出现用户的手指,当检测操作区域中出现用户的手指时,可以获取该手指在在所述终端屏幕垂直方向上的垂直位移。如图4所示,假设在用户需要对手机401进行隔空操作时,手指402与手机401垂直方向上的距离为A,所述手机401的垂直方向如图4中Z方向所示,用户根据需要进行的操作,移动手指402,移动后的手指402与手机401垂直方向上的距离为B,此时A与B的差值ΔZ,即为手指在所述终端屏幕垂直方向上的垂直位移。实际应用中可以首先确定手指401上的标的物,然后检测标的物与手机401垂直方向上的距离作为手指401与手机401垂直方向上的距离,所述标的物可以使指腹的中心位置,也可以是指纹的预设位置,本发明实施例对此不做限定。
步骤302、根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
在一实施例中,可以预先在手机中设置位移与操作指令的对应关系,不同的位移对应不同的操作指令,在获取到手指与手机垂直方向上的垂直位移之后,根据垂直位移与上述对应关系,确定所述垂直位移对应的操作指令,然后根据该操作指令,操作手机屏幕上指示的待操作内容。
示例的,所述位移与操作指令的对应关系可以如表1所示,其中位移的单位为厘米(cm):
表1第一种位移与操作指令的对应关系
位移(cm) 操作指令
2 点击
5 右键
8 选中
参考表1和图4可知,当ΔZ为2cm,即当用户的手指402移动2cm时,说明用户想要执行的操作为点击,此时手机对屏幕上指示的内容执行点击操作,例如,当所述指示的内容为应用时,可以打开该应用;当ΔZ为5cm,即当用户的手指402移动5cm时,说明用户想要执行的操作为右键,此时手机对屏幕上指示的内容执行右键点击操作,例如,当所述指示的内容为文件时,可以打开该文件的属性菜单;当ΔZ为8cm,即当用户的手指402移动8cm时,说明用户想要执行的操作为选中,此时手机对屏幕上指示的内容进行选中,例如,当所述指示的内容为文档时,可以选中该文档中的某个词语,进而可以对该词语进行复制或剪切。
由于在实际应用中,用户不可能精确的控制移动的距离,因此可以设置适当的误差,示例的,位移与操作指令的对应关系也可以如表2所示,其中位移的单位为厘米(cm):
表2第二种位移与操作指令的对应关系
位移(cm) 操作指令
2±1 点击
5±1 右键
8±1 选中
参考表2可知,当ΔZ满足1≤ΔZ≤3时,均代表用户想要执行的是点击操作,当ΔZ满足4≤ΔZ≤6时,均代表用户均代表用户想要执行的是打开右键的操作,当ΔZ满足7≤ΔZ≤9时,均代表用户均代表用户想要执行的是选中的操作。
需要说明的是,每个位移所对应的操作可以使手机厂家在制作手机时预设的,也可以是用户在使用手机时,根据习惯自己设置的,本发明实施例对此不做限定。
在一实施例中,也可以根据位移与时间的比值,确定操作指令。参考 图4所示,在获取手指402的垂直位移ΔZ之后,还可以获取用户手指进行位移ΔZ时的所用的时间Δt,然后计算ΔZ与Δt的比值p,即手指移动时的加速度,进而根据加速度的大小确定用户想要执行的操作指令。也可以获取用户手指进行水平位移ΔX或ΔY时所用的时间Δt,然后计算ΔX与Δt的比,值或ΔY与Δt的比值;较佳的,可以预先在手机中设置比值与操作指令的对应关系,所述比值为X、Y、或Z方向位移与时间的比值。
示例的,所述比值与操作指令的对应关系可以如表3所示,其中垂直位移的单位为厘米(cm):
表3比值与操作指令的对应关系
Figure PCTCN2016101176-appb-000001
参考表1和图4可知,当ΔZ满足1≤ΔZ≤3时,若ΔZ与Δt的第一比值p满足1≤P<2,说明用户的手指移动的较慢,此时对应的操作指令是点击,即用户想要执行的是点击操作,若ΔZ与Δt的比值p满足2≤P<4,说明用户的手指移动的较快,此时对应的操作指令是放大,即用户想要执行的是放大操作,若当前手机的显示屏上显示的图片,则可以对该图片进行放大处理;当ΔZ满足4≤ΔZ≤6时,若ΔZ与Δt的比值p满足1≤P<2,说明用户的手指移动的较慢,此时对应的操作指令是右键,即用户想要执行的是打开属性的操作,若ΔZ与Δt的比值p满足2≤P<4,说明用户的手指移动的较快,此时对应的操作指令是缩小,即用户想要执行的是缩小操作,若当前手机的显示屏上显示的图片,则可以对该图片进行缩小处理;水平位移ΔX或ΔY与Δt的比值对应的操作指令可以为上下翻页或左右翻 页等操作。
在一实施例中,也可以根据位移的方向,确定操作指令。参考图4所示,图4中的正方向如方向Z所示,若手指402沿所述Z方向进行移动,则ΔZ为正,若手指402沿所述Z方向的反方向进行移动,则ΔZ为负。实际应用中也可以定义,当ΔZ为正时,对应的操作指令为放大,当ΔZ为负时,对应的操作指令为缩小。
本发明实施例提供一种终端的处理方法,所述方法包括:获取操作物在所述终端屏幕垂直方向上的垂直位移;根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。相较于现有技术,本发明实施例提供的终端还可以检测到操作物在所述终端屏幕垂直方向上的垂直位移,因此增加了终端能够检测到的位移的种类和数量,进而增加了能够根据位移定义的操作的数量,即增加了隔空操作终端时能够实现的操作的数量,提高了隔空操作的多样性,进而提高了用户体验。
实施例二
本发明实施例提供一种终端的处理方法,应用于终端,本发明实施例以手机为例进行说明,其中所述操作物为用户手指。所述终端的处理方法如图5所示,包括:
步骤501、检测操作区域是否存在用户手指;当操作区域存在用户手指时,执行步骤502;当操作区域不存在用户手指时,执行步骤511。
通常的,根据传感器的检测范围和手机屏幕的大小,可以设置一个操作区域,所述操作区域沿手机屏幕垂直方向的距离可以大于或等于5cm,小于或等于20cm。当用户打开手机中设置的隔空操作开关时,传感器可以首先在操作区域中检测用户手指,确定用户已经开始进行隔空操作了。
步骤502、在所述手机的显示屏上显示指示光标,执行步骤503。
当在操作区域中检测到用户手指时,根据用户手指当前在操作区域中 的位置,在屏幕上显示指示光标,具体的,可以预先在手机中设置操作区域的位置与显示屏位置之间的位置对应关系,在检测到用户手指当前在操作区域中的位置后,可以根据位置对应关系确定在屏幕上显示指示光标的位置。
步骤503、获取用户手指在显示屏平行方向上的第一平行位移,执行步骤504。
当屏幕上显示出指示光标时,该指示光标当前指示的位置可能并不是用户当前想要进行操作的待操作内容,因此还需要移动指示光标,通常情况下可以根据用户手指在显示屏平行方向上的第一平行位移对指示光标进行移动。示例的,由于显示屏平行方向共有两个,如图6所示,与显示屏601平行方向的有很多,为计量方便,选取相互垂直的X和Y两个平行方向,在获取第一平行位移时,可以分别获取用户手指602在X方向上的位移ΔX1,用户手指在Y方向上的位移ΔY1,即ΔX1和ΔY1组成用户手指的第一平行位移。
步骤504、根据第一平行位移移动指示光标,使得指示光标指示待操作内容,执行步骤505。
参考图6所示,ΔX1表示用户手指沿X方向移动,ΔY1表示用户手指沿Y方向移动,因此当第一平行位移存在ΔX1时,指示光标沿X方向进行移动,当第一平行位移存在ΔY1时,指示光标沿Y方向进行移动,两个方向上移动指示光标,即可将指示光标移动至待操作内容对应的位置。
步骤505、获取用户手指在显示屏垂直方向的垂直位移,执行步骤506。
参考图4所示,显示屏垂直方向为图4中的Z方向,获取用户手指在显示屏垂直方向的垂直位移,即获取ΔZ。
步骤506、获取在进行所述垂直位移时,用户手指在所述终端屏幕平行方向上的第二平行位移,执行步骤507。
由于用户手指移动的时候并不能完全精确的沿Z方向进行移动,在沿Z方向进行移动时,不可避免的会在与显示屏平行的方向上产生位移。为了避免手机产生混淆,不知道用户手指当前主要产生的是垂直位移还是水平位移,可以对用户的动作进行判断,首先需要获取用户手指在进行所述垂直位移时产生的第二平行位移,其中第二平行位移可以由ΔX2和ΔY2组成。
步骤507、计算垂直位移与第二平行位移的差值,执行步骤508。
然后,计算垂直位移与第二平行位移的差值,可以分别计算ΔZ与ΔX2的差值,ΔZ与ΔY2的差值;或者也可以首先比较ΔX2与ΔY2的大小,选取ΔX2与ΔY2中的最大值与ΔZ做差。
步骤508、确定所述差值是否大于或等于预设阈值;当所述差值大于或等于预设阈值时,执行步骤509;当所述差值小于预设阈值时,执行步骤512。
当垂直位移与第二平行位移的差值较大时,说明用户手指主要产生的位移为垂直位移,在进行垂直位移的过程中产生的平行位移可以忽略不计。示例的,可以预先在手机中设置预设阈值,当ΔZ与ΔX2的差值,或者ΔZ与ΔY2的差值大于或等于预设阈值时,说明用户手指主要产生的位移为垂直位移。
步骤509、根据位移与操作指令的对应关系,确定所述垂直位移对应的操作指令,执行步骤510。
在确定用户手指主要产生的是垂直位移之后,可以根据位移与操作指令的对应关系,确定所述垂直位移对应的操作指令,具体的执行过程可以参考上述步骤302,本发明实施例再次不做赘述。
步骤510、根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作,本流程结束。
在确定出操作指令后,手机可以对待操作内容执行该操作指令,具体的执行过程可以参考上述步骤302,本发明实施例再次不做赘述。
步骤511、重新检测操作区域是否存在用户手指,本流程结束。
当操作区域不存在用户手指时,说明用户手指当前并不在操作区域中,或者用户还没有来得及将手指放置于操作区域中,因此可以重新进行检测,确定用户是否及时将手指放置于操作区域中。
步骤512、根据位移与操作指令的对应关系,确定所述平行位移对应的操作指令,执行步骤510。
当垂直位移与第二平行位移的差值小于预设阈值时,说明用户手指当前主要产生的位移可能是平行位移,因此可以根据位移与操作指令的对应关系,确定所述平行位移对应的操作指令。示例的,也可以预先所述位移与操作指令的对应关系中设置平行位移对应的操作指令,该操作指令与垂直位移对应的操作指令不同。具体的执行过程与垂直位移的执行过程相似,本发明实施例再次不做赘述。
在确定出平行位移对应的操作指令后,可以对当前指示的待操作内容执行该操作指令对应的操作,具体的执行过程与垂直位移的执行过程相似,本发明实施例再次不做赘述。
本发明实施例提供的终端还可以检测到操作物在所述终端屏幕垂直方向上的垂直位移,因此增加了终端能够检测到的位移的种类和数量,进而增加了能够根据位移定义的操作的数量,即增加了隔空操作终端时能够实现的操作的数量,提高了隔空操作的多样性,进而提高了用户体验。
实施例三
本发明实施例提供一种终端70,如图7所示,所述终端70包括:
获取单元701,用于获取操作物在所述终端70屏幕垂直方向上的垂直位移。
处理单元702,用于根据所述垂直位移,对所述终端70的屏幕上指示的待操作内容进行操作。
这样一来,本发明实施例提供的终端还可以检测到操作物在所述终端屏幕垂直方向上的垂直位移,因此增加了终端能够检测到的位移的种类和数量,进而增加了能够根据位移定义的操作的数量,即增加了隔空操作终端时能够实现的操作的数量,提高了隔空操作的多样性,进而提高了用户体验。
在一实施例中,所述处理单元702具体用于,
根据位移与操作指令的对应关系,确定所述垂直位移对应的操作指令;
根据所述操作指令,对所述终端70的屏幕上指示的待操作内容进行操作。
在一实施例中,所述获取单元701还用于,
获取所述操作物进行所述垂直位移时的时间;
获取所述垂直位移与所述时间的第一比值;
所述处理单元702具体用于,
根据第一比值与操作指令的对应关系,确定所述第一比值对应的操作指令;
根据所述操作指令,对所述终端70的屏幕上指示的待操作内容进行操作。
在一实施例中,如图8所示,所述终端70还包括显示单元703,用于在所述终端70的操作区域检测到所述操作物时,在所述终端70的屏幕上显示指示光标;
所述获取单元701还用于,获取所述操作物在所述终端70屏幕平行方向上的第一平行位移;
所述终端70还包括移动单元704,用于根据所述第一平行位移,移动 所述指示光标,使得所述指示光标指示所述待操作内容。
在一实施例中,所述获取单元701还用于,获取进行所述垂直位移时,所述操作物在所述终端70屏幕平行方向上的第二平行位移;
获取所述垂直位移与所述第二平行位移的差值;
如图9所示,所述终端70还包括确定单元705,用于确定所述差值是否大于或等于预设阈值;
所述处理单元702具体用于,当所述差值大于或等于预设阈值,根据所述垂直位移,对所述终端70的屏幕上指示的待操作内容进行操作。
本发明实施例提供一种终端,所述终端包括:获取单元,用于获取操作物在所述终端70屏幕垂直方向上的垂直位移;处理单元,用于根据所述垂直位移,对所述终端70的屏幕上指示的待操作内容进行操作。相较于现有技术,本发明实施例提供的终端还可以检测到操作物在所述终端屏幕垂直方向上的垂直位移,因此增加了终端能够检测到的位移的种类和数量,进而增加了能够根据位移定义的操作的数量,即增加了隔空操作终端时能够实现的操作的数量,提高了隔空操作的多样性,进而提高了用户体验。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。
在实际应用中,所述获取单元701、处理单元702、移动单元704、确定单元705可由位于移动终端中的中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital  Signal Processor,DSP)、或现场可编程门阵列(Field Programmable Gate Array,FPGA)等实现,显示单元703包括显示屏以及驱动该显示屏工作的硬件。本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以仅通过硬件来实现,但很多情况下前者是更佳的实施方式。
本发明实施例中,如果以软件功能模块的形式实现上述主备数据库数据一致性检测方法和/或主备数据库数据一致性修复方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。
相应地,本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序,该计算机程序用于执行本发明实施例的上述终端的处理方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图待操作内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (21)

  1. 一种终端的处理方法,所述方法包括:
    获取操作物在所述终端屏幕垂直方向上的垂直位移;
    根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
  2. 根据权利要求1所述的方法,其中,所述根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作包括:
    根据位移与操作指令的对应关系,确定所述垂直位移对应的操作指令;
    根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作。
  3. 根据权利要求1所述的方法,其中,所述根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作包括:
    获取所述操作物进行所述垂直位移时的时间;
    获取所述垂直位移与所述时间的第一比值;
    根据所述第一比值与操作指令的对应关系,确定所述第一比值对应的操作指令;
    根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作。
  4. 根据权利要求1至3任一项所述的方法,其中,在所述根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作之前,所述方法还包括:
    在所述终端的操作区域检测到所述操作物时,在所述终端的屏幕上显示指示光标;
    获取所述操作物在所述终端屏幕平行方向上的第一平行位移;
    根据所述第一平行位移,移动所述指示光标,使得所述指示光标指示所述待操作内容。
  5. 根据权利要求1至3任一项所述的方法,其中,在所述获取操作物 在所述终端屏幕垂直方向上的垂直位移之后,所述方法还包括:
    获取进行所述垂直位移时,所述操作物在所述终端屏幕平行方向上的第二平行位移;
    获取所述垂直位移与所述第二平行位移的差值;
    确定所述差值是否大于或等于预设阈值。
  6. 根据权利要求5所述的方法,其中,所述根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作包括:
    当所述差值大于或等于预设阈值,根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
  7. 根据权利要求1至3任一项所述的方法,其中,所述操作物平行移动时,用以选择待操作内容。
  8. 根据权利要求1至3任一项所述的方法,其中,所述操作物垂直移动时,用以选择操作类型。
  9. 根据权利要求1至3任一项所述的方法,其中,所述操作包括:点击操作、对选择的内容进行拖拽操作、弹出当前位置属性菜单操作、放大操作和缩小操作。
  10. 根据权利要求4所述的方法,其中,所述方法还包括:
    获取所述操作物进行所述第一平行位移的时间;
    获取所述第一平行位移与所述时间的第二比值;
    根据所述第二比值与操作指令的对应关系,确定所述第二比值对应的操作指令。
  11. 一种终端,所述终端包括:
    获取单元,配置为获取操作物在所述终端屏幕垂直方向上的垂直位移;
    处理单元,配置为根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
  12. 根据权利要求11所述的终端,其中,所述处理单元配置为,
    根据位移与操作指令的对应关系,确定所述垂直位移对应的操作指令;
    根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作。
  13. 根据权利要求11所述的终端,其中,所述获取单元还配置为,
    获取所述操作物进行所述垂直位移时的时间;
    获取所述垂直位移与所述时间的第一比值;
    所述处理单元配置为,根据所述第一比值与操作指令的对应关系,确定所述第一比值对应的操作指令;
    根据所述操作指令,对所述终端的屏幕上指示的待操作内容进行操作。
  14. 根据权利要求11至13任一权利要求所述的终端,其中,
    所述装置还包括显示单元,配置为在所述终端的操作区域检测到所述操作物时,在所述终端的屏幕上显示指示光标;
    所述获取单元还配置为,获取所述操作物在所述终端屏幕平行方向上的第一平行位移;
    所述装置还包括移动单元,配置为根据所述第一平行位移,移动所述指示光标,使得所述指示光标指示所述待操作内容。
  15. 根据权利要求11至13任一权利要求所述的终端,其中,
    所述获取单元还配置为,获取进行所述垂直位移时,所述操作物在所述终端屏幕平行方向上的第二平行位移;
    获取所述垂直位移与所述第二平行位移的差值;
    所述装置还包括确定单元,配置为确定所述差值是否大于或等于预设阈值。
  16. 根据权利要求15所述的终端,其中,所述处理单元配置为,当所述差值大于或等于预设阈值,根据所述垂直位移,对所述终端的屏幕上指示的待操作内容进行操作。
  17. 根据权利要求11至13任一项所述的终端,其中,所述操作物平行移动时,用以选择待操作内容。
  18. 根据权利要求11至13任一项所述的终端,其中,所述操作物垂直移动时,用以选择操作类型。
  19. 根据权利要求11至13任一项所述的终端,其中,所述操作包括:点击操作、对选择的内容进行拖拽操作、弹出当前位置属性菜单操作、放大操作和缩小操作。
  20. 根据权利要求14所述的终端,其中,所述获取单元,还配置为,获取所述操作物进行所述第一平行位移的时间;
    获取所述第一平行位移与所述时间的第二比值;
    根据所述第二比值与操作指令的对应关系,确定所述第二比值对应的操作指令。
  21. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至10任一项所述的终端的处理方法。
PCT/CN2016/101176 2015-10-28 2016-09-30 一种终端的处理方法、终端及存储介质 WO2017071456A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510712770.3 2015-10-28
CN201510712770.3A CN105430158A (zh) 2015-10-28 2015-10-28 一种隔空操作的处理方法及终端

Publications (1)

Publication Number Publication Date
WO2017071456A1 true WO2017071456A1 (zh) 2017-05-04

Family

ID=55508091

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/101176 WO2017071456A1 (zh) 2015-10-28 2016-09-30 一种终端的处理方法、终端及存储介质

Country Status (2)

Country Link
CN (1) CN105430158A (zh)
WO (1) WO2017071456A1 (zh)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430158A (zh) * 2015-10-28 2016-03-23 努比亚技术有限公司 一种隔空操作的处理方法及终端
CN106454978A (zh) * 2016-10-31 2017-02-22 努比亚技术有限公司 一种数据网络切换装置及方法
CN106527910A (zh) * 2016-10-31 2017-03-22 努比亚技术有限公司 一种用于多数据卡终端的数据通道切换装置及方法
CN106547367A (zh) * 2016-10-31 2017-03-29 努比亚技术有限公司 一种输入法控制装置及方法
CN106603810A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种终端悬浮组合操作装置及其方法
CN106385510A (zh) * 2016-10-31 2017-02-08 努比亚技术有限公司 一种终端屏幕解锁装置和方法
CN106572244A (zh) * 2016-10-31 2017-04-19 努比亚技术有限公司 一种拍照控制装置及方法
CN106598419A (zh) * 2016-10-31 2017-04-26 努比亚技术有限公司 一种终端悬浮操作装置及其方法
CN106708381A (zh) * 2016-11-16 2017-05-24 努比亚技术有限公司 一种终端参数控制装置及方法
CN106599639A (zh) * 2016-11-17 2017-04-26 努比亚技术有限公司 一种终端屏幕解锁装置和方法
CN106775383A (zh) * 2016-11-29 2017-05-31 努比亚技术有限公司 一种终端分屏悬浮控制装置和方法
CN106708404A (zh) * 2016-11-29 2017-05-24 努比亚技术有限公司 一种终端分屏悬浮控制装置和方法
CN107635057A (zh) * 2017-07-31 2018-01-26 努比亚技术有限公司 一种虚拟现实终端控制方法、终端和计算机可读存储介质
CN110389800A (zh) * 2018-04-23 2019-10-29 广州小鹏汽车科技有限公司 一种车载大屏上显示内容处理方法、装置、介质和设备
CN111459343A (zh) * 2020-03-04 2020-07-28 深圳传音控股股份有限公司 一种移动终端及其输入操作方法、计算机存储介质
CN112835484B (zh) * 2021-02-02 2022-11-08 北京地平线机器人技术研发有限公司 基于操作体的动态显示方法、装置、存储介质及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467344A (zh) * 2010-11-17 2012-05-23 索尼公司 用于触摸屏用户界面的基于显示器接近控制的系统和方法
US20130093719A1 (en) * 2011-10-17 2013-04-18 Sony Mobile Communications Japan, Inc. Information processing apparatus
CN103858085A (zh) * 2013-10-31 2014-06-11 华为技术有限公司 悬浮或隔空操作的处理方法及装置
CN105430158A (zh) * 2015-10-28 2016-03-23 努比亚技术有限公司 一种隔空操作的处理方法及终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7394454B2 (en) * 2004-01-21 2008-07-01 Microsoft Corporation Data input device and method for detecting lift-off from a tracking surface by electrical impedance measurement
CN103530047B (zh) * 2012-07-06 2019-12-24 百度在线网络技术(北京)有限公司 一种触摸屏设备事件触发方法及装置
CN103914143A (zh) * 2013-01-07 2014-07-09 义明科技股份有限公司 电子装置的控制方法
CN104461105B (zh) * 2013-09-25 2017-08-29 联想(北京)有限公司 一种控制电子设备的方法及电子设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102467344A (zh) * 2010-11-17 2012-05-23 索尼公司 用于触摸屏用户界面的基于显示器接近控制的系统和方法
US20130093719A1 (en) * 2011-10-17 2013-04-18 Sony Mobile Communications Japan, Inc. Information processing apparatus
CN103858085A (zh) * 2013-10-31 2014-06-11 华为技术有限公司 悬浮或隔空操作的处理方法及装置
CN105430158A (zh) * 2015-10-28 2016-03-23 努比亚技术有限公司 一种隔空操作的处理方法及终端

Also Published As

Publication number Publication date
CN105430158A (zh) 2016-03-23

Similar Documents

Publication Publication Date Title
WO2017071456A1 (zh) 一种终端的处理方法、终端及存储介质
WO2016029766A1 (zh) 移动终端及其操作方法和计算机存储介质
WO2017071424A1 (zh) 一种移动终端和分享文件的方法
US10168821B2 (en) Mobile terminal and control method thereof
WO2016034055A1 (zh) 移动终端及其操作方法、计算机存储介质
WO2016173468A1 (zh) 组合操作方法和装置、触摸屏操作方法及电子设备
WO2017071481A1 (zh) 一种移动终端及其实现分屏的方法
WO2016173414A1 (zh) 移动终端及其应用程序的快速启动方法和装置
WO2016155424A1 (zh) 移动终端的应用切换方法及移动终端及计算机存储介质
WO2017020771A1 (zh) 终端控制装置及方法
WO2016169524A1 (zh) 快速调节屏幕亮度的方法和装置、移动终端、存储介质
WO2017032217A1 (zh) 多点触控装置及方法
WO2017143855A1 (zh) 具有截屏功能的装置和截屏方法
CN104731480B (zh) 基于触摸屏的图像显示方法及装置
CN104750420A (zh) 截屏方法及装置
WO2016155454A1 (zh) 移动终端及其虚拟边框区域的滑动识别方法
WO2018050014A1 (zh) 对焦方法及拍照设备、存储介质
WO2017088631A1 (zh) 一种移动终端及其增减调节方法及装置、存储介质
WO2016155597A1 (zh) 基于无边框终端的应用控制方法及装置
WO2017166959A1 (zh) 截图方法、装置、移动终端和计算机存储介质
WO2017152748A1 (zh) 一种截屏方法及终端、计算机存储介质
WO2017020828A1 (zh) 移动终端及其操控方法
CN105718200A (zh) 基于压力传感器的页面切换装置、方法及终端
CN106598538B (zh) 指令集合更新方法及系统
CN106648324B (zh) 一种隐藏图标操控方法、装置及终端

Legal Events

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

Ref document number: 16858892

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16858892

Country of ref document: EP

Kind code of ref document: A1