CN106254676B - A kind of mobile terminal and the method for controlling numeral input - Google Patents
A kind of mobile terminal and the method for controlling numeral input Download PDFInfo
- Publication number
- CN106254676B CN106254676B CN201610821953.3A CN201610821953A CN106254676B CN 106254676 B CN106254676 B CN 106254676B CN 201610821953 A CN201610821953 A CN 201610821953A CN 106254676 B CN106254676 B CN 106254676B
- Authority
- CN
- China
- Prior art keywords
- position information
- mobile terminal
- frame
- numbers
- character
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 93
- 238000012545 processing Methods 0.000 claims abstract description 64
- 238000001514 detection method Methods 0.000 claims description 29
- 238000013459 approach Methods 0.000 claims description 16
- 238000004891 communication Methods 0.000 description 28
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000010295 mobile communication Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 238000013468 resource allocation Methods 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001629 suppression Effects 0.000 description 1
- 239000010409 thin film Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
A kind of method announced mobile terminal herein and control numeral input, this method comprises: the number of acquisition for mobile terminal input, and by the numeral input of the input of acquisition into the mouth word frame having been displayed;Mobile terminal continues to execute the step of display a bite word frame;When mobile terminal detects the operation of counterpart word frame, the operation trace of acquisition for mobile terminal counterpart word frame;Mobile terminal handle according to processing mode corresponding with operation trace and number saves in order by treated.The embodiment of the present invention improves the efficiency of numeral input, and the user experience is improved.
Description
Technical Field
The present invention relates to, but not limited to, intelligent terminal technologies, and in particular, to a mobile terminal and a method for controlling digital input.
Background
At present, in the input method of the mobile terminal, a switching function between a character input method and a digital input method (for example, when the character input method is switched to the digital input method, a digital editing frame is displayed so as to input a number, and when the digital input method is switched to the character input method, a character editing frame is displayed so as to input a character) is often used, and a component (EditText) for inputting a text is used as an input on a software level.
The EditText can basically meet the requirement for inputting characters, however, when a certain number is input by mistake (185 if needed to be input) when the input is performed by arranging and combining 0-9 numbers, the user needs to locate the position of the input-wrong number, delete the input-wrong number and finally input the correct number again, and the number input is complicated, the efficiency of number input is low, and the user experience is extremely poor.
Disclosure of Invention
The application provides a mobile terminal and a method for controlling digital input, which can improve the efficiency of digital input and improve the user experience.
In order to achieve the object of the present application, an embodiment of the present invention provides a mobile terminal, including: the device comprises a detection module, a display module and a processing module; wherein,
the detection module is used for sending a first notice to the display module when detecting that the mobile terminal to which the detection module belongs is switched to a digital input method; when the operation of the character frame is detected, acquiring an operation track of the character frame;
the display module is used for receiving the first notice from the detection module and displaying a character box; receiving the notice from the processing module and displaying the next frame;
the processing module is used for acquiring input numbers and inputting the acquired input numbers into the displayed spoken word frame; a notification display module; and processing according to a processing mode corresponding to the operation track and storing the processed numbers in sequence.
Optionally, the detection module is further configured to acquire second position information at the input focus; accordingly, the number of the first and second electrodes,
the display module is used for displaying a character frame and comprises: displaying a Chinese character box in a preset range at the obtained second position information;
the display module for displaying the next frame comprises: and displaying the next square frame in the preset range of the second position information according to a preset arrangement mode.
Optionally, the mobile terminal further includes a recording module, configured to record third position information of the spoken word frame.
Optionally, the recording module is further configured to record fourth position information of the number in each square in the storage location.
Optionally, the acquiring, by the detection module, an operation trajectory of the dialog box includes:
acquiring starting position information and ending position information of the operation on the one or more spoken word frames and third position information of one or more spoken word frames of the way;
and determining the operation track according to the obtained starting position, the ending position and the third position information.
Optionally, the mobile terminal further includes a setting module, configured to set a corresponding relationship between different operation trajectories and different processing manners;
wherein, the processing mode comprises copying the numbers in the character frame or exchanging the numbers in the character frame; the operation track comprises: the ending position information is at the position of a certain character frame and does not pass through other character frames or the ending position information is at the position of a certain character frame and passes through other character frames.
Optionally, the processing module, configured to perform processing according to a processing manner corresponding to the operation trajectory, includes:
when the operation track is that the ending position information is at the position of a certain spoken word frame and does not pass through other spoken word frames, acquiring the numbers in the spoken word frame at the starting position information and the numbers in the spoken word frame at the ending position information; exchanging the obtained number in the square frame at the starting position information with the obtained number in the square frame at the ending position information;
when the operation track is that the ending position information is at the position of a certain square frame and approaches other square frames, acquiring the numbers in the square frame at the starting position information and the numbers in the other square frames which approach in sequence; judging whether numbers exist in a square frame at the position of the termination position information; when the number in the square frame at the ending position information is judged to be present, the obtained number in the square frame at the starting position information and the obtained numbers in other square frames which are sequentially passed are stored in the square frame at the ending position information before the fourth position information in the storage position; when the number in the box at the ending position information is judged to be not available, the obtained number in the box at the starting position information and the obtained numbers in other boxes sequentially passing through are stored in the box at the ending position information, and the obtained numbers in the box at the ending position information are stored in the fourth position information of the storage position.
Optionally, the detection module is further configured to, when a double-click operation is detected, obtain first position information of the double-click operation, and send a second notification to the display module; accordingly, the number of the first and second electrodes,
the display module is further configured to receive the second notification from the detection module, and sequentially display the stored numbers at the positions corresponding to the obtained first position information.
The embodiment of the invention also provides a method for controlling digital input, which comprises the following steps:
when the mobile terminal detects that the mobile terminal is switched to a digital input method, the mobile terminal displays a character frame;
the mobile terminal acquires input numbers and inputs the acquired input numbers into a displayed spoken word frame; the mobile terminal continues to execute the step of displaying a character frame;
when the mobile terminal detects the operation of the character matching frame, the mobile terminal acquires the operation track of the character matching frame;
and the mobile terminal processes according to the processing mode corresponding to the operation track and stores the processed numbers in sequence.
Optionally, before the mobile terminal displays a font box, the method further includes: the mobile terminal acquires input second position information at a focus;
the mobile terminal displays a character frame comprising: displaying a Chinese character box in a preset range at the obtained second position information;
the step of continuously displaying a character box by the mobile terminal comprises the following steps: and the mobile terminal displays the next square frame in the preset range of the second position information according to a preset arrangement mode.
Optionally, after the mobile terminal displays a password box and before the mobile terminal acquires the input number, the method further comprises: and the mobile terminal records the third position information of the square frame.
Optionally, before the mobile terminal acquires the operation track of the spoken word box, the method further includes: and the mobile terminal records fourth position information of the numbers in each square frame in the storage position.
Optionally, the acquiring the operation track of the dialog box includes:
the mobile terminal acquires the initial position information and the end position information of the operation on the one or more spoken word frames and the third position information of the one or more spoken word frames of the way;
and determining the operation track according to the obtained starting position, the ending position and the third position information.
Optionally, the method further comprises, before: the mobile terminal sets corresponding relations between different operation tracks and processing modes;
wherein, the processing mode comprises copying the numbers in the character frame or exchanging the numbers in the character frame; the operation track comprises: the ending position information is at the position of a certain character frame and does not pass through other character frames or the ending position information is at the position of a certain character frame and passes through other character frames.
Optionally, the processing, by the mobile terminal, according to the processing mode corresponding to the operation trajectory includes:
when the operation track is that the ending position information is at the position of a certain spoken word frame and does not pass through other spoken word frames, acquiring the numbers in the spoken word frame at the starting position information and the numbers in the spoken word frame at the ending position information; exchanging the obtained number in the square frame at the starting position information with the obtained number in the square frame at the ending position information;
when the operation track is that the ending position information is at the position of a certain square frame and approaches other square frames, acquiring the numbers in the square frame at the starting position information and the numbers in the other square frames which approach in sequence; judging whether numbers exist in a square frame at the position of the termination position information; when the number in the square frame at the ending position information is judged to be present, the obtained number in the square frame at the starting position information and the obtained numbers in other square frames which are sequentially passed are stored in the square frame at the ending position information before the fourth position information in the storage position; when the number in the box at the ending position information is judged to be not available, the obtained number in the box at the starting position information and the obtained numbers in other boxes sequentially passing through are stored in the box at the ending position information, and the obtained numbers in the box at the ending position information are stored in the fourth position information of the storage position.
Optionally, the method further comprises: when the mobile terminal detects double-click operation, first position information of the double-click operation is acquired, and stored numbers are sequentially displayed at positions corresponding to the acquired first position information.
The embodiment of the invention comprises the following steps: the mobile terminal acquires input numbers and inputs the acquired input numbers into a displayed spoken word frame; the mobile terminal continues to execute the step of displaying a character frame; when the mobile terminal detects the operation of the character matching frame, the mobile terminal acquires the operation track of the character matching frame; and the mobile terminal processes according to the processing mode corresponding to the operation track and stores the processed numbers in sequence. The embodiment of the invention improves the efficiency of digital input and improves the user experience.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present application;
FIG. 2 is a schematic diagram of a communication system supporting communication between mobile terminals according to the present application;
fig. 3 is a schematic structural diagram of a mobile terminal according to the present application;
FIG. 4 is a flow chart of a method of controlling digital input according to the present application;
FIG. 5(a) is a first schematic diagram of the digital input of the present application;
FIG. 5(b) is a second schematic diagram of the digital input of the present application;
fig. 6 is a flowchart of an embodiment of a method for controlling digital input according to the present application.
Detailed Description
The technical solution of the present invention will be described in more detail with reference to the accompanying drawings and examples.
A mobile terminal implementing various embodiments of the present application will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present application.
The mobile 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, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) A digital broadcasting system reception number of a data broadcasting system, an integrated services for terrestrial digital broadcasting (ISDB-T), etcAnd (5) broadcasting words. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, 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 according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, 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 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve 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 transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals 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 (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately 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 and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present application can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present application is capable of operating will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, 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), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, various embodiments of the method of the present application are proposed.
Fig. 3 is a schematic structural diagram of a mobile terminal according to the present application, as shown in fig. 3, including: a detection module 30, a display module 31 and a processing module 32. Wherein,
the detection module 30 is used for sending a first notification to the display module 31 when detecting that the mobile terminal to which the detection module belongs is switched to a digital input method; and when the operation of the character frame is detected, acquiring the operation track of the character frame.
Optionally, the detecting module 30 is further configured to, when the double-click operation is detected, acquire first position information of the double-click operation, and send a second notification to the display module 31.
A display module 31, configured to receive the first notification from the detection module 30 and display a chinese character box; a notification is received from the processing module 32 and the next spoken word box is displayed.
Optionally, the display module 31 is further configured to receive a second notification from the detection module 30, and sequentially display the saved numbers at the positions corresponding to the obtained first position information.
A processing module 32, configured to obtain an input number and input the obtained input number into the displayed spoken word box; a notification display module 31; and processing according to a processing mode corresponding to the operation track and storing the processed numbers in sequence.
Optionally, the detection module 30 is further configured to obtain second position information at the input focus; accordingly, the number of the first and second electrodes,
the display module 31 for displaying a character box includes: displaying a character box in a preset range at the obtained second position information;
the display module 31 for displaying the next frame includes: and displaying the next square frame in a preset arrangement mode within the preset range of the second position information.
Optionally, the mobile terminal further includes a recording module 33, configured to record third position information of the spoken word frame.
Optionally, the recording module 33 is further configured to record fourth position information of the number in each square in the storage location.
The operation track for acquiring the dialog box in the detection module 30 includes:
acquiring starting position information and ending position information of operation on one or more spoken word frames and third position information of one or more spoken word frames of a path;
and determining an operation track according to the obtained starting position, the ending position and the third position information.
Wherein the start position information is third position information of the square frame at the start position; the termination position information is third position information of the box at the termination position. The third position information of a certain box can be determined according to the recorded third position information of each box.
Optionally, the mobile terminal further includes a setting module 34, configured to set a corresponding relationship between different operation tracks and different processing manners;
wherein, the processing mode comprises copying the numbers in the character frame or exchanging the numbers in the character frame; the operation track comprises: the ending position information is at the position of a certain character frame and does not pass through other character frames or the ending position information is at the position of a certain character frame and passes through other character frames.
The setting module 34 may set that the numbers and the end position information in the copied square frame are corresponding to each other at the position of a square frame and passing through other square frames; the setup module 34 may set the numbers and the end position information in the swap square frame to correspond at the position of a certain square frame and not via other square frames. At this time, the process of the present invention,
the processing module 32 is configured to perform processing according to a processing manner corresponding to the operation trajectory, and includes:
when the operation track is that the ending position information is at the position of a certain spoken word frame and does not pass through other spoken word frames, acquiring the number in the spoken word frame at the starting position information and the number in the spoken word frame at the ending position information; exchanging the numbers in the square frame at the obtained initial position information and the numbers in the square frame at the obtained end position information;
when the operation track is that the ending position information is at the position of a certain square frame and approaches other square frames, acquiring the numbers in the square frame at the starting position information and the numbers in the other square frames which approach in sequence; judging whether numbers exist in a square frame at the position of the termination position information; when the number in the square frame at the ending position information is judged to be present, the obtained number in the square frame at the starting position information and the obtained numbers in other square frames which are sequentially passed are stored in the square frame at the ending position information before the fourth position information in the storage position; when it is judged that there is no number in the box at the end position information, the obtained number in the box at the start position information and the numbers in the other boxes in the sequential path stored in the box at the end position information should be at the fourth position information of the storage position.
In a preferred embodiment, a mobile terminal in the preferred embodiment includes: a setting module 34, a detection module 30, a display module 31, a recording module 33 and a processing module 32. Wherein,
and the setting module 34 is used for setting the corresponding relation between different operation tracks and processing modes.
Wherein, the processing mode comprises copying the numbers in the character frame or exchanging the numbers in the character frame; the operation track comprises: the ending position information is at the position of a certain character frame and does not pass through other character frames or the ending position information is at the position of a certain character frame and passes through other character frames.
The setting module 34 may set that the numbers and the end position information in the copied square frame are corresponding to each other at the position of a square frame and passing through other square frames; the setup module 34 may set the numbers and the end position information in the swap square frame to correspond at the position of a certain square frame and not via other square frames.
The detection module 30 is used for sending a first notification to the display module 31 when detecting that the mobile terminal to which the detection module belongs is switched to a digital input method; when the operation of the character frame is detected, acquiring an operation track of the character frame; when the double-click operation is detected, first position information of the double-click operation is acquired, and a second notification is sent to the display module 31.
A display module 31, configured to receive the first notification from the detection module 30 and display a chinese character box; receiving the notification from the processing module 32, displaying the next spoken word frame; receiving the second notification from the detection module 30, the saved numbers are sequentially displayed at the positions corresponding to the obtained first position information. At this time, the process of the present invention,
the recording module 33 is used for recording third position information of the square frame; and recording fourth position information of the number in each square frame in the storage position.
The operation track for acquiring the dialog box in the detection module 30 includes:
acquiring starting position information and ending position information of operation on one or more spoken word frames and third position information of one or more spoken word frames of a path;
and determining an operation track according to the obtained starting position, the ending position and the third position information.
Wherein the start position information is third position information of the square frame at the start position; the termination position information is third position information of the box at the termination position. The third position information of a certain box can be determined according to the recorded third position information of each box.
A processing module 32, configured to obtain an input number and input the obtained input number into the displayed spoken word box; a notification display module 31; and processing according to a processing mode corresponding to the operation track and storing the processed numbers in sequence.
The processing module 32 is configured to perform processing according to a processing manner corresponding to the operation trajectory, and includes:
when the operation track is that the ending position information is at the position of a certain spoken word frame and does not pass through other spoken word frames, acquiring the number in the spoken word frame at the starting position information and the number in the spoken word frame at the ending position information; exchanging the numbers in the square frame at the obtained initial position information and the numbers in the square frame at the obtained end position information;
when the operation track is that the ending position information is at the position of a certain square frame and approaches other square frames, acquiring the numbers in the square frame at the starting position information and the numbers in the other square frames which approach in sequence; judging whether numbers exist in a square frame at the position of the termination position information; when the number in the square frame at the ending position information is judged to be present, the obtained number in the square frame at the starting position information and the obtained numbers in other square frames which are sequentially passed are stored in the square frame at the ending position information before the fourth position information in the storage position; when it is judged that there is no number in the box at the end position information, the obtained number in the box at the start position information and the numbers in the other boxes in the sequential path stored in the box at the end position information should be at the fourth position information of the storage position.
Optionally, the detection module 30 is further configured to obtain second position information at the input focus; accordingly, the number of the first and second electrodes,
the display module 31 for displaying a character box includes: displaying a character box in a preset range at the obtained second position information;
the display module 31 for displaying the next frame includes: and displaying the next square frame in a preset arrangement mode within the preset range of the second position information.
For the mobile terminal in fig. 3, the present application provides a corresponding method as shown in fig. 4.
Fig. 4 is a flowchart of a method for controlling digital input according to the present application, as shown in fig. 4, including:
step 401: and when the mobile terminal detects that the mobile terminal is switched to the digital input method, the mobile terminal displays a character box.
Optionally, before the mobile terminal displays a font box, the method further includes: the mobile terminal acquires input second position information at a focus;
the mobile terminal displays a character frame comprising: and displaying a letter box within a preset range at the obtained second position information.
Optionally, when the mobile terminal displays a character box, the method further includes: and the mobile terminal displays the area needing to input the number according to a preset amplification mode. As shown in fig. 5(a), when the user switches to the digital input method, the area where the focus is located is enlarged and displayed according to a preset enlargement mode, and a box with a preset size is displayed at the focus in the enlarged area.
When the system is switched to the digital input method, the system of the mobile terminal sends the broadcast which is switched to the digital input method to a window management service (WindowManagerservice); after the WindowManagerservice receives the broadcast, acquiring currently input position information at a focus, namely second position information; a number input box (NumbarEditText) is displayed and enlarged, and a password box is displayed within a preset range at the obtained second position information. Optionally, the method further comprises: when the system is switched to other input methods (such as a text input method), the system of the mobile terminal sends the broadcast which is switched to other input methods to WindowManagerservice, displays that the input frames (such as a text input frame interface) corresponding to other input methods become normal size, and calls the end of NumbarEditText.
Step 402: the mobile terminal acquires input numbers and inputs the acquired input numbers into a displayed spoken word frame; the mobile terminal continues to perform the step of displaying a character box.
Wherein, the step of the mobile terminal continuously executing and displaying a character frame comprises the following steps: and the mobile terminal displays the next square frame in a preset arrangement mode within the preset range of the second position information. As shown in fig. 5(b), after one number is input, the next frame is displayed.
Optionally, after the mobile terminal displays a password box and before the mobile terminal acquires the input number, the method further comprises: and the mobile terminal records the third position information of the square frame.
Step 403: when the mobile terminal detects the operation of the character matching frame, the mobile terminal obtains the operation track of the character matching frame.
Optionally, before the mobile terminal acquires the operation track of the spoken word box, the method further includes: the mobile terminal records fourth position information of the number in each square in the storage position.
Wherein the storage location may be in a list (list) of numbaredittexts.
Wherein, the mobile terminal obtains the operation track of the character frame and includes:
the mobile terminal acquires starting position information and ending position information of operation on one or more spoken word frames and third position information of one or more spoken word frames of a path;
and determining an operation track according to the obtained starting position, the ending position and the third position information.
Wherein the path is defined as touch.
Wherein the start position information is third position information of the square frame at the start position; the termination position information is third position information of the box at the termination position. The third position information of a certain box can be determined according to the recorded third position information of each box.
Step 404: and the mobile terminal processes according to the processing mode corresponding to the operation track and stores the processed numbers in sequence.
Optionally, the method further comprises, before: the mobile terminal sets corresponding relations between different operation tracks and processing modes;
wherein, the processing mode comprises copying the numbers in the character frame or exchanging the numbers in the character frame; the operation track comprises: the ending position information is at the position of a certain character frame and does not pass through other character frames or the ending position information is at the position of a certain character frame and passes through other character frames.
The method comprises the following steps that the numbers in a copied square frame and the information of the ending position are arranged at the position of a square frame and correspond to other square frames; and setting the numbers in the exchange character frames and the termination position information to be corresponding to the positions of certain character frames and other character frames.
The mobile terminal processes according to the processing mode corresponding to the operation track, and the processing method comprises the following steps:
when the operation track is that the ending position information is at the position of a certain spoken word frame and does not pass through other spoken word frames, acquiring the number in the spoken word frame at the starting position information and the number in the spoken word frame at the ending position information; exchanging the numbers in the square frame at the obtained initial position information and the numbers in the square frame at the obtained end position information;
when the operation track is that the ending position information is at the position of a certain square frame and approaches other square frames, acquiring the numbers in the square frame at the starting position information and the numbers in the other square frames which approach in sequence; judging whether numbers exist in a square frame at the position of the termination position information; when the number in the square frame at the ending position information is judged to be present, the obtained number in the square frame at the starting position information and the obtained numbers in other square frames which are sequentially passed are stored in the square frame at the ending position information before the fourth position information in the storage position; when it is judged that there is no number in the box at the end position information, the obtained number in the box at the start position information and the numbers in the other boxes in the sequential path stored in the box at the end position information should be at the fourth position information of the storage position.
For example, if the numbers in the frames are 1, 8, 5, 6, 5, 8 and 0 in sequence, the user presses at the position (start position) of the frame where the number 6 is located, then sequentially slides backward the positions of the frames where the number 6 and the number 5 are located, and then the user bypasses the positions of the frames where the number 8 and the number 0 are located, and if the user stops at the next frame (where no number is located) of the frame where the number 0 is located, then the numbers in the storage positions are 1, 8, 5, 6, 5, 8, 0, 6 and 5 in sequence; if the stop is made at the box where the number 0 is located, the numbers in the list are 1, 8, 5, 6, 5, 8, 6, 5 and 0 in sequence.
Optionally, the method further comprises: when the mobile terminal detects the double-click operation, first position information of the double-click operation is acquired, and the stored numbers are sequentially displayed at positions corresponding to the acquired first position information.
In the embodiment of the application, when the mobile terminal detects that the mobile terminal is switched to the digital input method, the mobile terminal displays a character frame, acquires the input number, inputs the acquired input number into the displayed character frame, processes the input number according to the processing mode corresponding to the operation track, and stores the processed number in sequence, so that the digital input efficiency is improved, and the user experience is improved.
For the mobile terminal in the preferred embodiment, the application provides a corresponding method as shown in fig. 6.
Fig. 6 is a flowchart of an embodiment of the method for controlling digital input according to the present application, as shown in fig. 6, including:
step 601: the mobile terminal sets corresponding relations between different operation tracks and processing modes;
wherein, the processing mode comprises copying the numbers in the character frame or exchanging the numbers in the character frame; the operation track comprises: the ending position information is at the position of a certain character frame and does not pass through other character frames or the ending position information is at the position of a certain character frame and passes through other character frames.
The method comprises the following steps that the numbers in a copied square frame and the information of the ending position are arranged at the position of a square frame and correspond to other square frames; and setting the numbers in the exchange character frames and the termination position information to be corresponding to the positions of certain character frames and other character frames.
Step 602: the mobile terminal detects whether to switch to the digital input method. When the mobile terminal detects that the mobile terminal is switched to the digital input method, the step 603 is carried out; otherwise, the flow is ended.
Step 603: the mobile terminal displays a character frame.
Optionally, before step 603, the method further comprises: the mobile terminal acquires input second position information at a focus;
the mobile terminal displays a character frame comprising: and displaying a letter box within a preset range at the obtained second position information.
Step 604: and the mobile terminal records the third position information of the square frame.
Step 605: the mobile terminal acquires input numbers and inputs the acquired input numbers into a displayed spoken word frame; the mobile terminal continues to perform the step of displaying a character box.
Wherein, the step of the mobile terminal continuously executing and displaying a character frame comprises the following steps: and the mobile terminal displays the next square frame in a preset arrangement mode within the preset range of the second position information.
Step 606: the mobile terminal records fourth position information of the number in each square in the storage position.
Step 607: the mobile terminal judges whether the operation on the square frame is detected. When the mobile terminal detects the operation of the spoken word frame, step 608 is executed; otherwise, the flow is ended.
Step 608: the mobile terminal obtains the operation track of the character frame.
Wherein step 608 specifically includes:
the mobile terminal acquires starting position information and ending position information of operation on one or more spoken word frames and third position information of one or more spoken word frames of a path;
and determining an operation track according to the obtained starting position, the ending position and the third position information.
Wherein the start position information is third position information of the square frame at the start position; the termination position information is third position information of the box at the termination position. The third position information of a certain box can be determined according to the recorded third position information of each box.
Step 609: and the mobile terminal processes according to the processing mode corresponding to the operation track and stores the processed numbers in sequence.
The mobile terminal processes according to the processing mode corresponding to the operation track, and the processing method comprises the following steps:
when the operation track is that the ending position information is at the position of a certain spoken word frame and does not pass through other spoken word frames, acquiring the number in the spoken word frame at the starting position information and the number in the spoken word frame at the ending position information; exchanging the numbers in the square frame at the obtained initial position information and the numbers in the square frame at the obtained end position information;
when the operation track is that the ending position information is at the position of a certain square frame and approaches other square frames, acquiring the numbers in the square frame at the starting position information and the numbers in the other square frames which approach in sequence; judging whether numbers exist in a square frame at the position of the termination position information; when the number in the square frame at the ending position information is judged to be present, the obtained number in the square frame at the starting position information and the obtained numbers in other square frames which are sequentially passed are stored in the square frame at the ending position information before the fourth position information in the storage position; when it is judged that there is no number in the box at the end position information, the obtained number in the box at the start position information and the numbers in the other boxes in the sequential path stored in the box at the end position information should be at the fourth position information of the storage position.
For example, if the numbers in the frames are 1, 8, 5, 6, 5, 8 and 0 in sequence, the user presses at the position (starting position) of the frame where the number 6 is located, then sequentially slides backward the positions of the frames where the number 6 and the number 5 are located, and then bypasses the positions of the frames where the number 8 and the number 0 are located, and if the user stops at the next frame (where no number is located) of the frame where the number 0 is located, then the numbers in the list are 1, 8, 5, 6, 5, 8, 0, 6 and 5 in sequence; if the stop is made at the box where the number 0 is located, the numbers in the list are 1, 8, 5, 6, 5, 8, 6, 5 and 0 in sequence.
Step 610: the mobile terminal judges whether the double-click operation is detected. When the mobile terminal detects the double-click operation, the step 611 is carried out; otherwise, the flow is ended.
Step 611: and acquiring first position information of the double-click operation and displaying the saved numbers in sequence at the position corresponding to the acquired first position information.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by a program instructing associated hardware (e.g., a processor) to perform the steps, and the program may be stored in a computer readable storage medium, such as a read only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, the modules/units in the above embodiments may be implemented in hardware, for example, by an integrated circuit, or may be implemented in software, for example, by a processor executing programs/instructions stored in a memory to implement the corresponding functions. The present invention is not limited to any specific form of combination of hardware and software.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.
Claims (16)
1. A mobile terminal, comprising: the device comprises a detection module, a display module and a processing module; wherein,
the detection module is used for sending a first notice to the display module when detecting that the mobile terminal to which the detection module belongs is switched to a digital input method; when the operation of the character frame is detected, acquiring an operation track of the character frame;
the display module is used for receiving the first notice from the detection module and displaying a character box; receiving the notice from the processing module and displaying the next frame;
the processing module is used for acquiring input numbers and inputting the acquired input numbers into the displayed spoken word frame; a notification display module; and processing according to a processing mode corresponding to the operation track and storing the processed numbers in sequence.
2. The mobile terminal according to claim 1, wherein the detection module is further configured to obtain second position information at a focus of the input; accordingly, the number of the first and second electrodes,
the display module is used for displaying a character frame and comprises: displaying a Chinese character box in a preset range at the obtained second position information;
the display module for displaying the next frame comprises: and displaying the next square frame in the preset range of the second position information according to a preset arrangement mode.
3. The mobile terminal of claim 1, further comprising a recording module for recording third position information of the spoken word box.
4. The mobile terminal of claim 3, wherein the recording module is further configured to record fourth location information of the number in each frame in the storage location.
5. The mobile terminal according to claim 3, wherein the operation track for obtaining the spoken word block in the detection module comprises:
acquiring starting position information and ending position information of the operation on the one or more spoken word frames and third position information of one or more spoken word frames of the way;
and determining the operation track according to the obtained starting position, the ending position and the third position information.
6. The mobile terminal according to claim 4, further comprising a setting module, configured to set a corresponding relationship between different operation tracks and different processing manners;
wherein, the processing mode comprises copying the numbers in the character frame or exchanging the numbers in the character frame; the operation track comprises: the ending position information is at the position of a certain character frame and does not pass through other character frames or the ending position information is at the position of a certain character frame and passes through other character frames.
7. The mobile terminal according to claim 6, wherein the processing module for performing processing according to the processing mode corresponding to the operation trajectory comprises:
when the operation track is that the ending position information is at the position of a certain spoken word frame and does not pass through other spoken word frames, acquiring the number in the spoken word frame at the starting position information and the number in the spoken word frame at the ending position information; exchanging the obtained number in the square frame at the starting position information with the obtained number in the square frame at the ending position information;
when the operation track is that the ending position information is at the position of a certain square frame and approaches other square frames, acquiring the numbers in the square frame at the starting position information and the numbers in the other square frames which approach in sequence; judging whether numbers exist in a square frame at the position of the termination position information; when the number in the square frame at the ending position information is judged to be present, the obtained number in the square frame at the starting position information and the obtained numbers in other square frames which are sequentially passed are stored in the square frame at the ending position information before the fourth position information in the storage position; when the number in the box at the ending position information is judged to be not available, the obtained number in the box at the starting position information and the obtained numbers in other boxes sequentially passing through are stored in the box at the ending position information, and the obtained numbers in the box at the ending position information are stored in the fourth position information of the storage position.
8. The mobile terminal according to claim 1, wherein the detecting module is further configured to, when a double-click operation is detected, obtain first location information of the double-click operation, and send a second notification to the display module; accordingly, the number of the first and second electrodes,
the display module is further configured to receive the second notification from the detection module, and sequentially display the stored numbers at the positions corresponding to the obtained first position information.
9. A method of controlling digital input, comprising:
when the mobile terminal detects that the mobile terminal is switched to a digital input method, the mobile terminal displays a character frame;
the mobile terminal acquires input numbers and inputs the acquired input numbers into a displayed spoken word frame; the mobile terminal displays the next frame;
when the mobile terminal detects the operation of the character matching frame, the mobile terminal acquires the operation track of the character matching frame;
and the mobile terminal processes according to the processing mode corresponding to the operation track and stores the processed numbers in sequence.
10. The method of claim 9, wherein before the mobile terminal displays a password box, the method further comprises: the mobile terminal acquires input second position information at a focus;
the mobile terminal displays a character frame comprising: displaying a Chinese character box in a preset range at the obtained second position information;
the mobile terminal displaying the next frame comprises: and the mobile terminal displays the next square frame in the preset range of the second position information according to a preset arrangement mode.
11. The method of claim 9, wherein after the mobile terminal displays a password box and before the mobile terminal acquires the inputted number, the method further comprises: and the mobile terminal records the third position information of the square frame.
12. The method according to claim 11, wherein before the mobile terminal obtains the operation track of the spoken word box, the method further comprises: and the mobile terminal records fourth position information of the numbers in each square frame in the storage position.
13. The method of claim 11, wherein obtaining the operation track of the spoken word box comprises:
the mobile terminal acquires the initial position information and the end position information of the operation on the one or more spoken word frames and the third position information of the one or more spoken word frames of the way;
and determining the operation track according to the obtained starting position, the ending position and the third position information.
14. The method of claim 12, further comprising, prior to the method: the mobile terminal sets corresponding relations between different operation tracks and processing modes;
wherein, the processing mode comprises copying the numbers in the character frame or exchanging the numbers in the character frame; the operation track comprises: the ending position information is at the position of a certain character frame and does not pass through other character frames or the ending position information is at the position of a certain character frame and passes through other character frames.
15. The method according to claim 14, wherein the mobile terminal performing processing according to the processing mode corresponding to the operation trajectory comprises:
when the operation track is that the ending position information is at the position of a certain spoken word frame and does not pass through other spoken word frames, acquiring the number in the spoken word frame at the starting position information and the number in the spoken word frame at the ending position information; exchanging the obtained number in the square frame at the starting position information with the obtained number in the square frame at the ending position information;
when the operation track is that the ending position information is at the position of a certain square frame and approaches other square frames, acquiring the numbers in the square frame at the starting position information and the numbers in the other square frames which approach in sequence; judging whether numbers exist in a square frame at the position of the termination position information; when the number in the square frame at the ending position information is judged to be present, the obtained number in the square frame at the starting position information and the obtained numbers in other square frames which are sequentially passed are stored in the square frame at the ending position information before the fourth position information in the storage position; when the number in the box at the ending position information is judged to be not available, the obtained number in the box at the starting position information and the obtained numbers in other boxes sequentially passing through are stored in the box at the ending position information, and the obtained numbers in the box at the ending position information are stored in the fourth position information of the storage position.
16. The method of claim 9, further comprising, after the method: when the mobile terminal detects double-click operation, first position information of the double-click operation is acquired, and stored numbers are sequentially displayed at positions corresponding to the acquired first position information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610821953.3A CN106254676B (en) | 2016-09-13 | 2016-09-13 | A kind of mobile terminal and the method for controlling numeral input |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610821953.3A CN106254676B (en) | 2016-09-13 | 2016-09-13 | A kind of mobile terminal and the method for controlling numeral input |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106254676A CN106254676A (en) | 2016-12-21 |
CN106254676B true CN106254676B (en) | 2019-04-02 |
Family
ID=57599750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610821953.3A Active CN106254676B (en) | 2016-09-13 | 2016-09-13 | A kind of mobile terminal and the method for controlling numeral input |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106254676B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110806834A (en) * | 2019-10-30 | 2020-02-18 | 北京字节跳动网络技术有限公司 | Information processing method and device based on input method, electronic equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010118015A (en) * | 2008-11-14 | 2010-05-27 | Sharp Corp | Numerical value input device, numerical value input method, numerical value input program, and computer-readable recording medium |
CN102117175A (en) * | 2010-09-29 | 2011-07-06 | 北京搜狗科技发展有限公司 | Method and device for inputting Chinese in sliding way and touch-screen input method system |
CN104216648A (en) * | 2013-05-30 | 2014-12-17 | 北京三星通信技术研究有限公司 | Information input method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20120126491A (en) * | 2011-05-12 | 2012-11-21 | 삼성전자주식회사 | Method and apparatus for inputting data of mobile terminal comprising touch screen |
-
2016
- 2016-09-13 CN CN201610821953.3A patent/CN106254676B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010118015A (en) * | 2008-11-14 | 2010-05-27 | Sharp Corp | Numerical value input device, numerical value input method, numerical value input program, and computer-readable recording medium |
CN102117175A (en) * | 2010-09-29 | 2011-07-06 | 北京搜狗科技发展有限公司 | Method and device for inputting Chinese in sliding way and touch-screen input method system |
CN104216648A (en) * | 2013-05-30 | 2014-12-17 | 北京三星通信技术研究有限公司 | Information input method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106254676A (en) | 2016-12-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105260083A (en) | Mobile terminal and method for realizing split screens | |
CN106341817A (en) | Access control system, access control method, mobile terminals and access server | |
CN105045509A (en) | Picture editing apparatus and method | |
CN104811865A (en) | Audio output method, device and system | |
CN105554386A (en) | Mobile terminal and camera shooting control method thereof | |
CN104881223A (en) | Method and device for achieving application operation | |
CN105430258B (en) | A kind of method and apparatus of self-timer group photo | |
CN106028090A (en) | Mobile terminal and video recording method thereof | |
CN104866352A (en) | Method for starting application and mobile terminal | |
CN105872997A (en) | Short message merging method and terminal equipment | |
CN105261054A (en) | Device and method for compositing audio GIF image | |
CN106303044B (en) | A kind of mobile terminal and obtain the method to coke number | |
CN105791541B (en) | Screenshot method and mobile terminal | |
CN106791149A (en) | A kind of method of mobile terminal and control screen | |
CN107025158B (en) | Sliding operation testing method and device and terminal | |
CN106569670B (en) | Device and method for processing application | |
CN105094598A (en) | Device and method for processing operational objects | |
CN106802751A (en) | A kind of terminal and screen display method | |
CN105868654A (en) | A mobile terminal and a screen capture method thereof | |
CN105245707A (en) | Mobile terminal and method for processing information | |
CN106896988B (en) | Application icon alignment device, terminal and method | |
CN105357188A (en) | Method and server for realizing WIFI connection and mobile terminal | |
CN106254676B (en) | A kind of mobile terminal and the method for controlling numeral input | |
CN105094636B (en) | A kind of control method and device of application view browsing | |
CN104915022B (en) | A kind of method and device for realizing input method switching |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |