CN111352685A - Input method keyboard display method, device, equipment and storage medium - Google Patents

Input method keyboard display method, device, equipment and storage medium Download PDF

Info

Publication number
CN111352685A
CN111352685A CN202010128876.XA CN202010128876A CN111352685A CN 111352685 A CN111352685 A CN 111352685A CN 202010128876 A CN202010128876 A CN 202010128876A CN 111352685 A CN111352685 A CN 111352685A
Authority
CN
China
Prior art keywords
content
input method
current
keyboard
method keyboard
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.)
Granted
Application number
CN202010128876.XA
Other languages
Chinese (zh)
Other versions
CN111352685B (en
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 CN202010128876.XA priority Critical patent/CN111352685B/en
Publication of CN111352685A publication Critical patent/CN111352685A/en
Application granted granted Critical
Publication of CN111352685B publication Critical patent/CN111352685B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (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, a display device, display equipment and a storage medium of an input method keyboard, and relates to the technical field of computers, in particular to the technical field of input methods. The specific implementation scheme is as follows: the method comprises the steps of applying to a client side, and obtaining content displayed on a current interface; acquiring display style information of an input method keyboard based on the content; and displaying the input method keyboard according to the display style information. By adopting the scheme, the flexibility and the replacement efficiency of skin display can be improved, and the use experience of a user is improved.

Description

Input method keyboard display method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to the technical field of input methods, and specifically relates to a display method, device, equipment and storage medium of an input method keyboard.
Background
With the popularization of computer equipment, people communicate or record information through the computer equipment. When communication or information recording is carried out, an input method keyboard on computer equipment is often needed to be used for information input, and the skin of the input method keyboard can cause little influence on the use mood of people. The skin is a display style of an input method keyboard in the process of using the input method by a user, and the user can generate self-satisfaction by selecting the skin which is considered good.
In the prior art, the skin background of the input method keyboard is a fixed picture and content, and skin content can be replaced only when a user enters a skin shop to download a new skin. The skin of the input method keyboard does not change during the two changes.
Therefore, the skin form of the input method keyboard in the prior art is single and fixed, the user needs to repeatedly operate when the skin is replaced, the operation time of the user is wasted, the flexibility of skin display is poor, the replacement efficiency is low, and the use experience of the user is influenced.
Disclosure of Invention
The embodiment of the application discloses a display method, a display device, display equipment and a storage medium of an input method keyboard, so that the display flexibility and the replacement efficiency of the input method keyboard are improved, and the user experience is improved.
In a first aspect, an embodiment of the present application discloses a method for displaying an input method keyboard, which is applied to a client, and the method includes:
acquiring content displayed on a current interface;
acquiring display style information of an input method keyboard based on the content;
and displaying the input method keyboard according to the display style information.
One embodiment in the above application has the following advantages or benefits: in the process that a user uses the input method keyboard, the content on the current interface is acquired, the display style information of the input method keyboard is determined according to the acquired content, the input method keyboard is displayed according to the display style information, the display style of the input method keyboard can be changed immediately without user operation, the flexibility and the replacement efficiency of skin display are improved, and the use experience of the user is improved.
In addition, the display method of the input method keyboard according to the above embodiment of the present application may further have the following additional technical features:
optionally, the current interface is a current instant messaging interface;
acquiring the content displayed on the current interface, including:
and acquiring the content sent by the current user and/or acquiring the content received by the current user.
One embodiment in the above application has the following advantages or benefits: the display style information of the input method keyboard is determined through the content sent and/or received by the user on the current instant messaging interface, so that the display style of the input method keyboard is matched with the content sent and/or received on the instant messaging interface, and the use experience of the user is improved.
Optionally, the obtaining of the content sent by the current user includes:
when detecting that a sending control on a current instant messaging interface is triggered, acquiring content input by a user through an input method keyboard before the sending control is triggered, and determining the content as the content sent by the current user.
One embodiment in the above application has the following advantages or benefits: the method comprises the steps of determining the sending content to be acquired by detecting whether a sending control on the current instant messaging interface is triggered or not so as to determine the display style of the input method keyboard according to the sending content and enable the display style of the input method keyboard to accurately correspond to the sending content.
Optionally, the obtaining of the content currently received by the user includes:
and acquiring a current screenshot by calling a screenshot function at set time intervals so as to identify the content received by the current user from the current screenshot.
One embodiment in the above application has the following advantages or benefits: and determining the received content to be acquired by setting the screenshot time so as to determine the display style information of the input method keyboard according to the received content, so that the display style of the input method keyboard accurately corresponds to the received content.
Optionally, the current interface is a text editing interface;
acquiring the content displayed on the current interface, including:
and acquiring the content input by the user through the input method keyboard every set time, and determining the content as the content displayed on the current interface.
One embodiment in the above application has the following advantages or benefits: under the condition that the current interface is a text editing interface, acquiring the content input by a user through an input method keyboard by setting time so as to determine the display style information of the input method keyboard according to the input content and enable the display style of the input method keyboard to correspond to the content input by the user.
Optionally, obtaining the display style information of the input method keyboard based on the content includes:
directly determining display style information of an input method keyboard based on the content; or,
and sending a keyboard style determination request carrying the content to the server, and receiving display style information of the input method keyboard determined based on the content returned by the server.
One embodiment in the above application has the following advantages or benefits: the display style information of the input method keyboard can be determined by the client side, the content can also be sent to the server side through the client side, the display style information of the input method keyboard is determined by the server side, and the feasibility of replacing the display style of the input method keyboard is ensured and the replacement efficiency is improved by providing two modes.
Optionally, the directly determining the display style information of the input method keyboard based on the content includes:
extracting keywords from the content;
determining a current scene and/or a current user emotion according to the keywords;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion.
One embodiment in the above application has the following advantages or benefits: the current scene and/or the current user emotion are/is determined by extracting keywords in the content, and the display style information of the input method keyboard is matched with the current state of the user, so that the use experience of the user is improved.
Optionally, determining display style information of the input method keyboard matched with the current scene and/or the current user emotion includes:
determining skin information matched with a current scene and/or a current user emotion, wherein the skin information comprises a background picture and/or a file content;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion according to the skin information.
One embodiment in the above application has the following advantages or benefits: by determining the background picture and/or the file content matched with the current scene and/or the current user emotion, the display style information of the input method keyboard matched with the current scene and/or the current user emotion can be more accurately formed, and the use experience of the user is further improved.
Optionally, displaying the input method keyboard according to the display style information includes:
and when the input method keyboard is subsequently called up, displaying the input method keyboard according to the display style information.
One embodiment in the above application has the following advantages or benefits: the display style information matched with the content is displayed by determining the subsequent starting time of the input method keyboard, so that the style of the input method keyboard is matched with the determined content when the input method keyboard is displayed every time, and the display disorder of the style information is avoided.
In a second aspect, an embodiment of the present application discloses a display method for an input method keyboard, which is applied to a server, and the method includes:
when a keyboard style determining request sent by a client is received, acquiring content carried in the keyboard style determining request, wherein the content is content displayed on a current interface of the client;
determining display style information of the input method keyboard according to the content;
and sending the display style information to the client so that the client displays the input method keyboard according to the display style information.
One embodiment in the above application has the following advantages or benefits: the display style information of the input method keyboard is determined according to the received keyboard style determination request and the carried content, and is sent to the client, so that the display style of the input method keyboard is determined through the server, the feasibility of input method keyboard style replacement is ensured, the normal display of the input method keyboard is still ensured when the client cannot provide the keyboard style, and the replacement efficiency is improved.
In addition, the display method of the input method keyboard according to the above embodiment of the present application may further have the following additional technical features:
optionally, determining the display style information of the input method keyboard according to the content includes:
extracting keywords from the content;
determining a current scene and/or a current user emotion according to the keywords;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion.
One embodiment in the above application has the following advantages or benefits: the current scene and/or the current user emotion are/is determined by extracting keywords in the content, and the display style information of the input method keyboard is matched with the current state of the user, so that the use experience of the user is improved.
Optionally, determining display style information of the input method keyboard matched with the current scene and/or the current user emotion includes:
determining skin information matched with a current scene and/or a current user emotion, wherein the skin information comprises a background picture and/or a file content;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion according to the skin information.
One embodiment in the above application has the following advantages or benefits: by determining the background picture and/or the file content matched with the current scene and/or the current user emotion, the display style information of the input method keyboard matched with the current scene and/or the current user emotion can be more accurately determined, and the use experience of the user is further improved.
Optionally, the current interface is an instant messaging interface; the content comprises the following steps: the content sent by the user and/or the content received by the user; or,
the current interface is a text editing interface, and the content comprises: the user inputs the content through the input method keyboard.
One embodiment in the above application has the following advantages or benefits: the content received and/or sent by the user can be obtained on the instant messaging interface of the user, so that the display style of the input method keyboard is matched with the content sent and/or received on the instant messaging interface; and the user can use the style replacement function of the input method keyboard on the text editing interface, and the display style of the input method keyboard is matched with the content input by the user.
In a third aspect, an embodiment of the present application discloses a display device for an input method keyboard, configured on a client, the device including:
the content acquisition module is used for acquiring the content displayed on the current interface;
the information acquisition module is used for acquiring display style information of the input method keyboard based on the content;
and the keyboard display module is used for displaying the input method keyboard according to the display style information.
In a fourth aspect, an embodiment of the present application discloses a display device for an input method keyboard, configured on a server, the device including:
the portable content acquisition module is used for acquiring the content carried in the keyboard style determination request when receiving the keyboard style determination request sent by the client, wherein the content is the content displayed on the current interface of the client;
the information determining module is used for determining the display style information of the input method keyboard according to the content;
and the information sending module is used for sending the display style information to the client so that the client can display the input method keyboard according to the display style information.
In a fifth aspect, an embodiment of the present application discloses an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for displaying the input method keyboard according to the first aspect or the second aspect of the present application.
In a sixth aspect, an embodiment of the present application discloses a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method for displaying an input method keyboard according to the first aspect or the second aspect of the present application.
One embodiment in the above application has the following advantages or benefits: in the process that a user uses the input method keyboard, the content on the current interface is acquired, the display style information of the input method keyboard is determined according to the acquired content, the input method keyboard is displayed according to the display style information, the display style of the input method keyboard can be changed immediately without user operation, the flexibility and the replacement efficiency of skin display are improved, and the use experience of the user is improved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
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 schematic flowchart of a method for displaying an input method keyboard according to a first embodiment of the present application;
FIG. 2 is a schematic diagram of the current interface content provided in accordance with a first embodiment of the present application;
FIG. 3 is an exemplary diagram of skin information provided in accordance with a first embodiment of the present application;
fig. 4 is a flowchart illustrating a method for displaying an input method keyboard according to a second embodiment of the present application;
fig. 5 is a flowchart illustrating a method for displaying an input method keyboard according to a third embodiment of the present application;
fig. 6 is a schematic structural diagram of a display device of an input method keyboard according to a fourth embodiment of the present application;
fig. 7 is a schematic structural diagram of a display device of an input method keyboard according to a fifth embodiment of the present application;
FIG. 8 is a block diagram of an electronic device for implementing the method for displaying an input method keyboard of the first aspect of the present application;
fig. 9 is a block diagram of an electronic device for implementing the method for displaying an input method keyboard of the second aspect 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.
First embodiment
Fig. 1 is a schematic flow chart of a method for displaying an input method keyboard according to a first embodiment of the present application, which is applied to a client, where the present embodiment is used when a user uses the input method keyboard, and the display style of the input method keyboard is automatically changed. As shown in fig. 1, the method for displaying an input method keyboard provided in this embodiment may include:
and S110, acquiring the content displayed on the current interface.
The content displayed on the current interface is the content obtained by the user through the input method keyboard, the content displayed on the current interface obtained by the client is the content which is obtained and already output through the input method keyboard, and the obtained content can be characters, pictures, videos or the like.
In this embodiment, optionally, the current interface is a current instant messaging interface; acquiring the content displayed on the current interface, including: and acquiring the content sent by the current user and/or acquiring the content received by the current user.
Specifically, the current interface may be a current instant messaging interface, and the instant messaging interface may be a chat interface. The user uses the input method keyboard to chat on the current interface, and the client acquires the content which is displayed on the current instant messaging interface, wherein the content can be the content sent by the user through the input method keyboard or the content received by the user on the current instant messaging interface. For example, if the emoticon pictures sent by both chat parties are displayed on the current interface, the content acquired by the client is the emoticon pictures sent by both chat parties. The method has the advantages that the content acquired by the client is not limited to the content sent by the user, the content received by the user can be acquired, the range of the acquired content is wider, the display style information of the input method keyboard is determined according to the content sent and/or received by the user on the current instant messaging interface, the display style of the input method keyboard is matched with the content sent and/or received on the instant messaging interface, the use requirement of the user is met, and the user experience is improved.
In this embodiment, optionally, the obtaining of the content sent by the current user includes: when it is detected that a sending control on the current instant messaging interface is triggered, acquiring content input by a user through an input method keyboard before the sending control is triggered, and determining the content as the content sent by the current user.
Specifically, the client may obtain the content sent by the current user when detecting that the sending control on the current instant messaging interface is triggered, where the content is the content input by the user through the input method keyboard before the sending control is triggered. For example, the user inputs "hello" through the input method keyboard, when the sending control is triggered, the "hello" is sent to the current interface, and the content acquired by the client is the "hello" sent currently. If other sent contents exist on the current interface and are sent before the 'hello', the other sent contents cannot be acquired by the client. The method has the advantages that the range of the acquired transmission content is determined, so that the display style information of the input method keyboard is determined according to the acquired transmission content, the phenomenon that the display style information of the input method keyboard is ambiguous due to the fact that the acquired transmission content is too much is avoided, the display style of the input method keyboard is wrong, and the accuracy of the display style of the input method keyboard is improved.
In this embodiment, optionally, the obtaining of the content received by the current user includes: and acquiring a current screenshot by calling a screenshot function at set time intervals so as to identify the content received by the current user from the current screenshot.
Specifically, the client may respond to the sending control of the input method keyboard to obtain the content displayed on the current interface, where the obtained content is the content sent by the user. The client can also obtain the content received by the user, and the client of the current user cannot sense the trigger state of the sending control of the keyboard of the opposite input method. Therefore, the time can be preset on the client, and the client automatically calls the screenshot function to screenshot the current interface at set time intervals so as to identify the content received by the current user from the current screenshot. For example, if the set time is five minutes, a current screenshot is obtained every five minutes, the content received by the user is identified from the current screenshot, and the display style information of the input method keyboard is determined according to the content received by the user. The beneficial effect who sets up like this lies in, can effectively obtain the content that the user received, change the show style of input method keyboard immediately for the show style of input method keyboard and the content phase-match that receives improve the change efficiency of input method keyboard show style, promote user experience.
In this embodiment, optionally, the current interface is a text editing interface; acquiring the content displayed on the current interface, including: and acquiring the content input by the user through the input method keyboard every set time, and determining the content as the content displayed on the current interface.
Specifically, the current interface may be an instant messaging interface or a text editing interface. If the current interface is a text editing interface, the user can continuously input contents through the input method keyboard, and the sending control of the input method keyboard can be continuously triggered. Therefore, in the text editing interface, the client does not respond to the sending control triggered by the input method keyboard. The client can preset time, and every set time, the client acquires the content input by the user through the input method keyboard, and determines the content as the content displayed on the current interface. The client may also invoke the screenshot function to identify the content input by the user from the current screenshot, thereby determining the content displayed on the current interface. For example, the time is set to five minutes, and the client acquires the content input by the user every five minutes. The beneficial effect of the arrangement is that if the content input by the user is obtained by responding to the sending control of the input method keyboard, the situation that only one character can be obtained every time exists, the display style information of the corresponding input method keyboard is difficult to find through a single character, and the situation that the style is changed wrongly is easily caused by the too fast change frequency of the input method keyboard. The method and the device have the advantages that the input content of the user is obtained at set intervals, the content input by the user can be prevented from being omitted, the display style of the input method keyboard can be changed in time according to the content input by the user, and the flexibility of changing the display style of the input method keyboard is improved.
And S120, acquiring the display style information of the input method keyboard based on the content.
After the client acquires the content displayed on the current interface, the display style information of the input method keyboard matched with the content is determined according to the acquired content. The display style information of the input method keyboard can comprise information such as skin information and keyboard size of the input method keyboard, and the skin information can comprise background pictures and/or file contents and the like.
In this embodiment, optionally, obtaining the display style information of the input method keyboard based on the content includes: and directly determining the display style information of the input method keyboard based on the content.
Directly determining the display style information of the input method keyboard based on the content, comprising the following steps: extracting keywords from the content; determining a current scene and/or current user emotion according to the keywords; and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion.
Specifically, the client acquires the content, extracts keywords from the content, wherein the keywords may be words expressing the current scene and/or the current user emotion, and determines the current scene and/or the current user emotion according to the keywords. The client can pre-store candidate keywords for expressing the current scene and/or the current user emotion, match the acquired content with the candidate keywords, and extract the keywords in the content. The client can classify different keywords in advance, and after extracting the keywords, the client searches the category where the keywords are located to determine the current scene and/or the current user emotion. For example, the keywords may be classified into "positive emotion" keywords and "negative emotion" keywords, the content acquired by the client is "i am happy", the keyword "happy" is extracted from the content, and the classification of the keyword as "positive emotion" is determined according to the keyword, so that it may be determined that the current user emotion is more positive. For another example, the content acquired by the client is an expression package, and if the expression package contains a word "bereaved", the client extracts a keyword "bereaved" from the expression package, and determines that the current user emotion is low according to the keyword classification of the "bereaved".
The client stores display style information of the input method keyboard matched with different scenes and/or user emotions in advance, searches the display style information of the input method keyboard matched with the current scenes and/or the current user emotions after determining the current scenes and/or the current user emotions, and displays the display style information. The display style information of the input method keyboard matched with different scenes and/or user emotions can be at least one, and if the display style information of a plurality of matched input method keyboards exists, the display style information can be randomly selected and displayed from the display style information of the plurality of matched input method keyboards. For example, if the current emotion of the user is "happy," and the display style information of the input method keyboard matched with "happy" is a background image of sunlight, the sunlight may be displayed as the background of the input method keyboard. The method has the advantages that the current state of the user can be determined according to the keywords, the display style information of the input method keyboard is changed according to the state of the user, the display style information of the input method keyboard is prevented from being displayed randomly, the display style information of the input method keyboard is matched with the content sent and/or received by the user, and the use experience of the user is improved.
In this embodiment, optionally, the determining the display style information of the input method keyboard matched with the current scene and/or the current user emotion includes: determining skin information matched with a current scene and/or a current user emotion, wherein the skin information comprises a background picture and/or a file content; and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion according to the skin information.
Specifically, the client determines the current scene and/or current user emotion matched with the keywords by extracting the keywords in the content. And searching skin information under the current scene and/or the current user emotion category from the pre-stored skin information, wherein the skin information can comprise a background picture and/or a file content of the input method keyboard.
For example, fig. 2 is a schematic view of the current interface content in the embodiment, fig. 2 is an expression picture, a "bereau" word is marked on the picture, and the client extracts the keyword "bereau" in the picture to determine that the current emotion of the user is low. And further determining skin information matched with the emotion, wherein the skin information comprises a background picture and file content. The background picture of the skin information is "cosmic picture", and the content of the file is "if everyone understands what you get in the ordinary way". As shown in fig. 3, fig. 3 is an exemplary diagram of skin information in the present embodiment. The background image and the content of the document in fig. 3 are the skin information matched with the "bereau". And replacing the display style of the input method keyboard according to the determined skin information to obtain the display style information of the input method keyboard matched with the current scene and/or the current user emotion. The method has the advantages that the display style information of the input method keyboard is more suitable for the current scene and/or the current user emotion, the input method keyboard is more attractive by displaying the skin information, and the emotion of the user is favorably mobilized.
And S130, displaying the input method keyboard according to the display style information.
After the client determines the display style information of the input method keyboard, the input method keyboard is displayed according to the display style information so as to be used by a user conveniently.
In this embodiment, optionally, the displaying the input method keyboard according to the display style information includes:
and when the input method keyboard is subsequently called up, displaying the input method keyboard according to the display style information.
Specifically, after the client replaces the display style information of the input method keyboard, the input method keyboard is not displayed immediately. And if the client side responds to the calling request of the input method keyboard, namely the input method keyboard is subsequently called, displaying the input method keyboard after replacement. The method has the advantages that the subsequent starting time of the input method keyboard is determined, so that the display style information matched with the content acquired last time can be displayed when the user calls the input method keyboard every time, the phenomenon that the display style information is not consistent with the previous content when the user calls the input method keyboard every time is avoided, and the input method keyboard is displayed in real time according to the acquired content.
One embodiment in the above application has the following advantages or benefits: in the process that a user uses the input method keyboard, the content on the current interface is acquired, the display style information of the input method keyboard is determined according to the acquired content, the input method keyboard is displayed according to the display style information, the display style of the input method keyboard can be changed immediately without user operation, the flexibility and the replacement efficiency of skin display are improved, and the use experience of the user is improved.
Second embodiment
Fig. 4 is a schematic flow chart of a method for displaying an input method keyboard, which is provided according to a second embodiment of the present application and is applied to a client, where the present embodiment is optimized based on the foregoing embodiments, and is used for a case where a display style of the input method keyboard is automatically changed when a user uses the input method keyboard, and the method may be executed by a display device of the input method keyboard, and the display device may be implemented in a software and/or hardware manner and may be integrated in an electronic device. As shown in fig. 4, the method for displaying an input method keyboard provided in this embodiment may include:
and S410, acquiring the content displayed on the current interface.
S420, sending a keyboard style determination request carrying contents to the server, and receiving display style information of the input method keyboard determined based on the contents, returned by the server.
After the client acquires the content displayed on the current interface, a keyboard style determining request is sent to the server, wherein the keyboard style determining request carries the content acquired by the client. And the server receives the keyboard style determination request and starts the determination process of the display style information of the input method keyboard. For example, the client acquires that the content on the current interface is ' i'm happy, and sends a keyboard style determination request carrying ' i'm happy ' to the server. And after receiving the keyboard style determination request, the server starts to determine the keyboard style according to the carried content. The server extracts keywords matched with the candidate keywords in the server from the carried content, and the keywords can be words and sentences expressing the user state. And determining the current scene and/or the current user emotion according to the corresponding relation between the keywords pre-stored in the server and the user state, wherein the user state can comprise the current scene and/or the current user emotion.
And the server side determines the skin information matched with the current scene and/or the current user emotion according to the current scene and/or the current user emotion. The skin information is pre-stored in the server and has an association relation with the current scene and/or the current user emotion. After determining the current scene and/or current user emotion, skin information associated therewith may be looked up, wherein the skin information may include background images and/or paperwork content. And replacing the determined skin information on the input method keyboard to obtain the display style information of the input method keyboard matched with the current scene and/or the current user emotion. And after the server side obtains the display style information of the input method keyboard, the display style information of the input method keyboard is sent to the client side and displayed by the client side. The display style information of the input method keyboard can be determined by the client side and also can be determined by the server side, so that the display style replacing function of the input method keyboard can be used by a user under the condition that the client side is connected with a network or not connected with the network, the condition of function interruption caused by one end of the input method keyboard is avoided, and the replacing efficiency of the display style of the input method keyboard is ensured.
And S430, displaying the input method keyboard according to the display style information.
One embodiment in the above application has the following advantages or benefits: in the process that a user uses an input method, a client side obtains content on a current interface, sends a keyboard style determination request carrying the content to a server side, the server side determines display style information of the input method keyboard according to the carried content and sends the display style information to the client side, the client side can immediately replace the display style of the input method keyboard, user operation is not needed, flexibility and replacement efficiency of skin display are improved, and use experience of the user is improved.
Third embodiment
Fig. 5 is a schematic flowchart of a method for displaying an input method keyboard according to a third embodiment of the present application, which is applied to a server, and the present embodiment is used when a user uses the input method keyboard, and the display style of the input method keyboard is automatically changed. As shown in fig. 5, the method for displaying an input method keyboard provided in this embodiment may include:
and S510, when a keyboard style determining request sent by the client is received, obtaining the content carried in the keyboard style determining request, wherein the content is the content displayed on the current interface of the client.
And the client acquires the content displayed on the current interface according to the triggering instruction or the set time of the control sent by the input method keyboard. After the client acquires the content, a keyboard style determining request is sent to the server, wherein the keyboard style determining request carries the content acquired by the client. And the server receives a keyboard style determination request sent by the client and acquires the content on the current interface from the keyboard style determination request. For example, the client acquires the expression package with the content of 'loss' displayed on the current interface, and after the client sends a keyboard style determination request carrying the content to the server, the server determines the expression package with the content of 'loss' displayed on the current interface.
In this embodiment, optionally, the current interface is an instant messaging interface; the content comprises the following steps: the content sent by the user and/or the content received by the user; or, the current interface is a text editing interface, and the content includes: the user inputs the content through the input method keyboard.
Specifically, the current interface may be an instant messaging interface or a text editing interface. If the current interface is an instant messaging interface, the content finally acquired by the server can be content sent by the user and/or content received by the user; if the current interface is a text editing interface, the content finally acquired by the server may be the content input by the user through the input method keyboard. The method has the advantages that the application range of the input method keyboard display style changing function is expanded, the flexibility of the input method keyboard display style changing is improved, the display style information of the input method keyboard is matched with the content of the current interface when a user uses the input method keyboard, and the user experience is improved.
And S520, determining the display style information of the input method keyboard according to the content.
After the server side obtains the content on the current interface, the server side identifies the content and searches for the display style information of the input method keyboard matched with the content.
In this embodiment, optionally, determining the display style information of the input method keyboard according to the content includes: extracting keywords from the content; determining a current scene and/or current user emotion according to the keywords; and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion.
Specifically, the server stores candidate keywords of different categories in advance, and the categories may express different states of the user, for example, the keywords may be classified into a "mood-positive upward category" and a "depressed mood category". And extracting keywords from the content according to the candidate keywords, and searching keywords consistent with the candidate keywords in the content. And searching the category of the keyword according to the extracted keyword, and determining the current scene and/or the current user emotion. And searching from the pre-stored display style information of the input method keyboard according to the current scene and/or the current user emotion, and determining the display style information of the input method keyboard matched with the current scene and/or the current user emotion. The method has the advantages that the server can quickly replace the display style of the input method keyboard according to the incidence relation between the keywords and the user state and the incidence relation between the user state and the display style information of the input method keyboard, and the replacement efficiency of the display style of the input method keyboard is improved.
In this embodiment, optionally, the determining the display style information of the input method keyboard matched with the current scene and/or the current user emotion includes: determining skin information matched with a current scene and/or a current user emotion, wherein the skin information comprises a background picture and/or a file content; and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion according to the skin information.
Specifically, the server side stores skin information of input method keyboards with different scenes and/or different user moods in advance, and the skin information is classified according to the scenes and/or the user moods. For example, the skin information in the "mood-positive upward category" is a solar background map, and the skin information in the "mood-depression category" is the content of a famous case. After determining the current scene and/or the current user emotion, the server searches skin information under the current scene and/or the current user emotion, and the skin information is replaced on the input method keyboard to serve as display style information of the input method keyboard. The beneficial effect who sets up like this lies in, according to different scenes and/or user's mood, seeks the skin information of different styles fast, demonstrates the input method keyboard, has improved the variety and the change efficiency of input method keyboard show pattern, promotes user's use and experiences.
And S530, sending the display style information to the client so that the client can display the input method keyboard according to the display style information.
After the display style information of the input method keyboard is determined, the server sends the display style information to the client, and the client receives the display style information of the input method keyboard and waits for the input method keyboard to be called. And when the client responds to the calling instruction of the input method keyboard, displaying the display style information of the input method keyboard.
One embodiment in the above application has the following advantages or benefits: in the process that a user uses an input method, a client acquires content on a current interface and sends a keyboard style determination request carrying the content to a server, and after receiving the keyboard style determination request, the server determines display style information of a keyboard of the input method according to the carried content and sends the display style information to the client. The instant replacement of the input method keyboard display by the client is realized, the user operation is not needed, the flexibility and the replacement efficiency of the skin display are improved, and the use experience of the user is improved.
Fourth embodiment
Fig. 6 is a schematic structural diagram of a display apparatus for an input method keyboard according to a fourth embodiment of the present application, where the display apparatus is configured on a client, and is capable of executing the display method for an input method keyboard provided in the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 6, the apparatus 600 may include:
a content obtaining module 601, configured to obtain content displayed on a current interface;
an information obtaining module 602, configured to obtain display style information of an input method keyboard based on content;
and the keyboard display module 603 is configured to display the input method keyboard according to the display style information.
Optionally, the current interface is a current instant messaging interface; the content acquiring module 601 includes:
a transmission content acquiring unit for acquiring the content transmitted by the current user, and/or,
and the received content acquisition unit is used for acquiring the content received by the current user.
Optionally, the sending content obtaining unit is specifically configured to:
when it is detected that a sending control on the current instant messaging interface is triggered, acquiring content input by a user through an input method keyboard before the sending control is triggered, and determining the content as the content sent by the current user.
Optionally, the received content obtaining unit is specifically configured to:
and acquiring a current screenshot by calling a screenshot function at set time intervals so as to identify the content received by the current user from the current screenshot.
Optionally, the current interface is a text editing interface; the content acquiring module 601 includes:
and the input content acquisition unit is used for acquiring the content input by the user through the input method keyboard at set time intervals and determining the content as the content displayed on the current interface.
Optionally, the information obtaining module 602 includes:
the display style information determining unit is used for directly determining the display style information of the input method keyboard based on the content; or sending a keyboard style determination request carrying contents to the server, and receiving display style information of the input method keyboard determined based on the contents returned by the server.
Optionally, the presentation style information determining unit is specifically configured to:
extracting keywords from the content;
determining a current scene and/or current user emotion according to the keywords;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion.
Optionally, the presentation style information determining unit is further specifically configured to:
determining skin information matched with a current scene and/or a current user emotion, wherein the skin information comprises a background picture and/or a file content;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion according to the skin information.
Optionally, the keyboard display module 603 is specifically configured to:
and when the input method keyboard is subsequently called up, displaying the input method keyboard according to the display style information.
One embodiment in the above application has the following advantages or benefits: in the process that a user uses the input method, the content on the current interface is acquired, the display style information of the input method keyboard is determined according to the acquired content, the input method keyboard is displayed according to the display style information, the user operation is not needed, the input method keyboard can be immediately replaced, the flexibility and the replacement efficiency of skin display are improved, and the use experience of the user is improved.
Fifth embodiment
Fig. 7 is a schematic structural diagram of a display apparatus for an input method keyboard according to a fifth embodiment of the present application, where the display apparatus is configured on a server, and is capable of executing the display method for an input method keyboard provided in the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 7, the apparatus 700 may include:
a carried content obtaining module 701, configured to, when a keyboard style determination request sent by a client is received, obtain content carried in the keyboard style determination request, where the content is content displayed on a current interface of the client;
an information determining module 702, configured to determine display style information of the input method keyboard according to the content;
the information sending module 703 is configured to send the display style information to the client, so that the client displays the input method keyboard according to the display style information.
Optionally, the information determining module 702 is specifically configured to:
extracting keywords from the content;
determining a current scene and/or current user emotion according to the keywords;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion.
Optionally, the information determining module 702 is further specifically configured to:
determining skin information matched with a current scene and/or a current user emotion, wherein the skin information comprises a background picture and/or a file content;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion according to the skin information.
Optionally, the current interface is an instant messaging interface; the content comprises the following steps: the content sent by the user and/or the content received by the user; or,
the current interface is a text editing interface, and the content comprises: the user inputs the content through the input method keyboard.
One embodiment in the above application has the following advantages or benefits: in the process that a user uses an input method, a client acquires content on a current interface and sends a keyboard style determination request carrying the content to a server, and after receiving the keyboard style determination request, the server determines display style information of a keyboard of the input method according to the carried content and sends the display style information to the client. The instant replacement of the input method keyboard display by the client is realized, the user operation is not needed, the flexibility and the replacement efficiency of the skin display are improved, and the use experience of the user is improved.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 8 is a block diagram of an electronic device according to a method for displaying an input method keyboard of the first aspect 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. 8, the electronic apparatus includes: one or more processors 801, memory 802, and interfaces for connecting the various components, including a high speed interface and a low speed interface. 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. 8 illustrates an example of a processor 801.
The memory 802 is a non-transitory computer readable storage medium as provided herein. The storage stores instructions executable by at least one processor, so that the at least one processor executes the display method of the input method keyboard provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the method for presenting an input method keyboard provided by the present application.
Memory 802, 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. The processor 801 executes various functional applications and data processing of the server by running non-transitory software programs, instructions and modules stored in the memory 802, that is, implements the method for presenting the input method keyboard in the above method embodiment.
The memory 802 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 802 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, the memory 802 optionally includes memory located remotely from the processor 801, which may be connected to the electronic device 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 for displaying the input method keyboard may further include: an input device 803 and an output device 804. The processor 801, the memory 802, the input device 803, and the output device 804 may be connected by a bus or other means, and are exemplified by a bus in fig. 8.
The input device 803 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 804 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 visual input, voice input, 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), the internet, and blockchain networks.
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.
According to the technical scheme of the embodiment of the application, in the process that a user uses the input method, the content on the current interface is obtained, the display style information of the input method keyboard is determined according to the obtained content, the instant display of the input method keyboard is changed, the flexibility and the replacement efficiency of skin display are improved, and the use experience of the user is improved.
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, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 9 is a block diagram of an electronic device of a method for displaying an input method keyboard according to the second aspect 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. 9, the electronic apparatus includes: one or more processors 901, memory 902, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. 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. 9 illustrates an example of a processor 901.
Memory 902 is a non-transitory computer readable storage medium as provided herein. The storage stores instructions executable by at least one processor, so that the at least one processor executes the display method of the input method keyboard provided by the application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to perform the method for presenting an input method keyboard provided by the present application.
Memory 902, 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. The processor 901 executes various functional applications and data processing of the server by running non-transitory software programs, instructions and modules stored in the memory 902, that is, implementing the method for displaying the input method keyboard in the above method embodiment.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 902 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, the memory 902 may optionally include memory located remotely from the processor 901, which may be connected to the electronic device 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 for displaying the input method keyboard may further include: an input device 903 and an output device 904. The processor 901, the memory 902, the input device 903 and the output device 904 may be connected by a bus or other means, and fig. 9 illustrates the connection by a bus as an example.
The input device 903 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device exhibiting an input method keyboard, such as a touch screen, keypad, mouse, track pad, touch pad, pointer stick, one or more mouse buttons, track ball, joystick, or other input device. The output devices 904 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. 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 visual input, voice input, 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), the internet, and blockchain networks.
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.
According to the technical scheme of the embodiment of the application, in the process that a user uses the input method, the client side obtains the content on the current interface and sends a keyboard style determination request carrying the content to the server side, and after the server side receives the keyboard style determination request, the server side determines the display style information of the input method keyboard according to the carried content and sends the display style information to the client side. The instant replacement of the input method keyboard display by the client is realized, the flexibility and the replacement efficiency of the skin display are improved, and the use experience of a user is improved.
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, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
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 (17)

