WO2016155431A1 - Terminal, touch operation method therefor and device thereof, and storage medium - Google Patents

Terminal, touch operation method therefor and device thereof, and storage medium Download PDF

Info

Publication number
WO2016155431A1
WO2016155431A1 PCT/CN2016/074166 CN2016074166W WO2016155431A1 WO 2016155431 A1 WO2016155431 A1 WO 2016155431A1 CN 2016074166 W CN2016074166 W CN 2016074166W WO 2016155431 A1 WO2016155431 A1 WO 2016155431A1
Authority
WO
WIPO (PCT)
Prior art keywords
touch
touch operation
terminal
mode
interface
Prior art date
Application number
PCT/CN2016/074166
Other languages
French (fr)
Chinese (zh)
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 WO2016155431A1 publication Critical patent/WO2016155431A1/en

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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a terminal and a touch operation method and apparatus thereof, and a computer storage medium.
  • this new type of terminal has no border, it is easy to operate the application to the edge or click on other operable items located on the desktop of the terminal when the user holds the terminal. It is easy to click on an actionable item and the user does not find it, which brings trouble to the user. And the interface design currently applied to such a borderless terminal is the same as the design of the traditional bordered terminal, and does not take advantage of the borderless terminal to bring a new experience to the user.
  • the embodiment of the invention provides a terminal, a touch operation method and device thereof, and a computer storage medium, so as to achieve the purpose of redefining the operation item at the edge of the terminal and improving the user experience, and overcoming the user's easy use of the existing borderless terminal. Defects in misuse.
  • a touch operation method of a terminal is provided, the terminal is pre-configured with at least one edge area, and the terminal is pre-configured with a corresponding operation item of a different interface mode for each edge area,
  • Methods include:
  • the mode of the current interface is acquired, and the preset operation item corresponding to the acquired interface mode is executed for the edge area where the touch point of the touch operation is located; otherwise, Regular processing of touch operations.
  • the edge region includes a left edge region and/or a right edge region.
  • the interface mode includes a usage mode
  • the preset operation item corresponding to the usage mode of the right edge area includes at least one of a display clipboard, a soft keyboard, a recycle bin, and/or a temporary storage area.
  • the interface mode includes an anti-missing mode, and the preset operation item corresponding to the edge area and the anti-missing mode is to ignore the touch operation in the edge area.
  • the step of determining whether the touch point of the touch operation is in the edge area includes:
  • the acquiring a mode of the current interface includes:
  • the mode of the current interface is determined according to the correspondence between the interface information of the current interface and the preset interface mode.
  • the terminal further includes a common partition, and the normal partition is different from the edge area;
  • the driving layer of the terminal receives a touch operation through a touch screen of the terminal
  • the driving layer determines that the touch operation occurs in the edge region, by the edge
  • the input device corresponding to the edge region performs reporting of the touch event
  • the driving layer determines that the touch operation occurs in the normal partition
  • the touch event is reported by the input device corresponding to the normal partition.
  • the terminal further includes at least a frame layer, and the frame layer identifies the touch event according to the device identification ID of the input device that reports the touch event.
  • the position and/or size of the edge region is changed by preset interface parameters.
  • a touch operation device for a terminal comprising:
  • a touch operation receiving module configured to receive a touch operation
  • the determining module is configured to determine whether the touch point of the touch operation is in the edge area
  • the operation item execution module is configured to acquire a mode of the current interface if the touch point of the touch operation is in the edge area, and perform an interface mode corresponding to the acquired interface mode for the edge area where the touch point of the touch operation is located Preset action items; otherwise, perform regular processing on touch operations.
  • the device further includes:
  • a coordinate acquiring unit configured to acquire coordinates of a touch point of the touch operation
  • the coordinate comparison unit is configured to compare the coordinates of the touch point of the touch operation with the coordinates of the preset edge area, and determine whether the coordinates of the touch point of the obtained touch operation are within the coordinate range of the edge area, If yes, it is determined that the touch point of the touch operation is in the edge area; otherwise, the touch point of the touch operation is determined not to be in the edge area.
  • the operation item execution module is configured as:
  • the current interface mode is the usage mode
  • at least one of a clipboard, a soft keyboard, a recycle bin, and/or a temporary storage area is displayed in the edge area.
  • the operation item execution module is configured as:
  • the edge region includes a left edge region and/or a right edge region.
  • the operation item execution module is further configured to:
  • the mode of the current interface is determined according to the correspondence between the interface information of the current interface and the preset interface mode.
  • the position and/or size of the edge region is changed by preset interface parameters.
  • the edge area is different from the preset normal partition
  • the device also includes:
  • An allocating unit configured to allocate a corresponding input device to the common partition and the edge region
  • Driving layer receiving a touch operation and determining an occurrence area of the touch operation
  • the driving layer determines that the touch operation occurs in the edge region, the touch event is reported by the input device corresponding to the edge region;
  • the driving layer determines that the touch operation occurs in the normal partition
  • the touch event is reported by the input device corresponding to the normal partition.
  • the device further includes at least a frame layer, and the frame layer identifies the touch event according to the device identification ID of the input device of the reported touch event.
  • a terminal comprising the touch operation device described above.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the touch operation method of the terminal.
  • Embodiments of the present invention provide a terminal, a touch operation method and apparatus thereof, and a computer storage medium, which enable users to be in different interfaces through defined edge regions and customized operation items corresponding to different interface modes. Different modes can be automatically enabled according to presets in the mode.
  • the function enables the user to conveniently call out the operation items suitable for the current interface mode from the edge, and fully utilizes the combination of the edge and the interface mode to improve the user experience.
  • FIG. 1 is a schematic structural diagram of hardware of a terminal for implementing various embodiments of the present invention
  • FIG. 2 is a schematic diagram of a wireless communication system of the terminal shown in FIG. 1;
  • FIG. 3 is a flowchart of a touch operation method of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a touch operation method of a terminal according to another embodiment of the present invention.
  • Figure 5 is a schematic illustration of the location of the edge region C in accordance with one embodiment of the present invention.
  • FIG. 6 is a flow chart of a touch event report according to an embodiment of the invention.
  • FIG. 7 is a block diagram showing an exemplary structure of a touch operation device of a terminal according to an embodiment of the present invention.
  • the terminal can be implemented in various forms.
  • the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, etc.
  • Terminals and fixed terminals such as digital TVs, desktop computers, and the like.
  • the terminal is a terminal.
  • the configuration according to an embodiment of the present invention can also be applied to a terminal of a fixed type.
  • FIG. 1 is a schematic diagram showing the hardware structure of a terminal for implementing various embodiments of the present invention.
  • the terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) 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, a power supply unit 190, and the like. Wait.
  • Figure 1 shows a 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 components of the terminal will be described in detail below.
  • Wireless communication unit 110 typically includes one or more components that permit radio communication between terminal 100 and a wireless communication system or network.
  • the wireless communication unit can include at least one of the mobile communication module 112, the wireless internet module 113, and the short-range communication module 114.
  • 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 terminal.
  • the module can be internally or externally coupled to the terminal.
  • the wireless Internet access technologies involved in the module may include WLAN (Wireless Local Area Network), Wireless Fidelity (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet) Access) and so on.
  • the short range communication module 114 is a module for supporting short range communication.
  • Some examples of short-range communication technologies include Bluetooth, Radio Frequency Identification (RFID), Infrared Data Protocol (IrDA), Ultra Wide Band (UWB), Zigbee, and the like.
  • 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 1220 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 can be stored in the memory In 160 (or other storage medium) or transmitted via the wireless communication unit 110, two or more cameras 1210 may be provided depending on the configuration of the 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 can generate key input data according to a command input by the user to control various operations of the 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.
  • a touch screen can be formed.
  • the sensing unit 140 detects the current state of the terminal 100 (eg, the open or closed state of the terminal 100), the location of the terminal 100, the presence or absence of the user's contact with the terminal 100 (ie, touch input), the orientation of the terminal 100, and the terminal 100. Acceleration or deceleration of movement and direction, etc., and generation of commands or signals for controlling the operation of the terminal 100.
  • 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.
  • the interface unit 170 serves as an interface through which at least one external device can connect with the 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 terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), and a Universal Customer Identification Module (USIM). and many more.
  • UIM User Identification Module
  • SIM Customer Identification Module
  • USB Universal Customer Identification Module
  • the device having the identification module may take the form of a smart card, and thus the identification device may be connected to the 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 terminal 100 or can be used between the terminal and the external device transfer data.
  • an external device eg, data information, power, etc.
  • Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner.
  • 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 terminal 100. For example, when the terminal 100 is in the 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 terminal 100 is in the video call mode or the 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
  • Terminal 100 may include two or more display units (or according to a particular desired implementation) Other display devices), for example, the 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 can convert audio data received by the wireless communication unit 110 or stored in the memory 160 into audio when the 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 signal is output as a 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 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 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 haptic 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 for 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, etc.) 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 terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
  • Controller 180 typically controls the overall operation of the terminal.
  • the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like.
  • the controller 180 can include a multimedia module 1810 for reproducing (or playing back) multimedia data, which can be constructed within the controller 180 or can 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 terminal has been described in terms of its function.
  • a slide type terminal among various types of terminals such as a folding type, a bar type, a swing type, a slide type terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of terminal, and is not limited to a slide type terminal.
  • the 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 may include a plurality of terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280.
  • the MSC 280 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 well 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 may include multiple BSC 2750s.
  • 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 terminal 100 operating within the system.
  • a broadcast receiving module 111 as shown in FIG. 1 is provided at the terminal 100 to receive Broadcast signal sent by BT295.
  • GPS Global Positioning System
  • the satellite 300 helps locate at least one of the plurality of 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 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 terminals 100.
  • 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 terminal 100.
  • FIG. 3 is a flowchart of a touch operation method of a terminal according to an embodiment of the present invention, and a touch operation method of a terminal according to an embodiment of the present invention is described below, and the method is applied to a borderless or
  • the terminal of the narrow frame is pre-configured with at least one edge area.
  • the terminal is provided with corresponding operation items for different interface modes for each edge area. As shown in FIG. 3, the method includes the following steps:
  • the preset operation item is, for example, a locked edge area, and the edge area is temporarily stored as a temporary storage area to temporarily store a picture selected by the user when browsing a webpage or a temporary chat.
  • the temporary storage is automatically deleted. image.
  • the above general processing responds to the selected option (application or setting item) by clicking or long pressing as usual.
  • the edge region may be a block, and may also include multiple blocks (two or more).
  • the edge region C may include, for example, a left edge region and/or a right edge.
  • the multiple edge regions illustrated in this embodiment that is, different edge regions, implement different functions (having different operation items).
  • the manner of determining whether the touch point of the touch operation is in the edge region is as follows.
  • each touch operation is composed of one or more touch points. Therefore, the terminal can determine that the touch operation is by determining the area where the touch point of the touch operation falls. Occurs in a normal partition or in an edge area (that is, a special partition).
  • the coordinates of the touch point of the touch operation are obtained by the driving layer of the terminal, and it is determined which partition the coordinates of the touch point fall into.
  • the coordinates of the touch point fall into the special partition it is determined that the touch operation occurs in the special partition, and the touch operation is reported by the input device corresponding to the special partition.
  • the determination is performed.
  • the touch operation takes place in a normal partition, and special effects are generated according to the touch operation, and the conventional processing is performed.
  • the reported event includes the input device and the parameters of the touch point, etc.
  • the driver layer kernel identification in the above step
  • the input device reported to the framework layer on the driver layer is input1, instead of being reported with input0, that is, the framework layer does not need to be judged.
  • the current touch point is in which partition, and there is no need to judge the size and position of the partition.
  • the driving layer of the mobile terminal reports the touch point through the input device corresponding to the normal partition.
  • the reported event includes the input device and the parameters of the touch point, etc.
  • the driver layer kernel identification in the above step
  • the input device reported to the framework layer on the driver layer is input0, instead of using input1 to report, that is, the framework layer does not need to determine which partition the current touch point is in, and does not need to determine the size of the partition.
  • the judgment operation is completed on the driving layer, and the driving layer not only reports which input device is specifically, but also reports various parameters of the touch point to the frame layer, such as pressing time, position coordinates, pressure size, etc. Wait.
  • the touch operation is conventionally processed, that is, the touch operation is processed according to a conventional process in the prior art. For example, after receiving the touch point reported by the input device corresponding to the normal partition, the frame layer of the terminal continues to report the touch point according to the normal process to execute the corresponding operation instruction.
  • the present embodiment does not perform normal processing on the touch operation reported by the special partition, but generates special effects according to the touch operation, and also prevents misoperation.
  • the defined edge area and the operation item corresponding to the different interface modes are customized, so that the user can automatically enable different functions according to the preset in different interface modes, so that the user can conveniently call from the edge.
  • the operation items suitable for the current interface make full use of the combination of the edge and the interface to improve the user experience.
  • the interface mode includes a usage mode.
  • the preset operation items corresponding to the edge region and the usage mode include, but are not limited to, displaying a clipboard, a soft keyboard, a recycle bin, and a temporary storage area. At least one.
  • the interface mode includes an anti-missing mode.
  • the edge area and the anti-missing mode correspond to a preset operation item to ignore the touch operation in the edge area.
  • the mode in which the current interface is located may be identified according to the corresponding relationship between the preset interface information and the current interface, that is, the interface information of the current interface is determined; and the current relationship between the interface information of the current interface and the preset interface mode determines the current relationship.
  • the mode of the interface For example, when the preset application (or interface information) corresponding to the usage mode is a browser, WeChat, QQ (such as an application interface), if the user opens one or several of the several interfaces, the current The interface mode is the usage mode. For example, when the preset interface information corresponding to the anti-missing mode is the desktop, if the user opens or returns to the desktop, it is determined that the current interface mode is the anti-missing mode.
  • the clipboard and the soft keyboard are preset in the right edge area, so that when the user needs to edit the text, the user can conveniently call out from the right side, and the recycle bin is preset in the right edge area to facilitate the user to temporarily delete the deleted content. It is stored in the recycle bin, and the preset storage area is convenient for the user to temporarily store the selected picture when browsing the webpage or temporarily chatting.
  • the current interface mode is anti-missing mode, the touch operation in the edge area is automatically ignored to prevent The user touches the terminal to touch the wrong operation caused by the edge of the terminal.
  • FIG. 4 is a flowchart of a touch operation method of a terminal according to another embodiment of the present invention. As shown in FIG. 4, the method includes the above step S300, and the foregoing step S100 is specifically:
  • step S200 is specifically:
  • the size of the preset edge area may be a fixed value.
  • a corresponding input device may be disposed with each edge area for adjusting the position and size of the edge area.
  • the size of the edge area is a variable, it can be modified by the interface parameters reserved by the developer.
  • the developer sets the interface Set_zone (id, X 0 , Y 0 , X) in the upper layer through the driver layer. 1 , Y 1 ) is set by the user.
  • id is 1 in Figure 5, it indicates the left edge area, the corresponding preset coordinates are (X 0 , Y 0 , X 1 , Y 1 ), and the id is 2 indicates the right edge area.
  • the corresponding preset coordinates are (X 0 ', Y 0 ', X 1 ', Y 1 '), which can be preset in the above interface function.
  • the driving layer receives the touch event through physical hardware such as a touch screen, and determines whether the touch operation occurs in the A area or the C area, and reports the event through the device file node of the A area or the C area.
  • the A zone event takes the original process, and processes the A zone event in the usual way, that is, through the multi-channel mechanism; the C zone event is distributed from the C zone dedicated channel registered in advance to the Native layer, by the Native port. Input, system port output to the C area event end system service, listen to the C area event through the listener (listener), and then report the external interface to each application through the C area event.
  • the embodiment of the present invention can realize the free customization of the anti-missing area, that is, the edge area, by using the driver layer code of the mobile terminal. Therefore, the implementation of the technical solution is in the driver layer instead of the firmware, which makes the software design of the device get rid of the touch.
  • the constraints of screen IC suppliers are more flexible and cost-effective.
  • the special partitions are preferably as shown in FIG. 5, and the number is two, which are respectively located at the two sides of the touch area.
  • the remaining area of the touch area is a normal partition.
  • the common partition includes an A area and an B area, wherein the A area is an operable area for detecting touch point coordinates, and the B area is a virtual key area for detecting a menu key, a Home key, and a return key.
  • Two special partitions are respectively located at the edge of the touch area and located on both sides of the A area. In addition, you can set the special partition to any other area that is easy to cause misoperation, or set only one special partition or set multiple edge areas.
  • two input devices such as input device 0 (input0) and input device 1 (input1) can be registered by the input_register_device() instruction when the touch screen driver is initialized.
  • An input device is allocated for each partition by the input_allocate_device() instruction, for example, the normal partition corresponds to the input device 0, and the edge region corresponds to the input device 1.
  • the specific method of implementing the partition can define the categories and implementation manners of the common partitions and edge regions by using the object-oriented method. After determining the edge regions, the coordinates of the touch points of different resolutions are converted into LCDs by the EventHub function. Coordinates, define single-channel functions (such as serverchannel and clientchannel, etc.). The function of this function is to pass the event to the event manager (TouchEventManager) through the channel after receiving the reported event, and listen to it through the listener. The event is transmitted to multiple response application modules simultaneously or one by one through multiple channels, or can be transmitted only to one of the application modules, such as camera, gallery, etc., and different application modules generate corresponding operations. Certainly, the specific implementation of the foregoing steps may also be implemented in other manners, which is not limited by the embodiment of the present invention.
  • the system After receiving the touch operation reported from the input device corresponding to the normal partition, the system receives the reported event (the reported event includes the input device and the parameters of the touch point, etc.), and then identifies which one is based on the naming of the input device. region.
  • the method for determining whether the touch point of the touch operation is in the edge region is provided, and the method for setting the size of the edge region for the user is provided, so that the user can adjust the size of the edge region according to his own needs and preferences.
  • An embodiment of the present invention further provides a computer storage medium, where the computer storage medium is stored There are stored computer executable instructions for performing a touch operation method of the terminal.
  • FIG. 7 is a block diagram showing an exemplary structure of a touch operation device of a terminal according to an embodiment of the present invention.
  • the touch operation device 100 of the terminal according to an embodiment of the present invention is described below with reference to FIG. , the device includes:
  • the touch operation receiving module 01 is configured to receive a touch operation
  • the determining module 02 is configured to determine whether the touch point of the touch operation is in the edge area
  • the operation item execution module 03 is configured to acquire a mode of the current interface if the touch point of the touch operation is in the edge area, and perform an interface mode corresponding to the acquired interface mode for the edge area where the touch point of the touch operation is located The default operation item; otherwise, the touch operation is routinely processed.
  • the operation item execution module 03 is specifically configured as follows:
  • the current interface mode is the usage mode
  • at least one of a clipboard, a soft keyboard, a recycle bin, and/or a temporary storage area is displayed in the edge area.
  • the operation item execution module 03 is further configured to:
  • the touch operation device 100 of the terminal further includes:
  • a coordinate acquiring unit configured to acquire coordinates of a touch point of the touch operation
  • the coordinate comparison unit is configured to compare the coordinates of the touch point of the touch operation with the coordinates of the preset edge area, and determine whether the coordinates of the touch point of the obtained touch operation are within the coordinate range of the edge area, If yes, it is determined that the touch point of the touch operation is in the edge area; otherwise, the touch point of the touch operation is determined not to be in the edge area.
  • the operation item execution module 03 is further configured to: determine interface information of the current interface; determine the current interface according to the correspondence between the interface information of the current interface and the preset interface mode. mode.
  • the position and/or size of the edge region is changed by preset interface parameters.
  • the edge area is different from a preset normal partition
  • the device also includes:
  • An allocating unit configured to allocate a corresponding input device to the common partition and the edge region
  • Driving layer receiving a touch operation and determining an occurrence area of the touch operation
  • the driving layer determines that the touch operation occurs in the edge region, the touch event is reported by the input device corresponding to the edge region;
  • the driving layer determines that the touch operation occurs in the normal partition
  • the touch event is reported by the input device corresponding to the normal partition.
  • the device further includes at least a frame layer, and the frame layer identifies the touch event according to the device identifier ID of the input device of the reported touch event.
  • This embodiment provides a terminal, where the terminal includes the touch operation device of the terminal.
  • the present invention enables the user to automatically enable different functions according to presets in the different interfaces by using the defined edge regions and customizing the operation items corresponding to the different interface modes in each edge region, so that the user can conveniently call from the edge.
  • the operation items suitable for the current interface make full use of the combination of the edge and the interface to improve the user experience.
  • the touch operation receiving module 01, the determining module 02, and the operation item executing module 03 may be processed by a central processing unit (CPU) or digital signal processing (DSP, Digital Signal Processor). ), or a microprocessor (MPU, Micro Processor Unit), or a Field Programmable Gate Array (FPGA).
  • CPU central processing unit
  • DSP Digital Signal Processor
  • MPU Micro Processor Unit
  • FPGA Field Programmable Gate Array
  • the touch operation device and the terminal provided by the embodiment of the invention are based on the principle of solving the problem It is similar to the touch operation method of the foregoing terminal. Therefore, the implementation process and the implementation principle of the device and the terminal can be referred to the implementation process and the implementation principle of the foregoing method, and the repeated description is not repeated.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
  • the touch operation is received to determine whether the touch point of the touch operation is in the edge area; if the touch point of the touch operation is in the edge area, the current interface is obtained. a mode, and executing a preset operation item corresponding to the acquired interface mode; otherwise, performing normal processing on the touch operation.
  • the user can automatically enable different functions according to the preset in different interface modes, so that the user can conveniently call out from the edge.
  • the operation items of the current interface mode make full use of the combination of the edge and the interface mode to improve the user experience.

