CN112148196A - Display method and device of virtual keyboard - Google Patents

Display method and device of virtual keyboard Download PDF

Info

Publication number
CN112148196A
CN112148196A CN202010724108.0A CN202010724108A CN112148196A CN 112148196 A CN112148196 A CN 112148196A CN 202010724108 A CN202010724108 A CN 202010724108A CN 112148196 A CN112148196 A CN 112148196A
Authority
CN
China
Prior art keywords
display
key set
associated key
target
determining
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
CN202010724108.0A
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010724108.0A priority Critical patent/CN112148196A/en
Publication of CN112148196A publication Critical patent/CN112148196A/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

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

Abstract

The application discloses a display method and device of a virtual keyboard, and relates to the technical field of computer vision and the technical field of artificial intelligence. The specific implementation scheme is as follows: determining a target key triggered by a user on a virtual keyboard; acquiring at least one associated key set corresponding to a target key and a display sequence of each associated key set in the at least one associated key set, wherein each associated key set comprises at least one associated key; and controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence. From this, realized root display effect and user and pressed the interaction, improved and used the sense of reality, promoted animation intelligent and immersive product experience.

Description

Display method and device of virtual keyboard
Technical Field
The present application relates to the field of computer vision technologies and the field of artificial intelligence technologies, and in particular, to a display method and device for a virtual keyboard.
Background
The input method in the terminal device is more and more emphasized by the user as an important tool for the daily communication of the user, and generally, the virtual keyboard based on the input method of the third party provides an input medium for the user.
In the related art, the experience of the product is improved based on the display of the appearance, for example, the personal preference of the user is satisfied based on the setting of the skin, however, the display mode cannot improve the use reality of the user, and still can feel great difference from the real keyboard.
Disclosure of Invention
The embodiment of the application provides a display method and device of a virtual keyboard, which realize pressing interaction with a user according to a light display effect, improve the sense of reality in use, and improve the intelligence and immersive product experience of animation.
According to a first aspect, there is provided a display method of a virtual keyboard, comprising: determining a target key triggered by a user on a virtual keyboard; acquiring at least one associated key set corresponding to the target key and a display sequence of each associated key set in the at least one associated key set, wherein each associated key set comprises at least one associated key; and controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence.
According to a second aspect, there is provided a display device of a virtual keyboard, comprising: the first determining module is used for determining a target key triggered by a user on the virtual keyboard; an obtaining module, configured to obtain at least one associated key set corresponding to the target key and a display order of each associated key set in the at least one associated key set, where each associated key set includes at least one associated key; and the display module is used for controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence.
According to a third aspect of the present application, there is provided an electronic device comprising: at least one processor; a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of displaying a virtual keyboard as described in the embodiments of the first aspect above.
According to a fourth aspect of the present application, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method for displaying a virtual keyboard described in the embodiment of the first aspect.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a flowchart illustrating a display method of a virtual keyboard according to a first embodiment of the present application;
FIG. 2-1 is a schematic view of a virtual interface scenario according to a second embodiment of the present application;
FIG. 2-2 is a schematic view of a virtual interface scenario according to a third embodiment of the present application;
2-3 are schematic views of a virtual interface scenario according to a fourth embodiment of the present application;
FIG. 3 is a flowchart illustrating a display method of a virtual keyboard according to a fifth embodiment of the present application;
FIG. 4 is a schematic view of a virtual interface scene according to a sixth embodiment of the present application;
fig. 5 is a schematic view of a display scene of a virtual keyboard according to a seventh embodiment of the present application;
fig. 6 is a schematic view of a display scene of a virtual keyboard according to an eighth embodiment of the present application;
fig. 7 is a flowchart illustrating a display method of a virtual keyboard according to a ninth embodiment of the present application;
FIG. 8 is a schematic view of a virtual keyboard according to a tenth embodiment of the present application;
fig. 9 is a schematic diagram of a layer structure of a virtual keyboard according to an eleventh embodiment of the present application;
FIG. 10 is a schematic diagram of layer movement of a virtual keyboard according to a twelfth embodiment of the present application;
fig. 11 is a schematic structural diagram of a display device of a virtual keyboard according to a thirteenth embodiment of the present application;
fig. 12 is a schematic structural diagram of a display device of a virtual keyboard according to a fourteenth embodiment of the present application;
fig. 13 is a schematic structural diagram of a display device of a virtual keyboard according to a fifteenth embodiment of the present application;
fig. 14 is a schematic structural diagram of a display device of a virtual keyboard according to a sixteenth embodiment of the present application;
FIG. 15 is a block diagram of an electronic device used to implement the method of display of a virtual keyboard of an embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Aiming at the problem that the product use experience of a user is not fundamentally improved by the existing virtual keyboard in the background technology, the application provides the display method of the virtual keyboard, the display interaction such as light interaction and the like can be formed by pressing with the user, the pressing reality is improved through the flexible display effect, and therefore the use experience of the virtual keyboard is close to the real use experience of the virtual keyboard.
The following describes a display method and apparatus of a virtual keyboard according to an embodiment of the present application with reference to the accompanying drawings, where an execution main body of the display method of the virtual keyboard may be a terminal device having an operating system, such as a mobile phone and a notebook computer.
Specifically, fig. 1 is a flowchart of a display method of a virtual keyboard according to an embodiment of the present application, and as shown in fig. 1, the method includes:
step 101, determining a target key triggered by a user on a virtual keyboard.
In this embodiment, the pressing position of the user can be detected through the fingerprint, the coordinate of the pressing position is matched with the key coordinate of the virtual keyboard, and the successfully matched key is determined as the target key.
The pressing position of the user can be determined through the detected capacitance value, and the successfully matched key is determined to be the target key according to the matching of the pressing position and the key coordinate of the virtual keyboard.
Step 102, at least one associated key set corresponding to the target key and a display sequence of each associated key set in the at least one associated key set are obtained, wherein each associated key set comprises at least one associated key.
In order to provide the user with a real pressing experience, in the embodiment, a pressing feedback is performed according to the pressing position of the user, the pressing feedback is mainly a feedback of a light effect, and an animation effect is created through the display of light.
In the actual execution process, at least one associated key set corresponding to the target key is obtained, wherein each associated key set comprises at least one associated key, and then the display sequence corresponding to each associated key set is determined. The associated keys contained in different associated key sets can be the same or different, and when the associated keys contained in different associated key sets are the same, the realized effect is that the corresponding associated keys flash repeatedly.
It should be noted that, in different application scenarios, the manner of obtaining at least one associated key set corresponding to the target key and the display order of each associated key set in the at least one associated key set are different, which is exemplified as follows:
example one:
in this example, a preset database is pre-constructed, where animation description information corresponding to each key in the virtual keyboard is stored in the preset database, where the animation description information may be multiple kinds of information describing animation effects, such as "ripples", "fireworks", "waveforms", and the like, and the animation description information may be set by a user personally or selected by the user after system setting.
Therefore, the preset database can be inquired, and the animation description information corresponding to the target key is obtained.
Further, in this example, a deep learning model is constructed in advance, and the deep learning model can acquire at least one associated key set and a display order according to animation description information.
Example two:
in this example, at least one favorite pattern of the user is obtained, for example, the favorite pattern of the user is obtained according to the registration information of the user, or the favorite pattern of the user is obtained by analyzing the historical search record of the user, and then at least one associated key set is determined according to the favorite pattern of the user, wherein each associated key set corresponds to one favorite pattern.
Example three:
in this example, the correspondence between each key and the associated key set and the display order of the associated key set is pre-constructed, and at least one associated key set corresponding to the target key and the display order of each associated key set in the at least one associated key set are determined based on the correspondence.
And 103, controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence.
In some possible embodiments, the display mode may be an animation display, that is, an animation effect is displayed on the relevant layer in the corresponding associated key.
In this embodiment, the display mode may be brightness enhancement, that is, the display power of the pixel point in the corresponding key is controlled to be enhanced, or may be transparency enhancement of the layer on the corresponding key.
In this embodiment, all the associated keys in the currently displayed associated key set are highlighted according to the display order to create a lighting display effect, where when the currently displayed associated key set is displayed, the corresponding associated key set of all the previously displayed associated key sets may be turned off or may not be turned off, so as to achieve the cumulative display. In an actual implementation process, at least one associated key set may be displayed at preset time intervals, for example, a next associated key set is displayed every 1 ms.
For example, taking the target key as Q and the animation description information as "ripple" as an example for explanation, the set of associated keys corresponding to "ripple" is determined as the set 1-the set 5, wherein, as shown in fig. 2-1, when the user presses Q, as shown in fig. 2-2, the associated keys corresponding to the set 1-the set 5 are gradually switched and highlighted. In the set 1, the associated keys included are "W, E, A, S, × @".
For example, taking the target key as Q and the animation description information as "ripple" as an example for explanation, the set of associated keys corresponding to "ripple" is determined as the set 1-the set 5, wherein, as shown in fig. 2-1, when the user presses Q, the associated keys corresponding to the set 1-the set 5 are gradually accumulated and displayed as shown in fig. 2-3. In the set 1, the associated keys included are "W, E, A, S, × @".
In the actual execution process, corresponding lighting display may also be executed for the target key, for example, corresponding lighting display color and lighting display duration are preset for the target key, and the target key is controlled to display according to the lighting display color and the lighting display duration.
To sum up, the display method of the virtual keyboard in the embodiment of the application, after determining a target key triggered on the virtual keyboard by a user, obtains at least one associated key set corresponding to the target key and a display order of each associated key set in the at least one associated key set, where each associated key set includes at least one associated key, and further controls all associated keys in a currently displayed associated key set to be highlighted according to the display order. From this, realized pressing the interaction according to light display effect and user, improved and used the sense of reality, promoted animation intellect and immersive product experience.
Based on the above embodiments, it can be understood that the highlight lighting effect in the embodiment is flexible and changeable, different highlight display effects can be realized according to specific scenes, and the progress in the field of artificial intelligence and the application in the field of computer vision are realized. Examples are as follows:
example one:
in this example, as shown in fig. 3, the above step 103 includes:
step 201, determining a lighting display parameter corresponding to each associated key in the current display associated key set, where the lighting display parameter includes at least one of lighting color, lighting brightness, and lighting display frequency.
In some possible examples, an associated key color list included in the set identifier of each associated key set may be pre-constructed, where the associated key color list records a corresponding relationship between each associated key and the light display parameter under the corresponding associated key set. Therefore, the associated key color list corresponding to the currently displayed associated key set is inquired, and the light display parameter corresponding to each associated key in the associated key set is determined.
In other possible examples, as shown in fig. 4, the virtual keyboard is divided into a plurality of regions in advance, the plurality of display regions may be in any shape, and each region corresponds to a uniform color display parameter, so that a region where each associated key in the associated key set is currently displayed may be determined, and the color display parameter of each associated key in the associated key set is currently displayed may be determined according to the region where each associated key is currently displayed.
And 202, controlling the display of all the associated keys according to the light display parameters.
In this embodiment, when the light display parameter includes a color, the display of all the associated keys is controlled according to the light display parameter to realize different color change effects, and when the light display parameter includes display brightness, the display of all the associated keys is controlled according to the light display parameter to realize different brightness effects.
When the light display parameters include colors, based on the pixel structure of the terminal device, the colors mainly include one or more combinations of RGB colors, when displaying the colors of the associated keys, as shown in the left diagram of fig. 5, the center points of the associated keys may be lit according to the colors, that is, a current with a larger power is provided to the pixels of the center points, and the corresponding color display is realized through the color brightness of the center points, or, as shown in the right diagram of fig. 5, the center points of the associated keys may be lit according to the colors, and the brightness of the corresponding associated keys is gradually reduced according to the distances from other pixel points in the key keys to the center points, so as to realize the color representation.
Based on the display scheme in this example, the dynamic effects of different colors when the associated keys in the currently displayed associated key set are displayed can be realized as shown in fig. 6, wherein the corresponding colors are represented by different gray values in fig. 6.
Example two:
in this example, a display order of the currently displayed associated key set is determined, and a display color corresponding to the currently displayed associated key set is determined according to the display order, so in this embodiment, the display color of each associated key set is uniform, where the determination of the display color corresponding to the currently displayed associated key set according to the display order may be that a corresponding relationship between the display order and the display color is preset, and the corresponding relationship is queried to obtain the display color.
Example three:
in this example, as shown in fig. 7, the above step 103 includes:
step 301, determining the coordinates of the center point corresponding to all the associated keys.
In the embodiment, the area covered by all the associated keys of the associated key set which is displayed at the present time is determined, and the central coordinate point of the area is determined according to the geometric recognition algorithm.
For example, as shown in fig. 8, when all the associated keys are as shown in fig. 8, the determined center coordinate point is a.
And 302, calculating the coordinate of the central point and the distance between the target keys, and determining the display duration of the current display associated key set according to the distance.
Wherein the distance can be understood as the distance between the coordinates of the center point and the center point of the target key.
In this embodiment, a corresponding relationship between the distance and the display duration may be pre-constructed, and the display duration of the currently displayed associated key set is determined based on the corresponding relationship, where the distance and the display duration defined in the corresponding relationship may be a direct relationship or an inverse relationship.
And 303, controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence and the display duration.
In this embodiment, the display of all the associated keys in the currently displayed associated key set is controlled according to the display sequence and the display duration, and it should be noted that when the display time of the next displayed associated key set is reached, if the display duration of the currently displayed associated key set is not reached, the currently displayed associated keys are continuously displayed, and the simultaneous display within some time periods is realized.
Example four:
in this example, the display animation of the virtual keyboard may be further enhanced in combination with the image layer. As shown in fig. 9, the virtual keyboard includes multiple types of layers, and includes, from top to bottom, a letter layer, a key layer, a frame layer, and a background layer, where each type of layer may include multiple layers or a single layer, and each layer may implement a corresponding dynamic effect, for example, as shown in fig. 10, the letter layer may implement a dynamic effect (different colors are represented by different gray values in the drawing) through changes in color, brightness, and the like, and continuously refer to fig. 10, the frame layer may implement a corresponding dynamic effect (different colors are represented by different gray values in the drawing) through color, transparency, and the like, and continuously refer to fig. 10, and the background layer may implement a corresponding dynamic effect through color, animation effect, and the like, and only a solid background layer is displayed in fig. 10.
In this example, a corresponding relationship between each key and the above-mentioned layers and layer display parameters is pre-established, and in the corresponding relationship, each key may correspond to one layer or a plurality of layers, that is, a preset corresponding relationship is queried, and a target layer corresponding to the target key and a layer display parameter corresponding to the target layer are determined, where the layer display parameters include: and displaying the target layer according to the layer display parameter by at least one of the animation effect parameter, the color parameter and the transparency parameter.
In summary, the display method of the virtual keyboard in the embodiment of the application can flexibly achieve different dynamic effects on the basis of forming interaction with the triggering operation of the user, and further improves product experience.
In order to implement the above embodiments, the present application further provides a display device of a virtual keyboard. Fig. 11 is a schematic structural diagram of a display device of a virtual keyboard according to an embodiment of the present application, and as shown in fig. 11, the display device of the virtual keyboard includes: a first determination module 10, an acquisition module 20 and a display module 30, wherein,
a first determining module 10, configured to determine a target key triggered by a user on a virtual keyboard;
an obtaining module 20, configured to obtain at least one associated key set corresponding to a target key and a display order of each associated key set in the at least one associated key set, where each associated key set includes at least one associated key;
and the display module 30 is configured to control display of all associated keys in the currently displayed associated key set according to the display order.
It should be noted that the foregoing explanation of the method embodiments is also applicable to the apparatus in the embodiments of the present application, and the implementation principles thereof are similar and will not be described herein again.
To sum up, the display device of the virtual keyboard in the embodiment of the application, after determining a target key triggered on the virtual keyboard by a user, obtains at least one associated key set corresponding to the target key and a display order of each associated key set in the at least one associated key set, where each associated key set includes at least one associated key, and further controls display of all associated keys in a currently displayed associated key set according to the display order. From this, realized pressing the interaction according to light display effect and user, improved and used the sense of reality, promoted animation intellect and immersive product experience.
Based on the above embodiments, it can be understood that the highlight lighting effect in the embodiment is flexible and changeable, different display effects can be realized according to specific scenes, and the progress in the field of artificial intelligence and the application in the field of computer vision are realized. Examples are as follows:
example one:
in the present example, as shown in fig. 12, on the basis of that shown in fig. 11, the display module 30 includes: a first determination unit 31 and a first display unit 32, wherein,
a first determining unit 31, configured to determine a lighting display parameter corresponding to each associated key in the current display associated key set, where the lighting display parameter includes at least one of a lighting color, a lighting brightness, and a lighting display frequency;
and the first display unit 32 is used for controlling the display of all the associated keys according to the lamplight display parameters.
Example two:
in the present example, as shown in fig. 13, on the basis of that shown in fig. 11, the display module 30 includes: a second determination unit 33, a calculation unit 34 and a second display unit 35, wherein,
a second determining unit 33, configured to determine center point coordinates corresponding to all the associated keys;
a calculating unit 34, configured to calculate a distance between the center point coordinate and the target key, and determine a display duration of the currently displayed associated key set according to the distance;
and the second display unit 35 is configured to control display of all associated keys in the currently displayed associated key set according to the display order and the display duration.
Example three:
in this example, as shown in fig. 14, on the basis of the method shown in fig. 11, a second determining module 40 is further included, wherein,
a second determining module 40, configured to query a preset correspondence, and determine a target layer corresponding to the target key and a layer display parameter corresponding to the target layer;
in this embodiment, the display module 30 is further configured to display the target layer according to the layer display parameter.
It should be noted that the foregoing explanation of the method embodiments is also applicable to the apparatus in the embodiments of the present application, and the implementation principles thereof are similar and will not be described herein again.
In summary, the display device of the virtual keyboard in the embodiment of the application can flexibly realize different dynamic effects on the basis of forming interaction with the triggering operation of the user, and further improves product experience.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 15 is a block diagram of an electronic device according to an embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 15, the electronic apparatus includes: one or more processors 1501, memory 1502, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 15 illustrates an example of a processor 1501.
The memory 1502 is a non-transitory computer readable storage medium provided herein. Wherein the memory stores instructions executable by at least one processor to cause the at least one processor to perform the method of displaying a virtual keyboard provided herein. The non-transitory computer readable storage medium of the present application stores computer instructions for causing a computer to perform the method of display of a virtual keyboard provided herein.
The memory 1502, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the method of displaying a virtual keyboard in the embodiment of the present application (for example, the first determining module 10, the obtaining module 20, and the displaying module 30 shown in fig. 11). The processor 1501 executes various functional applications of the server and data processing, i.e., a method of implementing display of a virtual keyboard in the above-described method embodiments, by running non-transitory software programs, instructions, and modules stored in the memory 1502.
The memory 1502 may include a program storage area that may store an operating system, an application program required for at least one function, and a data storage area; the storage data area may store data created from use of the electronic device according to display of the virtual keyboard, and the like. Further, the memory 1502 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 1502 may optionally include memory located remotely from processor 1501, which may be connected to the electronic device of the display of the virtual keyboard via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the method of displaying of a virtual keyboard may further include: an input device 1503 and an output device 1504. The processor 1501, the memory 1502, the input device 1503, and the output device 1504 may be connected by a bus or other means, such as the bus connection shown in fig. 15.
The input device 1503 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device for display of a virtual keyboard, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, and the like. The output devices 1504 may include a display device, auxiliary lighting devices (e.g., LEDs), and haptic feedback devices (e.g., vibrating motors), among others. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (12)

