CN112740148A - Method for inputting information into input box and electronic equipment - Google Patents

Method for inputting information into input box and electronic equipment Download PDF

Info

Publication number
CN112740148A
CN112740148A CN201880097766.2A CN201880097766A CN112740148A CN 112740148 A CN112740148 A CN 112740148A CN 201880097766 A CN201880097766 A CN 201880097766A CN 112740148 A CN112740148 A CN 112740148A
Authority
CN
China
Prior art keywords
input
box
user
candidate
application
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.)
Pending
Application number
CN201880097766.2A
Other languages
Chinese (zh)
Inventor
沈日胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112740148A publication Critical patent/CN112740148A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements 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

Abstract

The application discloses a method for inputting information into input boxes and electronic equipment, relates to the field of terminals, and can improve the input efficiency of a user in each input box in a mobile phone and improve intelligent input experience. The method comprises the following steps: the electronic equipment displays a display interface, wherein the display interface comprises a first input box; the electronic equipment receives operation of a user on a first input box; responding to the operation, the electronic equipment displays a first prompt box on a display interface, wherein the first prompt box comprises M types of historical input records; the electronic equipment receives a first selection operation of a user for selecting a first type from the M types; responding to the first selection operation, the electronic equipment displays N candidate input items in a display interface, wherein the N candidate input items are historical input records of a first type; the electronic equipment receives a second selection operation of selecting a first candidate input item from the N candidate input items by the user; in response to the second selection operation, the electronic device enters a first candidate entry into the first input box.

Description