1. A display method of an input method keyboard is applied to a client side, and is characterized by comprising the following steps:
acquiring content displayed on a current interface;
acquiring display style information of an input method keyboard based on the content;
and displaying the input method keyboard according to the display style information.
2. The method of claim 1, wherein the current interface is a current instant messaging interface;
acquiring the content displayed on the current interface, including:
and acquiring the content sent by the current user and/or acquiring the content received by the current user.
3. The method of claim 2, wherein obtaining the content sent by the current user comprises:
when detecting that a sending control on a current instant messaging interface is triggered, acquiring content input by a user through an input method keyboard before the sending control is triggered, and determining the content as the content sent by the current user.
4. The method of claim 2, wherein obtaining content currently received by a user comprises:
and acquiring a current screenshot by calling a screenshot function at set time intervals so as to identify the content received by the current user from the current screenshot.
5. The method of claim 1, wherein the current interface is a text editing interface;
acquiring the content displayed on the current interface, including:
and acquiring the content input by the user through the input method keyboard every set time, and determining the content as the content displayed on the current interface.
6. The method according to any one of claims 1-5, wherein obtaining presentation style information of an input method keyboard based on the content comprises:
directly determining display style information of an input method keyboard based on the content; or,
and sending a keyboard style determination request carrying the content to the server, and receiving display style information of the input method keyboard determined based on the content returned by the server.
7. The method of claim 6, wherein directly determining presentation style information for an input method keyboard based on the content comprises:
extracting keywords from the content;
determining a current scene and/or a current user emotion according to the keywords;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion.
8. The method of claim 7, wherein determining presentation style information of an input method keyboard matching a current scene and/or a current user emotion comprises:
determining skin information matched with a current scene and/or a current user emotion, wherein the skin information comprises a background picture and/or a file content;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion according to the skin information.
9. The method according to any one of claims 1 to 5, wherein presenting the input method keyboard according to the presentation style information comprises:
and when the input method keyboard is subsequently called up, displaying the input method keyboard according to the display style information.
10. A display method of an input method keyboard is applied to a server side, and is characterized by comprising the following steps:
when a keyboard style determining request sent by a client is received, acquiring content carried in the keyboard style determining request, wherein the content is content displayed on a current interface of the client;
determining display style information of the input method keyboard according to the content;
and sending the display style information to the client so that the client displays the input method keyboard according to the display style information.
11. The method of claim 10, wherein determining the presentation style information of the input method keyboard according to the content comprises:
extracting keywords from the content;
determining a current scene and/or a current user emotion according to the keywords;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion.
12. The method of claim 11, wherein determining presentation style information of an input method keyboard matching a current scene and/or a current user emotion comprises:
determining skin information matched with a current scene and/or a current user emotion, wherein the skin information comprises a background picture and/or a file content;
and determining display style information of the input method keyboard matched with the current scene and/or the current user emotion according to the skin information.
13. The method according to any one of claims 10-12, wherein the current interface is an instant messaging interface; the content comprises the following steps: the content sent by the user and/or the content received by the user; or,
the current interface is a text editing interface, and the content comprises: the user inputs the content through the input method keyboard.
14. An input method keyboard display device configured on a client, the device comprising:
the content acquisition module is used for acquiring the content displayed on the current interface;
the information acquisition module is used for acquiring display style information of the input method keyboard based on the content;
and the keyboard display module is used for displaying the input method keyboard according to the display style information.
15. A display device of an input method keyboard, which is configured on a server, is characterized in that the method comprises the following steps:
the portable content acquisition module is used for acquiring the content carried in the keyboard style determination request when receiving the keyboard style determination request sent by the client, wherein the content is the content displayed on the current interface of the client;
the information determining module is used for determining the display style information of the input method keyboard according to the content;
and the information sending module is used for sending the display style information to the client so that the client can display the input method keyboard according to the display style information.
16. An electronic device, comprising:
at least one processor; and
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 presenting an input method keyboard of any one of claims 1-9 or 10-13.
17. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of displaying an input method keyboard according to any one of claims 1 to 9 or 10 to 13.
CN202010128876.XA 2020-02-28 2020-02-28 Display method, device, equipment and storage medium of input method keyboard Active CN111352685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010128876.XA CN111352685B (en) 2020-02-28 2020-02-28 Display method, device, equipment and storage medium of input method keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010128876.XA CN111352685B (en) 2020-02-28 2020-02-28 Display method, device, equipment and storage medium of input method keyboard