1. A display method of a virtual keyboard comprises the following steps:
determining a target key triggered by a user on a virtual keyboard;
acquiring at least one associated key set corresponding to the target key and a display sequence of each associated key set in the at least one associated key set, wherein each associated key set comprises at least one associated key;
and controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence.
2. The method of claim 1, wherein the obtaining at least one associated key set corresponding to the target key and a display order of each associated key set of the at least one associated key set comprises:
inquiring a preset database to obtain animation description information corresponding to the target key;
and inputting the animation description information into a pre-constructed deep learning model, and acquiring the at least one associated key set and the display sequence.
3. The method of claim 1, wherein said controlling display of all associated keys in a currently displayed set of associated keys according to said display order comprises:
determining lighting display parameters corresponding to each associated key in the current display associated key set, wherein the lighting display parameters comprise at least one of lighting color, lighting brightness and lighting display frequency;
and controlling the display of all the associated keys according to the light display parameters.
4. The method of claim 1, wherein said controlling display of all associated keys in a currently displayed set of associated keys according to said display order comprises:
determining central point coordinates corresponding to all the associated keys;
calculating the distance between the center point coordinate and the target key, and determining the display duration of the current display associated key set according to the distance;
and controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence and the display duration.
5. The method of claim 1, further comprising:
inquiring a preset corresponding relation, and determining a target layer corresponding to the target key and a layer display parameter corresponding to the target layer;
and displaying the target layer according to the layer display parameters.
6. The method of claim 5, wherein,
the layer display parameters comprise: at least one of an animation effect parameter, a color parameter, and a transparency parameter.
7. A display device of a virtual keyboard, comprising:
the first determining module is used for determining a target key triggered by a user on the virtual keyboard;
an obtaining module, configured to obtain at least one associated key set corresponding to the target key and a display order of each associated key set in the at least one associated key set, where each associated key set includes at least one associated key;
and the display module is used for controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence.
8. The apparatus of claim 7, wherein the display module comprises:
the first determining unit is used for determining a lighting display parameter corresponding to each associated key in the current display associated key set, wherein the lighting display parameter comprises at least one of lighting color, lighting brightness and lighting display frequency;
and the first display unit is used for controlling the display of all the associated keys according to the lamplight display parameters.
9. The apparatus of claim 7, wherein the display module comprises:
the second determining unit is used for determining the center point coordinates corresponding to all the associated keys;
the calculation unit is used for calculating the distance between the center point coordinate and the target key and determining the display duration of the current display associated key set according to the distance;
and the second display unit is used for controlling the display of all the associated keys in the currently displayed associated key set according to the display sequence and the display duration.
10. The apparatus of claim 7, further comprising:
the second determining module is used for inquiring a preset corresponding relation and determining a target layer corresponding to the target key and a layer display parameter corresponding to the target layer;
the display module is further configured to display the target layer according to the layer display parameter.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of displaying a virtual keyboard of any one of claims 1-6.
12. A non-transitory computer readable storage medium storing computer instructions for causing a computer to execute the method for displaying a virtual keyboard according to any one of claims 1 to 6.
CN202010724108.0A 2020-07-24 2020-07-24 Display method and device of virtual keyboard Pending CN112148196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010724108.0A CN112148196A (en) 2020-07-24 2020-07-24 Display method and device of virtual keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010724108.0A CN112148196A (en) 2020-07-24 2020-07-24 Display method and device of virtual keyboard

