CN113893559A - Method and device for recommending game sentences in game and electronic equipment - Google Patents

Method and device for recommending game sentences in game and electronic equipment Download PDF

Info

Publication number
CN113893559A
CN113893559A CN202111153305.2A CN202111153305A CN113893559A CN 113893559 A CN113893559 A CN 113893559A CN 202111153305 A CN202111153305 A CN 202111153305A CN 113893559 A CN113893559 A CN 113893559A
Authority
CN
China
Prior art keywords
game
input method
statement
sentence
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111153305.2A
Other languages
Chinese (zh)
Inventor
李彤彤
孙博
薛鹏
胡伟
苏杭
丁海波
肖长建
姚正威
李文飞
胡妙丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN202111153305.2A priority Critical patent/CN113893559A/en
Publication of CN113893559A publication Critical patent/CN113893559A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/85Providing additional services to players
    • A63F13/87Communicating with other players during game play, e.g. by e-mail or chat
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • 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/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/57Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of game services offered to the player
    • A63F2300/572Communication between players during game play of non game information, e.g. e-mail, chat, file transfer, streaming of audio and streaming of video

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device and electronic equipment for recommending game sentences in a game, wherein the method comprises the following steps: determining a game scene in the game; acquiring game sentences matched with the game scenes as target game sentences; displaying the target game sentence in an input method; and responding to the selection operation aiming at the target game statement, determining an on-screen game statement and displaying the on-screen game statement in the game. The embodiment of the invention can provide the target game statement matched with the game scene for the user in the game, so that the user can determine the on-screen game statement for on-screen in the game through the target game statement and quickly complete information input in the game, thereby improving the communication efficiency with other users in the game and improving the game experience of the user.

Description

Method and device for recommending game sentences in game and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of input methods, in particular to a method and a device for recommending game sentences in a game and electronic equipment.
Background
With the development of computer technology, electronic devices such as mobile phones and tablet computers are more and more popular, and great convenience is brought to life, study and work of people. These electronic devices are typically installed with an input method application (abbreviated as input method) so that a user can input information using the input method.
Meanwhile, various games such as MOBA (Multiplayer Online Battle Arena) and FPS (First-person Shooter) gradually come into people's lives, and the games are one of more and more important entertainment activities. It will be appreciated that as the number of users of network games increases, the need for information entry in the games is becoming more and more appreciated.
However, when a user plays a game, the user usually operates the electronic device with both hands across the screen, which is inconvenient for the user to type, and the typing speed is slow, so that the communication efficiency with other users is low, and the game experience of the user is further influenced.
Disclosure of Invention
The embodiment of the invention provides a method for recommending game sentences in a game, which is used for recommending game sentences for a user in the game, so that the communication efficiency with other users is improved, and the game experience of the user is improved.
Correspondingly, the embodiment of the invention also provides a device for recommending game sentences in the game and electronic equipment, which are used for ensuring the realization and application of the method.
In order to solve the above problems, an embodiment of the present invention discloses a method for recommending game statements in a game, which specifically includes:
determining a game scene in the game;
acquiring game sentences matched with the game scenes as target game sentences;
displaying the target game sentence in an input method;
and responding to the selection operation aiming at the target game statement, determining an on-screen game statement and displaying the on-screen game statement in the game.
Optionally, the determining a game scene in the game includes:
sending a query request to a server of the game;
and receiving a game scene returned by the server of the game aiming at the query request.
Optionally, the displaying the target game sentence in the input method includes:
displaying a primary input method interface of the input method in the game; the first-level input method interface comprises game statement entry controls;
responding to touch operation aiming at the game statement entry control, and entering a secondary input method interface;
and displaying the target game sentence in the secondary input method interface.
Optionally, the displaying a primary input method interface of the input method in the game includes:
when a primary input method interface of the input method is displayed for the first time in the game, adding a visual identifier for the game statement entry control in the primary input method interface so as to guide a user to perform touch operation on the game statement entry control.
Optionally, the method further comprises:
and responding to the hiding operation aiming at the primary input method interface or the secondary input method interface, and hiding the primary input method interface or the secondary input method interface in the game.
Optionally, the method further comprises:
and when the input method is called up again in the game, if the secondary input method interface is hidden in the game when the input method is called up last time, displaying the secondary input method interface in the game.
Optionally, the method further comprises:
collecting the on-screen game sentences;
sending the on-screen game sentence to a server of the input method; and the server of the input method analyzes the on-screen game sentence to update the game sentence in the game sentence list corresponding to the user.
The embodiment of the invention also discloses a device for recommending game sentences in a game, which comprises:
the game scene determining module is used for determining a game scene in the game;
the target game statement acquisition module is used for acquiring a game statement matched with the game scene as a target game statement;
and the target game statement display module is used for displaying the target game statement in the input method.
And the on-screen game statement determining module is used for responding to the selection operation aiming at the target game statement, determining the on-screen game statement and displaying the on-screen game statement in the game.
In an exemplary embodiment, the game scene determining module is configured to send a query request to a server of the game; and receiving a game scene returned by the server of the game aiming at the query request.
Optionally, the target game statement display module is configured to display a first-level input method interface of the input method in the game; the first-level input method interface comprises game statement entry controls; responding to touch operation aiming at the game statement entry control, and entering a secondary input method interface; and displaying the target game sentence in the secondary input method interface.
Optionally, the target game statement display module is configured to add a visual identifier to the statement entry control in the first-level input method interface when the first-level input method interface of the input method is displayed for the first time in the game, so as to guide a user to perform a touch operation on the game statement entry control.
Optionally, the further apparatus comprises: the on-screen game statement determining module is used for responding to the selection operation of the target game statement in the secondary input method interface and determining the on-screen game statement from the target game statement; and displaying the on-screen game sentence in the game.
Optionally, the method further comprises: and the hiding module is used for responding to the hiding operation aiming at the primary input method interface or the secondary input method interface and hiding the primary input method interface or the secondary input method interface in the game.
Optionally, the method further comprises: and the memory module is used for displaying the secondary input method interface in the game if the secondary input method interface is hidden in the game when the input method is called up for the previous time when the input method is called up again in the game.
Optionally, the method further comprises: the updating module is used for collecting the on-screen game sentences; sending the on-screen game sentence to a server of the input method; and the server of the input method analyzes the on-screen game sentence to update the game sentence in the game sentence list corresponding to the user.
The embodiment of the invention also discloses a readable storage medium, and when the instructions in the storage medium are executed by a processor of the electronic equipment, the electronic equipment can execute the method for recommending the game sentences in the game according to any embodiment of the invention.
The embodiment of the invention also discloses electronic equipment which comprises a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors to execute any method for recommending game sentences in games according to the embodiment of the invention.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, a game scene in a game is determined, a game sentence matched with the game scene is obtained as a target game sentence, the target game sentence is displayed in an input method called up in the game, and an on-screen game sentence is determined and is displayed in the game in response to the selection operation aiming at the target game sentence. The embodiment of the invention can provide the target game statement matched with the game scene for the user in the game, so that the user can determine the on-screen game statement for on-screen in the game through the target game statement and quickly complete information input in the game, thereby improving the communication efficiency with other users in the game and improving the game experience of the user.
Drawings
FIG. 1 is a flow chart of steps of an embodiment of a method of making a game statement recommendation in a game of the present invention;
FIG. 2 is a flow chart of steps in an alternative embodiment of a method of making a game statement recommendation in a game of the present invention;
FIG. 3 is a schematic illustration of a one-level input method interface for an in-game input method of the present invention;
FIG. 4 is a schematic illustration of a two-level input method interface for an in-game input method of the present invention;
FIG. 5 is a block diagram of an embodiment of an apparatus for performing game sentence recommendation in a game according to the present invention;
FIG. 6 illustrates a block diagram of an electronic device for game statement recommendation in a game, in accordance with an exemplary embodiment;
fig. 7 is a schematic structural diagram of an electronic device for performing game sentence recommendation in a game according to another exemplary embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
In order to ensure the game experience, users pay great attention to the information input efficiency in a game scene, and particularly in games needing team confrontation, such as an MOBA game, players are often required to communicate quickly and accurately. The traditional communication mode needs a player to input by an input method manually, because the typing speed is too slow, and the user usually operates the electronic equipment with two hands by crossing a screen during the game, if the user needs to screen the contents which are expected to be input one by one, the situation of the game may change early when the user finishes inputting, and the situation is not favorable for winning the game. Therefore, in order to improve the quick communication of the user in the game, some commonly used game sentences (in the game, the sentences are generally called as quick phrases) are directly built in the game for the user to select and screen up in the game.
However, most games lack the function of inputting game sentences or some game sentences of the games are provided with a part of the games, which provides the user with a quick selection screen, and in addition, since the game sentences applicable in different game scenes are all different, for example, in the MOBA game, if the user is already in the game, since the selection of hero is already completed in the game scene of hero selection, at this time, the user does not communicate which hero is adopted for the competitive game, the user needs to select the game sentences which are in accordance with the current game scene from a large number of game sentences, and if the number of the game sentences is considerable, the user selection is time-consuming and the efficiency is very low.
In view of the above problems, embodiments of the present invention provide a method for recommending game statements in a game, which combines an input method with a game, expands and classifies game statements related to the game in the input method, and then intelligently recommends a game statement that best meets a game scene for a user through the input method in a game process of the user, so as to reduce typing operations and selection steps of the user, save typing costs of the user, improve input efficiency of the game statements, and maximize game experience of the user without interfering with the game.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for recommending game sentences in a game according to the present invention is shown, and specifically may include the following steps:
and step 102, determining a game scene in the game.
The game scene refers to a game stage in which the user is currently in the game. Taking an MOBA game as an example, a game scene in the game may include a game match, a game hall, a hero selection and the like, specifically, the game match is a stage when a user and other users enter a competitive game together, the game hall is a stage when the user performs an operation activity, a social function and a core play, and the hero selection is a stage when the user selects the hero participating in the competitive game before entering the game match.
In the embodiment of the invention, when a user enters a game and invokes an input method, a game scene in the game at present can be determined, such as game play, a game hall or hero selection, and the like.
And 104, acquiring the game sentence matched with the game scene as a target game sentence.
And 106, displaying the target game sentence in the input method.
And step 108, responding to the selection operation aiming at the target game statement, determining an on-screen game statement and displaying the on-screen game statement in the game.
In the embodiment of the present invention, the input method may preset a corresponding game statement list for each game, where the game statement list includes a plurality of game statements, where the game statements respectively have corresponding classifications, such as a classification of game play, a classification of a game hall, and a classification of hero selection.
It can be understood that the game scenes in the game, especially the game scenes in the large-scale game, may be very many, and the applicable game sentences in each game scene are different. For example, when the game scene is game play, commonly used game sentences include [ defense for high, request support, push tower preferentially, blue of little brother is good for me ], and the like, when the game scene is a game hall, commonly used game sentences include [ getting on soon, getting over friends ([ lambdas ]) and the like, and when the game scene is hero selection, commonly used game sentences include [ i play on the road, i play on the middle road, i play off the road, i play on the wild, i play assist, you select me complement position first ], and the like.
In the embodiment of the invention, in order to help a user to quickly screen game sentences which are expected to be sent in a current game scene, after the game scene is determined, the game sentences which are matched with the game scene in the game sentence list can be used as target game sentences and are displayed in an input method called up in a game. For example, when the game scene is hero selection, the target game sentences can be selected from the target game sentences recommended by the input method without screening the target game sentences from the game sentence list, so that the typing operation and the selection steps of the user are reduced, the typing cost of the user is saved, the time consumed for selection is shorter, and the efficiency is higher.
In the embodiment of the invention, for the target game sentence displayed in the input method, the user can determine the on-screen game sentence through selection operations such as screening by a roller, clicking the target game sentence, or clicking a sending button, and the like, and the on-screen game sentence is displayed in the game.
In specific application, the game statement list may also be set for each game, for example, a corresponding game statement list may be set for an MOBA game, and a corresponding game statement list may be set for an FPS game, so that a better recommendation effect is achieved when a user recommends a game statement in a game.
In the embodiment of the invention, game sentences used for recommending in games are expanded and classified in the input method, so that more game sentences can be recommended for users in games through the input method. Meanwhile, the problem is that after a large number of rich game sentences are expanded, the selection cost of the user is increased, so that the embodiment of the invention determines the game scene in the game at present, and then realizes the primary screening of the game sentences in the existing game sentence list through the game scene to obtain the target game sentences, thereby increasing the intellectualization and the accuracy, and the target game sentences are matched with the game scene, so that the recommendation effect is better while the time cost for screening is saved for the user.
In the method for recommending game sentences in the game, the game scene in the game is determined, the game sentences matched with the game scene are obtained as target game sentences, the target game sentences are displayed in an input method called up in the game, and the on-screen game sentences are determined and displayed in the game in response to the selection operation aiming at the target game sentences. The embodiment of the invention can provide the target game statement matched with the game scene for the user in the game, so that the user can determine the on-screen game statement for on-screen in the game through the target game statement and quickly complete information input in the game, thereby improving the communication efficiency with other users in the game and improving the game experience of the user.
Referring to fig. 2, a flowchart illustrating steps of an alternative embodiment of a method for recommending game sentences in a game according to the present invention is shown, which may specifically include the following steps:
step 202, determining a game scene in the game.
In a specific implementation, if communication with other users is desired in the game, the invoking input method can be selected, and at this time, the game scene in the game is determined first.
In an exemplary embodiment, the step 202 of determining a game scene in the game may include the following steps:
sending a query request to a server of the game;
and receiving a game scene returned by the server of the game aiming at the query request.
Wherein, the game scene can comprise game play, game hall, hero selection and the like.
In the embodiment of the invention, the input method is called up in the game, or the query request can be sent to the server of the game at regular time, the server of the game determines the game scene based on the query request and returns the game scene to the input method, and then the input method can determine the game scene in the game at present. When the input method is called up in the game, each game scene (or stage) in the game, such as game signals of a game hall, game play, hero selection and the like, are determined and synchronized to the input method in real time, and the input method carries out the next processing in real time according to the game scene.
It should be noted that the linkage between the game scene and the game sentence is real-time, and the user can reacquire the game scene each time the input method is invoked or in real time in the whole process of entering the game, so that the target game sentence is updated in real time in different game scenes, and the target game sentence has timeliness, so that the pushed target game sentence can meet the interaction requirement of the current game scene of the user, and the game sentence is very convenient for the user.
And step 204, obtaining the game sentence matched with the game scene as a target game sentence.
Step 206, displaying a primary input method interface of the input method in the game; the first-level input method interface comprises a game statement entry control.
And step 208, responding to the touch operation aiming at the game statement entry control, and entering a secondary input method interface.
And step 210, displaying the target game sentence in the secondary input method interface.
In a specific implementation, the input method interface of the input method may include a primary input method interface and a secondary input method interface, where the primary input method interface is an input method interface including a keyboard through which information input may be performed, for example, information may be input in a game by clicking keys [ niwdzh ] and [ daiwofeib ] through the keyboard, and the information may be communicated with other users: "true and good you play", "fly with me", etc.; the second-level input method interface is the next-level interface of the first-level input method interface, and the second-level input method interface is an interface used for displaying target game sentences, for example, target game sentences such as I play the way to go up, I play the way to go in, I play the way to go down, I play the way to play the field, I play the auxiliary, and I choose I complement position in advance can be displayed in the second-level input method interface.
The first-level input method interface and the second-level input method interface respectively comprise entry controls for entering other interfaces, for example, the first-level input method interface comprises game statement entry controls, and the game statement entry controls can be displayed in the form of ICON (ICON) and the like in the first-level input method interface, for example, can be displayed in a menu bar above a keyboard in the first-level input method interface. As an example, referring to fig. 3, the schematic diagram of the first-level input method interface of the in-game input method of the present invention is shown, after the input method is invoked in the game, the first-level input method interface 302 is shown in the game, wherein the first-level input method interface 302 may further include a game statement entry control 304, referring to fig. 4, the schematic diagram of the second-level input method interface of the in-game input method of the present invention is shown, and when a user clicks the game statement entry control 304, the user may jump from the first-level input method interface to the second-level input method interface 402.
In an exemplary embodiment, the step 206 of presenting a primary input method interface of the input method in the game may include the steps of:
when a primary input method interface of the input method is displayed for the first time in the game, adding a visual identifier for the game statement entry control in the primary input method interface so as to guide a user to perform touch operation on the game statement entry control.
The visual identification may be to add a dynamic special effect or mark at the game statement entry control, for example, the game statement entry control flickers, or a red dot is set at the game statement entry control (the red dot always exists without clicking).
In a specific implementation, if the user invokes the input method in the game for the first time, a visual identifier is displayed at the game statement entry control of the primary input method interface, for example, the visual identifier presents obvious animation and plays a resident red dot, so that the user can quickly realize that the user can enter the secondary input method interface for displaying the target game statement by performing touch operation on the game statement entry control.
In the embodiment of the invention, in the secondary input method interface, a user can determine the game sentence on the screen by screening through a roller, clicking a target game sentence, clicking a sending button and the like, and the game sentence is displayed on the screen in the game. For example, referring to fig. 4, if a user wants to screen up a target game sentence [ i am a pickled fish and a pickled fish is redundant ] in a game, the target game sentence can be screened through a scroll wheel and then clicked, and the target game sentence is screened up in the game as the on-screen game sentence, so that communication with other users is completed.
In an exemplary embodiment, the method may further include the steps of:
and responding to the hiding operation aiming at the primary input method interface or the secondary input method interface, and hiding the primary input method interface or the secondary input method interface in the game.
In the game, the primary input method interface or the secondary input method interface can shield game pictures in the game more or less, such as skill control, terrain or hero, so that when the input method does not need to be called up, the primary input method interface or the secondary input method interface can be hidden in the game by clicking a blank area of the game pictures in the game, and unnecessary interference to a user is avoided.
In the embodiment of the invention, when the input method interface is hidden, the first-level input method interface or the second-level input method interface is hidden when the previous hidden input method interface is recorded, and when the input method is called up again in a game, the previous hidden input method interface can be stopped according to the record.
In an exemplary embodiment, the method may further include the steps of:
and when the input method is called up again in the game, if the secondary input method interface is hidden in the game when the input method is called up last time, displaying the secondary input method interface in the game.
In the embodiment of the invention, when the input method is called up again after the input method interface collected on the input method is the secondary input method interface, the input method interface displayed in the input method is the secondary input method interface, and the input method interface is stopped at the input method interface containing the target game statement, so that the user can conveniently and quickly finish information input in the game, and the information input efficiency of the user in the game is further improved.
Of course, the embodiment of the invention can also be set to enter the secondary input method interface by default when the input method is called up in the game, so that the user can quickly screen the game sentence in the game through the target game sentence in the secondary input method interface and quickly communicate with other players.
In an exemplary embodiment, the method may further include the steps of:
collecting the on-screen game sentences;
sending the on-screen game sentence to a server of the input method; and the server of the input method analyzes the on-screen game sentence to update the game sentence in the game sentence list corresponding to the user.
In the embodiment of the invention, in order to improve the intelligence of recommended game sentences, the on-screen game sentences selected by users can be collected and submitted to the server of the input method, and the server of the input method performs machine learning by using the on-screen game sentences selected by each user to perform big data analysis, optimizes the game sentences in the game sentence list, for example, eliminates the game sentences selected by the users in a small number or adds the current popular game sentences, better conforms to the input habits of the users, and better provides the target game sentences for the users.
By applying the embodiment of the invention, at least the following advantages can be included:
sentence level two page interaction: and entering a secondary input method interface by interacting with a game sentence entry control in the primary input method interface.
[ content multi-scene adaptation ]: and the target game sentences displayed in the secondary input method interface are obtained by screening from the game sentence list according to the current game scene.
[ content screening path ]: target game sentences are screened through a roller, and the target game sentences can be directly displayed on the game by clicking the target game sentences in the secondary input method interface or clicking a sending button.
[ interface memory logic ]: when the secondary input method interface is hidden in the game, the input method is called again to stay on the secondary input method interface.
New function guidance logic: when a user first calls the input method, the game statement entry control in the first-level input method interface shows obvious action and marks a resident red dot to guide the user to perform touch operation on the game statement entry control and enter the second-level input method interface.
[ game scene adaptation ]: and adapting to various mainstream games such as MOBA and FPS, and displaying customized game statement entry controls according to different game scenes.
In summary, by applying the embodiment of the invention, the input method adds the function of the shortcut sentence in the game APP, so that the user can quickly complete the game sentence input in the game, and the game scene is used to assist the input method to recommend the target game sentence, thereby improving the accuracy and relevance of the game sentence recommendation and improving the communication experience of the user in the game.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 5, a block diagram of an embodiment of an apparatus for recommending game sentences in a game according to the present invention is shown, and may specifically include the following modules:
a game scene determining module 502, configured to determine a game scene in the game;
a target game sentence acquisition module 504, configured to acquire a sentence matched with the game scene as a target game sentence;
a target game sentence display module 506, configured to display the target game sentence in the input method;
and an on-screen game statement determination module 508, configured to determine an on-screen game statement and to display the on-screen game statement in the game in response to a selection operation for the target game statement.
In an exemplary embodiment, the game scenario determining module 502 is configured to send a query request to a server of the game; and receiving a game scene returned by the server of the game aiming at the query request.
In an exemplary embodiment, the target game sentence display module 506 is configured to display a primary input method interface of the input method in the game; the first-level input method interface comprises game statement entry controls; responding to touch operation aiming at the game statement entry control, and entering a secondary input method interface; and displaying the target game sentence in the secondary input method interface.
In an exemplary embodiment, the target game statement display module 506 is configured to add a visual identifier to the statement entry control in the primary input method interface when the primary input method interface of the input method is displayed for the first time in the game, so as to guide a user to perform a touch operation on the game statement entry control.
In an exemplary embodiment, further comprising: and the hiding module is used for responding to the hiding operation aiming at the primary input method interface or the secondary input method interface and hiding the primary input method interface or the secondary input method interface in the game.
In an exemplary embodiment, further comprising: and the memory module is used for displaying the secondary input method interface in the game if the secondary input method interface is hidden in the game when the input method is called up for the previous time when the input method is called up again in the game.
In an exemplary embodiment, further comprising: the updating module is used for collecting the on-screen game sentences; sending the on-screen game sentence to a server of the input method; and the server of the input method analyzes the on-screen game sentence to update the game sentence in the game sentence list corresponding to the user.
In summary, in the embodiments of the present invention, a game scene in a game is determined, a game statement matching the game scene is acquired as a target game statement, the target game statement is displayed in an input method invoked in the game, and an on-screen game statement is determined and displayed in the game in response to a selection operation for the target game statement. The embodiment of the invention can provide the target game statement matched with the game scene for the user in the game, so that the user can determine the on-screen game statement for on-screen in the game through the target game statement and quickly complete information input in the game, thereby improving the communication efficiency with other users in the game and improving the game experience of the user.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
FIG. 6 is a block diagram illustrating an electronic device 600 for game statement recommendation in a game, according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, a smart wearable device, and the like.
Referring to fig. 6, electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of electronic device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 600.
The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 600 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the electronic device 600, the sensor component 614 may also detect a change in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, orientation or acceleration/deceleration of the electronic device 600, and a change in the temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the electronic device 600 and other devices in a wired or wireless manner. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 614 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 614 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the electronic device 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a method of making game statement recommendations in a game, the method comprising: determining a game scene in the game; acquiring game sentences matched with the game scenes as target game sentences; displaying the target game sentence in an input method; and responding to the selection operation aiming at the target game statement, determining an on-screen game statement and displaying the on-screen game statement in the game.
Optionally, the determining a game scene in the game includes: sending a query request to a server of the game; and receiving a game scene returned by the server of the game aiming at the query request.
Optionally, the displaying the target game sentence in the input method includes: displaying a primary input method interface of the input method in the game; the first-level input method interface comprises game statement entry controls; responding to touch operation aiming at the game statement entry control, and entering a secondary input method interface; and displaying the target game sentence in the secondary input method interface.
Optionally, the displaying a primary input method interface of the input method in the game includes: when a primary input method interface of the input method is displayed for the first time in the game, adding a visual identifier for the game statement entry control in the primary input method interface so as to guide a user to perform touch operation on the game statement entry control.
Optionally, the method further comprises: and responding to the hiding operation aiming at the primary input method interface or the secondary input method interface, and hiding the primary input method interface or the secondary input method interface in the game.
Optionally, the method further comprises: and when the input method is called up again in the game, if the secondary input method interface is hidden in the game when the input method is called up last time, displaying the secondary input method interface in the game.
Optionally, the method further comprises: collecting the on-screen game sentences; sending the on-screen game sentence to a server of the input method; and the server of the input method analyzes the on-screen game sentence to update the game sentence in the game sentence list corresponding to the user.
Fig. 7 is a schematic structural diagram of an electronic device 700 for game sentence recommendation in a game according to another exemplary embodiment of the present invention. The electronic device 700 may be a server, which may vary significantly depending on configuration or performance, and may include one or more Central Processing Units (CPUs) 722 (e.g., one or more processors) and memory 732, one or more storage media 730 (e.g., one or more mass storage devices) storing applications 742 or data 744. Memory 732 and storage medium 730 may be, among other things, transient storage or persistent storage. The program stored in the storage medium 730 may include one or more modules (not shown), each of which may include a series of instruction operations for the server. Further, the central processor 722 may be configured to communicate with the storage medium 730, and execute a series of instruction operations in the storage medium 730 on the server.
The server may also include one or more power supplies 726, one or more wired or wireless network interfaces 750, one or more input-output interfaces 758, one or more keyboards 756, and/or one or more operating systems 741, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors the one or more programs including instructions for: determining a game scene in the game; acquiring game sentences matched with the game scenes as target game sentences; displaying the target game sentence in an input method; and responding to the selection operation aiming at the target game statement, determining an on-screen game statement and displaying the on-screen game statement in the game.
Optionally, the determining a game scene in the game includes: sending a query request to a server of the game; and receiving a game scene returned by the server of the game aiming at the query request.
Optionally, the displaying the target game sentence in the input method includes: displaying a primary input method interface of the input method in the game; the first-level input method interface comprises game statement entry controls; responding to touch operation aiming at the game statement entry control, and entering a secondary input method interface; and displaying the target game sentence in the secondary input method interface.
Optionally, the displaying a primary input method interface of the input method in the game includes: when a primary input method interface of the input method is displayed for the first time in the game, adding a visual identifier for the game statement entry control in the primary input method interface so as to guide a user to perform touch operation on the game statement entry control.
Optionally, the method further comprises: and responding to the hiding operation aiming at the primary input method interface or the secondary input method interface, and hiding the primary input method interface or the secondary input method interface in the game.
Optionally, the method further comprises: and when the input method is called up again in the game, if the secondary input method interface is hidden in the game when the input method is called up last time, displaying the secondary input method interface in the game.
Optionally, the method further comprises: collecting the on-screen game sentences; sending the on-screen game sentence to a server of the input method; and the server of the input method analyzes the on-screen game sentence to update the game sentence in the game sentence list corresponding to the user.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method for recommending game sentences in games, the device for recommending game sentences in games and the electronic equipment provided by the invention are described in detail, specific examples are applied in the text to explain the principle and the implementation mode of the invention, and the description of the above embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for performing game statement recommendation in a game, comprising:
determining a game scene in the game;
acquiring game sentences matched with the game scenes as target game sentences;
displaying the target game sentence in an input method;
and responding to the selection operation aiming at the target game statement, determining an on-screen game statement and displaying the on-screen game statement in the game.
2. The method of claim 1, wherein the determining a game scenario in the game comprises:
sending a query request to a server of the game;
and receiving a game scene returned by the server of the game aiming at the query request.
3. The method of claim 1, wherein the presenting the target game statement in an input method comprises:
displaying a primary input method interface of the input method in the game; the first-level input method interface comprises game statement entry controls;
responding to touch operation aiming at the game statement entry control, and entering a secondary input method interface;
and displaying the target game sentence in the secondary input method interface.
4. The method of claim 3, wherein the primary input method interface for presenting the input method in the game comprises:
when a primary input method interface of the input method is displayed for the first time in the game, adding a visual identifier for the game statement entry control in the primary input method interface so as to guide a user to perform touch operation on the game statement entry control.
5. The method of claim 3, further comprising:
and responding to the hiding operation aiming at the primary input method interface or the secondary input method interface, and hiding the primary input method interface or the secondary input method interface in the game.
6. The method of claim 3 or 5, further comprising:
and when the input method is called up again in the game, if the secondary input method interface is hidden in the game when the input method is called up last time, displaying the secondary input method interface in the game.
7. The method of claim 1, further comprising:
collecting the on-screen game sentences;
sending the on-screen game sentence to a server of the input method; and the server of the input method analyzes the on-screen game sentence to update the game sentence in the game sentence list corresponding to the user.
8. An apparatus for performing game sentence recommendation in a game, comprising:
the game scene determining module is used for determining the game scene in the game;
the target game statement acquisition module is used for acquiring a game statement matched with the game scene as a target game statement;
the target game statement display module is used for displaying the target game statement in the input method;
and the on-screen game statement determining module is used for responding to the selection operation aiming at the target game statement, determining the on-screen game statement and displaying the on-screen game statement in the game.
9. An electronic device comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors comprises a method for conducting a game statement recommendation in a game according to any of method claims 1-7.
10. A readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform a method of making a game statement recommendation in a game as recited in any of method claims 1-7.
CN202111153305.2A 2021-09-29 2021-09-29 Method and device for recommending game sentences in game and electronic equipment Pending CN113893559A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111153305.2A CN113893559A (en) 2021-09-29 2021-09-29 Method and device for recommending game sentences in game and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111153305.2A CN113893559A (en) 2021-09-29 2021-09-29 Method and device for recommending game sentences in game and electronic equipment

Publications (1)

Publication Number Publication Date
CN113893559A true CN113893559A (en) 2022-01-07

Family

ID=79189361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111153305.2A Pending CN113893559A (en) 2021-09-29 2021-09-29 Method and device for recommending game sentences in game and electronic equipment

Country Status (1)

Country Link
CN (1) CN113893559A (en)

Similar Documents

Publication Publication Date Title
US20170371513A1 (en) Method and apparatus for text selection
CN110334352B (en) Guide information display method, device, terminal and storage medium
CN107315487B (en) Input processing method and device and electronic equipment
CN108958503A (en) input method and device
CN110244860B (en) Input method and device and electronic equipment
CN113986083A (en) File processing method and electronic equipment
CN113031837B (en) Content sharing method and device, storage medium, terminal and server
CN112328829A (en) Video content retrieval method and device
CN111752436A (en) Recommendation method and device and recommendation device
CN112000766A (en) Data processing method, device and medium
CN112631435A (en) Input method, device, equipment and storage medium
CN107340881B (en) Input method and electronic equipment
CN113893559A (en) Method and device for recommending game sentences in game and electronic equipment
CN107037887B (en) Method and device for Chinese character input and electronic equipment
CN113965792A (en) Video display method and device, electronic equipment and readable storage medium
CN114398127A (en) Message display method and device
CN113901313A (en) Game recommendation method and device, readable medium and electronic equipment
CN110019706B (en) Question generation method and device
CN109917927B (en) Candidate item determination method and device
CN111580683A (en) Input method and device
CN112083811B (en) Candidate item display method and device
CN111382295A (en) Image search result sorting method and device
CN111339263A (en) Information recommendation method and device and electronic equipment
CN110660375B (en) Method, device and equipment for generating music
CN113096695B (en) Contrast display method and device for contrast display

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