Landscapes

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

Abstract

A terminal, a touch operation method therefor and a device thereof, and a computer storage medium. The terminal is provided with at least one marginal region in advance, and is provided with an operation item corresponding to a different interface mode for each marginal region in advance. The method comprises: receiving a touch operation (S100); determining whether a touch point of the touch operation is within a marginal region (S200); and if the touch point of the touch operation is within the marginal region, acquiring a current interface mode, and executing a preset operation item corresponding to the acquired interface mode for the marginal region where the touch point of the touch operation is located; otherwise performing routine processing on the touch operation (S300). A user can conveniently call an operation item suitable for a current interface mode from edges, and the combination of the edges and the interface modes is fully utilized, thereby improving the user experience.

Description

终端及其触控操作方法和装置、存储介质Terminal and touch operation method and device thereof, and storage medium 技术领域Technical field
本发明涉及终端技术领域,具体涉及终端及其触控操作方法和装置、计算机存储介质。The present invention relates to the field of terminal technologies, and in particular, to a terminal and a touch operation method and apparatus thereof, and a computer storage medium.
背景技术Background technique
随着科学技术的发展,无边框的终端由于外观美丽、桌面空间大等原因越来越受到用户的追捧。With the development of science and technology, the borderless terminal has been increasingly sought after by users due to its beautiful appearance and large desktop space.
但随之而来的也存在一些问题,由于这种新型的终端没有边框,导致当用户手握住终端时,容易操作到边缘的应用程序或点击到其它位于终端桌面上的可操作项,很容易出现点击到某个可操作项当用户自己却没发现的情况,给用户带来烦恼。并且目前应用于这种无边框的终端的界面设计由于与传统的有边框的终端的设计相同,并没有好好利用无边框的终端的优势给用户带来新的体验。However, there are some problems that come with it. Because this new type of terminal has no border, it is easy to operate the application to the edge or click on other operable items located on the desktop of the terminal when the user holds the terminal. It is easy to click on an actionable item and the user does not find it, which brings trouble to the user. And the interface design currently applied to such a borderless terminal is the same as the design of the traditional bordered terminal, and does not take advantage of the borderless terminal to bring a new experience to the user.
发明内容Summary of the invention
本发明实施例提供终端及其触控操作方法和装置、计算机存储介质,以达到重新定义终端边缘的操作项、提升用户体验的目的,克服用户在使用上述现有的无边框终端时容易导致边缘误操作的缺陷。The embodiment of the invention provides a terminal, a touch operation method and device thereof, and a computer storage medium, so as to achieve the purpose of redefining the operation item at the edge of the terminal and improving the user experience, and overcoming the user's easy use of the existing borderless terminal. Defects in misuse.
本发明实施例解决上述技术问题的技术方案如下。The technical solution for solving the above technical problem in the embodiment of the present invention is as follows.
根据本发明实施例的一个方面,提供的一种终端的触控操作方法,该终端预设有至少一块边缘区域,该终端针对每个边缘区域预设有与不同界面模式的对应操作项,该方法包括:According to an aspect of the present invention, a touch operation method of a terminal is provided, the terminal is pre-configured with at least one edge area, and the terminal is pre-configured with a corresponding operation item of a different interface mode for each edge area, Methods include:
接收触控操作;Receiving touch operations;
判断触控操作的触控点是否在边缘区域内; Determining whether the touch point of the touch operation is in the edge area;
若触控操作的触控点在边缘区域内,则获取当前界面的模式,并针对触控操作的触控点所在的边缘区域,执行与获取到的界面模式对应的预设操作项;否则,对触控操作做常规处理。If the touch point of the touch operation is in the edge area, the mode of the current interface is acquired, and the preset operation item corresponding to the acquired interface mode is executed for the edge area where the touch point of the touch operation is located; otherwise, Regular processing of touch operations.
上述方案中,上述边缘区域包括左边缘区域和/或右边缘区域。In the above solution, the edge region includes a left edge region and/or a right edge region.
上述方案中,上述界面模式包括使用模式,右边缘区域与使用模式对应的预设操作项包括显示剪贴板、软键盘、回收站和/或临时存储区域中的至少一种。In the above solution, the interface mode includes a usage mode, and the preset operation item corresponding to the usage mode of the right edge area includes at least one of a display clipboard, a soft keyboard, a recycle bin, and/or a temporary storage area.
上述方案中,上述界面模式包括防误触模式,边缘区域与防误触模式对应预设的操作项为忽略在边缘区域的触控操作。In the above solution, the interface mode includes an anti-missing mode, and the preset operation item corresponding to the edge area and the anti-missing mode is to ignore the touch operation in the edge area.
上述方案中,上述判断触控操作的触控点是否在边缘区域内的步骤包括:In the above solution, the step of determining whether the touch point of the touch operation is in the edge area includes:
获取所述触控操作的触控点的坐标;Obtaining coordinates of the touch point of the touch operation;
将获取的触控操作的触控点的坐标与预设的边缘区域的坐标进行比较,判断获取的触控操作的触控点的坐标是否在边缘区域的坐标范围内,若是,则判断触控操作的触控点在边缘区域内,否则,判断触控操作的触控点不在边缘区域内。Comparing the coordinates of the touch point of the touch operation with the coordinates of the preset edge area, determining whether the coordinates of the touch point of the obtained touch operation are within the coordinate range of the edge area, and if so, determining the touch The touch point of the operation is in the edge area. Otherwise, the touch point for determining the touch operation is not in the edge area.
上述方案中,所述获取当前界面的模式,包括:In the foregoing solution, the acquiring a mode of the current interface includes:
确定当前界面的界面信息;Determine the interface information of the current interface;
根据当前界面的界面信息与预设的界面模式之间的对应关系,确定当前界面的模式。The mode of the current interface is determined according to the correspondence between the interface information of the current interface and the preset interface mode.
上述方案中,所述终端还包括普通分区,所述普通分区与所述边缘区域不同;In the above solution, the terminal further includes a common partition, and the normal partition is different from the edge area;
为所述普通分区与所述边缘区域分配对应的输入设备;Allocating a corresponding input device to the common partition and the edge region;
所述终端的驱动层通过终端的触摸屏接收触控操作;The driving layer of the terminal receives a touch operation through a touch screen of the terminal;
当驱动层判断为所述触控操作发生在所述边缘区域内时,由与所述边 缘区域对应的输入设备进行触控事件的上报;When the driving layer determines that the touch operation occurs in the edge region, by the edge The input device corresponding to the edge region performs reporting of the touch event;
当驱动层判断为所述触控操作发生在所述普通分区时,由与所述普通分区对应的输入设备进行触控事件的上报。When the driving layer determines that the touch operation occurs in the normal partition, the touch event is reported by the input device corresponding to the normal partition.
上述方案中,所述终端至少还包括框架层,所述框架层根据上报触控事件的输入设备的设备标识ID,对所述触控事件进行识别。In the above solution, the terminal further includes at least a frame layer, and the frame layer identifies the touch event according to the device identification ID of the input device that reports the touch event.
上述方案中,所述边缘区域的位置和/或大小通过预设的接口参数进行改变。In the above solution, the position and/or size of the edge region is changed by preset interface parameters.
根据本发明实施例的另一个方面,提供的一种终端的触控操作装置,该装置包括:According to another aspect of the embodiments of the present invention, a touch operation device for a terminal is provided, the device comprising:
触控操作接收模块,配置为接收触控操作;a touch operation receiving module configured to receive a touch operation;
判断模块,配置为判断触控操作的触控点是否在边缘区域内;The determining module is configured to determine whether the touch point of the touch operation is in the edge area;
操作项执行模块,配置为若触控操作的触控点在边缘区域内,则获取当前界面的模式,并针对触控操作的触控点所在的边缘区域,执行与获取到的界面模式对应的预设操作项;否则,对触控操作做常规处理。The operation item execution module is configured to acquire a mode of the current interface if the touch point of the touch operation is in the edge area, and perform an interface mode corresponding to the acquired interface mode for the edge area where the touch point of the touch operation is located Preset action items; otherwise, perform regular processing on touch operations.
上述方案中,该装置还包括:In the above solution, the device further includes:
坐标获取单元,配置为获取所述触控操作的触控点的坐标;a coordinate acquiring unit configured to acquire coordinates of a touch point of the touch operation;
坐标比较单元,配置为将获取的触控操作的触控点的坐标与预设的边缘区域的坐标进行比较,判断获取的触控操作的触控点的坐标是否在边缘区域的坐标范围内,若是,则判断触控操作的触控点在边缘区域内,否则,判断触控操作的触控点不在边缘区域内。The coordinate comparison unit is configured to compare the coordinates of the touch point of the touch operation with the coordinates of the preset edge area, and determine whether the coordinates of the touch point of the obtained touch operation are within the coordinate range of the edge area, If yes, it is determined that the touch point of the touch operation is in the edge area; otherwise, the touch point of the touch operation is determined not to be in the edge area.
上述方案中,上述操作项执行模块配置为:In the above solution, the operation item execution module is configured as:
当当前的界面模式为使用模式时,在边缘区域显示剪贴板、软键盘、回收站和/或临时存储区域中的至少一种。When the current interface mode is the usage mode, at least one of a clipboard, a soft keyboard, a recycle bin, and/or a temporary storage area is displayed in the edge area.
上述方案中,上述操作项执行模块配置为:In the above solution, the operation item execution module is configured as:
当当前界面模式为防误触模式时,忽略在边缘区域的触控操作。 When the current interface mode is the anti-missing mode, the touch operation in the edge area is ignored.
上述方案中,所述边缘区域包括左边缘区域和/或右边缘区域。In the above solution, the edge region includes a left edge region and/or a right edge region.
上述方案中,所述操作项执行模块,还配置为:In the above solution, the operation item execution module is further configured to:
确定当前界面的界面信息;Determine the interface information of the current interface;
根据当前界面的界面信息与预设的界面模式之间的对应关系,确定当前界面的模式。The mode of the current interface is determined according to the correspondence between the interface information of the current interface and the preset interface mode.
所述边缘区域的位置和/或大小通过预设的接口参数进行改变。The position and/or size of the edge region is changed by preset interface parameters.
上述方案中,所述边缘区域与预设的普通分区不同;In the above solution, the edge area is different from the preset normal partition;
所述装置还包括:The device also includes:
分配单元,配置为为所述普通分区与所述边缘区域分配对应的输入设备;An allocating unit configured to allocate a corresponding input device to the common partition and the edge region;
驱动层,接收触控操作并判断该触控操作的发生区域;Driving layer, receiving a touch operation and determining an occurrence area of the touch operation;
当驱动层判断为所述触控操作发生在所述边缘区域内时,由与所述边缘区域对应的输入设备进行触控事件的上报;When the driving layer determines that the touch operation occurs in the edge region, the touch event is reported by the input device corresponding to the edge region;
当驱动层判断为所述触控操作发生在所述普通分区时,由与所述普通分区对应的输入设备进行触控事件的上报。When the driving layer determines that the touch operation occurs in the normal partition, the touch event is reported by the input device corresponding to the normal partition.
上述方案中,所述装置至少还包括框架层,所述框架层根据上报的触控事件的输入设备的设备标识ID,对所述触控事件进行识别。In the above solution, the device further includes at least a frame layer, and the frame layer identifies the touch event according to the device identification ID of the input device of the reported touch event.
根据本发明实施例的又一个方面,提供的一种终端,该终端包括上述的触控操作装置。According to still another aspect of the embodiments of the present invention, a terminal is provided, the terminal comprising the touch operation device described above.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前述终端的触控操作方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the touch operation method of the terminal.
本发明实施例提供了一种终端及其触控操作方法和装置、计算机存储介质,通过定义的边缘区域以及自定义的每个边缘区域与不同界面模式对应的操作项,使得用户在不同的界面模式中可以根据预设自动启用不同的 功能,使得用户可以从边缘方便的调用出适合当前界面模式的操作项,充分利用了边缘与界面模式结合,提高用户体验。Embodiments of the present invention provide a terminal, a touch operation method and apparatus thereof, and a computer storage medium, which enable users to be in different interfaces through defined edge regions and customized operation items corresponding to different interface modes. Different modes can be automatically enabled according to presets in the mode. The function enables the user to conveniently call out the operation items suitable for the current interface mode from the edge, and fully utilizes the combination of the edge and the interface mode to improve the user experience.
附图说明DRAWINGS
图1为实现本发明各个实施例的终端的硬件结构示意图;1 is a schematic structural diagram of hardware of a terminal for implementing various embodiments of the present invention;
图2为如图1所示的终端的无线通信系统示意图;2 is a schematic diagram of a wireless communication system of the terminal shown in FIG. 1;
图3为根据本发明的一个实施例的终端的触控操作方法的流程图;FIG. 3 is a flowchart of a touch operation method of a terminal according to an embodiment of the present invention; FIG.
图4为根据本发明的另一实施例的终端的触控操作方法的流程图;FIG. 4 is a flowchart of a touch operation method of a terminal according to another embodiment of the present invention; FIG.
图5为根据本发明的一个实施例的边缘区域C所在位置的示意图;Figure 5 is a schematic illustration of the location of the edge region C in accordance with one embodiment of the present invention;
图6为根据本发明的一个实施例的触控事件上报流程图;FIG. 6 is a flow chart of a touch event report according to an embodiment of the invention; FIG.
图7为根据本发明的一个实施例的终端的触控操作装置的示范性结构框图。FIG. 7 is a block diagram showing an exemplary structure of a touch operation device of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
现在将参考附图描述实现本发明各个实施例的终端。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。因此,"模块"与"部件"可以混合地使用。A terminal embodying various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se. Therefore, "module" and "component" can be used in combination.
终端可以以各种形式来实施。例如,本发明中描述的终端可以包括诸如移动电话、智能电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、导航装置等等的终端以及诸如数字TV、台式计算机等等的固定终端。下面,假设终端是终端。然而,本领域技术人员将理解的是,除了特别用于移动目的的元件之 外,根据本发明的实施方式的构造也能够应用于固定类型的终端。The terminal can be implemented in various forms. For example, the terminal described in the present invention may include, for example, a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet), a PMP (Portable Multimedia Player), a navigation device, etc. Terminals and fixed terminals such as digital TVs, desktop computers, and the like. Next, assume that the terminal is a terminal. However, those skilled in the art will appreciate that in addition to components specifically for mobile purposes In addition, the configuration according to an embodiment of the present invention can also be applied to a terminal of a fixed type.
图1为实现本发明各个实施例的终端的硬件结构示意。FIG. 1 is a schematic diagram showing the hardware structure of a terminal for implementing various embodiments of the present invention.
终端100可以包括无线通信单元110、A/V(音频/视频)输入单元120、用户输入单元130、感测单元140、输出单元150、存储器160、接口单元170、控制器180和电源单元190等等。图1示出了具有各种组件的终端,但是应理解的是,并不要求实施所有示出的组件。可以替代地实施更多或更少的组件。将在下面详细描述终端的元件。The terminal 100 may include a wireless communication unit 110, an A/V (Audio/Video) 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, a power supply unit 190, and the like. Wait. Figure 1 shows a 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 components of the terminal will be described in detail below.
无线通信单元110通常包括一个或多个组件,其允许终端100与无线通信系统或网络之间的无线电通信。例如,无线通信单元可以包括移动通信模块112、无线互联网模块113、短程通信模块114中的至少一个。 Wireless communication unit 110 typically includes one or more components that permit radio communication between terminal 100 and a wireless communication system or network. For example, the wireless communication unit can include at least one of the mobile communication module 112, the wireless internet module 113, and the short-range communication module 114.
移动通信模块112将无线电信号发送到基站(例如,接入点、节点B等等)、外部终端以及服务器中的至少一个和/或从其接收无线电信号。这样的无线电信号可以包括语音通话信号、视频通话信号、或者根据文本和/或多媒体消息发送和/或接收的各种类型的数据。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. 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.
无线互联网模块113支持终端的无线互联网接入。该模块可以内部或外部地耦接到终端。该模块所涉及的无线互联网接入技术可以包括WLAN(无线局域网络)、无线保真(Wi-Fi)、Wibro(无线宽带)、Wimax(全球微波互联接入)、HSDPA(高速下行链路分组接入)等等。The wireless internet module 113 supports wireless internet access of the terminal. The module can be internally or externally coupled to the terminal. The wireless Internet access technologies involved in the module may include WLAN (Wireless Local Area Network), Wireless Fidelity (Wi-Fi), Wibro (Wireless Broadband), Wimax (Worldwide Interoperability for Microwave Access), HSDPA (High Speed Downlink Packet) Access) and so on.
短程通信模块114是用于支持短程通信的模块。短程通信技术的一些示例包括蓝牙、射频识别(RFID)、红外数据协议(IrDA)、超宽带(UWB)、紫蜂等等。The short range communication module 114 is a module for supporting short range communication. Some examples of short-range communication technologies include Bluetooth, Radio Frequency Identification (RFID), Infrared Data Protocol (IrDA), Ultra Wide Band (UWB), Zigbee, and the like.
A/V输入单元120用于接收音频或视频信号。A/V输入单元120可以包括相机121和麦克风1220,相机121对在视频捕获模式或图像捕获模式中由图像捕获装置获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元151上。经相机121处理后的图像帧可以存储在存储器 160(或其它存储介质)中或者经由无线通信单元110进行发送,可以根据终端的构造提供两个或更多相机1210。麦克风122可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由移动通信模块112发送到移动通信基站的格式输出。麦克风122可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。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 1220 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 can be stored in the memory In 160 (or other storage medium) or transmitted via the wireless communication unit 110, two or more cameras 1210 may be provided depending on the configuration of the 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.
用户输入单元130可以根据用户输入的命令生成键输入数据以控制终端的各种操作。用户输入单元130允许用户输入各种类型的信息,并且可以包括键盘、锅仔片、触摸板(例如,检测由于被接触而导致的电阻、压力、电容等等的变化的触敏组件)、滚轮、摇杆等等。特别地,当触摸板以层的形式叠加在显示单元151上时,可以形成触摸屏。The user input unit 130 can generate key input data according to a command input by the user to control various operations of the 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. In particular, when the touch panel is superimposed on the display unit 151 in the form of a layer, a touch screen can be formed.
感测单元140检测终端100的当前状态,(例如,终端100的打开或关闭状态)、终端100的位置、用户对于终端100的接触(即触摸输入)的有无、终端100的取向、终端100的加速或减速移动和方向等等,并且生成用于控制终端100的操作的命令或信号。例如,当终端100实施为滑动型移动电话时,感测单元140可以感测该滑动型电话是打开还是关闭。另外,感测单元140能够检测电源单元190是否提供电力或者接口单元170是否与外部装置耦接。The sensing unit 140 detects the current state of the terminal 100 (eg, the open or closed state of the terminal 100), the location of the terminal 100, the presence or absence of the user's contact with the terminal 100 (ie, touch input), the orientation of the terminal 100, and the terminal 100. Acceleration or deceleration of movement and direction, etc., and generation of commands or signals for controlling the operation of the terminal 100. For example, when the terminal 100 is implemented as a slide type mobile phone, the sensing unit 140 can sense whether the slide type phone is turned on or off. In addition, 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.
接口单元170用作至少一个外部装置与终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。识别模块可以是存储用于验证用户使用终端100的各种信息并且可以包括用户识别模块(UIM)、客户识别模块(SIM)、通用客户识别模块(USIM) 等等。另外,具有识别模块的装置(下面称为“识别装置”)可以采取智能卡的形式,因此,识别装置可以经由端口或其它连接装置与终端100连接。接口单元170可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端100内的一个或多个元件或者可以用于在终端和外部装置之间传输数据。The interface unit 170 serves as an interface through which at least one external device can connect with the terminal 100. For example, 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 terminal 100 and may include a User Identification Module (UIM), a Customer Identification Module (SIM), and a Universal Customer Identification Module (USIM). and many more. In addition, the device having the identification module (hereinafter referred to as "identification device") may take the form of a smart card, and thus the identification device may be connected to the 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 terminal 100 or can be used between the terminal and the external device transfer data.
另外,当终端100与外部底座连接时,接口单元170可以用作允许通过其将电力从底座提供到终端100的路径或者可以用作允许从底座输入的各种命令信号通过其传输到终端的路径。从底座输入的各种命令信号或电力可以用作用于识别终端是否准确地安装在底座上的信号。输出单元150被构造为以视觉、音频和/或触觉方式提供输出信号(例如,音频信号、视频信号、警报信号、振动信号等等)。输出单元150可以包括显示单元151、音频输出模块152、警报单元153等等。In addition, when the terminal 100 is connected to the external base, the interface unit 170 may function as a path through which power is supplied from the base to the terminal 100 or may be used as a path through which various command signals input from the base are transmitted to the terminal . Various command signals or power input from the base can be used as signals for identifying whether the terminal is accurately mounted on the base. Output unit 150 is configured to provide an output signal (eg, an audio signal, a video signal, an alarm signal, a vibration signal, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
显示单元151可以显示在终端100中处理的信息。例如,当终端100处于电话通话模式时,显示单元151可以显示与通话或其它通信(例如,文本消息收发、多媒体文件下载等等)相关的用户界面(UI)或图形用户界面(GUI)。当终端100处于视频通话模式或者图像捕获模式时,显示单元151可以显示捕获的图像和/或接收的图像、示出视频或图像以及相关功能的UI或GUI等等。The display unit 151 can display information processed in the terminal 100. For example, when the terminal 100 is in the 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 terminal 100 is in the video call mode or the 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.
同时,当显示单元151和触摸板以层的形式彼此叠加以形成触摸屏时,显示单元151可以用作输入装置和输出装置。显示单元151可以包括液晶显示器(LCD)、薄膜晶体管LCD(TFT-LCD)、有机发光二极管(OLED)显示器、柔性显示器、三维(3D)显示器等等中的至少一种。这些显示器中的一些可以被构造为透明状以允许用户从外部观看,这可以称为透明显示器,典型的透明显示器可以例如为TOLED(透明有机发光二极管)显示器等等。根据特定想要的实施方式,终端100可以包括两个或更多显示单元(或 其它显示装置),例如,终端可以包括外部显示单元(未示出)和内部显示单元(未示出)。触摸屏可用于检测触摸输入压力以及触摸输入位置和触摸输入面积。Meanwhile, when the display unit 151 and the touch panel are superposed on each other in the form of a layer to form a touch screen, 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. 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. Terminal 100 may include two or more display units (or according to a particular desired implementation) Other display devices), for example, the 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.
音频输出模块152可以在终端处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将无线通信单元110接收的或者在存储器160中存储的音频数据转换音频信号并且输出为声音。而且,音频输出模块152可以提供与终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出模块152可以包括扬声器、蜂鸣器等等。The audio output module 152 can convert audio data received by the wireless communication unit 110 or stored in the memory 160 into audio when the 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 signal is output as a sound. Moreover, 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 terminal 100. The audio output module 152 can include a speaker, a buzzer, and the like.
警报单元153可以提供输出以将事件的发生通知给终端100。典型的事件可以包括呼叫接收、消息接收、键信号输入、触摸输入等等。除了音频或视频输出之外,警报单元153可以以不同的方式提供输出以通知事件的发生。例如,警报单元153可以以振动的形式提供输出,当接收到呼叫、消息或一些其它进入通信(incoming communication)时,警报单元153可以提供触觉输出(即振动)以将其通知给用户。通过提供这样的触觉输出,即使在用户的移动电话处于用户的口袋中时,用户也能够识别出各种事件的发生。警报单元153也可以经由显示单元151或音频输出模块152提供通知事件的发生的输出。The alarm unit 153 can provide an output to notify the 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 haptic 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.
存储器160可以存储由控制器180执行的处理和控制操作的软件程序等等,或者可以暂时地存储己经输出或将要输出的数据(例如,电话簿、消息、静态图像、视频等等)。而且,存储器160可以存储关于当触摸施加到触摸屏时输出的各种方式的振动和音频信号的数据。The memory 160 may store a software program or the like for 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, etc.) 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.
存储器160可以包括至少一种类型的存储介质,所述存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、 电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等等。而且,终端100可以与通过网络连接执行存储器160的存储功能的网络存储装置协作。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. Moreover, the terminal 100 can cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
控制器180通常控制终端的总体操作。例如,控制器180执行与语音通话、数据通信、视频通话等等相关的控制和处理。另外,控制器180可以包括用于再现(或回放)多媒体数据的多媒体模块1810,多媒体模块1810可以构造在控制器180内,或者可以构造为与控制器180分离。控制器180可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。 Controller 180 typically controls the overall operation of the terminal. For example, the controller 180 performs the control and processing associated with voice calls, data communications, video calls, and the like. Additionally, the controller 180 can include a multimedia module 1810 for reproducing (or playing back) multimedia data, which can be constructed within the controller 180 or can 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.
电源单元190在控制器180的控制下接收外部电力或内部电力并且提供操作各元件和组件所需的适当的电力。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.
这里描述的各种实施方式可以以使用例如计算机软件、硬件或其任何组合的计算机可读介质来实施。对于硬件实施,这里描述的实施方式可以通过使用特定用途集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理装置(DSPD)、可编程逻辑装置(PLD)、现场可编程门阵列(FPGA)、处理器、控制器、微控制器、微处理器、被设计为执行这里描述的功能的电子单元中的至少一种来实施,在一些情况下,这样的实施方式可以在控制器180中实施。对于软件实施,诸如过程或功能的实施方式可以与允许执行至少一种功能或操作的单独的软件模块来实施。软件代码可以由以任何适当的编程语言编写的软件应用程序(或程序)来实施,软件代码可以存储在存储器160中并且由控制器180执行。The various embodiments described herein can be implemented in a computer readable medium using, for example, computer software, hardware, or any combination thereof. For hardware implementations, 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 ( 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. For software implementations, 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 controller 180.
至此,己经按照其功能描述了终端。下面,为了简要起见,将描述诸如折叠型、直板型、摆动型、滑动型终端等等的各种类型的终端中的滑动型终端作为示例。因此,本发明能够应用于任何类型的终端,并且不限于滑动型终端。 So far, the terminal has been described in terms of its function. Hereinafter, for the sake of brevity, a slide type terminal among various types of terminals such as a folding type, a bar type, a swing type, a slide type terminal, and the like will be described as an example. Therefore, the present invention can be applied to any type of terminal, and is not limited to a slide type terminal.
如图1中所示的终端100可以被构造为利用经由帧或分组发送数据的诸如有线和无线通信系统以及基于卫星的通信系统来操作。The 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.
现在将参考图2描述其中根据本发明的终端能够操作的通信系统。A communication system in which a terminal according to the present invention can be operated will now be described with reference to FIG.
这样的通信系统可以使用不同的空中接口和/或物理层。例如,由通信系统使用的空中接口包括例如频分多址(FDMA)、时分多址(TDMA)、码分多址(CDMA)和通用移动通信系统(UMTS)(特别地,长期演进(LTE))、全球移动通信系统(GSM)等等。作为非限制性示例,下面的描述涉及CDMA通信系统,但是这样的教导同样适用于其它类型的系统。Such communication systems may use different air interfaces and/or physical layers. For example, 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. As a non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
参考图2,CDMA无线通信系统可以包括多个终端100、多个基站(BS)270、基站控制器(BSC)275和移动交换中心(MSC)280。MSC280被构造为与公共电话交换网络(PSTN)290形成接口。MSC280还被构造为与可以经由回程线路耦接到基站270的BSC275形成接口。回程线路可以根据若干己知的接口中的任一种来构造,所述接口包括例如E1/T1、ATM,IP、PPP、帧中继、HDSL、ADSL或xDSL。将理解的是,如图2中所示的系统可以包括多个BSC2750。Referring to FIG. 2, a CDMA wireless communication system may include a plurality of terminals 100, a plurality of base stations (BS) 270, a base station controller (BSC) 275, and a mobile switching center (MSC) 280. The MSC 280 is configured to interface with a public switched telephone network (PSTN) 290. 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 well 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 may include multiple BSC 2750s.
每个BS270可以服务一个或多个分区(或区域),由多向天线或指向特定方向的天线覆盖的每个分区放射状地远离BS270。或者,每个分区可以由用于分集接收的两个或更多天线覆盖。每个BS270可以被构造为支持多个频率分配,并且每个频率分配具有特定频谱(例如,1.25MHz,5MHz等等)。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.).
分区与频率分配的交叉可以被称为CDMA信道。BS270也可以被称为基站收发器子系统(BTS)或者其它等效术语。在这样的情况下,术语"基站"可以用于笼统地表示单个BSC275和至少一个BS270。基站也可以被称为"蜂窝站"。或者,特定BS270的各分区可以被称为多个蜂窝站。The intersection of partitioning and frequency allocation can be referred to as a CDMA channel. BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, 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." Alternatively, each partition of a particular BS 270 may be referred to as a plurality of cellular stations.
如图2中所示,广播发射器(BT)295将广播信号发送给在系统内操作的终端100。如图1中所示的广播接收模块111被设置在终端100处以接收由 BT295发送的广播信号。在图2中,示出了几个全球定位系统(GPS)卫星300。卫星300帮助定位多个终端100中的至少一个。As shown in FIG. 2, a broadcast transmitter (BT) 295 transmits a broadcast signal to the terminal 100 operating within the system. A broadcast receiving module 111 as shown in FIG. 1 is provided at the terminal 100 to receive Broadcast signal sent by BT295. In Figure 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 helps locate at least one of the plurality of terminals 100.
在图2中,描绘了多个卫星300,但是理解的是,可以利用任何数目的卫星获得有用的定位信息。如图1中所示的GPS模块115通常被构造为与卫星300配合以获得想要的定位信息。替代GPS跟踪技术或者在GPS跟踪技术之外,可以使用可以跟踪终端的位置的其它技术。另外,至少一个GPS卫星300可以选择性地或者额外地处理卫星DMB传输。In Figure 2, 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 terminal can be used. Additionally, at least one GPS satellite 300 can selectively or additionally process satellite DMB transmissions.
作为无线通信系统的一个典型操作,BS270接收来自各种终端100的反向链路信号。终端100通常参与通话、消息收发和其它类型的通信。特定基站270接收的每个反向链路信号被在特定BS270内进行处理。获得的数据被转发给相关的BSC275。BSC提供通话资源分配和包括BS270之间的软切换过程的协调的移动管理功能。BSC275还将接收到的数据路由到MSC280,其提供用于与PSTN290形成接口的额外的路由服务。类似地,PSTN290与MSC280形成接口,MSC与BSC275形成接口,并且BSC275相应地控制BS270以将正向链路信号发送到终端100。As a typical operation of a wireless communication system, BS 270 receives reverse link signals from various terminals 100. 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. Similarly, 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 terminal 100.
基于上述终端硬件结构以及通信系统,提出本发明方法各个实施例。Based on the above-described terminal hardware structure and communication system, various embodiments of the method of the present invention are proposed.
实施例一Embodiment 1
图3为根据本发明的一个实施例的终端的触控操作方法的流程图,下面结合图3来描述根据本发明的一个实施例的终端的触控操作方法,该方法应用于无边框的或窄边框的终端,该终端预设有至少一块边缘区域,该终端针对每个边缘区域预设有与不同界面模式的对应操作项,如图3所示,该方法包括以下步骤:FIG. 3 is a flowchart of a touch operation method of a terminal according to an embodiment of the present invention, and a touch operation method of a terminal according to an embodiment of the present invention is described below, and the method is applied to a borderless or The terminal of the narrow frame is pre-configured with at least one edge area. The terminal is provided with corresponding operation items for different interface modes for each edge area. As shown in FIG. 3, the method includes the following steps:
S100、接收触控操作;S100, receiving a touch operation;
S200、判断触控操作的触控点是否在边缘区域内; S200. Determine whether the touch point of the touch operation is in an edge region.
S300、若触控操作的触控点在边缘区域内,则获取当前界面的模式,并针对触控操作的触控点所在的边缘区域,执行与获取到的界面模式对应的预设操作项;否则,对触控操作做常规处理。S300. If the touch point of the touch operation is in the edge area, obtain a mode of the current interface, and perform a preset operation item corresponding to the acquired interface mode for the edge area where the touch point of the touch operation is located; Otherwise, the touch operation is routinely processed.
上述预设的操作项例如锁定边缘区域、将边缘区域作为临时存储区临时存储用户在浏览网页或临时聊天时选中的图片,当保存的时间超过预设的时间时,则自动删除该临时存储的图片。上述常规处理即按照常规单击或长按对选中的选项(应用程序或设置项)进行响应。The preset operation item is, for example, a locked edge area, and the edge area is temporarily stored as a temporary storage area to temporarily store a picture selected by the user when browsing a webpage or a temporary chat. When the saved time exceeds a preset time, the temporary storage is automatically deleted. image. The above general processing responds to the selected option (application or setting item) by clicking or long pressing as usual.
其中,上述边缘区域可以是一块,也可以包括多块(两个及以上),当该边缘区域包括多块时,如图5所示,该边缘区域C例如可以包括左边缘区域和/或右边缘区域,本实施例所阐述的多块边缘区域,即不同的边缘区域实现不同的功能(具有不同的操作项)。Wherein, the edge region may be a block, and may also include multiple blocks (two or more). When the edge region includes multiple blocks, as shown in FIG. 5, the edge region C may include, for example, a left edge region and/or a right edge. In the edge region, the multiple edge regions illustrated in this embodiment, that is, different edge regions, implement different functions (having different operation items).
根据本实施例的一个示例,上述判断触控操作的触控点是否在边缘区域内的方式如下。According to an example of the embodiment, the manner of determining whether the touch point of the touch operation is in the edge region is as follows.
由于触控操作通常为点击、滑动等操作,每一触控操作由一个或多个触控点组成,因此终端可以通过判断触控操作的触控点落入的区域,来判断触控操作是发生在普通分区还是边缘区域(即特殊分区)。具体实现上,通过终端的驱动层获取触控操作的触控点的坐标,判断触控点的坐标落入了哪个分区。当触控点的坐标落入特殊分区时,则判定触控操作发生在特殊分区内,通过特殊分区所对应的输入设备上报触控操作,当触控点的坐标落入普通分区时,则判定触控操作发生在普通分区内,根据该触控操作生成特效,做常规处理。Since the touch operation is usually a click, a slide, etc., each touch operation is composed of one or more touch points. Therefore, the terminal can determine that the touch operation is by determining the area where the touch point of the touch operation falls. Occurs in a normal partition or in an edge area (that is, a special partition). In a specific implementation, the coordinates of the touch point of the touch operation are obtained by the driving layer of the terminal, and it is determined which partition the coordinates of the touch point fall into. When the coordinates of the touch point fall into the special partition, it is determined that the touch operation occurs in the special partition, and the touch operation is reported by the input device corresponding to the special partition. When the coordinates of the touch point fall into the normal partition, the determination is performed. The touch operation takes place in a normal partition, and special effects are generated according to the touch operation, and the conventional processing is performed.
在框架(Framework)层接收到上报事件(上报事件包括输入设备以及触控点各项参数等)后,首先根据输入设备的命名,识别是哪一个区域,如上一步骤中驱动层(kernel)识别是在特殊分区触控,则驱动层上报到框架层的输入设备是input1,而不是用input0来上报,即,框架层不需要判断 当前触控点在哪一个分区,也不需要判断分区的大小和位置,这些判断操作在驱动层上完成,并且,驱动层除了上报具体是哪一个输入设备,还会上报该触控点的各项参数至框架层,例如按压时间,位置坐标,压力大小等等。After receiving the reported event in the framework layer (the reported event includes the input device and the parameters of the touch point, etc.), firstly, according to the naming of the input device, which region is identified, the driver layer (kernel) identification in the above step In the special partition touch, the input device reported to the framework layer on the driver layer is input1, instead of being reported with input0, that is, the framework layer does not need to be judged. The current touch point is in which partition, and there is no need to judge the size and position of the partition. These judgment operations are completed on the driver layer, and the driver layer reports the specific touch device in addition to which input device is reported. Item parameters to the frame layer, such as pressing time, position coordinates, pressure size, and so on.
当触控操作的触控点落入普通分区时,移动终端的驱动层则通过普通分区所对应的输入设备上报该触控点。When the touch point of the touch operation falls into the normal partition, the driving layer of the mobile terminal reports the touch point through the input device corresponding to the normal partition.
在框架(Framework)层接收到上报事件(上报事件包括输入设备以及触控点各项参数等)后,首先根据输入设备的命名,识别是哪一个区域,如上一步骤中驱动层(kernel)识别是在普通分区触控,则驱动层上报到框架层的输入设备是input0,而不是用input1来上报,即,框架层不需要判断当前触控点在哪一个分区,也不需要判断分区的大小和位置,这些判断操作在驱动层上完成,并且,驱动层除了上报具体是哪一个输入设备,还会上报该触控点的各项参数至框架层,例如按压时间,位置坐标,压力大小等等。After receiving the reported event in the framework layer (the reported event includes the input device and the parameters of the touch point, etc.), firstly, according to the naming of the input device, which region is identified, the driver layer (kernel) identification in the above step In the normal partition touch, the input device reported to the framework layer on the driver layer is input0, instead of using input1 to report, that is, the framework layer does not need to determine which partition the current touch point is in, and does not need to determine the size of the partition. And the position, the judgment operation is completed on the driving layer, and the driving layer not only reports which input device is specifically, but also reports various parameters of the touch point to the frame layer, such as pressing time, position coordinates, pressure size, etc. Wait.
所述常规处理该触控操作,即按照现有技术中的常规流程对触控操作进行处理。例如,终端的框架层接收到普通分区所对应的输入设备上报的触控点后,按照正常流程继续上报该触控点,以执行相应的操作指令。The touch operation is conventionally processed, that is, the touch operation is processed according to a conventional process in the prior art. For example, after receiving the touch point reported by the input device corresponding to the normal partition, the frame layer of the terminal continues to report the touch point according to the normal process to execute the corresponding operation instruction.
从而,本实施例通过不对特殊分区上报的触控操作进行常规处理,而是根据该触控操作生成特效,同样实现了防止误操作。Therefore, the present embodiment does not perform normal processing on the touch operation reported by the special partition, but generates special effects according to the touch operation, and also prevents misoperation.
本实施例通过定义的边缘区域以及自定义每个边缘区域与不同界面模式对应的操作项,使得用户在不同的界面模式中可以根据预设自动启用不同的功能,使得用户可以从边缘方便的调用出适合当前界面的操作项,充分利用了边缘与界面结合,提高用户体验。In this embodiment, the defined edge area and the operation item corresponding to the different interface modes are customized, so that the user can automatically enable different functions according to the preset in different interface modes, so that the user can conveniently call from the edge. The operation items suitable for the current interface make full use of the combination of the edge and the interface to improve the user experience.
实施例二Embodiment 2
本实施例的方法步骤参考图3,在包括图3中的步骤S100、S200和S300 的基础上,上述界面模式包括使用模式,当该边缘区域包括多块时,边缘区域与使用模式对应预设的操作项包括但不限于显示剪贴板、软键盘、回收站、临时存储区域中的至少一种。The method steps of this embodiment refer to FIG. 3, including steps S100, S200, and S300 in FIG. On the basis of the above, the interface mode includes a usage mode. When the edge region includes multiple blocks, the preset operation items corresponding to the edge region and the usage mode include, but are not limited to, displaying a clipboard, a soft keyboard, a recycle bin, and a temporary storage area. At least one.
上述界面模式包括防误触模式,当该边缘区域包括一块时,边缘区域与防误触模式对应预设的操作项为忽略在边缘区域的触控操作。The interface mode includes an anti-missing mode. When the edge area includes one piece, the edge area and the anti-missing mode correspond to a preset operation item to ignore the touch operation in the edge area.
获取当前界面所在的模式可以根据预设的界面信息与当前界面的对应关系来识别,即确定当前界面的界面信息;根据当前界面的界面信息与预设的界面模式之间的对应关系,确定当前界面的模式。例如,当预设的与使用模式对应的应用程序(或界面信息)为浏览器、微信、QQ(等应用界面)时,若用户打开这几个界面中的一个或者几个,则判断当前的界面模式为使用模式。再例如,当预设的与防误触模式对应的界面信息为桌面时,若用户打开或回到桌面,则判断当前的界面模式为防误触模式。The mode in which the current interface is located may be identified according to the corresponding relationship between the preset interface information and the current interface, that is, the interface information of the current interface is determined; and the current relationship between the interface information of the current interface and the preset interface mode determines the current relationship. The mode of the interface. For example, when the preset application (or interface information) corresponding to the usage mode is a browser, WeChat, QQ (such as an application interface), if the user opens one or several of the several interfaces, the current The interface mode is the usage mode. For example, when the preset interface information corresponding to the anti-missing mode is the desktop, if the user opens or returns to the desktop, it is determined that the current interface mode is the anti-missing mode.
本实施例通过在右边缘区域预设剪贴板和软键盘,使得用户在需要编辑文字时,可以很便捷的从右侧调出,在右侧边缘区域预设回收站便于用户将删除的内容暂时存放在回收站里,而预设的存储区则方便用户临时存储在浏览网页或临时聊天时选中的图片,当当前界面模式为防误触模式,则自动忽略在边缘区域的触控操作以防止由于用户手握终端的方式触碰到终端边缘带来的误操作。In this embodiment, the clipboard and the soft keyboard are preset in the right edge area, so that when the user needs to edit the text, the user can conveniently call out from the right side, and the recycle bin is preset in the right edge area to facilitate the user to temporarily delete the deleted content. It is stored in the recycle bin, and the preset storage area is convenient for the user to temporarily store the selected picture when browsing the webpage or temporarily chatting. When the current interface mode is anti-missing mode, the touch operation in the edge area is automatically ignored to prevent The user touches the terminal to touch the wrong operation caused by the edge of the terminal.
实施例三Embodiment 3
图4为根据本发明的另一实施例的终端的触控操作方法的流程图,如图4所示,该方法在包括上述步骤S300的基础上,上述步骤S100具体为:FIG. 4 is a flowchart of a touch operation method of a terminal according to another embodiment of the present invention. As shown in FIG. 4, the method includes the above step S300, and the foregoing step S100 is specifically:
S110、接收触控操作并获取触控区域的坐标。S110. Receive a touch operation and acquire coordinates of the touch area.
上述步骤S200具体为:The above step S200 is specifically:
S210、将获取的触控操作的触控点的坐标与预设的边缘区域的坐标进行比较,判断获取的触控操作的触控点的坐标是否在边缘区域的坐标范围 内,若是,则判断触控操作的触控点在边缘区域内,否则,判断触控操作的触控点不在边缘区域内。S210. Compare the coordinates of the touch point of the touch operation with the coordinates of the preset edge area, and determine whether the coordinates of the touch point of the obtained touch operation are in the coordinate range of the edge area. If yes, it is determined that the touch point of the touch operation is in the edge area; otherwise, the touch point of the touch operation is determined not to be in the edge area.
其中,上述预设的边缘区域的大小可以是一个固定的值,当边缘区域包括多块时,可以与每个边缘区域设置一个对应的input设备,用于调整该边缘区域的位置和大小,当边缘区域的大小为变量时,可以通过开发商预留的接口参数进行修改来实现,如图5所示,开发商在上层通过驱动层留有的接口Set_zone(id,X0,Y0,X1,Y1)供用户设置,图5中id为1时表示左边缘区域,对应预设的坐标为(X0,Y0,X1,Y1),id为2时表示右边缘区域,对应预设的坐标为(X0’,Y0’,X1’,Y1’),在上述接口函数中可以预设。The size of the preset edge area may be a fixed value. When the edge area includes multiple blocks, a corresponding input device may be disposed with each edge area for adjusting the position and size of the edge area. When the size of the edge area is a variable, it can be modified by the interface parameters reserved by the developer. As shown in Figure 5, the developer sets the interface Set_zone (id, X 0 , Y 0 , X) in the upper layer through the driver layer. 1 , Y 1 ) is set by the user. When id is 1 in Figure 5, it indicates the left edge area, the corresponding preset coordinates are (X 0 , Y 0 , X 1 , Y 1 ), and the id is 2 indicates the right edge area. The corresponding preset coordinates are (X 0 ', Y 0 ', X 1 ', Y 1 '), which can be preset in the above interface function.
图5中普通分区简称为A区,将边缘区域简称为C区,触控事件的上报流程如图6所示:In Figure 5, the common partition is referred to as the A area, and the edge area is referred to as the C area. The reporting process of the touch event is shown in Figure 6:
驱动层通过物理硬件如触摸屏接收触控事件,并判断触控操作发生在A区还是C区,并通过A区或C区设备文件节点上报事件。Native层从A区、C区的设备文件中读取事件,并对A区、C区的事件进行处理,如坐标计算,通过设备ID对A、C区的事件进行区分,如设备ID=0认为驱动层中上报的输入设备是input0,如果设备ID=1认为驱动层中上报的输入设备是input1,最后分别派发A区和C区事件。其中A区事件走原生流程,按通常的方式对A区事件进行处理,即,通过多通道的机制进行处理;C区事件则从事先注册到Native层的C区专用通道进行派发,由Native端口输入,系统端口输出至C区事件结束系统服务,通过监听器(listener)监听C区事件,再通过C区事件接收对外接口上报至各应用。本发明实施例利用移动终端的驱动层代码就可以实现防误触区即边缘区域的自由定制,因此本技术方案的实现是在驱动层中而非固件中,这使得设备的软件设计摆脱了触屏IC供应商的束缚,实现更加灵活,成本更低。The driving layer receives the touch event through physical hardware such as a touch screen, and determines whether the touch operation occurs in the A area or the C area, and reports the event through the device file node of the A area or the C area. The Native layer reads events from the device files in Areas A and C, and processes events in Areas A and C, such as coordinate calculations, and distinguishes events in Areas A and C by device ID, such as device ID=0. It is considered that the input device reported in the driver layer is input0. If the device ID=1 is that the input device reported in the driver layer is input1, the A zone and C zone events are respectively distributed. The A zone event takes the original process, and processes the A zone event in the usual way, that is, through the multi-channel mechanism; the C zone event is distributed from the C zone dedicated channel registered in advance to the Native layer, by the Native port. Input, system port output to the C area event end system service, listen to the C area event through the listener (listener), and then report the external interface to each application through the C area event. The embodiment of the present invention can realize the free customization of the anti-missing area, that is, the edge area, by using the driver layer code of the mobile terminal. Therefore, the implementation of the technical solution is in the driver layer instead of the firmware, which makes the software design of the device get rid of the touch. The constraints of screen IC suppliers are more flexible and cost-effective.
特殊分区优选如图5所示,数量为两个,分别位于触控区的两侧边缘, 触控区剩余区域则为普通分区。或者,如图5所示,普通分区包括A区和B区,其中A区为可操作区域,用于检测触摸点坐标,B区为虚拟按键区域,用于检测菜单键、Home键、返回键等,两个特殊分区分别设于触控区边缘并位于A区两侧。此外,也可以根据需要将特殊分区设于其它任何容易导致误操作的区域,或者只设置一个特殊分区或设置多个边缘区域。The special partitions are preferably as shown in FIG. 5, and the number is two, which are respectively located at the two sides of the touch area. The remaining area of the touch area is a normal partition. Or, as shown in FIG. 5, the common partition includes an A area and an B area, wherein the A area is an operable area for detecting touch point coordinates, and the B area is a virtual key area for detecting a menu key, a Home key, and a return key. Etc. Two special partitions are respectively located at the edge of the touch area and located on both sides of the A area. In addition, you can set the special partition to any other area that is easy to cause misoperation, or set only one special partition or set multiple edge areas.
分区设置完成后,可以在触摸屏驱动初始化时通过input_register_device()指令注册两个输入设备(input),如输入设备0(input0)和输入设备1(input1)。并通过input_allocate_device()指令为每一个分区分配一个输入设备,如普通分区对应输入设备0,边缘区域对应输入设备1。After the partition setting is completed, two input devices (input) such as input device 0 (input0) and input device 1 (input1) can be registered by the input_register_device() instruction when the touch screen driver is initialized. An input device is allocated for each partition by the input_allocate_device() instruction, for example, the normal partition corresponds to the input device 0, and the edge region corresponds to the input device 1.
实施该分区的具体方法可以通过利用面向对象化的方式,定义普通分区和边缘区域的类别以及实现方式,在判断是边缘区域后,通过EventHub函数将不同分辨率的触控点坐标转化为LCD的坐标,定义单通道函数(例如serverchannel和clientchannel等),该函数的作用是,当收到上报事件后,将该事件通过该通道传递至事件管理器(TouchEventManager),通过监听器的监听,将该事件通过多通道同时或逐一传递至多个响应的应用模块下,也可以只传递给其中的一个应用模块,应用模块如camera、gallery等,不同应用模块产生相应的操作。当然,上述步骤的具体实现也可以为其他方式的步骤实现,本发明实施例对此不做限制。The specific method of implementing the partition can define the categories and implementation manners of the common partitions and edge regions by using the object-oriented method. After determining the edge regions, the coordinates of the touch points of different resolutions are converted into LCDs by the EventHub function. Coordinates, define single-channel functions (such as serverchannel and clientchannel, etc.). The function of this function is to pass the event to the event manager (TouchEventManager) through the channel after receiving the reported event, and listen to it through the listener. The event is transmitted to multiple response application modules simultaneously or one by one through multiple channels, or can be transmitted only to one of the application modules, such as camera, gallery, etc., and different application modules generate corresponding operations. Certainly, the specific implementation of the foregoing steps may also be implemented in other manners, which is not limited by the embodiment of the present invention.
在接收到来自普通分区所对应的输入设备上报的触控操作时,系统接收到上报事件(上报事件包括input设备以及触控点各项参数等)后,根据输入设备的命名,识别是哪一个区域。After receiving the touch operation reported from the input device corresponding to the normal partition, the system receives the reported event (the reported event includes the input device and the parameters of the touch point, etc.), and then identifies which one is based on the naming of the input device. region.
本实施例通过提供判断触控操作的触控点是否在边缘区域内的方法,并提供边缘区域的大小可供用户设置的方法,使得用户可以根据自己的需求和喜好调整边缘区域的大小。In this embodiment, the method for determining whether the touch point of the touch operation is in the edge region is provided, and the method for setting the size of the edge region for the user is provided, so that the user can adjust the size of the edge region according to his own needs and preferences.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存 储有计算机可执行指令,所述计算机可执行指令用于执行前述终端的触控操作方法。An embodiment of the present invention further provides a computer storage medium, where the computer storage medium is stored There are stored computer executable instructions for performing a touch operation method of the terminal.
实施例四Embodiment 4
图7为根据本发明的一个实施例的终端的触控操作装置的示范性结构框图,下面根据图7来描述根据本发明的一个实施例的终端的触控操作装置100,如图7所示,该装置包括:FIG. 7 is a block diagram showing an exemplary structure of a touch operation device of a terminal according to an embodiment of the present invention. The touch operation device 100 of the terminal according to an embodiment of the present invention is described below with reference to FIG. , the device includes:
触控操作接收模块01,配置为接收触控操作;The touch operation receiving module 01 is configured to receive a touch operation;
判断模块02,配置为判断触控操作的触控点是否在边缘区域内;The determining module 02 is configured to determine whether the touch point of the touch operation is in the edge area;
操作项执行模块03,配置为若触控操作的触控点在边缘区域内,则获取当前界面的模式,并针对触控操作的触控点所在的边缘区域,执行与获取到的界面模式对应的预设操作项;否则,对触控操作做常规处理。The operation item execution module 03 is configured to acquire a mode of the current interface if the touch point of the touch operation is in the edge area, and perform an interface mode corresponding to the acquired interface mode for the edge area where the touch point of the touch operation is located The default operation item; otherwise, the touch operation is routinely processed.
其中,上述操作项执行模块03具体配置为:The operation item execution module 03 is specifically configured as follows:
当当前的界面模式为使用模式时,在边缘区域显示剪贴板、软键盘、回收站和/或临时存储区域中的至少一种。When the current interface mode is the usage mode, at least one of a clipboard, a soft keyboard, a recycle bin, and/or a temporary storage area is displayed in the edge area.
该操作项执行模块03具体还配置为:The operation item execution module 03 is further configured to:
当当前界面模式为防误触模式时,忽略在边缘区域的触控操作。When the current interface mode is the anti-missing mode, the touch operation in the edge area is ignored.
作为可选地,该终端的触控操作装置100具体还包括:Optionally, the touch operation device 100 of the terminal further includes:
坐标获取单元,配置为获取所述触控操作的触控点的坐标;a coordinate acquiring unit configured to acquire coordinates of a touch point of the touch operation;
坐标比较单元,配置为将获取的触控操作的触控点的坐标与预设的边缘区域的坐标进行比较,判断获取的触控操作的触控点的坐标是否在边缘区域的坐标范围内,若是,则判断触控操作的触控点在边缘区域内,否则,判断触控操作的触控点不在边缘区域内。The coordinate comparison unit is configured to compare the coordinates of the touch point of the touch operation with the coordinates of the preset edge area, and determine whether the coordinates of the touch point of the obtained touch operation are within the coordinate range of the edge area, If yes, it is determined that the touch point of the touch operation is in the edge area; otherwise, the touch point of the touch operation is determined not to be in the edge area.
所述操作项执行模块03,还配置为:确定当前界面的界面信息;根据当前界面的界面信息与预设的界面模式之间的对应关系,确定当前界面的 模式。The operation item execution module 03 is further configured to: determine interface information of the current interface; determine the current interface according to the correspondence between the interface information of the current interface and the preset interface mode. mode.
所述边缘区域的位置和/或大小通过预设的接口参数进行改变。The position and/or size of the edge region is changed by preset interface parameters.
所述边缘区域与预设的普通分区不同;The edge area is different from a preset normal partition;
所述装置还包括:The device also includes:
分配单元,配置为为所述普通分区与所述边缘区域分配对应的输入设备;An allocating unit configured to allocate a corresponding input device to the common partition and the edge region;
驱动层,接收触控操作并判断该触控操作的发生区域;Driving layer, receiving a touch operation and determining an occurrence area of the touch operation;
当驱动层判断为所述触控操作发生在所述边缘区域内时,由与所述边缘区域对应的输入设备进行触控事件的上报;When the driving layer determines that the touch operation occurs in the edge region, the touch event is reported by the input device corresponding to the edge region;
当驱动层判断为所述触控操作发生在所述普通分区时,由与所述普通分区对应的输入设备进行触控事件的上报。When the driving layer determines that the touch operation occurs in the normal partition, the touch event is reported by the input device corresponding to the normal partition.
其中,所述装置至少还包括框架层,所述框架层根据上报的触控事件的输入设备的设备标识ID,对所述触控事件进行识别。The device further includes at least a frame layer, and the frame layer identifies the touch event according to the device identifier ID of the input device of the reported touch event.
实施例五Embodiment 5
本实施例提供了一种终端,该终端包括上述的终端的触控操作装置。This embodiment provides a terminal, where the terminal includes the touch operation device of the terminal.
本发明通过本通过定义的边缘区域以及自定义每个边缘区域与不同界面模式对应的操作项,使得用户在不同的界面中可以根据预设自动启用不同的功能,使得用户可以从边缘方便的调用出适合当前界面的操作项,充分利用了边缘与界面的结合,提高用户体验。The present invention enables the user to automatically enable different functions according to presets in the different interfaces by using the defined edge regions and customizing the operation items corresponding to the different interface modes in each edge region, so that the user can conveniently call from the edge. The operation items suitable for the current interface make full use of the combination of the edge and the interface to improve the user experience.
在实际应用中,所述触控操作接收模块01、所述判断模块02、所述操作项执行模块03均可由中央处理单元(CPU,Central Processing Unit)、或数字信号处理(DSP,Digital Signal Processor)、或微处理器(MPU,Micro Processor Unit)、或现场可编程门阵列(FPGA,Field Programmable Gate Array)等来实现。In an actual application, the touch operation receiving module 01, the determining module 02, and the operation item executing module 03 may be processed by a central processing unit (CPU) or digital signal processing (DSP, Digital Signal Processor). ), or a microprocessor (MPU, Micro Processor Unit), or a Field Programmable Gate Array (FPGA).
本发明实施例还提供的触控操作装置和终端,由于其解决问题的原理 与前述的终端的触控操作方法相似,因此,装置和终端的实施过程及实施原理均可以参见前述方法的实施过程及实施原理描述,重复之处不再赘述。The touch operation device and the terminal provided by the embodiment of the invention are based on the principle of solving the problem It is similar to the touch operation method of the foregoing terminal. Therefore, the implementation process and the implementation principle of the device and the terminal can be referred to the implementation process and the implementation principle of the foregoing method, and the repeated description is not repeated.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal device (which may be a cell phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.
工业实用性Industrial applicability
本发明实施例中,接收触控操作,判断所述触控操作的触控点是否在所述边缘区域内;若所述触控操作的触控点在所述边缘区域内,则获取当前界面的模式,并执行与获取到的界面模式对应的预设操作项;否则,对所述触控操作做常规处理。通过定义的边缘区域以及自定义的每个边缘区域与不同界面模式对应的操作项,使得用户在不同的界面模式中可以根据预设自动启用不同的功能,使得用户可以从边缘方便的调用出适合当前界面模式的操作项,充分利用了边缘与界面模式结合,提高用户体验。 In the embodiment of the present invention, the touch operation is received to determine whether the touch point of the touch operation is in the edge area; if the touch point of the touch operation is in the edge area, the current interface is obtained. a mode, and executing a preset operation item corresponding to the acquired interface mode; otherwise, performing normal processing on the touch operation. Through the defined edge area and the customized operation item corresponding to each interface area and different interface modes, the user can automatically enable different functions according to the preset in different interface modes, so that the user can conveniently call out from the edge. The operation items of the current interface mode make full use of the combination of the edge and the interface mode to improve the user experience.

Claims (20)

  1. 一种终端的触控操作方法,终端预设有至少一块边缘区域,所述终端针对每个边缘区域预设有与不同界面模式对应的操作项,所述方法包括:A touch operation method of the terminal, the terminal is pre-configured with at least one edge area, and the terminal is provided with an operation item corresponding to the different interface mode for each edge area, and the method includes:
    接收触控操作;Receiving touch operations;
    判断所述触控操作的触控点是否在所述边缘区域内;Determining whether the touch point of the touch operation is in the edge area;
    若所述触控操作的触控点在所述边缘区域内,则获取当前界面的模式,并针对所述触控操作的触控点所在的所述边缘区域,执行与获取到的界面模式对应的预设操作项;否则,对所述触控操作做常规处理。If the touch point of the touch operation is in the edge area, the mode of the current interface is acquired, and the edge area where the touch point of the touch operation is located is performed, and the interface mode corresponding to the acquired interface mode is executed. The preset operation item; otherwise, the touch operation is routinely processed.
  2. 根据权利要求1所述的终端的触控操作方法,其中,所述边缘区域包括左边缘区域和/或右边缘区域。The touch operation method of the terminal according to claim 1, wherein the edge region comprises a left edge region and/or a right edge region.
  3. 根据权利要求2所述的终端的触控操作方法,其中,所述界面模式包括使用模式,所述边缘区域与所述使用模式对应的预设操作项包括显示剪贴板、软键盘、回收站和/或临时存储区域中的至少一种。The touch operation method of the terminal according to claim 2, wherein the interface mode comprises a usage mode, and the preset operation items corresponding to the usage mode of the edge region comprise a display clipboard, a soft keyboard, a recycle bin, and / or at least one of the temporary storage areas.
  4. 根据权利要求1至3任一项所述的终端的触控操作方法,其中,所述界面模式包括防误触模式,所述边缘区域与所述防误触模式对应的预设操作项为忽略在所述边缘区域的触控操作。The touch operation method of the terminal according to any one of claims 1 to 3, wherein the interface mode includes an anti-missing mode, and the preset operation item corresponding to the edge area and the anti-missing mode is ignored. A touch operation in the edge region.
  5. 根据权利要求1至3任一项所述的终端的触控操作方法,其中,判断所述触控操作的触控点是否在所述边缘区域内,包括:The touch operation method of the terminal according to any one of claims 1 to 3, wherein determining whether the touch point of the touch operation is in the edge area comprises:
    获取所述触控操作的触控点的坐标;Obtaining coordinates of the touch point of the touch operation;
    将获取到的所述触控操作的触控点的坐标与预设的边缘区域的坐标进行比较,判断获取到的所述触控操作的触控点的坐标是否在所述边缘区域的坐标范围内,若是,则判断所述触控操作的触控点在所述边缘区域内,否则,判断所述触控操作的触控点不在所述边缘区域内。Comparing the coordinates of the touch points of the touch operation with the coordinates of the preset edge area, and determining whether the coordinates of the touch points of the touch operation are in the coordinate range of the edge area If yes, the touch point of the touch operation is determined to be in the edge area; otherwise, the touch point of the touch operation is determined not to be in the edge area.
  6. 根据权利要求1所述的终端的触控操作方法,其中,所述获取当前界面的模式,包括: The touch operation method of the terminal according to claim 1, wherein the acquiring the mode of the current interface comprises:
    确定当前界面的界面信息;Determine the interface information of the current interface;
    根据当前界面的界面信息与预设的界面模式之间的对应关系,确定当前界面的模式。The mode of the current interface is determined according to the correspondence between the interface information of the current interface and the preset interface mode.
  7. 根据权利要求1所述的终端的触控操作方法,其中,所述终端还包括普通分区,所述普通分区与所述边缘区域不同;The touch operation method of the terminal according to claim 1, wherein the terminal further comprises a common partition, and the normal partition is different from the edge area;
    为所述普通分区与所述边缘区域分配对应的输入设备;Allocating a corresponding input device to the common partition and the edge region;
    所述终端的驱动层通过终端的触摸屏接收触控操作;The driving layer of the terminal receives a touch operation through a touch screen of the terminal;
    当驱动层判断为所述触控操作发生在所述边缘区域内时,由与所述边缘区域对应的输入设备进行触控事件的上报;When the driving layer determines that the touch operation occurs in the edge region, the touch event is reported by the input device corresponding to the edge region;
    当驱动层判断为所述触控操作发生在所述普通分区时,由与所述普通分区对应的输入设备进行触控事件的上报。When the driving layer determines that the touch operation occurs in the normal partition, the touch event is reported by the input device corresponding to the normal partition.
  8. 根据权利要求7所述的终端的触控操作方法,其中,所述终端至少还包括框架层,所述框架层根据上报的触控事件的输入设备的设备标识ID,对所述触控事件进行识别。The touch operation method of the terminal according to claim 7, wherein the terminal further comprises at least a frame layer, and the frame layer performs the touch event according to the device identification ID of the input device of the reported touch event. Identification.
  9. 根据权利要求1所述的终端的触控操作方法,其中,所述边缘区域的位置和/或大小通过预设的接口参数进行改变。The touch operation method of the terminal according to claim 1, wherein the position and/or size of the edge region is changed by a preset interface parameter.
  10. 一种触控操作装置,所述装置包括:A touch operating device, the device comprising:
    触控操作接收模块,配置为接收触控操作;a touch operation receiving module configured to receive a touch operation;
    判断模块,配置为判断获取到的所述触控操作的触控点是否在边缘区域内;The determining module is configured to determine whether the acquired touch point of the touch operation is in an edge region;
    操作项执行模块,配置为若所述触控操作的触控点在所述边缘区域内,则获取当前界面的模式,并针对所述触控操作的触控点所在的所述边缘区域,执行与获取到的界面模式对应的预设操作项;否则,对所述触控操作做常规处理。An operation item execution module is configured to acquire a mode of the current interface, and perform, for the edge area where the touch point of the touch operation is located, if the touch point of the touch operation is in the edge area a preset operation item corresponding to the acquired interface mode; otherwise, the touch operation is routinely processed.
  11. 根据权利要求10所述的装置,其中,所述装置还包括: The device of claim 10, wherein the device further comprises:
    坐标获取单元,配置为获取所述触控操作的触控点的坐标;a coordinate acquiring unit configured to acquire coordinates of a touch point of the touch operation;
    坐标比较单元,配置为将获取的触控操作的触控点的坐标与预设的边缘区域的坐标进行比较,判断获取的触控操作的触控点的坐标是否在所述边缘区域的坐标范围内,若是,则判断所述触控操作的触控点在所述边缘区域内,否则,判断所述触控操作的触控点不在所述边缘区域内。The coordinate comparison unit is configured to compare the coordinates of the touch point of the touch operation with the coordinates of the preset edge area, and determine whether the coordinates of the touch point of the obtained touch operation are in the coordinate range of the edge area. If yes, the touch point of the touch operation is determined to be in the edge area; otherwise, the touch point of the touch operation is determined not to be in the edge area.
  12. 根据权利要求10或11所述的装置,其中,操作项执行模块还配置为:The apparatus according to claim 10 or 11, wherein the operation item execution module is further configured to:
    当当前界面的模式为使用模式时,在所述边缘区域显示剪贴板、软键盘、回收站和/或临时存储区域中的至少一种。When the mode of the current interface is the usage mode, at least one of a clipboard, a soft keyboard, a recycle bin, and/or a temporary storage area is displayed in the edge area.
  13. 根据权利要求10或11或12所述的装置,其中,操作项执行模块还配置为:The apparatus according to claim 10 or 11 or 12, wherein the operation item execution module is further configured to:
    当当前界面的模式为防误触模式时,忽略在所述边缘区域的触控操作。When the mode of the current interface is the anti-missing mode, the touch operation in the edge area is ignored.
  14. 根据权利要求10所述的装置,其中,所述边缘区域包括左边缘区域和/或右边缘区域。The device of claim 10, wherein the edge region comprises a left edge region and/or a right edge region.
  15. 根据权利要求10所述的装置,其中,所述操作项执行模块,还配置为:The device according to claim 10, wherein the operation item execution module is further configured to:
    确定当前界面的界面信息;Determine the interface information of the current interface;
    根据当前界面的界面信息与预设的界面模式之间的对应关系,确定当前界面的模式。The mode of the current interface is determined according to the correspondence between the interface information of the current interface and the preset interface mode.
  16. 根据权利要求10所述的装置,其中,所述边缘区域的位置和/或大小通过预设的接口参数进行改变。The apparatus of claim 10 wherein the location and/or size of the edge region is changed by a preset interface parameter.
  17. 根据权利要求10所述的装置,其中,所述边缘区域与预设的普通分区不同;The device according to claim 10, wherein the edge region is different from a preset normal partition;
    所述装置还包括:The device also includes:
    分配单元,配置为为所述普通分区与所述边缘区域分配对应的输入设 备;An allocation unit configured to allocate a corresponding input setting for the normal partition and the edge area Prepared
    驱动层,接收触控操作并判断该触控操作的发生区域;Driving layer, receiving a touch operation and determining an occurrence area of the touch operation;
    当驱动层判断为所述触控操作发生在所述边缘区域内时,由与所述边缘区域对应的输入设备进行触控事件的上报;When the driving layer determines that the touch operation occurs in the edge region, the touch event is reported by the input device corresponding to the edge region;
    当驱动层判断为所述触控操作发生在所述普通分区时,由与所述普通分区对应的输入设备进行触控事件的上报。When the driving layer determines that the touch operation occurs in the normal partition, the touch event is reported by the input device corresponding to the normal partition.
  18. 根据权利要求17所述的装置,其中,所述装置至少还包括框架层,所述框架层根据上报的触控事件的输入设备的设备标识ID,对所述触控事件进行识别。The device according to claim 17, wherein the device further comprises at least a frame layer, the frame layer identifying the touch event according to the device identification ID of the input device of the reported touch event.
  19. 一种终端,所述终端包括上述权利要求10~18任一项所述的触控操作装置。A terminal comprising the touch operation device according to any one of claims 10 to 18.
  20. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至9任一项所述的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of any one of claims 1 to 9.
PCT/CN2016/074166 2015-03-31 2016-02-19 Terminal, touch operation method therefor and device thereof, and storage medium WO2016155431A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510148800.2A CN104777979B (en) 2015-03-31 2015-03-31 Terminal and its touch operation method and device
CN201510148800.2 2015-03-31

Publications (1)

Publication Number Publication Date
WO2016155431A1 true WO2016155431A1 (en) 2016-10-06

Family

ID=53619479

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074166 WO2016155431A1 (en) 2015-03-31 2016-02-19 Terminal, touch operation method therefor and device thereof, and storage medium

Country Status (2)

Country Link
CN (1) CN104777979B (en)
WO (1) WO2016155431A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324226A (en) * 2018-12-13 2020-06-23 鸿合科技股份有限公司 Touch message processing method and device and electronic equipment

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104777979B (en) * 2015-03-31 2017-03-08 努比亚技术有限公司 Terminal and its touch operation method and device
CN105159596A (en) * 2015-09-30 2015-12-16 努比亚技术有限公司 Method and apparatus for reducing misoperations of bezel-free touch screen
CN105094625A (en) * 2015-09-30 2015-11-25 联想(北京)有限公司 Information processing method and device as well as electronic equipment
CN108401061A (en) * 2017-02-04 2018-08-14 中兴通讯股份有限公司 A kind of terminal control method and device and terminal
CN106991014A (en) * 2017-02-28 2017-07-28 努比亚技术有限公司 A kind of method, device and mobile terminal for handling user's incoming event
CN108536498B (en) * 2017-12-29 2021-06-01 Oppo广东移动通信有限公司 Electronic device, chat interface control method and related product
CN109876429B (en) * 2019-01-24 2023-01-20 吴宏琴 Direction control method based on game scene, mobile terminal and storage medium
CN113821129A (en) * 2020-06-19 2021-12-21 华为技术有限公司 Display window control method and electronic equipment
CN114185453A (en) * 2021-12-06 2022-03-15 深圳市奇脉电子技术有限公司 Method for realizing two-dimensional control of brightness and color temperature based on touch screen

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120062494A1 (en) * 2008-04-16 2012-03-15 Htc Corporation Mobile electronic device, controlling method thereof and non-transitory recording medium thereof
CN103176653A (en) * 2013-03-13 2013-06-26 向运明 Handheld type device touch control display screen wrong-touch prevention method
CN103558944A (en) * 2013-11-14 2014-02-05 朱鹏 Method for detecting accidental touch on screen by fingers, and mobile terminal
US20140184572A1 (en) * 2012-12-28 2014-07-03 Canon Kabushiki Kaisha Information processing apparatus and method for controlling the same
CN104731502A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Double-click recognition method and device based on virtual partition touch screen and mobile terminal
CN104777979A (en) * 2015-03-31 2015-07-15 努比亚技术有限公司 Terminal as well as touch operation method and device for same

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216657A (en) * 2014-09-05 2014-12-17 深圳市中兴移动通信有限公司 Mobile terminal and operating method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120062494A1 (en) * 2008-04-16 2012-03-15 Htc Corporation Mobile electronic device, controlling method thereof and non-transitory recording medium thereof
US20140184572A1 (en) * 2012-12-28 2014-07-03 Canon Kabushiki Kaisha Information processing apparatus and method for controlling the same
CN103176653A (en) * 2013-03-13 2013-06-26 向运明 Handheld type device touch control display screen wrong-touch prevention method
CN103558944A (en) * 2013-11-14 2014-02-05 朱鹏 Method for detecting accidental touch on screen by fingers, and mobile terminal
CN104731502A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Double-click recognition method and device based on virtual partition touch screen and mobile terminal
CN104777979A (en) * 2015-03-31 2015-07-15 努比亚技术有限公司 Terminal as well as touch operation method and device for same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111324226A (en) * 2018-12-13 2020-06-23 鸿合科技股份有限公司 Touch message processing method and device and electronic equipment
CN111324226B (en) * 2018-12-13 2024-05-03 鸿合科技股份有限公司 Touch message processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN104777979B (en) 2017-03-08
CN104777979A (en) 2015-07-15

Similar Documents

Publication Publication Date Title
WO2016155431A1 (en) Terminal, touch operation method therefor and device thereof, and storage medium
WO2016169483A1 (en) Mobile terminal and function adjustment method using virtual frame region therefor
WO2017143847A1 (en) Associated application multi-screen display device and method, and terminal
WO2016169524A1 (en) Method and device for quickly adjusting screen brightness, mobile terminal and storage medium
WO2016173468A1 (en) Combined operation method and device, touch screen operation method and electronic device
WO2016029766A1 (en) Mobile terminal and operation method thereof and computer storage medium
WO2017071424A1 (en) Mobile terminal and method for sharing file
WO2016155550A1 (en) Application switching method for frameless terminal and frameless terminal
WO2016173422A1 (en) Multi-screen interaction method and system
WO2016169480A1 (en) Mobile terminal control method and device and computer storage medium
WO2016155423A1 (en) Method and terminal for adjusting setting parameters, and computer storage medium
WO2016155454A1 (en) Mobile terminal and slide recognition method for virtual frame area of mobile terminal
WO2016155597A1 (en) Frameless terminal-based application control method and device
WO2016155509A1 (en) Method and device for determining holding mode of mobile terminal
WO2017071599A1 (en) Split-screen size real-time adjustment method, split-screen device and computer storage medium
WO2016173414A1 (en) Mobile terminal and quick start method and device for application program thereof
WO2017020771A1 (en) Terminal control device and method
WO2017012385A1 (en) Method and apparatus for rapidly starting application, and terminal
WO2017107637A1 (en) Mobile phone radio frequency resource allocation method and device
WO2016161986A1 (en) Operation recognition method and apparatus, mobile terminal and computer storage medium
WO2017088631A1 (en) Mobile terminal, increase/decrease adjusting method and apparatus therefor, and storage medium
WO2017008722A1 (en) Intranet-extranet separation-based communication method, server and system
WO2016155434A1 (en) Method and device for recognizing holding of mobile terminal, storage medium, and terminal
WO2017128898A1 (en) Mobile terminal and touch control operation method for mobile terminal
WO2017128912A1 (en) Mobile terminal and touch control operation method therefor

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: 16771186

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: 16771186

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16771186

Country of ref document: EP

Kind code of ref document: A1