Method for inputting information into input box and electronic equipment Technical Field
The present application relates to the field of terminals, and in particular, to a method for inputting information into an input box and an electronic device.
Background
At present, electronic devices such as mobile phones and tablet computers have become one of the important tools for users to input and output information. For example, when a mobile phone runs a browser application, a user can input keyword search related information in an input box of the browser; or, when the mobile phone runs the chat application, the user can input the chat content to the contact in the input box of the chat window.
It can be seen that the input boxes in the applications are important channels for information interaction between the user and the mobile phone. In order to improve the input efficiency of the user in the input box, some applications can provide candidate input options such as history input records or popular recommendations and the like when the user inputs the input. When the candidate input options are detected to be clicked by the user, the mobile phone can automatically input the candidate input options selected by the user into the input box. However, the policy for setting candidate input options for the input box by each application may be different, and even some applications do not have a function of recommending candidate input options for the user, which makes the input efficiency of the user when inputting with the input boxes of different applications in the mobile phone uneven.
Disclosure of Invention
The embodiment of the application provides a method for inputting information into an input box and electronic equipment, which can improve the input efficiency of a user in each input box in a mobile phone.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a technical solution of the present application provides a method for inputting information into an input box, including: the electronic equipment displays a display interface, wherein the display interface comprises a first input box; after receiving an operation of a user on a first input box, the electronic device can display the first prompt box on the display interface, wherein the first prompt box comprises M (M is an integer greater than 0) types of historical input records; furthermore, after receiving a first selection operation that a user selects a first type from the M types, the electronic device may display N (N is an integer greater than 0) candidate entries in the display interface, where the N candidate entries are all the history input records of the first type; and when the electronic equipment receives a second selection operation of selecting the first candidate input item from the N candidate input items by the user, automatically inputting the first candidate input item into the first input box.
That is, the electronic device may call out M types of history input records by the user performing a preset operation on any one of the input boxes. After a user selects a certain type, the electronic device may provide the user with N historical input records belonging to that type. Therefore, the user can quickly find the historical input record needing to be input in a plurality of historical input records of the input box through the type of the historical input record, and the input efficiency in the input box of the mobile phone is improved.
In a possible design method, the N candidate entries may include a history of entries of the second entry box; alternatively, the N candidate entries may include a history of input of the first input box. That is, the N candidate input items displayed in the first prompt box by the electronic device may be related to the first input box triggered this time, or may be related to other input boxes.
For example, the first input box may be an input box of a first application (e.g., a browser), and the second input box may be an input box of a second application (e.g., a payment instrument), that is, the first input box and the second input box belong to two input boxes in different applications; alternatively, the first input box and the second input box may be two different input boxes in the same application, for example, the first input box may be an input box in a WeChat chat interface, and the second input box may be an input box in WeChat for searching for friends.
In a possible design method, the first prompt box further includes a first button, where after the electronic device displays the first prompt box on the display interface, the method further includes: in response to the operation of clicking the first button by the user, the electronic equipment displays other history input records besides the N history input records in the first prompt box. The other historical input records may be of the first type, and the other historical input records may be the historical input record of the first input box or the historical input records of other input boxes, which is not limited in this embodiment of the present application. The user may trigger the electronic device to provide more historical input records for the user to select via the first button.
In a possible design method, the first prompt box further includes a second button; after the electronic device displays the first prompt box on the display interface, the method further includes: responding to the operation of clicking a second button by the user, and displaying the index box by the electronic equipment with the application as granularity; in response to the operation of the user selecting the first application in the index box, the electronic device may display a second prompt box on the display interface, where the second prompt box includes at least one history record of the first application, and the history record in the second prompt box may also be of the first type. Thus, by clicking on the second button, the user may select to enter the history input record for a certain application into the first input box at application granularity for a certain type of history input record.
In one possible design method, after the electronic device displays the first prompt box on the display interface, the method further includes: the electronic equipment receives input content input to the first input box by a user; the electronic device displays, in a first prompt box, a historical input record associated with the input content based on the input content. In this way, the historical input record recommended to the user in the first prompt box may change in real time with the user input, and the user may be prompted to quickly input the historical input record associated with the currently input content into the first input box.
In a possible design method, the display interface further includes a save button; after the electronic device receives input content input by a user to the first input box, the method further comprises the following steps: in response to an operation of the user clicking the save button, the electronic device saves the input content as a history input record of the first input box.
In a possible design method, in response to an operation of clicking the save button by a user, the electronic device saves the input content as a history input record of the first input box, which specifically includes: in response to the user's operation of clicking the save button, the electronic device may first display at least one save type of the input content, such as text, picture, expression, etc.; further, based on the save type selected by the user, the electronic device saves the input content, and at this time, the input content saved by the electronic device is related to the save type selected by the user.
In one possible design approach, the M types include at least one of text, expressions, pictures, videos, numbers, songs, or ancient poems.
In one possible design method, after the electronic device receives an operation of the first input box by a user, the method further includes: in response to the operation, the electronic equipment displays K (K is an integer larger than 0) candidate input items in a display interface; the K candidate input items are generated according to chat contents contained in the display interface; or, the K candidate entries are generated according to the chat object in the display interface; or, the K candidate input items are generated according to the type of the application to which the display interface belongs.
That is to say, in addition to using the history input record as a candidate input item, the electronic device may further generate a corresponding candidate input item according to the type of the application to which the input box belongs, the chat object or the chat content associated with the input box, and other information, so that the user may quickly select the input content input into the input box this time among the candidate input items, thereby improving the input efficiency in each input box in the mobile phone, and further bringing intelligent input experience to the user.
In a second aspect, the present technical solution provides a method for inputting information into an input box, including: the electronic equipment displays a display interface, wherein the display interface comprises a first input box; after receiving an operation of a user on a first input box, the electronic equipment displays the first prompt box on the display interface, wherein the first prompt box comprises N candidate input items, and the N candidate input items comprise a history input record of a second input box; then, if the electronic device receives a user selection operation of a first candidate entry from the N candidate entries, the electronic device may automatically enter the first candidate entry into the first input box.
That is, the electronic device may call out a history input record including other input boxes by performing a preset operation on any input box by the user. Therefore, the historical input records of the user in different input boxes can be recommended to the user as candidate input items, and the influence on the input efficiency caused by the fact that the user repeatedly inputs the same input content in different input boxes is avoided.
In a possible design method, the N candidate entries further include a history of entries of the first entry box.
In a possible design method, after the electronic device displays the display interface, the method further includes: the electronic equipment receives input content input into the first input box by a user; wherein, electronic equipment shows first suggestion frame at display interface, includes: the electronic device displays N candidate entries associated with the input content in a first prompt box.
For example, the N candidate entries associated with the input content may specifically refer to: the N candidate entries containing the input content may be candidate entries containing "my", for example, the input content is "my"; or, the N candidate input items associated with the input content may specifically refer to: the N candidate entries of the same type as the input content described above, still taking the input content as "my," for example, the N candidate entries associated with the input content may be text-type candidate entries.
In a possible design method, the N candidate entries include a history entry with an entry frequency greater than a preset value, or a history entry entered by a user within a preset time.
In a third aspect, a technical solution of the present application provides a method for inputting information into an input box, including: the electronic equipment displays a display interface, wherein the display interface comprises a first input box; after receiving the operation of a user for the first input box, the electronic equipment identifies whether the application to which the first input box belongs is a communication application; if the chat object is the communication application, the electronic equipment further identifies whether the chat object in the display interface is a designated contact; if the contact person is designated, the electronic equipment can display a first prompt box in the display interface, wherein the first prompt box comprises N candidate input items related to the designated contact person; if the electronic device receives a user selection operation to select a first candidate entry from the N candidate entries, the electronic device may automatically enter the first candidate entry into the first input box. In this way, the electronic device can intelligently prompt the candidate input items related to the chat object to the user in the first prompt box according to the difference of the chat objects, so as to improve the input efficiency of the user.
Or, after the electronic device identifies that the application to which the first input box belongs is a communication application, the electronic device may further obtain chat content in the display interface; further, the electronic device can generate relevant candidate entries according to the chat content and prompt the user. The electronic equipment can intelligently prompt the candidate input items related to the chat contents to the user in the first prompt box according to different chat contents so as to improve the input efficiency of the user.
In a fourth aspect, the present technical solution provides a method for inputting information into an input box, including: the electronic equipment runs a first application and displays a display interface, wherein the display interface comprises a first input box; responding to the operation of a user for the first input box, a first application of the electronic equipment requests an application framework layer to acquire N candidate input items; displaying the obtained N candidate input items on the display interface through an application program frame layer in the electronic equipment; in response to a user operation to select a first candidate entry from the N candidate entries, the electronic device enters the first candidate entry into the first input box.
The application program framework layer can provide the input service for all applications with the input boxes, so that when a user uses any input box to input information, the electronic equipment can provide candidate input items according to the method, the user can conveniently and quickly input information into each input box by using the candidate input items, and poor user experience of uneven input efficiency in different input boxes is relieved.
The application framework layer includes a view (view) system (e.g., a text view control), and the steps performed by the application framework layer may be specifically performed by the view system.
In one possible design method, the N candidate entries include: at least one of the historical input records of the first input box or at least one of the historical input records of the second input box.
In one possible design method, a history record is stored in the electronic device, and the history record comprises a corresponding relation between the ID of the input box and the history input record; at this time, a first application in the electronic device requests the application framework layer to acquire N candidate entries, including: a first application in the electronic equipment sends the ID of a first input box to the application program framework layer; and the application framework layer in the electronic equipment inquires one or more history input records corresponding to the ID of the first input box in the history records.
Or, the history record comprises a corresponding relation between the history input record and the type of the history input record; at this time, a first application in the electronic device requests the application framework layer to acquire N candidate entries, including: a first application in the electronic equipment sends a target type of a historical input record selected by a user to the application program framework layer; and the application program framework layer in the electronic equipment inquires one or more historical input records corresponding to the target type in the historical records.
In one possible design method, after the electronic device runs the first application, the method further includes: a first application in the electronic equipment receives input content input into a first input box by a user; a first application in the electronic equipment sends the input content and the ID of a first input box to the application program framework layer; the application framework layer in the electronic equipment takes the input content as a history input record and saves the corresponding relation between the input content and the ID of the first input box.
In one possible design method, before the electronic device runs the first application, the method further includes: a first application in the electronic equipment sends a registration request of a first input box to an application framework layer; in response to the registration request, the application framework layer in the electronic device generates an ID for the first input box. In this way, each input box in the electronic device may be registered with a unique ID in the application framework layer, and the electronic device may maintain the ID of each input box in the history.
In a fifth aspect, a technical solution of the present application provides an electronic device, including: an input device, a display screen, one or more processors, memory, and one or more computer programs; wherein the processor is coupled to the input device, the processor and the memory, and the one or more computer programs are stored in the memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory to make the electronic device execute any one of the above methods for inputting information into the input box.
In a sixth aspect, the present technical solution provides a computer storage medium, including computer instructions, which, when run on an electronic device, cause the electronic device to perform any one of the above methods for inputting information into an input box.
In a seventh aspect, the present invention provides a computer program product, which when run on an electronic device, causes the electronic device to execute any one of the above methods for inputting information into an input box.
It is to be understood that the terminal according to the fifth aspect, the computer storage medium according to the sixth aspect, and the computer program product according to the seventh aspect are all configured to execute the corresponding method provided above, and therefore, the beneficial effects achieved by the terminal according to the fifth aspect, the beneficial effects achieved by the terminal according to the sixth aspect, and the description thereof is omitted here.
In one possible implementation, the input device may be a touch-sensitive surface, which may also be referred to as a touch sensor. Among other things, the touch sensitive surface and the display screen may be referred to as a touch screen.
In a possible implementation, the operation of the first input box may be: click input box, double click input box, long press input box, or heavy press input box, etc. The mobile phone can display a cursor in the input box and can also display an input method application, such as displaying a virtual key, in response to clicking the input box, double-clicking the input box, long-pressing the input box, or re-pressing the input box.
Drawings
Fig. 1 is a first schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram illustrating an architecture of an operating system in an electronic device according to an embodiment of the present disclosure;
fig. 3 is a first scenario diagram of a method for inputting information into an input box according to an embodiment of the present application;
fig. 4 is a schematic view of a second scenario of a method for inputting information into an input box according to an embodiment of the present application;
fig. 5 is a third scene schematic diagram of a method for inputting information into an input box according to an embodiment of the present application;
fig. 6 is a scene schematic diagram of a method for inputting information into an input box according to an embodiment of the present application;
fig. 7 is a scene schematic diagram five of a method for inputting information into an input box according to an embodiment of the present application;
fig. 8 is a scene schematic diagram six of a method for inputting information into an input box according to an embodiment of the present application;
fig. 9 is a scene schematic diagram seven of a method for inputting information into an input box according to an embodiment of the present application;
fig. 10 is a schematic view illustrating a scene eight of a method for inputting information into an input box according to an embodiment of the present application;
fig. 11 is a schematic view nine of a scene of a method for inputting information into an input box according to an embodiment of the present application;
fig. 12A is a schematic view illustrating a scene of a method for inputting information into an input box according to an embodiment of the present application;
fig. 12B is a schematic view eleven illustrating a scenario of a method for inputting information into an input box according to an embodiment of the present application;
fig. 13 is a scene schematic diagram twelve of a method for inputting information into an input box according to an embodiment of the present application;
fig. 14 is a schematic diagram thirteen illustrating a scenario of a method for inputting information into an input box according to an embodiment of the present disclosure;
fig. 15 is a schematic view fourteen illustrating a scenario of a method for inputting information into an input box according to an embodiment of the present application;
fig. 16 is a scene schematic diagram fifteen illustrating a method for inputting information into an input box according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Embodiments of the present embodiment will be described in detail below with reference to the accompanying drawings.
The method for inputting information into the input box, provided by the embodiment of the application, can be applied to electronic equipment. The electronic device may be a mobile phone, a tablet Computer, a desktop Computer, a laptop Computer, a notebook Computer, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, a virtual reality device, and the like, and the specific form of the electronic device is not particularly limited in the following embodiments.
Fig. 1 shows a schematic structural diagram of an electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 may be a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
In some embodiments, the software system of the electronic device 100 may adopt a hierarchical architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Fig. 2 is a block diagram of a software configuration of the electronic apparatus 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer (APP layer) may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer (framework layer) provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
A view (view) system includes visual controls such as a text view, a picture view, and the like, which display text. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
An Android Runtime (Android Runtime) includes a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
In the embodiment of the present application, as also shown in fig. 2, a text view control may be included in a view (view) system of an application framework layer. the text view control can be used for constructing an input frame in the application, so that the input frame of each application in the application program layer can realize an information input process based on the text view control.
Illustratively, one or more input boxes may be included in each application in the application layer. For example, the WeChat application includes an input box for use in chatting with contacts and an input box for searching. An application containing an input box may register the ID of the input box it contains in the text view control in advance. For example, the application may send its own package name (packname) and attribute information such as the identifier of its input box in the application to the text view control at the time of registration. the text view control may generate an ID for the registered input box that uniquely identifies the input box. For example, the text view control may generate an ID of the input box using a hash algorithm (hash) based on the packet name of the application and the identification of the input box in the application. Thus, each entry box in the electronic device 100 may have a unique ID registered in the text view control, and the electronic device 100 may set a corresponding database (e.g., a history database) to maintain the ID of each entry box.
Subsequently, when detecting that the user inputs information into an input box (for example, the input box A) of an application, the application can call the text view control to store the input content in the input box A at this time as a history input record, and establish a corresponding relation between the history input record and the input box ID. For example, the text view control may save a correspondence between the ID of input box A and its historical input records in a history database. In this way, the corresponding relationship between each input box and each historical input record is maintained in the electronic device 100.
Still taking the input box a as an example, when it is detected that the user operates the input box a (e.g., clicks the input box a) subsequently, the text view control may query one or more history input records corresponding to the input box a in the history database according to the ID of the input box a, and may display the history input records as candidate input items in the vicinity of the input box a. Therefore, if a user selects a certain candidate input item, the electronic equipment can automatically input the candidate input item into the input box A, and the problem that the input efficiency is reduced due to the fact that the user repeatedly inputs the same information is solved.
In addition, since the view system may provide the input service to all applications having input boxes, when a user inputs information using any input box, the electronic device 100 may provide candidate input items according to the method, and the user may conveniently and quickly input information into each input box using the candidate input items, thereby alleviating a bad user experience of uneven input efficiency in different input boxes.
Of course, in addition to having the history input record as a candidate entry, the text view control may recommend other information to the user as a candidate entry. For example, the electronic apparatus 100 may preset an AI (artificial intelligence) database, and if the application to which the input box a belongs is a music-like application, the text view control may recommend the latest popular song or singer as a candidate input item from the AI database to the user; for another example, if the input box a is an input box in a chat interface with the contact Sam, the text view control may obtain a candidate input item recommended to the user from the AI database according to the chat content in the chat interface, so that the user can obtain an intelligent input experience when using various input boxes.
The following describes in detail a method for inputting information into an input box, which is provided by an embodiment of the present application, with reference to the drawings, by using a mobile phone as the electronic device.
It should be noted that the input box in the embodiment of the present application may be an input box with a search function, for example, an input box in a browser application, or an input box used for merely interacting information, for example, a short message input box in a short message application, a chat input box with a contact in a wechat application, and the like. The user can input information such as characters, letters, numbers, symbols, pictures, expressions and the like into the input box, and the embodiment of the application does not limit the information.
As shown in fig. 3, a chat input box 301 with a contact Sam in a WeChat application is used as an example. Upon installation of the WeChat application, the WeChat application may register the input box 301 with a view system (e.g., a text view control) in the application framework layer. Upon registration, the view system may generate a globally unique ID for input box 301, and subsequently, the view system may provide the input box 301 with the associated input services based on the ID. It should be noted that, when registering an input box with the view system, the wechat application may register with the type of the input box as the granularity. For example, the input boxes in the chat interface of each contact in the wechat application all belong to chat input boxes, so that the wechat application can uniformly register the chat input boxes with one ID in the view system, and the ID of the chat input box 301 of the contact Sam is the same as the ID of the chat input box of the contact Mike. Of course, the input boxes may also be registered in the view system by using the number of the input boxes as granularity, and at this time, the IDs of the chat input boxes corresponding to different contacts are different.
Illustratively, as also shown in fig. 3, during the process of inputting information in the input box 301 by the user, if it is detected that the user completes the input, for example, when it is detected that the user clicks the send button 302, the wechat application may call the view system to save the input content (for example, "133595966688") in the input box 301 at this time as the first history input record, and establish the corresponding relationship between the first history input record and the ID of the input box 301.
For example, the mobile phone may establish a corresponding history table for different input boxes according to the ID of the input box. As shown in fig. 4, as exemplified by the above-described input box 301, in the history table 401 corresponding to the ID of the input box 301, the input content (i.e., history input record) of the user in the input box 301 may be recorded. Thus, the correspondence between the history input record and the ID of the input box can be established.
In addition, as also shown in fig. 4, in the history table 401, the mobile phone may also record the input time of each history input record. And the mobile phone can also identify the specific type of each historical input record, such as the character type, the number type, the picture type, the expression type, the song type or the ancient poetry type. The mobile phone can record the identified specific types in the history table 401, and associate the specific types with corresponding history input records. In this way, the handset can record the historical input records of each input box in the handset, and the related information of the historical input records.
In other embodiments of the present application, as shown in fig. 5 (a), the mobile phone may further include a button 501 in the input box 301. The button 501 may be used to trigger the mobile phone to record the current input content as a history input record in a history record, for example, in the form of a table in the history table 401. That is, in the process of inputting information into the input box 301, the user can manually set some input contents as a history input record through the button 501 for saving. Still as shown in fig. 5 (a), after the user inputs "call Alice" in the input box 301, if it is detected that the user clicks the button 501, it indicates that the user wishes to save the input content this time as a history input record, and then the history input record of "call Alice" may need to be input again. Further, in response to the user's operation of clicking the button 501, the cellular phone can record the content entered in the input box 301, i.e., "i call Alice", as one history input record in the history record corresponding to the ID of the input box 301. In this way, the mobile phone can selectively save some important or input contents which are possibly reused later as a history input record.
For example, when the history input record of "called Alice" is saved in the history record, the type of the history record may be automatically identified and recorded, for example, the history input record of "called Alice" is identified as a text type. Or, the user can also manually set the type of the history input record when the history input record of 'i call Alice' is stored in the mobile phone. For example, as shown in (b) of fig. 5, when it is detected that the user clicks the button 501, the mobile phone may further display the menu 502. The menu 502 includes all saving types supported by the mobile phone when saving the history input record, such as text, emoticons, pictures, and songs. Thus, the user can manually select which type of saving the history input record "i call Alice" is saved in the history table 401 in the menu 502. For example, if it is detected that the user clicks a save type of "text" in the menu 502, the mobile phone may establish a corresponding relationship between the history input record and the text type when the history input record of "i call Alice" is saved in the history table 401.
The button 501 may be always displayed in the input box 301. Alternatively, the mobile phone may display the button 501 when it is detected that the user inputs information into the input box 301, and the mobile phone may hide the button 501 when it is detected that the user stops inputting information into the input box 301. Alternatively, the mobile phone may automatically recognize the input content in the input box 301, and when a preset keyword (for example, a telephone call, an address, or the like) is recognized, the mobile phone may display the button 501. Of course, the user may also call the button 501 by performing a corresponding gesture, and the button 501 may also be displayed in a position other than the input box 301, which is not limited in this embodiment of the application.
Note that the mobile phone may continuously update the history input record recorded in the history record (e.g., the history table 401). For example, the handset may maintain a historical entry record in entry box 301 for the last month in history table 401. Then, when the input time of a certain historical input record exceeds the time limit of a month, the mobile phone can automatically delete the historical input record. Alternatively, the handset may maintain a certain number (e.g., 20) of historical entries in the history table 401. Then, when the history input records in the history table 401 are more than 20, the mobile phone may automatically delete the history input records with earlier input time. It is understood that the history table 401 may be stored in the mobile phone or in the server.
The above embodiments illustrate how a history input record (e.g., history table 401 described above) associated with input box 301 is generated when a user inputs information into input box 301. The following embodiments will explain in detail how a user is provided with candidate entries according to history entries when the user inputs information into the input box 301 with reference to the drawings.
Illustratively, as shown in fig. 6, when the mobile phone runs the WeChat application, if it is detected that the user clicks the input box 301 in the chat interface 601 with Mike, the user is ready to input information into the input box 301 at this time. In response to the user clicking the input box 301, the mobile phone may display the first prompt box 602, for example, display the first prompt box 602 near the input box 301. One or more candidate entries 603 are included in the first prompt box 602. The candidate entry 603 may be a history entry in the history table 401 corresponding to the input box 301. For example, candidate entry 603 may be one or more historical entries in history table 401 that have been entered by the user with a high frequency or most recently. Of course, in response to the operation of clicking the input box 301 by the user, the wechat application may also call the input method application to display the corresponding virtual keyboard 604, which is not limited in this embodiment of the application.
Specifically, when it is detected that the user clicks the input box 301, the wechat application may send the ID of the input box 301 to the view system in the application framework layer, and the view system may search the stored history for the history corresponding to the ID of the input box 301. In this way, the view system may display one or more of the history entries as candidate entries 603 in the first prompt box 602 described above. Subsequently, if it is detected that the user selects a certain history input record in the first prompt box 602, the mobile phone may automatically input the history input record selected by the user into the input box 301, so as to prevent the user from repeatedly inputting the same information as the history input record by using an input method, thereby improving the input efficiency when inputting information into the input box.
In some embodiments, as also shown in FIG. 6, the historical input record displayed in the first prompt box 602 may be part of the history. The handset may set a "more" button 605 in the first prompt box 602. When it is detected that the user clicks the button 605, the mobile phone may display other history input records in the history record corresponding to the input box 301 for the user to select, or the mobile phone may display all history input records in the history record corresponding to the input box 301 for the user to select.
Alternatively, if the type of each history input record in the input box 301 is recorded in the history record, as shown in fig. 7, when it is detected that the user clicks the input box 301, the mobile phone may also display a second prompt box 701 in the chat interface 601. The second prompt box 701 includes the type of the history input record corresponding to the input box 301, for example, text, expression, picture, song, etc. In turn, the user may further look for a certain type of historical input record among these types as desired. For example, if it is detected that the user clicks the type "text" in the second prompt box 701, as shown in fig. 8, the mobile phone may display the history input record of which the type is text in the history record in the secondary menu 801 of the type "text". In this way, the user can look up the historical entry record for the desired text type in menu 801. If it is detected that the user has selected a history entry in menu 801, such as "I call Alice," the handset may automatically enter the history entry of "I call Alice" into input box 301. Therefore, the user can quickly search the historical input record needing to be input into the input box 301 from a plurality of historical input records through the type of the historical input record, and the input efficiency in the input box of the mobile phone can be further improved.
In some embodiments, as also shown in fig. 7, the mobile phone may further set a setting button 702 in the second prompt box 701. The user can manually manage the history input records in the history table 401 using the setting button 702. For example, if it is detected that the user clicks the setting button 702, the cellular phone may jump to a history editing interface 901 as shown in fig. 9. The user may manually modify the content of each history input record in the history record, the type of the history input record, and other information in the editing interface 901, or the user may manually delete or add the history input record in the editing interface 901, thereby setting a history record meeting the personalized requirements of the user.
It should be noted that the event triggering the mobile phone to display the first prompt box 602 (or the second prompt box 701) may be an operation of the user selecting the input box 301. For example, the user clicks the input box 301. The user selects the input box 301, which triggers the mobile phone to display the first prompt box 602 (or the second prompt box 701). Alternatively, the mobile phone may detect whether the user inputs a preset gesture to the input box 301. For example, the preset gesture may be a long press, a heavy press, a double tap, or a swipe gesture on the input box 301. If the preset gesture input by the user to the input box 301 is detected, the mobile phone may be triggered to display the first prompt box 602 (or the second prompt box 701) described above. In this way, the user can call up the first prompt box 602 (or the second prompt box 701) by performing a preset gesture at any input time when the user inputs in the input box 301.
Further, after the mobile phone displays the first prompt box 602 (or the second prompt box 701), if it is not detected that the user performs any operation on the first prompt box 602 (or the second prompt box 701) within a preset time period, the mobile phone may hide the first prompt box 602 (or the second prompt box 701) in the chat interface 601. Of course, the mobile phone may also display the first prompt box 602 (or the second prompt box 701) until the user is detected to click the send button of the input box 301.
Still by way of example of the first prompt box 602 described above, during the process of inputting information into the input box 301 by the user, the candidate entry 603 in the first prompt box 602 may vary with the content of the input in the input box 301 by the user. As shown in fig. 10, the mobile phone can acquire the input content 1001 of the user in the input box 301 in real time. Further, the mobile phone can search the history by using the acquired input content 1001 as a keyword, and search out the history input record associated with the input content 1001. For example, the input content 1001 shown in fig. 10 is "my home", and the cellular phone may retrieve a history input record containing the input content 1001 of "my home" in the history record (e.g., history table 401). Further, the handset may update the retrieved historical input record as a new candidate input item in the first prompt box 602. In this way, the historical input record recommended to the user in the first prompt box 602 may change in real time with the user input, and the user may be prompted to quickly input the historical input record associated with the currently input content into the input box 301.
In the above embodiment, the example is described as an example in which when the user inputs information to the input box 301, the history input record corresponding to the input box 301 is recommended to the user. In other embodiments, when the user inputs information into the input box 301, the mobile phone may recommend the user's history of input in other input boxes as candidate input items.
Still by way of example of the input box 301 in the chat interface 601, as shown in fig. 11 (a), the candidate entries 603 in the first prompt box 602 displayed by the mobile phone are all history entries in the history record. The mobile phone may set a switch button 1101 in the first prompt box 602 described above. The switch button 1101 may be used to switch the other history input records to the first prompt box 602 displayed by the current mobile phone, for example, the history input records of the other input boxes may be switched to the first prompt box 602 displayed by the current mobile phone. If it is detected that the user clicks the switch button 1101, the handset may update one or more of the history records recorded for other input boxes as new candidate entries 603' in the first prompt box 602, as shown in fig. 11 (b). For example, the handset may use one or more historical input records that have been entered by the user in other input boxes more frequently or recently as new candidate entries 603'.
Still alternatively, if it is detected that the user clicks the switch button 1101, as shown in fig. 12A, the mobile phone may further display the first index box 1201 with the application as the granularity. The first index box 1201 contains icons 1202 (or names) of one or more applications having input boxes therein. After the user selects an icon of a corresponding application in the first index box 1201, the mobile phone may display the first prompt box 602, and display a history input record corresponding to an input box in the application as a candidate input item in the first prompt box 602. For example, as also shown in fig. 12A, if it is detected that the user has clicked on an icon of a contacts application in the first index box 1201, the cell phone may hide the first index box 1201 and display one or more historical input records stored for an input box in the contacts application in the first prompt box 602. It can be understood that the first prompt box in fig. 12A may be the same as or different from the first prompt box described in other figures, and this is not limited in this embodiment of the present invention.
Still alternatively, if it is detected that the user clicks the switch button 1101, as shown in fig. 12B, the mobile phone may further display the second index frame 1203 with the type of the history input record as granularity. The second index box 1203 contains different types 1204 of historical input records that have been stored in the handset. After the user selects the corresponding type in the second index box 1203, the mobile phone may display the first prompt box 602, and display the history input record corresponding to the type as a candidate input item in the first prompt box 602. For example, as also shown in fig. 12B, if it is detected that the user clicks on a music type in the second index box 1203, the mobile phone may select one or more music types from the history input records of all music types to be displayed in the first prompt box 602, and at this time, the candidate entries in the first prompt box 602 are not limited to the history input records in the history table 401 corresponding to the input box 301.
It is understood that, in fig. 12A or 12B, the mobile phone may also set the above-mentioned switch button 1101 in the first prompt box 602. The function of the switch button is described with reference to fig. 11, and thus is not described herein again. The first prompt box in fig. 12B may be the same as or different from the first prompt box in other figures, which is not limited in this embodiment of the present invention.
That is to say, when a user inputs information to a certain input box, the mobile phone can cross the input boxes to prompt the user of the historical input records input in other input boxes, so that the historical input records of the user in different input boxes can be recommended to the user as candidate input items, and the influence on the input efficiency caused by the fact that the user repeatedly inputs the same input content in different input boxes is avoided.
In the above embodiments, when the user inputs information into the input box 301, the mobile phone recommends the history input record as a candidate input item to the user. It can be understood that, in addition to the historical input records of the user, the mobile phone can intelligently generate corresponding candidate input items for the user according to the relevant information of the input box or the relevant information of the application to which the input box belongs.
Illustratively, as shown in fig. 13, when detecting that a user has selected an input box (e.g., input box 1301) or entered information into the input box 1301, the cell phone may identify the type of application to which the input box 1301 belongs. For example, the mobile phone may obtain a package name of the application to which the input box 1301 belongs, and then determine the type of the application according to the classification of the package name in the application market. If the application belongs to a communication or social application, for example, a short message application, a WeChat application, a QQ, etc., the mobile phone may further identify a specific chat object when chatting using the input box 1301, for example, information such as a name, a nickname, a mobile phone number, etc., of an opposite-end contact. If the chat object is identified as a designated contact, e.g., 10086, bank, company's customer service, etc., when chatting using the input box 1301, the cell phone can determine candidate entries related to the identified contact using a corresponding smart algorithm.
Still as shown in fig. 13, after the user clicks the input box 1301, the mobile phone may be triggered to recognize that the application to which the input box 1301 belongs is a short message application, that is, a communication application. The mobile phone can obtain 10086 the mobile phone number of the chat object when chatting with the input box 1301. Since 10086 is a preset telephone number for a particular contact, the handset can further determine candidate entries associated with 10086. For example, when sending a short message to 10086, the user usually replies various short message service codes, and the mobile phone may store the corresponding relationship between the short message service codes and 10086 in advance. In this way, when the mobile phone determines that the mobile phone number of the opposite terminal is 10086, the mobile phone may display the third prompt box 1302, for example, the third prompt box 1302 may be displayed near the input box 1301, and the short message service code corresponding to 10086 may be displayed in the third prompt box 1302 as a candidate input item. In this way, the mobile phone can intelligently prompt the candidate input items related to the chat object to the user in the third prompt box 1302 according to the difference of the chat objects, so as to improve the input efficiency of the user.
In other embodiments, if the mobile phone recognizes that the application to which the input box operated by the current user belongs is a communication application or a social application, the mobile phone may further recognize chat content in a chat interface where the input box is located at the moment. As shown in fig. 14, when the mobile phone displays a chat interface 1401 with three contacts, if it is detected that the user clicks an input box 1402 in the chat interface 1401, the mobile phone may recognize that an application to which the input box 1402 belongs is a short message application, that is, a communication application. Furthermore, the mobile phone can acquire the chat content 1403 of the user and the contact three in the chat interface 1401 and identify the chat content 1403. For example, the mobile phone can identify whether preset keywords such as time, date, place, weather, etc. are included in the chat content 1403. Alternatively, the mobile phone may perform semantic analysis on the chat content 1403 through a semantic recognition algorithm. Further, the cellular phone may generate a candidate input item associated with the chat content 1403 according to the recognition result of the chat content 1403, and display the generated candidate input item in the fourth prompt box 1404 of the chat interface 1401.
For example, if the mobile phone recognizes that the chat content 1403 includes the related information of weather, the mobile phone may display the content of the current weather forecast as a candidate entry in the fourth prompt box 1404. For another example, if the mobile phone recognizes that the chat content 1403 includes the information related to the food, the mobile phone may display the searched information of the nearby restaurant as a candidate input item in the fourth prompt box 1404. The specific method for recognizing the chat content by the mobile phone and the specific method for generating the candidate input item by the mobile phone according to the recognition result in the embodiment of the present application may be set by a person skilled in the art according to an actual application scenario or an actual experience, which is not limited in the embodiment of the present application.
In other embodiments, the mobile phone may further generate a corresponding candidate input item according to the type of the application to which the input box operated by the current user belongs. Illustratively, the types of applications can be divided into various types such as communication, music, video, travel, and food. The mobile phone can preset application lists of different types of applications, so that the mobile phone can inquire the type of a certain application in the application list; alternatively, the mobile phone may query the server for the type of an application.
Illustratively, as shown in fig. 15, after the user opens the QQ music APP, the handset may display a home page 1501 of the QQ music APP, where the home page 1501 includes an input box 1502 for searching. If it is detected that the user clicks the input box 1502, the cellular phone can recognize that the QQ music application to which the input box 1502 belongs is an application of a music type. Further, the mobile phone may display the related music information as a candidate entry in the fifth prompt box 1503. The music information may be information such as a popular song or a popular singer with a high search frequency, which is not limited in this embodiment of the present application. Of course, if the mobile phone identifies that the type of the current application is a video-type application, the mobile phone may use related video information (e.g., popular television shows, movies, etc.) as candidate input items; if the mobile phone identifies that the type of the current application is a travel-type application, the mobile phone may use relevant travel information (e.g., special value airline tickets, sight recommendations, etc.) as a candidate input. It will be appreciated that a person skilled in the art may set the specific method of generating candidate entries related to the application type according to actual experience or actual application scenarios.
In addition, as shown in fig. 15, after the mobile phone displays the fifth prompt box 1503, if it is detected that the user selects a candidate entry in the fifth prompt box 1503, the mobile phone may automatically enter the candidate entry selected by the user into the entry box 1502. Or, in addition to automatically inputting the candidate input item selected by the user into the input box 1502, the mobile phone may also automatically search the candidate input item selected by the user as a search keyword, and display the search result.
In other embodiments, when the user operates an input box, the mobile phone may further generate a corresponding candidate input item according to a history input record of the user in the input box. For example, the mobile phone may query the history table corresponding to the input box according to the ID of the input box currently being operated by the user. Furthermore, the mobile phone can generate related candidate input items according to all the historical input records in the inquired historical record table. For example, if the mobile phone determines that the history input records with the user input frequency greater than the set value are all history input records about books according to the history record table, the mobile phone may prompt the user with information about popular book names, popular authors, and the like related to the books as candidate input items. That is to say, the mobile phone may determine the input habit of the user in the input box according to the history input record of the user in the input box, and then generate a corresponding candidate input item for the user based on the input habit of the user.
It can be seen that, in the embodiment of the present application, when a user operates any input box in a mobile phone, the mobile phone may generate corresponding candidate input items according to information such as a history input record of the input box, a type of an application to which the input box belongs, contact information or chat content associated with the input box, and the like, so that the user may quickly select input content input to the input box this time from the candidate input items, thereby improving input efficiency in each input box in the mobile phone, and bringing intelligent input experience to the user.
It should be noted that, when a user operates a certain input box in the mobile phone, the mobile phone may generate a plurality of candidate input items according to the methods described in the above embodiments, where the candidate input items may include a history input record of the user, or may include candidate input items generated by the mobile phone according to information such as an application type, contact information, or chat content. Illustratively, as shown in fig. 16, if it is detected that the user clicks the input box 1502 in the home page 1501 of the QQ music APP, the handset may display two prompt boxes, namely prompt box 1601 and prompt box 1602, where one or more candidate input items are respectively included in the prompt box 1601 and the prompt box 1602. The candidate input items in the prompt box 1601 are history input records of the user in the input box 1502, and the candidate input items in the prompt box 1602 are related music information generated by the mobile phone for the user according to the application type of the QQ music APP. Subsequently, if it is detected that the user selects a candidate input item in a prompt box, the mobile phone can automatically input the selected candidate input item into the input box 1502, so that the user can complete the input process into the input box 1502 by only one selection operation, the input efficiency of the input box can be improved, and meanwhile, intelligent input experience is provided for the user.
As shown in fig. 17, an application embodiment discloses an electronic device, including: a touch screen 1701, the touch screen 1701 comprising a touch-sensitive surface 1706 (the touch-sensitive surface 1706 may serve as an input device) and a display screen 1707; one or more processors 1702; a memory 1703; one or more application programs 1708; and one or more computer programs 1704, which may be interconnected, e.g., by one or more communication buses 1705.
Wherein the one or more computer programs 1704 are stored in the memory 1703 and configured to be executed by the one or more processors 1702, the one or more computer programs 1704 including instructions that may be used to perform the steps of fig. 2-16 and the corresponding embodiments.
An embodiment of the present application further provides a computer storage medium, in which computer program codes are stored, and when the processor executes the computer program codes, the electronic device may execute the method for inputting information into the input box related to any one of fig. 2 to 16.
The embodiment of the application also provides a computer program product, which when run on a computer causes the computer to execute the method for inputting information into the input box related to any one of fig. 2-16.
In addition, the electronic device, the computer storage medium, or the computer program product provided in the embodiments of the present application are all configured to execute the corresponding method provided above, and therefore, the beneficial effects achieved by the electronic device, the computer storage medium, or the computer program product may refer to the beneficial effects in the corresponding method provided above, and are not described herein again.
It is understood that the embodiments of the present invention have been described based on the drawings attached to the specification. Each of the figures in the specification should be understood to represent an embodiment.
The technical solutions of the embodiments of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solutions may be implemented in a software product, which is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only a specific implementation of the embodiments of the present application, but the scope of the embodiments of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the embodiments of the present application should be covered by the scope of the embodiments of the present application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (20)

  1. A method of inputting information into an input box, comprising:
    the method comprises the steps that the electronic equipment displays a display interface, and the display interface comprises a first input box;
    the electronic equipment receives operation of a user on the first input box;
    responding to the operation, the electronic equipment displays a first prompt box on the display interface, wherein the first prompt box comprises M types of historical input records, and M is an integer larger than 0;
    the electronic equipment receives a first selection operation of a user for selecting a first type from the M types;
    responding to the first selection operation, the electronic equipment displays N candidate input items in the display interface, wherein the N candidate input items are all the historical input records of the first type, and N is an integer larger than 0;
    the electronic equipment receives a second selection operation of selecting a first candidate input item from the N candidate input items by a user;
    in response to the second selection operation, the electronic device enters the first candidate entry into the first input box.
  2. The method of claim 1, wherein the N candidate entries include a historical entry record for the second entry box.
  3. The method of claim 2,
    the first input box is an input box of a first application, and the second input box is an input box of a second application; alternatively, the first and second electrodes may be,
    the first input box and the second input box are two different input boxes in the same application.
  4. The method of claim 1, wherein the N candidate entries include a historical entry record for the first entry box.
  5. The method of any of claims 1-4, wherein the first prompt box further includes a first button therein, the method further comprising:
    in response to the operation of clicking the first button by the user, the electronic equipment displays other history input records except the N history input records in the first prompt box.
  6. The method according to any one of claims 1-4, wherein the first prompt box further comprises a second button; the method further comprises the following steps:
    responding to the operation of clicking the second button by the user, and displaying an index box by the electronic equipment with application as granularity;
    in response to an operation of a user selecting a first application in the index box, the electronic equipment displays a second prompt box on the display interface, wherein the second prompt box comprises at least one historical input record of the first application.
  7. The method according to any one of claims 1-6, further comprising:
    the electronic equipment receives input content input to the first input box by a user;
    the electronic device displays a historical input record associated with the input content in the first prompt box based on the input content.
  8. The method of claim 7, further comprising a save button in the display interface;
    after the electronic device receives input content input to the first input box by a user, the method further comprises the following steps:
    and in response to the operation of clicking the saving button by the user, the electronic equipment saves the input content as a history input record of the first input box.
  9. The method of claim 8, wherein in response to a user operation of clicking the save button, the electronic device saving the input content as a historical input record of the first input box, comprising:
    responding to the operation of clicking the saving button by the user, and displaying at least one saving type of the input content by the electronic equipment;
    and responding to the saving type selected by the user, the electronic equipment saves the input content, wherein the input content is related to the saving type selected by the user.
  10. The method of any one of claims 1-9 wherein the M types include at least one of text, expressions, pictures, video, numbers, songs, or ancient poems.
  11. The method according to any one of claims 1-10, further comprising, after the electronic device receives a user operation with respect to the first input box:
    responding to the operation, the electronic equipment displays K candidate input items in the display interface, wherein K is an integer larger than 0;
    wherein the K candidate entries are generated according to chat content contained in the display interface; or the K candidate input items are generated according to chat objects in the display interface; or the K candidate input items are generated according to the type of the application to which the display interface belongs.
  12. An electronic device, comprising: one or more processors, memory, input devices, and a display screen; the memory, the input device, the display screen, and the one or more processors are coupled, the memory for storing computer program code, the computer program code comprising computer instructions that, when executed by the one or more processors,
    the display screen is used for: displaying a display interface, wherein the display interface comprises a first input box;
    the input device is configured to: receiving an operation of a user on the first input box;
    the processor is responsive to user manipulation of the first input box, the display screen further being configured to: displaying a first prompt box on the display interface, wherein the first prompt box comprises M types of historical input records, and M is an integer greater than 0;
    the input device is further configured to: receiving a first selection operation of a user for selecting a first type from the M types;
    the processor, in response to the first selection operation, the display screen is further configured to: displaying N candidate input items in the display interface, wherein the N candidate input items are all the historical input records of the first type, and N is an integer larger than 0;
    the input device is further configured to: receiving a second selection operation of the user for selecting a first candidate input item from the N candidate input items;
    the processor, in response to the second selection operation, inputting the first candidate entry into the first input box, the display screen further for: displaying the first candidate entry entered by the first entry box.
  13. The electronic device of claim 12, wherein the N candidate entries include a history of entries for a second entry box, or wherein the N candidate entries include a history of entries for the first entry box;
    the first input box is an input box of a first application, and the second input box is an input box of a second application; or the first input box and the second input box are two different input boxes in the same application.
  14. The electronic device of claim 12 or 13, wherein the first prompt box further comprises a first button;
    the input device is further configured to: receiving an operation of clicking the first button by a user;
    the processor responds to the operation of clicking the first button by a user; the display screen is further configured to: displaying other historical input records in the first prompt box except the N historical input records.
  15. The electronic device of any of claims 12-14, wherein the first prompt box further comprises a second button;
    the input device is further configured to: receiving an operation of clicking the second button by a user;
    the processor responds to the operation of clicking the second button by the user; the display screen is further configured to: displaying the index frame with the granularity of the application;
    the input device is further configured to: receiving an operation of a user for selecting a first application in the index box;
    the processor responds to the operation of a user for selecting a first application in the index box; the display screen is further configured to: displaying a second prompt box on the display interface, wherein the second prompt box comprises at least one historical input record of the first application.
  16. The electronic device of any of claims 12-15,
    the input device is further configured to: receiving input content input to the first input box by a user;
    the processor is used for responding to input content input to the first input box by a user; the display screen is further configured to: based on input content, displaying a historical input record associated with the input content in the first prompt box.
  17. The electronic device of any of claims 12-16, further comprising a save button in the display interface;
    the input device is further configured to: receiving the operation of clicking the saving button by a user;
    the processor stores the input content as a history input record of the first input box in a history input record in response to an operation of clicking the save button by a user.
  18. The electronic device of claim 17,
    the processor responds to the operation of clicking the saving button by a user, and the display screen displays at least one saving type of the input content;
    the input device is further configured to: and receiving a storage type selected by a user, wherein the input content is related to the storage type selected by the user.
  19. The electronic device of any of claims 12-18, wherein the M types include at least one of text, expressions, pictures, videos, numbers, songs, or ancient poems.
  20. The electronic device of any of claims 12-19,
    the display screen is further used for: displaying K candidate input items in the display interface, wherein K is an integer larger than 0;
    wherein the K candidate entries are generated according to chat content contained in the display interface; or the K candidate input items are generated according to chat objects in the display interface; or the K candidate input items are generated according to the type of the application to which the display interface belongs.
