WO2019144724A1 - 一种表情输入方法及装置 - Google Patents
一种表情输入方法及装置 Download PDFInfo
- Publication number
- WO2019144724A1 WO2019144724A1 PCT/CN2018/120901 CN2018120901W WO2019144724A1 WO 2019144724 A1 WO2019144724 A1 WO 2019144724A1 CN 2018120901 W CN2018120901 W CN 2018120901W WO 2019144724 A1 WO2019144724 A1 WO 2019144724A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- candidate
- expression
- candidate word
- user
- words
- Prior art date
Links
Images
Classifications
-
- 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
-
- 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
- G06F3/0237—Character input methods using prediction or retrieval techniques
Definitions
- the embodiments of the present invention relate to the field of Internet technologies, and in particular, to an expression input method and apparatus.
- the input method refers to the encoding method used to input various symbols into a computer or other device (such as a mobile phone), which is a product of the development of word productivity to a certain stage.
- the embodiment of the present application solves the technical problem that the input expression is inconvenient in the prior art by providing an expression input method and device, and realizes the technical effect of inputting an expression conveniently and quickly.
- an expression input method including:
- M is a positive integer
- An expression corresponding to all or part of the candidate words of the M candidate words is displayed based on the triggering operation of the user.
- an expression input device including:
- a first display unit configured to display M candidate words based on a user input operation, where M is a positive integer
- the second display unit is configured to display an expression corresponding to all or part of the candidate words in the M candidate words based on the triggering operation of the user.
- an embodiment of the present application provides an expression input device including a memory, a processor, and a computer program stored on the memory and operable on the processor, when the processor executes the program Implement the following steps:
- the M candidate words are displayed, and M is a positive integer; based on the triggering operation of the user, an expression corresponding to all or part of the candidate words of the M candidate words is displayed.
- the present application provides, by an embodiment of the present application, a computer readable storage medium, where a computer program is stored, and when the program is executed by the processor, the following steps are implemented:
- the M candidate words are displayed, and M is a positive integer; based on the triggering operation of the user, an expression corresponding to all or part of the candidate words of the M candidate words is displayed.
- the M candidate words are displayed, and M is a positive integer; and the expression corresponding to all or part of the candidate words in the M candidate words is displayed based on the trigger operation of the user. Therefore, in the process of inputting by using the input method client, the user can directly select the expression that he or she wants in all the expressions corresponding to all or part of the candidate words, and the user operation is convenient and fast, and no input method is needed. Switching between the expression library and the expression library effectively solves the technical problem that the input expression is inconvenient in the prior art, realizes convenient input of the expression, and improves the input speed of the user.
- FIG. 3 are schematic diagrams showing an expression input method in an application scenario in an application scenario
- FIG. 4 to FIG. 5 are schematic diagrams showing an expression input method in another application scenario in another application scenario
- FIG. 6 is a structural block diagram of an expression input device 200 according to an embodiment of the present application.
- FIG. 7 is a structural block diagram of an expression input device 800 according to an embodiment of the present application.
- the embodiment of the present application solves the technical problem that the input expression is inconvenient in the prior art by providing an expression input method and device, and realizes the technical effect of inputting an expression conveniently and quickly.
- An expression input method includes: displaying M candidate words based on a user input operation, M is a positive integer; and displaying an expression corresponding to all or part of the candidate words in the M candidate words based on the trigger operation of the user.
- the term "and/or" appearing in this article is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and / or B, which may indicate that A exists separately, and A exists at the same time. And B, there are three cases of B alone.
- the character "/" in this article generally indicates that the contextual object is an "or" relationship.
- the embodiment provides an expression input method, which is applied to a terminal device, where the terminal device may be a smart phone, or a tablet computer, or a digital camera, or a game machine, etc., what is specific to the electronic device
- the terminal device may be a smart phone, or a tablet computer, or a digital camera, or a game machine, etc.
- the device is not specifically limited in this embodiment.
- an input method client is installed in the electronic device, and the execution body of the expression input method may be the input method client.
- the expression input method may include:
- Step S101 Display M candidate words based on the input operation of the user, where M is a positive integer.
- the user can perform an input operation in any input box by using the input method client in any input scenario, and the input method client can acquire the input operation of the user, and determine M candidate words based on the input operation.
- FIG. 2 an input interface of a common pinyin input method client is shown in FIG. 2, in which a "9-square” pinyin keyboard is displayed. If it is detected that the user sequentially triggers the buttons “GHI” - “ABC” - “GHI” - “ABC”, based on the 9-square pinyin input rule, the candidate words that can be determined include: “haha”, “ ⁇ ”, “not yet “, “the seaside”, “also put” and so on.
- FIG. 4 an input interface of a common pinyin input method client is shown in FIG. 4, in which a "9-square" pinyin keyboard is displayed. If it is detected that the user sequentially triggers the buttons “WXYZ” - “TUV” - “WXYZ” - “TUV”, based on the 9-square pinyin input rule, the candidate words that can be determined include: “no speech”, “speaking”, “ ⁇ ", “nothing”, and so on.
- the terminal device has a touch screen (for example, a capacitive touch screen or a resistive touch screen), and an input interface of the input client can be displayed on the touch screen, and a candidate area is set on the input interface (ie: a first candidate region), the M candidate words are displayed in the first candidate region.
- a touch screen for example, a capacitive touch screen or a resistive touch screen
- an input interface of the input client can be displayed on the touch screen, and a candidate area is set on the input interface (ie: a first candidate region), the M candidate words are displayed in the first candidate region.
- candidate words “haha”, “ ⁇ ”, “not yet”, “seaside”, “also put”, and the like may be displayed in the first candidate area 20.
- the candidate words “silent”, “speaking”, “ ⁇ ”, “no error”, and the like may be displayed in the first candidate area 20.
- Step S102 Display an expression corresponding to all or part of the candidate words in the M candidate words based on a trigger operation of the user.
- step S102 may specifically include:
- Method A determining, according to a first triggering operation of the user, a first candidate word from the M candidate words, acquiring an expression corresponding to the first candidate word, and displaying an expression corresponding to the first candidate word;
- Mode B Acquire an expression corresponding to each candidate word in the M candidate words based on a second triggering operation of the user, and display an expression corresponding to each candidate word in the M candidate words.
- step S102 when step S102 is implemented, two methods are provided (ie, mode A and mode B):
- Method A When the input method client detects that the user performs the first triggering operation, it may determine a candidate word (first candidate word) from the M candidate words according to the first triggering operation, and further obtain the first The expression(s) corresponding to the candidate word and the expression corresponding to the first candidate word are displayed in the input interface of the input method client.
- the determining, according to the first triggering operation of the user, the first candidate word from the M candidate words including:
- the candidate word is determined as the first candidate word
- the candidate word is determined as the first candidate word
- the candidate word is determined as the first candidate word.
- the user may long press a candidate word to determine the candidate word as the first candidate word, or the user may slide (eg, slide up, or slide down, or left slide, or right slide, etc. Or a certain candidate word to determine the candidate word as the first candidate word, or the user can press a certain candidate word to determine the candidate word as the first candidate word.
- the so-called “long press” operation specifically refers to: the user holds down the display area of a candidate word and presses the time for more than a predetermined time (for example, more than 1 second, or more than 2 seconds, etc.).
- sliding operation specifically refers to: the user presses a certain candidate word and slides to a predetermined direction, wherein “sliding” means sliding upward, “sliding” means sliding downward, and “sliding left” means Swipe left and “slide right” to swipe right.
- pressing operation specifically refers to a pressing operation in which the pressing force conforms to a preset pressure range, which is larger than a touch pressure when the user normally uses the touch screen, and the preset pressure range can be flexibly adapted according to actual needs.
- the setting is not specifically limited in this embodiment.
- the candidate "haha” (or the descending candidate “haha” or the candidate “haha”) may be long pressed.
- “haha” can be determined as the first candidate word.
- “haha” is an onomatopoeia, generally representing laughter, and can be used to express the meaning of "happy” and "happy”.
- “ ⁇ ” can be determined as the first candidate word.
- “ ⁇ ” is an onomatopoeic word, generally representing crying, and can be used to express the meaning of "sadness” and "sadness”.
- the expression corresponding to the first candidate word can be obtained.
- the acquiring the expression corresponding to the first candidate word may include:
- the first candidate word as a search keyword, using a search engine to search on the network, obtaining N expressions corresponding to the first candidate word;
- a search is performed in the local expression database to obtain N expressions corresponding to the first candidate word.
- the search engine for example, “Sogou” search engine, or “Baidu” search engine, "Google” search engine, etc.
- the search engine can be used to search on the network. Or performing a search in the expression database stored locally by the terminal device to obtain an expression corresponding to the first candidate word; or, the first candidate word may be sent to the designated server, and the expression corresponding to the first candidate word is acquired by the designated server. And feeding back the expression corresponding to the first candidate word to the input method client.
- the expression here refers specifically to the expression image.
- “haha” when “haha” is the first candidate word, "haha” can be used as a search keyword and search is performed on the network by using a search engine (or a local expression library stored in the terminal device). Searching in the middle), or sending the first candidate word "haha” to the designated server, thereby obtaining one or more expressions (eg, expression 31, expression 32, expression 33, expression 34, etc.).
- a search engine or a local expression library stored in the terminal device. Searching in the middle), or sending the first candidate word "haha” to the designated server, thereby obtaining one or more expressions (eg, expression 31, expression 32, expression 33, expression 34, etc.).
- " ⁇ " when “ ⁇ " is the first candidate word, " ⁇ " can be used as a search keyword and searched on the network by using a search engine (or locally stored in the terminal device). Searching in the expression library), or sending the first candidate word " ⁇ " to the designated server, thereby obtaining one or more expressions (eg, expression 41, expression 42, expression 43, expression 44, etc.).
- a search engine or locally stored in the terminal device. Searching in the expression library), or sending the first candidate word " ⁇ " to the designated server, thereby obtaining one or more expressions (eg, expression 41, expression 42, expression 43, expression 44, etc.).
- the displaying the expression corresponding to the first candidate word may specifically include:
- All or part of the expressions corresponding to the first candidate word are displayed in the second candidate area of the input method client, wherein the second candidate area is located below the first candidate word.
- a window may be created under the first candidate word, and the window may be a local window, and the display area in the window is a second candidate area, and the expression corresponding to the first candidate word is displayed in the window.
- the number of expressions corresponding to the first candidate word when the number of expressions corresponding to the first candidate word is large, it may be displayed in the second candidate area in the form of an expression list.
- all or part of the expression corresponding to the first candidate word “haha” may be output in the second candidate area 30 below the first candidate word “haha” (eg, expression 31, expression 32) , expression 33, expression 34, etc.).
- all or part of the expression corresponding to the first candidate word “ ⁇ ” may be output in the second candidate area 30 below the first candidate word “ ⁇ ” (eg, the expression 41, Expression 42, expression 43, expression 44, etc.).
- the expressions when displaying the expression corresponding to the first candidate word, the expressions may be sorted according to the heat of each expression (ie, the frequency used by the user), and then according to the order of heat from high to low. Displaying these expressions (for example, the higher the expression, the higher the position of the display), makes it easier for users to see these hot expressions, and thus a greater chance to meet the user's demand for expression input.
- other sorting methods can also be used, such as sorting according to the user's preference, sorting according to the user's usage habits, or sorting according to the online time of the expression (for example, the newly uploaded expression is sorted in front), and the like,
- the specific manner of the sorting is not specifically limited in this embodiment.
- the number of expressions to be displayed is small (that is, the number of expressions corresponding to the first candidate word is less than or equal to the maximum number of expressions that can be displayed by the second candidate area. Values, the entire expression corresponding to the first candidate word is displayed in the second display area; if the number of expressions to be displayed is large (ie, the number of expressions corresponding to the first candidate word is greater than the expression that can be displayed by the second candidate area) A maximum value of the number), a part of the expression corresponding to the first candidate word is displayed in the second display area.
- the method may further include:
- the remaining expressions are displayed in the second candidate area based on the user's first switching operation.
- the display area of the second display area is limited, if all the expressions corresponding to the first candidate word cannot be displayed, some of the expressions may be displayed first, and after detecting the user's switching operation, the remaining ones are displayed.
- the switching operation may be: the user slides any expression in the second candidate area up or down.
- the other expressions corresponding to the first candidate word may continue to be searched and displayed in the second candidate area.
- a preset button may be set in the second candidate area (for example, a button for setting a “magnifying glass” graphic at the bottom of the second candidate area), and when the user triggers the preset button, the first candidate word is further searched. Corresponding other expressions, and replacing the currently displayed expression in the second candidate area with the newly searched other expression.
- step S102 The above is an implementation of step S102, and another implementation of step S102 will be described below.
- the input method client may acquire the expression(s) corresponding to each candidate word of the M candidate words when detecting that the user performs the second triggering operation, and input the input interface of the input method client The expression corresponding to each candidate word is displayed.
- the second triggering operation is different from the first triggering operation.
- a preset button may be set in the first candidate area, and when the user triggers the preset button, an expression corresponding to each candidate word of the M candidate words is acquired; or the second triggering operation may be a user.
- the operation of reciprocally sliding the M candidate words by a preset number of times for example, as shown in FIG.
- the user can slide from left to right and sequentially pass through "silent language”, “speaking matter”, “ ⁇ ”, “no error”, and then Swipe from right to left and then go through “no error", " ⁇ ", “ ⁇ ”, “no speech”), and when the input method client detects the second trigger operation, acquire each of the M candidate words The expression corresponding to the candidate words.
- the method for obtaining the expression corresponding to each candidate word is similar to the method for obtaining the expression corresponding to the first candidate word in the above, and specifically: each candidate word is used as a search keyword and searched on the network by using a search engine (or Searching is performed in a local expression library stored by the terminal device, or each candidate word is sent to a designated server, thereby obtaining an expression corresponding to each candidate word.
- a window corresponding to the candidate word may be created under each candidate word, and the window may be a local window, and an expression corresponding to the candidate word is displayed in each window.
- not every candidate word corresponds to an expression for example: " ⁇ ” may not have a corresponding expression, "no error” may not have a corresponding expression), for these candidate words that cannot obtain expressions, There is no need to create a corresponding window.
- the expressions when displaying the expression corresponding to each candidate word, the expressions may be sorted according to the heat of each expression (ie, the frequency used by the user), and then according to the order of heat from high to low. Displaying these expressions (for example, the higher the expression, the higher the position of the display), makes it easier for users to see these hot expressions, and thus a greater chance to meet the user's demand for expression input.
- other sorting methods can also be used, such as sorting according to the user's preference, sorting according to the user's usage habits, or sorting according to the online time of the expression (for example, the newly uploaded expression is sorted in front), and the like,
- the specific manner of the sorting is not specifically limited in this embodiment.
- step S102 the method further includes:
- the third triggering operation may be that the user triggers (eg, clicks on) an expression.
- the expression 31 when it is detected that the user clicks on the expression 31, the expression 31 is selected on behalf of the user, and the expression 31 can be output in the current input box 50.
- the expression 43 is selected on behalf of the user, and the expression 43 can be output in the current input box 50.
- an expression input method including: displaying M candidate words based on an input operation of a user, where M is a positive integer; and displaying all of the M candidate words based on a trigger operation of the user or The expression corresponding to some candidate words. Therefore, in the process of inputting by using the input method client, the user can directly select the expression that he or she wants in all the expressions corresponding to all or part of the candidate words, and the user operation is convenient and fast, and no input method is needed. Switching between the expression library and the expression library effectively solves the technical problem that the input expression is inconvenient in the prior art, and realizes the technical effect of inputting the expression conveniently and quickly and improving the user input speed.
- the embodiment of the present application provides an expression input device 200, as shown in FIG. 6, comprising:
- the first display unit 201 is configured to display M candidate words based on an input operation of the user, where M is a positive integer;
- the second display unit 202 is configured to display an expression corresponding to all or part of the candidate words in the M candidate words based on the triggering operation of the user.
- the first display unit 201 is specifically configured to:
- the M candidate words are displayed in a first candidate area of the input method client.
- the second display unit 202 is specifically configured to:
- the second display unit 202 is specifically configured to:
- the first selection operation is a long press operation performed by the user for a candidate word of the M candidate words, determining the candidate word as the first candidate word;
- the first selection operation is a sliding operation performed by the user for a candidate word of the M candidate words, determining the candidate word as the first candidate word;
- the first selection operation is a pressing operation that is performed by the user for a candidate word of the M candidate words that meets a preset pressure range, determining the candidate word as the first candidate word.
- the second display unit 202 is specifically configured to:
- the first candidate word as a search keyword, searching using a search engine on the network to obtain an expression corresponding to the first candidate word;
- the second display unit 202 is specifically configured to:
- the device further includes:
- a first switching unit configured to display a partial expression in the expression corresponding to the first candidate word in the second candidate area, and display the second candidate area based on the first switching operation of the user The rest of the expression;
- a second switching unit configured to search for a partial expression in the expression corresponding to the first candidate word in the second candidate area, and search for another expression corresponding to the first candidate word based on the second switching operation of the user And displaying the other expressions in the second candidate area.
- the device further includes:
- a determining unit configured to display an expression corresponding to all or part of the candidate words in the M candidate words, and corresponding to all or part of the candidate words in the M candidate words based on the third triggering operation of the user Determining the first expression in the expression;
- an output unit configured to output the first expression in a current input box.
- the expression input device described in this embodiment is a device for implementing the expression input method in the embodiment of the present application, those skilled in the art can understand the present embodiment based on the expression input method introduced in the embodiment of the present application.
- the apparatus used by the person skilled in the art to implement the expression input method in the embodiments of the present application is within the scope of the present application.
- an expression input method including: a first display unit, configured to display M candidate words based on an input operation of the user, where M is a positive integer; and the second display unit is configured to be based on
- the triggering operation of the user displays an expression corresponding to all or part of the candidate words of the M candidate words. Therefore, in the process of inputting by using the input method client, the user can directly select the expression that he or she wants in all the expressions corresponding to all or part of the candidate words, and the user operation is convenient and fast, and no input method is needed. Switching between the expression library and the expression library effectively solves the technical problem that the input expression is inconvenient in the prior art, and realizes the technical effect of inputting the expression conveniently and quickly and improving the user input speed.
- FIG. 7 is a block diagram of an expression input device 800, according to an exemplary embodiment.
- device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
- device 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, And a communication component 816.
- Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
- processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
- processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
- Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, and the like.
- the memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM Electrically erasable programmable read only memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 806 provides power to various components of device 800.
- Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 800.
- the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
- the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touch, slide, and hand gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
- the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 810 is configured to output and/or input an audio signal.
- the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
- the audio component 810 also includes a speaker for outputting an audio signal.
- the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 814 includes one or more sensors for providing device 800 with a status assessment of various aspects.
- sensor assembly 814 can detect an open/closed state of device 800, a relative positioning of components, such as the display and keypad of device 800, and sensor component 814 can also detect a change in position of one component of device 800 or device 800. The presence or absence of user contact with device 800, device 800 orientation or acceleration/deceleration, and temperature variation of device 800.
- Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices.
- the device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
- communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
- the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
- NFC near field communication
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing a method of managing a favorite, the method comprising: accessing a stored server based on a user access operation Network collection folder; displaying M pieces of collection information in the network favorites, M is a positive integer; determining first collection information from the M pieces of collection information based on the first selection operation of the user, wherein The number of the first collection information is one or more; and the first collection information is downloaded into a local collection of the browser based on the download operation of the user.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable A gate array
- controller microcontroller, microprocessor or other electronic component implementation for performing
- non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of apparatus 800 to perform the above method.
- the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a mobile terminal, enabling the mobile terminal to perform an expression input method, the method comprising: based on a user input operation, Showing M candidate words, M is a positive integer; displaying an expression corresponding to all or part of the candidate words in the M candidate words based on the triggering operation of the user.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本申请实施例公开了一种表情输入方法及装置,其中的方法具体包括:基于用户的输入操作,展示M个候选词,M为正整数;基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。本申请可以解决现有技术中存在的输入表情不方便的技术问题,能够提高表情输入的便捷性,且可以提高用户的输入速度。
Description
本申请要求在2018年01月29日提交中国专利局、申请号为201810084786.8、发明名称为“一种表情输入方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及互联网技术领域,尤其涉及一种表情输入方法及装置。
输入法是指为将各种符号输入计算机或其他设备(如手机)而采用的编码方法,是文字生产力发展到一定阶段的产物。
目前,用户在使用手机或平板电脑等电子设备时,经常会用到输入法,输入法的应用大大提高了用户输入文字的速度。但是,在使用输入法时,一般无法直接输入表情,这给用户带来了困扰。具体来讲,用户在输入表情时,需要关闭输入法界面,再进入表情库入口,在表情库中选择表情,这很不方便,需要在输入法和表情库之间进行切换,严重影响了用户的输入速度。
综上,现有技术中存在输入表情不方便的技术问题。
发明内容
本申请实施例通过提供一种表情输入方法及装置,解决了现有技术中存在的输入表情不方便的技术问题,实现了方便快捷地输入表情的技术效果。
第一方面,本申请的一实施例提供一种表情输入方法,包括:
基于用户的输入操作,展示M个候选词,M为正整数;
基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
第二方面,本申请的一实施例提供一种表情输入装置,包括:
第一展示单元,配置为基于用户的输入操作,展示M个候选词,M为正整数;
第二展示单元,配置为基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
第三方面,本申请通过本申请的一实施例提供一种表情输入装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:
基于用户的输入操作,展示M个候选词,M为正整数;基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
第四方面,本申请通过本申请的一实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:
基于用户的输入操作,展示M个候选词,M为正整数;基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:
在本申请实施例中,基于用户的输入操作,展示M个候选词,M为正整数;基于用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。故而,用户在使用输入法客户端进行输入过程中,可以直接在所述M个候选词中全部或部分候选词对应的表情中选出自己想要的表情,用户操作方便快捷,无需在输入法和表情库之间进行切换,所以,有效地解决了现有技术中存在的输入表情不方便的技术问题,实现了表情的便捷输入,提高了用户的输入速度。
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所 需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例中一种表情输入方法的流程图;
图2~图3为申请实施例中的表情输入方法在一种应用场景下的示意图;
图4~图5为申请实施例中的表情输入方法在另一种应用场景下的示意图;
图6为本申请实施例中一种表情输入装置200的结构框图;
图7为本申请实施例中一种表情输入装置800的结构框图。
本申请实施例通过提供一种表情输入方法及装置,解决了现有技术中输入表情不方便的技术问题,实现了方便快捷地输入表情的技术效果。
本申请实施例的技术方案为解决上述技术问题,总体思路如下:
一种表情输入方法,包括:基于用户的输入操作,展示M个候选词,M为正整数;基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。
首先说明,本文中出现的术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
实施例一
本实施例提供了一种表情输入方法,应用于终端设备中,所述终端设备可以是智能手机、或平板电脑、或数码相机、或游戏机、等等,对于所述电子设 备具体是何种设备,本实施例不做具体限定。并且,在该电子设备中安装有一输入法客户端,本表情输入方法的执行主体可以为该输入法客户端。
具体来讲,如图1所示,所述表情输入方法,可以包括:
步骤S101:基于用户的输入操作,展示M个候选词,M为正整数。
在具体实施过程中,用户可以在任意输入场景下,使用输入法客户端在任意输入框中进行输入操作,输入法客户端可以获取用户的输入操作,并基于该输入操作确定M个候选词。
举例来讲,如图2所示,图2中给出了一种常见的拼音输入法客户端的输入界面,在该输入界面中显示有一“9宫格”拼音键盘。若检测到用户依次触发了按键“GHI”-“ABC”-“GHI”-“ABC”,基于9宫格拼音输入规则,可以确定的候选词包括:“哈哈”、“嘎嘎”、“还不”、“海边”、“还把”等等。
举例来讲,如图4所示,图4中给出了一种常见的拼音输入法客户端的输入界面,在该输入界面中显示有一“9宫格”拼音键盘。若检测到用户依次触发了按键“WXYZ”-“TUV”-“WXYZ”-“TUV”,基于9宫格拼音输入规则,可以确定的候选词包括:“无语”、“物语”、“呜呜”、“无误”、等等。
在具体实施过程中,上述终端设备具有一触摸屏(例如:电容式触摸屏、或电阻式触摸屏),可以在该触摸屏上展示输入客户端的输入界面,并且在该输入界面上设置一候选区域(即:第一候选区域),在第一候选区域内展示所述M个候选词。
举例来讲,如图2所示,可以在第一候选区域20中展示候选词“哈哈”、“嘎嘎”、“还不”、“海边”、“还把”、等等。
举例来讲,如图4所示,可以在第一候选区域20中展示候选词“无语”、“物语”、“呜呜”、“无误”、等等。
步骤S102:基于用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
作为一种可选的实施方式,步骤S102,具体可以包括:
方式A:基于用户的第一触发操作,从所述M个候选词中确定第一候选词,获取第一候选词对应的表情,并展示第一候选词对应的表情;或
方式B:基于用户的第二触发操作,获取所述M个候选词中每个候选词对应的表情,并展示所述M个候选词中每个候选词对应的表情。
在具体实施过程中,在实施步骤S102时,提供了两种方式(即:方式A和方式B):
方式A:输入法客户端在检测到用户执行了第一触发操作时,则可以根据该第一触发操作,从所述M个候选词中确定一个候选词(第一候选词),进一步获取第一候选词对应的(一个或多个)表情,并在输入法客户端的输入界面中展示第一候选词对应的表情。
具体而言,所述基于用户的第一触发操作,从所述M个候选词中确定第一候选词,包括:
若第一选择操作为用户针对所述M个候选词中的某一候选词执行的长按操作,则将该候选词确定为第一候选词;或
若第一选择操作为用户针对所述M个候选词中的某一候选词执行的滑动操作,则将该候选词确定为第一候选词;或
若第一选择操作为用户针对所述M个候选词中的某一候选词执行的符合预设压力范围的按压操作,则将该候选词确定为第一候选词。
在具体实施过程中,用户可以长按某一候选词,以将该候选词确定为第一候选词,或者,用户可以滑动(例如:上滑、或下滑、或左滑、或右滑、等等)某一候选词,以将该候选词确定为第一候选词,或者,用户可以按压某一候选词,以将该候选词确定为第一候选词。
其中,所谓“长按”操作具体指:用户按住某一候选词的显示区域并且按住时间超过一预设时间(例如:超过1秒钟、或超过2秒钟、等等)。
其中,所谓“滑动”操作具体指:用户按住某一候选词并向某一预设方向滑动,其中,“上滑”即向上滑动,“下滑”即向下滑动,“左滑”即向左滑动, “右滑”即向右滑动。
其中,所谓“按压”操作具体指:按压力度符合一预设压力范围的按压操作,该预设压力范围比用户通常使用触摸屏时的触摸压力要大一些,该预设压力范围可以根据实际需要灵活设置,本实施例不做具体限定。
举例来讲,如图3所示,若用户想要获得候选词“哈哈”对应的表情,则可以长按候选词“哈哈”(或者下滑候选词“哈哈”,或按压候选词“哈哈”),此时,则可以将“哈哈”确定为第一候选词。其中,“哈哈”为拟声词,一般代表笑声,可以用于表达“高兴”、“欢乐”的意思。
举例来讲,如图5所示,若用户想要获得候选词“呜呜”对应的表情,则可以长按候选词“呜呜”或者(下滑候选词“呜呜”,或按压候选词“呜呜”),此时,则可以将“呜呜”确定为第一候选词。其中,“呜呜”为拟声词,一般代表哭声,可以用于表达“伤心”、“难过”的意思。
在确定了用户选择的第一候选词后,即可获取第一候选词对应的表情。
具体来讲,所述获取第一候选词对应的表情,具体可以包括:
将第一候选词作为搜索关键词,利用搜索引擎在网络上进行搜索,获得与第一候选词对应的N个表情;或
将第一候选词发送给指定服务器,接收指定服务器反馈的第一候选词对应的表情;或
基于第一候选词,在本地表情库中进行搜索,获得与第一候选词对应的N个表情。
在具体实施过程中,在确定第一候选词后,则可以利用搜索引擎(例如:“搜狗”搜索引擎、或“百度”搜索引擎、“Google”搜索引擎、等等)在网络上进行搜索,或者,在终端设备本地存储的表情库中进行搜索,获得与第一候选词对应的表情;或者,还可以将第一候选词发送给指定服务器,通过该指定服务器获取第一候选词对应的表情,并将第一候选词对应的表情反馈给输入法客户端。此处的表情具体指表情图片。
举例来讲,如图3所示,在“哈哈”为第一候选词时,则可以将“哈哈”作为搜索关键词并利用搜索引擎在网络上进行搜索(或在终端设备存储的本地表情库中进行搜索),或将第一候选词“哈哈”发送给指定服务器,从而获得一个或多个表情(例如:表情31、表情32、表情33、表情34、等等)。
举例来讲,如图5所示,在“呜呜”为第一候选词时,则可以将“呜呜”作为搜索关键词并利用搜索引擎在网络上进行搜索(或在终端设备存储的本地表情库中进行搜索),或将第一候选词“呜呜”发送给指定服务器,从而获得一个或多个表情(例如:表情41、表情42、表情43、表情44、等等)。
具体来讲,所述展示所述第一候选词对应的表情,具体可以包括:
在输入法客户端的第二候选区域展示第一候选词对应的表情中的全部或部分表情,其中,第二候选区域位于第一候选词下方。
在具体实施过程中,可以在第一候选词下方创建一窗口,该窗口可以为本地窗口,该窗口中的显示区域即为第二候选区域,在该窗口中展示第一候选词对应的表情。
在具体实施过程中,在第一候选词对应的表情数量较多时,可以采用表情列表的形式展示在第二候选区域中。
举例来讲,如图3所示,则可以在第一候选词“哈哈”下方的第二候选区域30中输出第一候选词“哈哈”对应的全部或部分表情(例如:表情31、表情32、表情33、表情34、等等)。
举例来讲,如图5所示,则可以在第一候选词“呜呜”下方的第二候选区域30中输出第一候选词“呜呜”对应的全部或部分表情(例如:表情41、表情42、表情43、表情44、等等)。
在具体实施过程中,在展示第一候选词对应的表情时,可以根据每个表情的热度(即:被用户使用的频率),对这些表情进行排序,再按照热度从高到低的顺序依次展示这些表情(例如:热度越高的表情,则展示的位置越靠前),使得用户更加容易看到这些热度高的表情,从而更大几率上满足用户对表情输 入的需求。当然,还可以采用其他排序方式,例如根据用户的喜好进行排序,或根据用户的使用习惯进行排序,或根据表情的上线时间进行排序(例如:新上线的表情则排序在前面),等等,对于具体的排序方式,本实施例不做具体限定。
在具体实施过程中,由于第二候选区域的显示面积有限,若需要显示的表情的数量较少(即:第一候选词对应的表情数量小于等于第二候选区域能够显示的表情的数量的最大值),则在第二显示区域中展示第一候选词对应的全部表情;若需要显示的表情的数量较多(即:第一候选词对应的表情数量大于第二候选区域能够显示的表情的数量的最大值),则在第二显示区域中展示第一候选词对应的一部分表情。
作为一种可选的实施方式,在第二候选区域中输出第一候选词对应部分表情时,所述方法还可以包括:
基于用户的第一切换操作,在第二候选区域中展示其余表情。
在具体实施过程中,由于第二显示区域的显示面积有限,若无法显示第一候选词对应的全部表情,则可以先展示其中的一部分表情,在检测到用户的切换操作后,再展示其余的表情。其中,所述切换操作可以是:用户向上或向下滑动第二候选区域内的任一表情。
此外,在第二候选区域中输出第一候选词对应部分表情时,若检测到用户的第二切换操作时,则可以继续搜索第一候选词对应的其它表情,并在第二候选区域中展示其它表情。其中,可以在第二候选区域中设置一预设按钮(例如:在第二候选区最下方设置一“放大镜”图形的按钮),在用户触发该预设按钮时,则进一步搜索第一候选词对应的其它表情,并将第二候选区域中当前展示的表情替换为新搜索到的其它表情。
以上是步骤S102的一种实现方式,下面将介绍步骤S102的另一种实现方式。
方式B:输入法客户端在检测到用户执行了第二触发操作时,可以获取所 述M个候选词中每个候选词对应的(一个或多个)表情,并在输入法客户端的输入界面中展示每个候选词对应的表情。
在具体实施过程中,第二触发操作与第一触发操作不同。例如,可以在第一候选区域中设置一预设按钮,在用户触发该预设按钮时,则获取所述M个候选词中每个候选词对应的表情;或者,第二触发操作可以为用户往复滑动所述M个候选词预设次数的操作(例如,如图4所示,用户可以从左到右滑动并依次经过“无语”、“物语”、“呜呜”、“无误”,再从右至左依次滑动并依次经过“无误”、“呜呜”、“物语”、“无语”),在输入法客户端检测到第二触发操作时,则获取所述M个候选词中每个候选词对应的表情。
其中,获取每个候选词对应的表情的方法与上文中获取第一候选词对应的表情的方法类似,具体可以:将每个候选词作为搜索关键词并利用搜索引擎在网络上进行搜索(或在终端设备存储的本地表情库中进行搜索),或将每个候选词发送给指定服务器,从而获得每个候选词对应的表情。
在具体实施过程中,可以在每个候选词下方创建一个与该候选词对应的窗口,该窗口可以为本地窗口,并在每个窗口中展示对应候选词的表情。
在具体实施过程中,并不是每个候选词都对应有表情(例如:“物语”则可能没有对应的表情,“无误”也可能没有对应的表情),针对这些无法获得表情的候选词,则无需创建对应的窗口。
在具体实施过程中,在展示每个候选词对应的表情时,可以根据每个表情的热度(即:被用户使用的频率),对这些表情进行排序,再按照热度从高到低的顺序依次展示这些表情(例如:热度越高的表情,则展示的位置越靠前),使得用户更加容易看到这些热度高的表情,从而更大几率上满足用户对表情输入的需求。当然,还可以采用其他排序方式,例如根据用户的喜好进行排序,或根据用户的使用习惯进行排序,或根据表情的上线时间进行排序(例如:新上线的表情则排序在前面),等等,对于具体的排序方式,本实施例不做具体限定。
作为一种可选的实施方式,在步骤S102之后,还包括:
基于用户的第三触发操作,从所述M个候选词中全部或部分候选词对应的表情中确定第一表情;在当前输入框中输出第一表情。
在具体实施过程中,第三触发操作可以是用户触发了(例如:点击了)某一个表情。
举例来讲,如图3所示,在检测到用户点击表情31时,则代表用户选中了表情31,则可以在当前输入框50中输出表情31。
举例来讲,如图5所示,在检测到用户点击表情43时,则代表用户选中了表情43,则可以在当前输入框50中输出表情43。
综上可见,用户在使用输入法客户端进行文字输入时,若想要输入表情,则可以直接使用输入法客户端来输入表情,无需在表情库入口和输入法客户端之间反复切换,所以,大大提高了输入表情的速度,同时也大大提高了文字输入速度。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
在本申请实施例中,公开了一种表情输入方法,包括:基于用户的输入操作,展示M个候选词,M为正整数;基于用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。故而,用户在使用输入法客户端进行输入过程中,可以直接在所述M个候选词中全部或部分候选词对应的表情中选出自己想要的表情,用户操作方便快捷,无需在输入法和表情库之间进行切换,所以,有效地解决了现有技术中存在的输入表情不方便的技术问题,实现了方便快捷地输入表情,提高用户输入速度的技术效果。
实施例二
本申请实施例提供了一种表情输入装置200,如图6所示,包括:
第一展示单元201,配置为基于用户的输入操作,展示M个候选词,M为正整数;
第二展示单元202,配置为基于所述用户的触发操作,展示所述M个候选 词中全部或部分候选词对应的表情。
作为一种可选的实施方式,所述第一展示单元201,具体配置为:
在输入法客户端的第一候选区域展示所述M个候选词。
作为一种可选的实施方式,所述第二展示单元202,具体配置为:
基于所述用户的第一触发操作,从所述M个候选词中确定第一候选词,获取所述第一候选词对应的表情,并展示所述第一候选词对应的表情;或
基于所述用户的第二触发操作,获取所述M个候选词中每个候选词对应的表情,并展示所述M个候选词中每个候选词对应的表情。
作为一种可选的实施方式,所述第二展示单元202,具体配置为:
若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的长按操作,则将该候选词确定为所述第一候选词;或
若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的滑动操作,则将该候选词确定为所述第一候选词;或
若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的符合预设压力范围的按压操作,则将该候选词确定为所述第一候选词。
作为一种可选的实施方式,所述第二展示单元202,具体配置为:
将所述第一候选词作为搜索关键词,利用搜索引擎在网络上进行搜索,获得与所述第一候选词对应的表情;或
将所述第一候选词发送给指定服务器,接收所述指定服务器反馈的所述第一候选词对应的表情;或
基于所述第一候选词,在本地表情库中进行搜索,获得与所述第一候选词对应的表情。
作为一种可选的实施方式,所述第二展示单元202,具体配置为:
在输入法客户端的第二候选区域展示所述第一候选词对应的表情中的全部或部分表情,其中,所述第二候选区域位于所述第一候选词下方。
作为一种可选的实施方式,所述装置还包括:
第一切换单元,配置为在所述第二候选区域中展示所述第一候选词对应的表情中的部分表情时,基于所述用户的第一切换操作,在所述第二候选区域中展示其余表情;或
第二切换单元,配置为在所述第二候选区域中展示所述第一候选词对应的表情中的部分表情时,基于所述用户的第二切换操作,搜索第一候选词对应的其它表情,并在所述第二候选区域中展示所述其它表情。
作为一种可选的实施方式,所述装置还包括:
确定单元,配置为所述展示所述M个候选词中全部或部分候选词对应的表情之后,基于所述用户的第三触发操作,从所述M个候选词中全部或部分候选词对应的表情中确定第一表情;
输出单元,配置为在当前输入框中输出所述第一表情。
由于本实施例所介绍的表情输入装置为实施本申请实施例中表情输入方法所采用的装置,故而基于本申请实施例中所介绍的表情输入方法,本领域所属技术人员能够了解本实施例的表情输入装置的具体实施方式以及其各种变化形式,所以在此对于该表情输入装置如何实现本申请实施例中的方法不再详细介绍。只要本领域所属技术人员实施本申请实施例中表情输入方法所采用的装置,都属于本申请所欲保护的范围。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
在本申请实施例中,公开了一种表情输入方法,包括:第一展示单元,用于基于用户的输入操作,展示M个候选词,M为正整数;第二展示单元,用于基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。故而,用户在使用输入法客户端进行输入过程中,可以直接在所述M个候选词中全部或部分候选词对应的表情中选出自己想要的表情,用户操作方便快捷,无需在输入法和表情库之间进行切换,所以,有效地解决了现有技术中存在的输入表情不方便的技术问题,实现了方便快捷地输入表情,提高用户输入速度的技术效果。
图7是根据一示例性实施例示出的一种表情输入装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图7,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理部件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电力组件806为装置800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手 势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件816经由广播信道接收来自外部广 播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行一种对收藏夹进行管理的方法,所述方法包括:基于用户的访问操作,访问存储在服务器的网络收藏夹;展示所述网络收藏夹中的M条收藏信息,M为正整数;基于所述用户的第一选择操作,从所述M条收藏信息中确定第一收藏信息,其中,所述第一收藏信息的数量为一条或多条;基于所述用户的下载操作,将所述第一收藏信息下载到浏览器的本地收藏夹中。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种表情输入方法,所述方法包括:基于用户的输入操作,展示M个候选词,M为正整数;基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。
Claims (18)
- 一种表情输入方法,其特征在于,包括:基于用户的输入操作,展示M个候选词,M为正整数;基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
- 如权利要求1所述的表情输入方法,其特征在于,所述展示M个候选词,包括:在输入法客户端的第一候选区域展示所述M个候选词。
- 如权利要求1所述的表情输入方法,其特征在于,所述展示所述M个候选词中全部或部分候选词对应的表情,包括:基于所述用户的第一触发操作,从所述M个候选词中确定第一候选词,获取所述第一候选词对应的表情,并展示所述第一候选词对应的表情;或基于所述用户的第二触发操作,获取所述M个候选词中每个候选词对应的表情,并展示所述M个候选词中每个候选词对应的表情。
- 如权利要求3所述的表情输入方法,其特征在于,所述基于所述用户的第一触发操作,从所述M个候选词中确定第一候选词,包括:若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的长按操作,则将该候选词确定为所述第一候选词;或若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的滑动操作,则将该候选词确定为所述第一候选词;或若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的符合预设压力范围的按压操作,则将该候选词确定为所述第一候选词。
- 如权利要求3所述的表情输入方法,其特征在于,所述获取所述第一候选词对应的表情,包括:将所述第一候选词作为搜索关键词,利用搜索引擎在网络上进行搜索,获 得与所述第一候选词对应的表情;或将所述第一候选词发送给指定服务器,接收所述指定服务器反馈的所述第一候选词对应的表情;或基于所述第一候选词,在本地表情库中进行搜索,获得与所述第一候选词对应的表情。
- 如权利要求3所述的表情输入方法,其特征在于,所述展示所述第一候选词对应的表情,包括:在输入法客户端的第二候选区域展示所述第一候选词对应的表情中的全部或部分表情,其中,所述第二候选区域位于所述第一候选词下方。
- 如权利要求6所述的表情输入方法,其特征在于,在所述第二候选区域中展示所述第一候选词对应的表情中的部分表情时,所述方法还包括:基于所述用户的第一切换操作,在所述第二候选区域中展示其余表情;或基于所述用户的第二切换操作,搜索第一候选词对应的其它表情,并在所述第二候选区域中展示所述其它表情。
- 如权利要求1~7任一所述的表情输入方法,其特征在于,所述展示所述M个候选词中全部或部分候选词对应的表情之后,还包括:基于所述用户的第三触发操作,从所述M个候选词中全部或部分候选词对应的表情中确定第一表情;在当前输入框中输出所述第一表情。
- 一种表情输入装置,其特征在于,包括:第一展示单元,配置为基于用户的输入操作,展示M个候选词,M为正整数;第二展示单元,配置为基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
- 如权利要求9所述的表情输入装置,其特征在于,所述第一展示单元,具体配置为:在输入法客户端的第一候选区域展示所述M个候选词。
- 如权利要求9所述的表情输入装置,其特征在于,所述第二展示单元,具体配置为:基于所述用户的第一触发操作,从所述M个候选词中确定第一候选词,获取所述第一候选词对应的表情,并展示所述第一候选词对应的表情;或基于所述用户的第二触发操作,获取所述M个候选词中每个候选词对应的表情,并展示所述M个候选词中每个候选词对应的表情。
- 如权利要求11所述的表情输入装置,其特征在于,所述第二展示单元,具体配置为:若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的长按操作,则将该候选词确定为所述第一候选词;或若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的滑动操作,则将该候选词确定为所述第一候选词;或若所述第一选择操作为所述用户针对所述M个候选词中的某一候选词执行的符合预设压力范围的按压操作,则将该候选词确定为所述第一候选词。
- 如权利要求11所述的表情输入装置,其特征在于,所述第二展示单元,具体配置为:将所述第一候选词作为搜索关键词,利用搜索引擎在网络上进行搜索,获得与所述第一候选词对应的表情;或将所述第一候选词发送给指定服务器,接收所述指定服务器反馈的所述第一候选词对应的表情;或基于所述第一候选词,在本地表情库中进行搜索,获得与所述第一候选词对应的表情。
- 如权利要求11所述的表情输入装置,其特征在于,所述第二展示单元,具体配置为:在输入法客户端的第二候选区域展示所述第一候选词对应的表情中的全 部或部分表情,其中,所述第二候选区域位于所述第一候选词下方。
- 如权利要求14所述的表情输入装置,其特征在于,所述装置还包括:第一切换单元,配置为在所述第二候选区域中展示所述第一候选词对应的表情中的部分表情时,基于所述用户的第一切换操作,在所述第二候选区域中展示其余表情;或第二切换单元,配置为在所述第二候选区域中展示所述第一候选词对应的表情中的部分表情时,基于所述用户的第二切换操作,搜索第一候选词对应的其它表情,并在所述第二候选区域中展示所述其它表情。
- 如权利要求9~15任一所述的表情输入装置,其特征在于,所述装置还包括:确定单元,配置为所述展示所述M个候选词中全部或部分候选词对应的表情之后,基于所述用户的第三触发操作,从所述M个候选词中全部或部分候选词对应的表情中确定第一表情;输出单元,配置为在当前输入框中输出所述第一表情。
- 一种表情输入装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:基于用户的输入操作,展示M个候选词,M为正整数;基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行时实现以下步骤:基于用户的输入操作,展示M个候选词,M为正整数;基于所述用户的触发操作,展示所述M个候选词中全部或部分候选词对应的表情。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810084786.8A CN110096163A (zh) | 2018-01-29 | 2018-01-29 | 一种表情输入方法及装置 |
CN201810084786.8 | 2018-01-29 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019144724A1 true WO2019144724A1 (zh) | 2019-08-01 |
Family
ID=67394457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/120901 WO2019144724A1 (zh) | 2018-01-29 | 2018-12-13 | 一种表情输入方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110096163A (zh) |
WO (1) | WO2019144724A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110908583B (zh) * | 2019-11-29 | 2022-10-14 | 维沃移动通信有限公司 | 符号显示方法及电子设备 |
CN112987940B (zh) * | 2021-04-27 | 2021-08-27 | 广州智品网络科技有限公司 | 一种基于样本概率量化的输入方法、装置和电子设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104076944A (zh) * | 2014-06-06 | 2014-10-01 | 北京搜狗科技发展有限公司 | 一种聊天表情输入的方法和装置 |
CN104298429A (zh) * | 2014-09-25 | 2015-01-21 | 北京搜狗科技发展有限公司 | 一种基于输入的信息展示方法和输入法系统 |
CN104978047A (zh) * | 2015-06-24 | 2015-10-14 | 北京搜狗科技发展有限公司 | 一种跨键盘联想方法和装置 |
CN106257378A (zh) * | 2016-07-19 | 2016-12-28 | 北京新美互通科技有限公司 | 一种表情符号输入方法及装置 |
WO2017003017A1 (ko) * | 2015-07-02 | 2017-01-05 | 엘지전자 주식회사 | 모바일 디바이스 및 그 제어 방법 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105718072B (zh) * | 2016-01-20 | 2018-03-02 | 广东欧珀移动通信有限公司 | 一种字符输出方法及移动终端 |
CN105975100B (zh) * | 2016-04-28 | 2019-07-30 | 百度在线网络技术(北京)有限公司 | 输入法中表情包的拓展方法和装置 |
CN105929976A (zh) * | 2016-05-25 | 2016-09-07 | 广州市久邦数码科技有限公司 | 一种基于输入法的动态表情输入方法及其系统 |
-
2018
- 2018-01-29 CN CN201810084786.8A patent/CN110096163A/zh active Pending
- 2018-12-13 WO PCT/CN2018/120901 patent/WO2019144724A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104076944A (zh) * | 2014-06-06 | 2014-10-01 | 北京搜狗科技发展有限公司 | 一种聊天表情输入的方法和装置 |
CN104298429A (zh) * | 2014-09-25 | 2015-01-21 | 北京搜狗科技发展有限公司 | 一种基于输入的信息展示方法和输入法系统 |
CN104978047A (zh) * | 2015-06-24 | 2015-10-14 | 北京搜狗科技发展有限公司 | 一种跨键盘联想方法和装置 |
WO2017003017A1 (ko) * | 2015-07-02 | 2017-01-05 | 엘지전자 주식회사 | 모바일 디바이스 및 그 제어 방법 |
CN106257378A (zh) * | 2016-07-19 | 2016-12-28 | 北京新美互通科技有限公司 | 一种表情符号输入方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN110096163A (zh) | 2019-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI667917B (zh) | Multimedia search result display method and device | |
CN107153541B (zh) | 浏览交互处理方法及装置 | |
WO2016206292A1 (zh) | 文本输入方法和装置 | |
CN109144285B (zh) | 一种输入方法和装置 | |
WO2018157630A1 (zh) | 关联用户推荐方法及装置 | |
CN108803891B (zh) | 一种信息展示方法、装置、电子设备以及存储介质 | |
CN111046210B (zh) | 一种信息推荐方法、装置和电子设备 | |
WO2017185567A1 (zh) | 资源搜索方法及装置 | |
CN104216973A (zh) | 一种数据搜索的方法及装置 | |
CN107045541A (zh) | 数据显示方法和装置 | |
WO2018188410A1 (zh) | 反馈的响应方法及装置 | |
CN108803892B (zh) | 一种在输入法中调用第三方应用程序的方法和装置 | |
US10764418B2 (en) | Method, device and medium for application switching | |
RU2734780C1 (ru) | Способ представления информации, устройство и запоминающий носитель информации для него | |
WO2019144724A1 (zh) | 一种表情输入方法及装置 | |
WO2018018912A1 (zh) | 一种搜索方法、装置及电子设备 | |
WO2016197549A1 (zh) | 一种进行搜索的方法和装置 | |
CN103970831B (zh) | 推荐图标的方法和装置 | |
CN108241438B (zh) | 一种输入方法、装置和用于输入的装置 | |
WO2021027709A1 (zh) | 页面分享方法、装置及电子设备 | |
CN114051157A (zh) | 一种输入方法和装置 | |
CN112068793B (zh) | 一种语音输入方法及装置 | |
CN108108356A (zh) | 一种文字翻译方法、装置及设备 | |
CN113946228A (zh) | 语句推荐方法、装置、电子设备和可读存储介质 | |
CN112036247A (zh) | 表情包文字生成方法、装置及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18902424 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: 18902424 Country of ref document: EP Kind code of ref document: A1 |