Publications (1)

Publication Number Publication Date
CN112148196A true CN112148196A (en) 2020-12-29

Family

ID=73888646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010724108.0A Pending CN112148196A (en) 2020-07-24 2020-07-24 Display method and device of virtual keyboard

Country Status (1)

Country Link
CN (1) CN112148196A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721828A (en) * 2021-07-29 2021-11-30 北京搜狗科技发展有限公司 Virtual keyboard display method and device and electronic equipment
CN115079912A (en) * 2022-07-08 2022-09-20 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100081476A1 (en) * 2008-09-29 2010-04-01 Microsoft Corporation Glow touch feedback for virtual input devices
CN107239153A (en) * 2017-05-26 2017-10-10 北京小米移动软件有限公司 Input through keyboard reminding method and device
CN107452537A (en) * 2017-09-16 2017-12-08 深圳市华琥技术有限公司 A kind of illuminated keyboard
CN108459783A (en) * 2017-02-20 2018-08-28 阿里巴巴集团控股有限公司 Control method, device and the equipment of dummy keyboard, readable medium
TW201837948A (en) * 2017-04-07 2018-10-16 宏碁股份有限公司 Method of Dynamic Key Displaying and Computer System thereof
CN108882440A (en) * 2018-05-17 2018-11-23 珠海市学思电子科技有限公司 Keyboard light imitates control method, computer installation and computer readable storage medium
CN110764857A (en) * 2019-10-18 2020-02-07 北京百度网讯科技有限公司 Virtual keyboard display effect configuration method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100081476A1 (en) * 2008-09-29 2010-04-01 Microsoft Corporation Glow touch feedback for virtual input devices
CN108459783A (en) * 2017-02-20 2018-08-28 阿里巴巴集团控股有限公司 Control method, device and the equipment of dummy keyboard, readable medium
TW201837948A (en) * 2017-04-07 2018-10-16 宏碁股份有限公司 Method of Dynamic Key Displaying and Computer System thereof
CN107239153A (en) * 2017-05-26 2017-10-10 北京小米移动软件有限公司 Input through keyboard reminding method and device
CN107452537A (en) * 2017-09-16 2017-12-08 深圳市华琥技术有限公司 A kind of illuminated keyboard
CN108882440A (en) * 2018-05-17 2018-11-23 珠海市学思电子科技有限公司 Keyboard light imitates control method, computer installation and computer readable storage medium
CN110764857A (en) * 2019-10-18 2020-02-07 北京百度网讯科技有限公司 Virtual keyboard display effect configuration method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
砍柴网: ""业界首发"流光键盘",百度输入法带你开启RGB键盘新感官"", 《HTTPS://BAIJIAHAO.BAIDU.COM/S?ID=1669829047976272316&WFR=SPIDER&FOR=PC》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113721828A (en) * 2021-07-29 2021-11-30 北京搜狗科技发展有限公司 Virtual keyboard display method and device and electronic equipment
CN115079912A (en) * 2022-07-08 2022-09-20 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112541963B (en) Three-dimensional avatar generation method, three-dimensional avatar generation device, electronic equipment and storage medium
CN111598818B (en) Training method and device for face fusion model and electronic equipment
CN111722245B (en) Positioning method, positioning device and electronic equipment
CN111860167B (en) Face fusion model acquisition method, face fusion model acquisition device and storage medium
CN111563855B (en) Image processing method and device
CN110806865B (en) Animation generation method, device, equipment and computer readable storage medium
CN111968203B (en) Animation driving method, device, electronic equipment and storage medium
CN111275190A (en) Neural network model compression method and device, image processing method and processor
CN110941332A (en) Expression driving method and device, electronic equipment and storage medium
CN113240778A (en) Virtual image generation method and device, electronic equipment and storage medium
CN110531862B (en) Input interaction method and device
CN112148196A (en) Display method and device of virtual keyboard
CN111858996B (en) Indoor positioning method and device, electronic equipment and storage medium
CN111709875B (en) Image processing method, device, electronic equipment and storage medium
CN112001248A (en) Active interaction method and device, electronic equipment and readable storage medium
CN112634282A (en) Image processing method and device and electronic equipment
JP7168837B2 (en) PRODUCT INFORMATION METHOD, APPARATUS, DEVICE, STORAGE MEDIUM, AND PROGRAM
CN111259183A (en) Image recognizing method and device, electronic equipment and medium
CN110933227A (en) Assistance method, device, equipment and medium for intelligent terminal
CN111966852B (en) Face-based virtual face-lifting method and device
CN112508964B (en) Image segmentation method, device, electronic equipment and storage medium
CN112016524A (en) Model training method, face recognition device, face recognition equipment and medium
CN112036315A (en) Character recognition method, character recognition device, electronic equipment and storage medium
CN111767990A (en) Neural network processing method and device
CN111274489A (en) Information processing method, device, equipment and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201229

RJ01 Rejection of invention patent application after publication