CN201880097766.2A 2018-09-28 2018-09-28 Method for inputting information into input box and electronic equipment Pending CN112740148A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/108291 WO2020062014A1 (en) 2018-09-28 2018-09-28 Method for inputting information into input box and electronic device

Publications (1)

Publication Number Publication Date
CN112740148A true CN112740148A (en) 2021-04-30

Family

ID=69950981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097766.2A Pending CN112740148A (en) 2018-09-28 2018-09-28 Method for inputting information into input box and electronic equipment

Country Status (2)

Country Link
CN (1) CN112740148A (en)
WO (1) WO2020062014A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747249A (en) * 2021-07-30 2021-12-03 北京达佳互联信息技术有限公司 Live broadcast problem processing method and device and electronic equipment
CN116137617A (en) * 2021-11-17 2023-05-19 腾讯科技(深圳)有限公司 Expression pack display and associated sound acquisition methods, devices, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063855A (en) * 2021-11-12 2022-02-18 北京字跳网络技术有限公司 Content input method, device, equipment and medium of instant communication software

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365833B (en) * 2012-03-28 2016-06-08 百度在线网络技术(北京)有限公司 A kind of input candidate word reminding method based on context and system
US20160196336A1 (en) * 2015-01-02 2016-07-07 International Business Machines Corporation Cognitive Interactive Search Based on Personalized User Model and Context
CN107621886B (en) * 2016-07-15 2021-12-21 北京搜狗科技发展有限公司 Input recommendation method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747249A (en) * 2021-07-30 2021-12-03 北京达佳互联信息技术有限公司 Live broadcast problem processing method and device and electronic equipment
CN116137617A (en) * 2021-11-17 2023-05-19 腾讯科技(深圳)有限公司 Expression pack display and associated sound acquisition methods, devices, equipment and storage medium
CN116137617B (en) * 2021-11-17 2024-03-22 腾讯科技(深圳)有限公司 Expression pack display and associated sound acquisition methods, devices, equipment and storage medium