Publications (2)

Publication Number Publication Date
CN111352685A true CN111352685A (en) 2020-06-30
CN111352685B CN111352685B (en) 2024-04-09

Family

ID=71197237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010128876.XA Active CN111352685B (en) 2020-02-28 2020-02-28 Display method, device, equipment and storage medium of input method keyboard

Country Status (1)

Country Link
CN (1) CN111352685B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243144A (en) * 2020-10-15 2021-01-19 科大讯飞股份有限公司 Input method barrage display method, device, equipment and storage medium

Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983252A (en) * 2005-12-15 2007-06-20 腾讯科技(深圳)有限公司 Extraction for instant message subject content
CN101866282A (en) * 2009-04-20 2010-10-20 北京搜狗科技发展有限公司 Method and device for realizing dynamic skin of input method
CN102508678A (en) * 2011-10-17 2012-06-20 李建成 Method and system for replacing skins
DE102011009974A1 (en) * 2011-02-01 2012-08-30 Denis John Operation input method of smartphone, involves determining direction of contact using time span from start region to current position of input device or finger of user so as to select character or operation on touch screen
CN103164231A (en) * 2011-12-08 2013-06-19 腾讯科技(深圳)有限公司 Input method virtual keyboard skin management method and device
CN103677640A (en) * 2013-12-16 2014-03-26 安徽科大讯飞信息科技股份有限公司 Virtual keyboard self-adaptation application theme method and system
CN103747138A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Chat content correlating method and mobile terminal thereof
CN104076944A (en) * 2014-06-06 2014-10-01 北京搜狗科技发展有限公司 Chat emoticon input method and device
CN104281385A (en) * 2014-09-17 2015-01-14 北京搜狗科技发展有限公司 Regulating method of input-method keyboard and input-method device
CN104571874A (en) * 2015-02-13 2015-04-29 上海触乐信息科技有限公司 Method and device for dynamically switching keyboard backgrounds
CN104850239A (en) * 2015-04-23 2015-08-19 百度在线网络技术(北京)有限公司 Method and equipment used for determining display state of keyboard
CN104915104A (en) * 2015-06-29 2015-09-16 小米科技有限责任公司 Display method and device of keyboard interface
CN104978198A (en) * 2015-07-06 2015-10-14 百度在线网络技术(北京)有限公司 Method and apparatus for configuring keyboard skin
CN105094823A (en) * 2015-07-17 2015-11-25 百度在线网络技术(北京)有限公司 Method and device used for generating interface for input method
CN105094821A (en) * 2015-07-17 2015-11-25 百度在线网络技术(北京)有限公司 Method and device used for determining background information of invoked applications
CN105224302A (en) * 2014-06-27 2016-01-06 北京搜狗科技发展有限公司 The skin processing method of input method and input method system
CN105335036A (en) * 2014-06-27 2016-02-17 北京搜狗科技发展有限公司 Input interaction method and input method system
WO2016115938A1 (en) * 2015-01-20 2016-07-28 百度在线网络技术(北京)有限公司 Client interface presentation method, apparatus and device, and computer storage medium
CN108268147A (en) * 2018-02-14 2018-07-10 广东欧珀移动通信有限公司 Computation processing method, device and equipment based on input method
CN108700978A (en) * 2016-04-20 2018-10-23 谷歌有限责任公司 Texture is distributed to graphic keyboard by the theme texture based on application
CN110008450A (en) * 2018-01-05 2019-07-12 阿里巴巴集团控股有限公司 Generation method, device, equipment and the medium of picture
CN110297678A (en) * 2018-03-22 2019-10-01 北京搜狗科技发展有限公司 A kind for the treatment of method and apparatus of interface of input method
CN110764858A (en) * 2019-10-18 2020-02-07 北京百度网讯科技有限公司 Display method, display device and electronic equipment

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983252A (en) * 2005-12-15 2007-06-20 腾讯科技(深圳)有限公司 Extraction for instant message subject content
CN101866282A (en) * 2009-04-20 2010-10-20 北京搜狗科技发展有限公司 Method and device for realizing dynamic skin of input method
DE102011009974A1 (en) * 2011-02-01 2012-08-30 Denis John Operation input method of smartphone, involves determining direction of contact using time span from start region to current position of input device or finger of user so as to select character or operation on touch screen
CN102508678A (en) * 2011-10-17 2012-06-20 李建成 Method and system for replacing skins
CN103164231A (en) * 2011-12-08 2013-06-19 腾讯科技(深圳)有限公司 Input method virtual keyboard skin management method and device
CN103677640A (en) * 2013-12-16 2014-03-26 安徽科大讯飞信息科技股份有限公司 Virtual keyboard self-adaptation application theme method and system
CN103747138A (en) * 2013-12-30 2014-04-23 宇龙计算机通信科技(深圳)有限公司 Chat content correlating method and mobile terminal thereof
CN104076944A (en) * 2014-06-06 2014-10-01 北京搜狗科技发展有限公司 Chat emoticon input method and device
CN105224302A (en) * 2014-06-27 2016-01-06 北京搜狗科技发展有限公司 The skin processing method of input method and input method system
CN105335036A (en) * 2014-06-27 2016-02-17 北京搜狗科技发展有限公司 Input interaction method and input method system
CN104281385A (en) * 2014-09-17 2015-01-14 北京搜狗科技发展有限公司 Regulating method of input-method keyboard and input-method device
WO2016115938A1 (en) * 2015-01-20 2016-07-28 百度在线网络技术(北京)有限公司 Client interface presentation method, apparatus and device, and computer storage medium
CN104571874A (en) * 2015-02-13 2015-04-29 上海触乐信息科技有限公司 Method and device for dynamically switching keyboard backgrounds
CN104850239A (en) * 2015-04-23 2015-08-19 百度在线网络技术(北京)有限公司 Method and equipment used for determining display state of keyboard
CN104915104A (en) * 2015-06-29 2015-09-16 小米科技有限责任公司 Display method and device of keyboard interface
CN104978198A (en) * 2015-07-06 2015-10-14 百度在线网络技术(北京)有限公司 Method and apparatus for configuring keyboard skin
CN105094821A (en) * 2015-07-17 2015-11-25 百度在线网络技术(北京)有限公司 Method and device used for determining background information of invoked applications
CN105094823A (en) * 2015-07-17 2015-11-25 百度在线网络技术(北京)有限公司 Method and device used for generating interface for input method
CN108700978A (en) * 2016-04-20 2018-10-23 谷歌有限责任公司 Texture is distributed to graphic keyboard by the theme texture based on application
US20190035115A1 (en) * 2016-04-20 2019-01-31 Google Llc Assigning textures to graphical keyboards based on thematic textures of applications
CN110008450A (en) * 2018-01-05 2019-07-12 阿里巴巴集团控股有限公司 Generation method, device, equipment and the medium of picture
CN108268147A (en) * 2018-02-14 2018-07-10 广东欧珀移动通信有限公司 Computation processing method, device and equipment based on input method
CN110297678A (en) * 2018-03-22 2019-10-01 北京搜狗科技发展有限公司 A kind for the treatment of method and apparatus of interface of input method
CN110764858A (en) * 2019-10-18 2020-02-07 北京百度网讯科技有限公司 Display method, display device and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
段亮;: "讯飞输入法百变皮肤 "随变"创意乐在其中", 计算机与网络, no. 16, pages 39 *
菠萝王: "新浪输入法自动随机换肤", 电脑知识与技术(经验技巧), no. 01, 5 January 2011 (2011-01-05), pages 34 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243144A (en) * 2020-10-15 2021-01-19 科大讯飞股份有限公司 Input method barrage display method, device, equipment and storage medium
CN112243144B (en) * 2020-10-15 2023-02-17 科大讯飞股份有限公司 Input method barrage display method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111352685B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
CN111107392B (en) Video processing method and device and electronic equipment
EP3901786A1 (en) Meme generation method and apparatus, and device and medium
US20210049354A1 (en) Human object recognition method, device, electronic apparatus and storage medium
CN112199620A (en) Page operation method and device, electronic equipment and storage medium
CN111309200B (en) Method, device, equipment and storage medium for determining extended reading content
CN110532415B (en) Image search processing method, device, equipment and storage medium
US11521340B2 (en) Emoticon package generation method and apparatus, device and medium
CN111984825A (en) Method and apparatus for searching video
CN111158924A (en) Content sharing method and device, electronic equipment and readable storage medium
CN112346612A (en) Page display method and device
CN111369645A (en) Expression information display method, device, equipment and medium
CN112035022B (en) Reading page style generation method and device
CN111352685B (en) Display method, device, equipment and storage medium of input method keyboard
CN112163143A (en) Page switching method, device, equipment and storage medium
CN112382292A (en) Voice-based control method and device
CN111638787A (en) Method and device for displaying information
CN111291184A (en) Expression recommendation method, device, equipment and storage medium
CN111510376B (en) Image processing method and device and electronic equipment
CN110516030B (en) Method, device and equipment for determining intention word and computer readable storage medium
CN112445968B (en) Information pushing method, device, equipment and computer readable storage medium
CN110727795B (en) News broadcasting method and device
CN113096643A (en) Video processing method and device
CN112036128A (en) Text content processing method, device, equipment and storage medium
CN112752323A (en) Method and device for changing hotspot access state
CN111651229A (en) Font changing method, device and equipment

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
GR01 Patent grant
GR01 Patent grant