Also Published As

Publication number Publication date
WO2020062014A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
EP3872807B1 (en) Voice control method and electronic device
CN110134316B (en) Model training method, emotion recognition method, and related device and equipment
CN110138959B (en) Method for displaying prompt of human-computer interaction instruction and electronic equipment
CN110910872B (en) Voice interaction method and device
CN112130714B (en) Keyword search method capable of learning and electronic equipment
CN111669459A (en) Keyboard display method, electronic device and computer readable storage medium
CN111316199A (en) Information processing method and electronic equipment
CN111742539A (en) Voice control command generation method and terminal
CN111835904A (en) Method for starting application based on context awareness and user portrait and electronic equipment
CN112740148A (en) Method for inputting information into input box and electronic equipment
CN113641271A (en) Application window management method, terminal device and computer readable storage medium
CN114650330A (en) Method, electronic equipment and system for adding operation sequence
CN111752648A (en) System language switching method and related device
CN113380240B (en) Voice interaction method and electronic equipment
CN114244951B (en) Method for opening page by application program, medium and electronic equipment thereof
CN114006976B (en) Interface display method and terminal equipment
WO2023207799A1 (en) Message processing method and electronic device
WO2020077503A1 (en) Information display method and device
CN114518965A (en) Cut and pasted content processing method and device
CN114816171A (en) List display method, terminal device and computer-readable storage medium
CN116527805A (en) Card display method, electronic device, and computer-readable storage medium
CN115883710A (en) Identification method and device for incoming call number
CN114817521A (en) Searching method and electronic equipment
CN116301510A (en) Control positioning method and electronic equipment
CN115145665A (en) Display method, electronic equipment and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination