CN111766958A - Input method implementation method and device, electronic equipment and storage medium - Google Patents

Input method implementation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111766958A
CN111766958A CN202010626975.0A CN202010626975A CN111766958A CN 111766958 A CN111766958 A CN 111766958A CN 202010626975 A CN202010626975 A CN 202010626975A CN 111766958 A CN111766958 A CN 111766958A
Authority
CN
China
Prior art keywords
game
input
adjusted
attribute
input control
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
CN202010626975.0A
Other languages
Chinese (zh)
Other versions
CN111766958B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010626975.0A priority Critical patent/CN111766958B/en
Publication of CN111766958A publication Critical patent/CN111766958A/en
Application granted granted Critical
Publication of CN111766958B publication Critical patent/CN111766958B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • 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/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • 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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

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

Abstract

The application discloses an input method implementation method, an input method implementation device, electronic equipment and a storage medium; the method comprises the steps that game pictures transmitted by a cloud game server are displayed at a cloud game client; responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture; responding to a character input confirmation operation aiming at the input control, and sending an input method character instruction carrying input character content to the cloud game server; acquiring game picture data and the adjusted attribute information of the input control from the cloud game server; and displaying a target game picture according to the game picture data and the adjusted attribute information of the input control. According to the embodiment of the application, the input method program is installed on the cloud game client, the input method program does not need to be installed in advance on the cloud game server, the deployment and maintenance cost of the cloud game server is reduced, and the safety of the cloud game server is improved.

Description

Input method implementation method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of computers, in particular to an input method implementation method, an input method implementation device, electronic equipment and a storage medium.
Background
The cloud game is a novel game mode based on cloud computing, and the cloud game technology mainly transmits audio and video media data generated by a game running on a server to a client of a player through a computer network and transmits an operation instruction generated by the player at the client back to the server.
At present, a scheme for supporting an input method in a cloud game scene needs higher maintenance cost, and for a cloud game server, an input method program belongs to a third-party application program outside the cloud game server, so that potential safety hazards exist.
Disclosure of Invention
The embodiment of the application provides an input method implementation method, an input method implementation device, electronic equipment and a storage medium, so that the cost of deployment and maintenance of a cloud game server can be reduced, and the safety of the cloud game server is improved.
The embodiment of the application provides an input method implementation method, which comprises the following steps:
displaying a game picture transmitted by a cloud game server at a cloud game client;
responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture;
responding to a text input confirmation operation aiming at the input control, and sending an input method text instruction carrying input text content to the cloud game server, wherein the input method text instruction indicates that: the cloud game server adjusts the attribute information of the input control based on the text content and game logic;
acquiring game picture data and the adjusted attribute information of the input control from the cloud game server;
and displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
The embodiment of the application provides another input method implementation method, which comprises the following steps:
transmitting the game picture to the cloud game client;
receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content;
adjusting attribute information of an input control in the cloud game client according to the text content and the game logic;
and sending game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client displays a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
Correspondingly, the embodiment of the present application provides an input method implementation apparatus, including:
the first display unit is used for displaying the game pictures transmitted by the cloud game server on the cloud game client;
the second display unit is used for responding to character input triggering operation aiming at the game picture and displaying an input control corresponding to an input method in the current game picture;
a first sending unit, configured to send, to the cloud game server, an input method text instruction carrying input text content in response to a text input confirmation operation for the input control, where the input method text instruction indicates: the cloud game server adjusts the attribute information of the input control based on the text content and game logic;
an obtaining unit, configured to obtain, from the cloud game server, game screen data and adjusted attribute information of the input control;
and the third display unit is used for displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
Correspondingly, an embodiment of the present application provides another input method implementation apparatus, including:
the transmission unit is used for transmitting the game picture to the cloud game client;
the receiving unit is used for receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content;
the adjusting unit is used for adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic;
and the second sending unit is used for sending the game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client can display a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
Optionally, in some embodiments of the present application, the second display unit may include a first sending subunit and a first display subunit, as follows:
the first sending subunit is configured to send, to the cloud game server, an input method starting request in response to a text input triggering operation for the game screen, where the input method starting request instructs the cloud game server to send an input method starting instruction to the cloud game client;
and the first display subunit is used for displaying an input control corresponding to the input method in the current game picture according to the input method starting instruction sent by the cloud game server.
Optionally, in some embodiments of the present application, the input method start instruction indicates an initial attribute of the input control; the first display subunit is specifically configured to receive an input method start instruction sent by the cloud game server; analyzing the input method starting instruction to obtain the initial attribute of the input control; and displaying an input control corresponding to the input method in the current game picture according to the initial attribute.
Optionally, in some embodiments of the present application, the first sending unit may include a second display subunit and a second sending subunit, as follows:
the second display subunit is configured to display an input method panel in response to a text input operation for the input control, where the input method panel includes candidate input text corresponding to the text input operation;
and the second sending subunit is used for responding to the character input confirmation operation aiming at the input method panel and sending an input method character instruction carrying the input character content to the cloud game server.
Optionally, in some embodiments of the present application, the first display unit may be specifically configured to display a game window on the cloud game client, where the game window includes a game screen transmitted by the cloud game server, and the input control includes an input sub-window on the game window.
Optionally, in some embodiments of the present application, the input control comprises an input sub-window on the game window; the third display unit may include a first adjusting sub-unit and a third display sub-unit as follows:
the first adjusting sub-unit is configured to adjust the input sub-window based on the adjusted attribute information of the input sub-window to obtain an attribute-adjusted input sub-window;
and the third display sub-unit is used for displaying a target game picture in the game window according to the character content, the game picture data and the input sub-window after the attribute adjustment, wherein the target game picture comprises the input sub-window after the attribute adjustment, and the input sub-window after the attribute adjustment comprises the character content.
Optionally, in some embodiments of the present application, the adjusted attribute information of the input control includes an adjusted control attribute of the input control, and an adjusted character attribute of a character that needs to be displayed in the input control; the third display unit may include a first control adjustment subunit, a first text adjustment subunit, and a fourth display subunit, as follows:
the first control adjusting subunit is configured to adjust the input control according to the adjusted control attribute to obtain an attribute-adjusted input control;
the first character adjusting subunit is used for adjusting the character content according to the adjusted postamble character attribute to obtain the attribute-adjusted postamble character content;
and the fourth display subunit is configured to display a target game picture based on the attribute-adjusted input control, the attribute-adjusted postamble word content, and the game picture data, where the target game picture includes the attribute-adjusted input control, and the attribute-adjusted input control includes the attribute-adjusted postamble word content.
Optionally, in some embodiments of the present application, the adjusted attribute information includes an adjusted cursor position corresponding to an input cursor in the input control; the third display unit may further include a cursor display subunit as follows:
and the cursor display subunit is used for displaying the input cursor in the input control after the attribute adjustment based on the adjusted cursor position.
Optionally, in some embodiments of the present application, the game screen data includes a basic game screen having text content with an adjusted attribute; the adjusted attribute information of the input control comprises the adjusted control attribute of the input control; the third display unit may include a second adjusting subunit, a first fusing subunit, and a fifth display subunit, as follows:
the second adjusting subunit is configured to adjust the input control according to the adjusted control attribute to obtain an attribute-adjusted input control;
the first fusion subunit is used for fusing the basic game picture and the input control with the adjusted attributes to obtain a target game picture;
and the fifth display subunit is used for displaying the target game picture.
Optionally, in some embodiments of the present application, the input control is an editable game window, and the game window is used for displaying a game screen; the third display unit may include a third adjusting sub-unit and a sixth display sub-unit as follows:
the third adjusting subunit is configured to adjust the game window based on the adjusted attribute information of the game window, so as to obtain an attribute-adjusted game window;
and the sixth display subunit is configured to display a target game picture in the attribute-adjusted game window according to the text content, the game picture data, and the attribute-adjusted game window, where the target game picture includes the text content.
Optionally, in some embodiments of the present application, the input method implementation apparatus may further include a starting unit; the starting unit may include an acquiring subunit, a generating subunit, and a third transmitting subunit, as follows:
the obtaining subunit is configured to obtain a current game logic of the cloud game when receiving an input method starting request sent by the cloud game client;
the generating subunit is used for generating an input method starting instruction when the current game logic meets a preset condition;
and the third sending subunit is configured to send the input method starting instruction to the cloud game client, so that the cloud game client displays an input control corresponding to the input method in a current game screen.
Optionally, in some embodiments of the application, the generating subunit may be specifically configured to, when the current game logic meets a preset condition, obtain an initial attribute of an input control in the cloud game client based on a game screen that needs to be displayed and corresponds to the current game logic; and generating an input method starting instruction based on the initial attribute of the input control.
Optionally, in some embodiments of the present application, the attribute information includes a control attribute of the input control, and a text attribute of a text that needs to be displayed in the input control; the adjusting unit may include a second text adjusting subunit and a second control adjusting subunit, as follows:
the second character adjusting subunit is used for adjusting the character attributes of the character contents according to the character contents and game logic;
and the second control adjusting subunit is used for adjusting the control attribute of the input control in the cloud game client based on the adjusted character attribute.
Optionally, in some embodiments of the present application, the second text adjustment subunit may be specifically configured to obtain a game picture to be displayed according to a game logic; and adjusting the character attribute of the character content based on the character content and the game picture required to be displayed.
Optionally, in some embodiments of the present application, the attribute information includes a cursor position corresponding to an input cursor in the input control; the adjusting unit may comprise a cursor adjusting subunit, as follows:
and the cursor adjusting subunit is used for adjusting the cursor position corresponding to the input cursor in the cloud game client according to the text content and the game logic.
Optionally, in some embodiments of the present application, the attribute information includes a control attribute of the input control, and a text attribute of a text that needs to be displayed in the input control; the adjusting unit may include a third text adjusting subunit, a third control adjusting subunit, and a second fusing subunit, as follows:
the third character adjusting subunit is configured to adjust a character attribute of the character content based on the character content and game logic;
the third control adjusting subunit is used for adjusting the control attribute of the input control in the cloud game client based on the adjusted text character attribute;
and the second fusion subunit is used for fusing the character content after the attribute adjustment with the current game picture to obtain fused game picture data.
Optionally, in some embodiments of the present application, the attribute information includes a control attribute of the input control, and a text attribute of a text that needs to be displayed in the input control; the second sending unit may be specifically configured to send the fused game screen data and the adjusted control attribute of the input control to the cloud game client, so that the cloud game client displays a target game screen according to the fused game screen data and the adjusted control attribute of the input control, where the target game screen includes the attribute-adjusted input control, and the attribute-adjusted input control includes the attribute-adjusted character content.
Optionally, in some embodiments of the present application, the input control is an editable game window, and the game window is used for displaying a game screen; the adjusting unit may be specifically configured to adjust attribute information of an editable game window in the cloud game client according to the text content and the game logic;
the second sending unit may be specifically configured to send game screen data and the adjusted attribute information of the editable game window to the cloud game client, so that the cloud game client displays a target game screen on the editable game window with the adjusted attribute according to the game screen data and the adjusted attribute information of the editable game window, where the target game screen includes the text content.
Optionally, in some embodiments of the present application, before the step "adjusting attribute information of an editable game window in the cloud game client according to the text content and the game logic", the method further includes:
and according to the input method frame, realizing the game window on the cloud game client as a game window capable of supporting character editing to obtain an editable game window.
The electronic device provided by the embodiment of the application comprises a processor and a memory, wherein the memory stores a plurality of instructions, and the processor loads the instructions to execute the steps in the input method implementation method provided by the embodiment of the application.
In addition, a storage medium is further provided, on which a computer program is stored, where the computer program is executed by a processor to implement the steps in the input method implementation method provided in the embodiment of the present application.
The embodiment of the application provides an input method implementation method, an input method implementation device, electronic equipment and a storage medium, wherein a game picture transmitted by a cloud game server can be displayed at a cloud game client; responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture; responding to a text input confirmation operation aiming at the input control, and sending an input method text instruction carrying input text content to the cloud game server, wherein the input method text instruction indicates that: the cloud game server adjusts the attribute information of the input control based on the text content and game logic; acquiring game picture data and the adjusted attribute information of the input control from the cloud game server; and displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content. According to the embodiment of the application, the input method program is installed on the cloud game client, the input method program does not need to be installed in advance on the cloud game server, the deployment and maintenance cost of the cloud game server is reduced, and the safety of the cloud game server is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1a is a scene schematic diagram of an input method implementation method provided in an embodiment of the present application;
FIG. 1b is a flowchart of an input method implementation method provided in an embodiment of the present application;
fig. 1c is a schematic page diagram of an input method implementation method provided in the embodiment of the present application;
fig. 1d is a schematic view of another page of the input method implementation method provided in the embodiment of the present application;
fig. 1e is a schematic diagram of an input method implementation method provided in the embodiment of the present application;
fig. 1f is another schematic diagram of an input method implementation method provided in the embodiment of the present application;
FIG. 2a is another flowchart of an input method implementation method provided in an embodiment of the present application;
FIG. 2b is another flowchart of an input method implementation method provided in the embodiments of the present application;
fig. 3a is a schematic structural diagram of an input method implementation apparatus provided in an embodiment of the present application;
fig. 3b is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3c is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3d is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3e is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3f is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3g is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3h is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3i is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3j is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3k is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 3l is another schematic structural diagram of an input method implementation apparatus provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides an input method implementation method, an input method implementation device, electronic equipment and a storage medium.
Specifically, the present embodiment provides an input method implementation apparatus (for differentiation, may be referred to as a first input method implementation apparatus) suitable for a first electronic device, where the first electronic device may be a terminal or the like. The embodiment of the present application further provides an input method implementation apparatus (for differentiation, may be referred to as a second input method implementation apparatus) suitable for a second electronic device, where the second electronic device may be a network-side device such as a server.
For example, the first input method implementation apparatus may be integrated in a terminal. The terminal may be a mobile phone, a tablet Computer, a notebook Computer, a desktop Computer, a Personal Computer (PC), or the like, but is not limited thereto. The second input method implementation apparatus may be integrated in a server. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Content Delivery Network (CDN), big data and an artificial intelligence platform. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
The embodiment of the application takes the first electronic device as a terminal and the second electronic device as a server as an example to introduce the input method implementation method.
As shown in fig. 1a, the embodiment of the present application provides an input method implementation system, which includes a terminal 10 and a server 11, where the terminal 10 and the server 11 are connected through a network, for example, a wireless network connection. The terminal 10 may have a client integrated therein, and the client may specifically be an application installed in the terminal. The terminal 10 may perform input method interaction with the server 11 through a network.
The terminal 10 may be configured to display, at the cloud game client, a game screen transmitted by the cloud game server 11; responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture; in response to a text input confirmation operation for the input control, sending an input method text instruction carrying input text content to the cloud game server 11, where the input method text instruction indicates: the cloud game server 11 adjusts the attribute information of the input control based on the text content and game logic; acquiring game picture data and adjusted attribute information of the input control from the cloud game server 11; and displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
The server 11 may be configured to transmit the game screen to the cloud game client; receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content; adjusting attribute information of an input control in the cloud game client according to the text content and the game logic; and sending game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client displays a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
In this embodiment, information transmission between the terminal and the server may be implemented through some communication networks, and the types and the systems of the communication networks are not limited.
The input method implementation method provided by the embodiment of the application relates to a Cloud gaming (Cloud gaming) direction in the field of Cloud technology. According to the embodiment of the application, the input method program is installed on the cloud game client, the input method program does not need to be installed in advance on the cloud game server, the deployment and maintenance cost of the cloud game server is reduced, and the safety of the cloud game server is improved.
The Cloud technology (Cloud technology) is a hosting technology for unifying series resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. The cloud technology is a general term of network technology, information technology, integration technology, management platform technology, application technology and the like applied based on a cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
Cloud gaming (Cloud gaming), also known as game on demand (gaming), is an online gaming technology based on Cloud computing technology. Cloud game technology enables light-end devices (thin clients) with relatively limited graphics processing and data computing capabilities to run high-quality games. In a cloud game scene, a game is not operated in a player game terminal but in a cloud server, and the cloud server renders the game scene into a video and audio stream which is transmitted to the player game terminal through a network. The player game terminal does not need to have strong graphic operation and data processing capacity, and only needs to have basic streaming media playing capacity and capacity of acquiring player input instructions and sending the instructions to the cloud server.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The present embodiment will be described from the perspective of a first input method implementation apparatus, which may be specifically integrated in a terminal, where the first input method implementation apparatus may be regarded as a client in the terminal.
The input method implementation method can be applied to various cloud game scenes.
The embodiment of the application provides an input method implementation method, and as shown in fig. 1b, a specific flow of the input method implementation method may be as follows:
101. and displaying the game picture transmitted by the cloud game server at the cloud game client.
The cloud game client may be a browser client or an application client, which is not limited in this embodiment. The cloud game client supports various operating system platforms, such as a Windows operating system (Windows) and an apple operating system (macOS).
In a cloud game scenario, a game player may perform a game operation through an input device of a client, for example, a game input operation through a game pad, a touch screen, a keyboard, and the like. For the cloud game, the game is not installed on a terminal, but runs on a cloud server, the cloud server renders a game scene into an audio and video stream, the audio and video stream is transmitted to a terminal display through a network, and a game picture can be displayed through the terminal display. Meanwhile, the terminal operation of the game player is converted into an instruction and is transmitted back to the cloud server.
102. And responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to the input method in the current game picture.
In this embodiment, the step "responding to the text input triggering operation for the game screen, and displaying the input control corresponding to the input method in the current game screen" may include:
responding to a character input triggering operation aiming at the game picture, and sending an input method starting request to the cloud game server, wherein the input method starting request instructs the cloud game server to send an input method starting instruction to the cloud game client;
and displaying an input control corresponding to the input method in the current game picture according to the input method starting instruction sent by the cloud game server.
Specifically, the text input triggering operation may be that a game player clicks a specific position in a game screen through a mouse, or that a designated key is pressed. The specific position and the designated key may be set according to actual conditions, which is not limited in this embodiment, for example, the text input triggering operation may be to press a combination key "Ctrl + Shift" (control + Shift, control + move) through a keyboard. In an embodiment, a combination key "Ctrl + Shift" may be preset as a text input triggering operation, and when it is detected that the game player presses the combination key "Ctrl + Shift", an input method start request is sent to the cloud game server.
After receiving the input method starting request, the cloud game server judges whether to send an input method starting instruction to the cloud game client side or not based on game logic.
Specifically, in some embodiments, the cloud game server, upon receiving an input method initiation request, passes the input method initiation request into a game process, which is processed based on the game logic of the game process itself. If the current game logic prohibits starting the input method, the cloud game server can send an input method forbidding instruction to the cloud game client, and the cloud game client prohibits starting of the local input method after receiving the input method forbidding instruction. If the current game logic needs to start the input method, the game process calls an Application Programming Interface (API) of a related system, the API is monitored by the cloud game server, and when the cloud game server monitors the related API call, an input method start instruction is generated and sent to the cloud game client.
Optionally, in some embodiments, the input method start instruction indicates an initial attribute of the input control; the step of displaying an input control corresponding to the input method in the current game screen according to the input method starting instruction sent by the cloud game server may include:
receiving an input method starting instruction sent by the cloud game server;
analyzing the input method starting instruction to obtain the initial attribute of the input control;
and displaying an input control corresponding to the input method in the current game picture according to the initial attribute.
The input method starting instruction can be used for starting a local input method of the cloud game client and can also be used for indicating initial attributes of input controls corresponding to the input method. The initial properties of the input control may specifically include an initial position and an initial size.
The cloud game server can determine the initial attribute of an input control according to the current game picture, generate an input method starting instruction based on the initial attribute of the input control, and send the input method starting instruction containing the initial attribute of the input control to the cloud game client; the cloud game client analyzes the input method starting instruction to obtain the initial attribute of the input control, and based on the initial attribute, the input control can be displayed at the initial position in the current game picture in the initial size. The initial position and the initial size of the input control are determined based on the game picture, so that the input control can be prevented from shielding main content in the game picture, and the use experience of a user on the cloud game is improved.
Optionally, in some embodiments, the initial property of the input control may further include an initial cursor position corresponding to an input cursor in the input control. Specifically, an initial cursor position corresponding to the input cursor may be determined based on the initial position of the input control. For example, the middle position in the input control may be used as the initial cursor position, or the leftmost position in the input control may be used as the initial cursor position, and the initial cursor position may be set according to an actual situation, which is not limited in this embodiment.
103. Responding to a text input confirmation operation aiming at the input control, and sending an input method text instruction carrying input text content to the cloud game server, wherein the input method text instruction indicates that: the cloud game server adjusts attribute information of the input control based on the text content and game logic.
The text input confirmation operation may specifically be an operation on a relevant confirmation control, or may be a pressing operation of a preset specified key. The preset designated key may be an enter key or a space key, and may be set according to actual conditions, which is not limited in this embodiment. For example, in an embodiment, after the user inputs the text, the user presses the "enter" key to send the text, and then the input text is sent to the cloud game server.
Optionally, in some embodiments, the step "sending an input method text instruction carrying input text content to the cloud game server in response to a text input confirmation operation for the input control" may include:
responding to the character input operation aiming at the input control, and displaying an input method panel, wherein the input method panel comprises candidate input characters corresponding to the character input operation;
and responding to the character input confirmation operation aiming at the input method panel, and sending an input method character instruction carrying input character content to the cloud game server.
Optionally, in a specific embodiment, as shown in fig. 1c, when a game player performs a text input operation on an input control, the input method panel displays candidate input text corresponding to the text input operation, for example, the game player inputs pinyin "yun 'you' xi" corresponding to a word "cloud game", and the input method panel displays candidate input text "cloud game", "cloud game" and "friend fortune"; when the game player performs the character input confirmation operation on the input panel, the cloud game client sends the character content corresponding to the character input confirmation operation to the cloud game server. Specifically, if the content of the character that the game player wants to input is "cloud game", the character input confirmation operation may be a click operation on a character in an input method panel on the display screen, that is, "cloud game", or a touch operation on a key "1" on the keyboard.
Optionally, in this embodiment, when a text input confirmation operation for the input method panel is detected, an input method text instruction is generated, the input method text instruction may be encoded, and the encoded input method text instruction is sent to the cloud game server through the cloud game network protocol.
104. And acquiring game picture data and the adjusted attribute information of the input control from the cloud game server.
105. And displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
In one embodiment, when a game player performs a text input operation on an input control, the pinyin "yun 'you' xi" corresponding to the word "cloud game" is input, candidate input texts such as "cloud game", "cloud game" and "fortune friend" can be displayed on the input method panel, and when the game player performs a text input confirmation operation on the word "cloud game" in the input panel, the cloud game client sends the text content (the word "cloud game") to the cloud game server. And after receiving the game picture data and the adjusted attribute information sent by the cloud game server, the cloud game client displays a target game picture, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises a word of 'cloud game'.
Optionally, in an embodiment, after the game player inputs the word "cloud game", text may be further input with respect to the input control. For example, as shown in fig. 1d, the game player continues to input pinyin "wan' jia" corresponding to the word "player" after the word "cloud game", and at this time, candidate input characters of "player", "Wanjia" and "bowl shelf" are displayed on the input method panel; then, based on the character input confirmation operation of the game player on the word of the player in the input method panel, the character content, namely the word of the player, is sent to the cloud game server; and after receiving the corresponding game picture data and the adjusted attribute information sent by the cloud game server, the cloud game client displays a target game picture, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises a word of 'cloud game player', namely, a word of 'player' is continuously displayed behind the word of 'cloud game'. In addition, the game player can also delete the text content in the input control, the cloud game client can send a deletion request corresponding to the deletion operation to the cloud game server, the cloud game server generates a deletion instruction based on the deletion request and the game logic, the deletion instruction can comprise the adjusted control attribute and the text needing to be displayed and sends the deletion instruction to the cloud game client, the cloud game client deletes the corresponding text based on the deletion instruction, a target game picture is displayed, and the target game picture does not display the deleted text.
Optionally, in some embodiments, the step of "displaying the game screen transmitted by the cloud game server at the cloud game client" may include:
displaying a game window on a cloud game client, wherein the game window comprises a game picture transmitted by a cloud game server, and the input control comprises an input sub-window on the game window.
Optionally, in this embodiment, an input control may be used as a sub-window (i.e., an input method window) on the game window, where the sub-window is a form that can support text editing, and the background color of the input control may be transparent, that is, the input control may be regarded as a hidden editing control, as shown in fig. 1 e. The cloud game client can control enabling, position, size and the like of the child window according to the adjusted attribute information sent by the cloud game server. Wherein, enable refers to the state of enabling and disabling the input method. The input control is used as a child window on the game window to realize the interaction capacity of the local input method, and the method is simple and easy to realize and can better realize componentization.
Optionally, in some embodiments, the step "displaying the target game screen according to the game screen data and the adjusted attribute information of the input control" may include:
adjusting the input sub-window based on the adjusted attribute information of the input sub-window to obtain an input sub-window with adjusted attributes;
and displaying a target game picture in the game window according to the text content, the game picture data and the attribute-adjusted input sub-window, wherein the target game picture comprises the attribute-adjusted input sub-window, and the attribute-adjusted input sub-window comprises the text content.
The adjusted attribute information of the input sub-window may include the adjusted position and size of the input sub-window; and adjusting the input sub-window based on the adjusted position and size to obtain the input sub-window with the adjusted attributes, and displaying the input sub-window with the adjusted attributes in the game window.
Optionally, in some embodiments, the input control is an editable game window for displaying a game screen. Specifically, referring to fig. 1f, the game window of the entire cloud game client may be implemented as a form capable of supporting text editing based on an input method framework, so that text content input by a game player through an input method may be captured, and thus, the interaction capability with a local input method is implemented. The cloud game client can determine the position and the size of an area for displaying the text content in the game window according to the adjusted attribute information sent by the cloud game server, and the area for displaying the text content can be regarded as an input method window. The game window is realized as a form capable of supporting text editing to serve as an input control, the input method realized in the mode has accurate processing logic and simple control logic, but the whole game window is changed into a window which has input capability and is provided by an operating system, the realization is complex, and additional heavy logic is introduced into the game window.
Specifically, in some embodiments, the input control is an editable game window, and the game window is used for displaying a game picture; the step of displaying the target game screen according to the game screen data and the adjusted attribute information of the input control may include:
adjusting the game window based on the adjusted attribute information of the game window to obtain the attribute-adjusted game window;
and displaying a target game picture in the attribute-adjusted game window according to the text content, the game picture data and the attribute-adjusted game window, wherein the target game picture comprises the text content.
The adjusted attribute information of the game window may include an adjusted postamble character attribute of characters to be displayed in the game window, and the adjusted postamble character attribute may include adjusting a postamble character color, adjusting a postamble character size, adjusting a postamble character position, and the like.
Optionally, in some embodiments, the adjusted attribute information of the input control includes an adjusted control attribute of the input control and an adjusted character attribute of a character that needs to be displayed in the input control; the step of displaying the target game screen according to the game screen data and the adjusted attribute information of the input control may include:
adjusting the input control according to the adjusted control attribute to obtain an attribute-adjusted input control;
adjusting the character content according to the adjusted character attribute to obtain the character content with the adjusted attribute;
and displaying a target game picture based on the input control after the attribute adjustment, the character content after the attribute adjustment and the game picture data, wherein the target game picture comprises the input control after the attribute adjustment, and the input control after the attribute adjustment comprises the character content after the attribute adjustment.
The adjusted control attribute may include an adjusted control position and an adjusted control size. The text attribute may include text color, text size, text position, etc., and adjusting the text attribute may include adjusting the text color, adjusting the text size, adjusting the text position, etc.
The step of adjusting the input control according to the adjusted control attribute to obtain the attribute-adjusted input control may include:
adjusting the position of the input control according to the adjusted position of the control to obtain the position-adjusted input control;
and adjusting the size of the input control with the adjusted position according to the adjusted size of the control to obtain the input control with the adjusted attribute.
Optionally, in some embodiments, the adjusted attribute information includes an adjusted cursor position corresponding to an input cursor in the input control; the method may further comprise:
and displaying an input cursor in the attribute-adjusted input control based on the adjusted cursor position.
And determining the adjusted cursor position corresponding to the input cursor based on the attribute adjusted postamble word content. For example, the input cursor may be displayed after the last word from left to right in the property-adjusted input control.
Alternatively, in some embodiments, the adjusted cursor position of the input cursor may be determined based on the game player's manipulation of an input control in the game screen. For example, when it is detected that the game player clicks an intermediate position of two words in the input control, the intermediate position is determined as the post-adjustment cursor position, and the input cursor is displayed at the intermediate position.
Optionally, in some embodiments, the game screen data includes a basic game screen having text content with adjusted attributes; the adjusted attribute information of the input control comprises the adjusted control attribute of the input control; the step of displaying the target game screen according to the game screen data and the adjusted attribute information of the input control may include:
adjusting the input control according to the adjusted control attribute to obtain an attribute-adjusted input control;
fusing the basic game picture and the input control after the attribute adjustment to obtain a target game picture;
and displaying the target game picture.
The cloud game server sends the basic game picture obtained after the fusion to the cloud game client.
The process of fusing the basic game picture and the input control with the adjusted attributes can be specifically fusing the input control with the area corresponding to the character content after the adjustment of the attributes in the basic game picture, so that the character content after the adjustment of the attributes is displayed on the input control after the adjustment of the attributes, and the target game picture is obtained.
In this embodiment, the input control is an input method installed locally at the cloud game client. Specifically, when the user needs to use the function of inputting text content, the user can switch to the required input method by using a familiar local input method switching mode, and then normally input text.
As can be seen from the above, the present embodiment can display the game images transmitted by the cloud game server at the cloud game client; responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture; responding to a text input confirmation operation aiming at the input control, and sending an input method text instruction carrying input text content to the cloud game server, wherein the input method text instruction indicates that: the cloud game server adjusts the attribute information of the input control based on the text content and game logic; acquiring game picture data and the adjusted attribute information of the input control from the cloud game server; and displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content. According to the embodiment of the application, the input method program is installed on the cloud game client, the input method program does not need to be installed in advance on the cloud game server, the deployment and maintenance cost of the cloud game server is reduced, and the safety of the cloud game server is improved.
The present embodiment will be described from the perspective of a second input method implementation apparatus, which may be specifically integrated in a server, and the server may be specifically a cloud server or the like.
An embodiment of the present application provides an input method, and as shown in fig. 2a, a specific process of the input method may be as follows:
201. and transmitting the game picture to the cloud game client.
The method comprises the steps that based on an operation instruction sent to a cloud game server by a cloud game client, a game picture corresponding to the operation is generated, and the game picture is transmitted to the cloud game client.
202. And receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content.
The input method text instruction can be generated by the cloud game client aiming at the text input confirmation operation of the input control in the game picture.
Optionally, in some embodiments, before the step "receiving an input method text instruction sent by the cloud game client based on the game screen", the method may further include:
when an input method starting request sent by the cloud game client is received, acquiring the current game logic of the cloud game;
when the current game logic meets a preset condition, generating an input method starting instruction;
and sending the input method starting instruction to the cloud game client so that the cloud game client displays an input control corresponding to the input method in the current game picture.
Specifically, after receiving an input method starting request, the cloud game server transmits the input method starting request to a game process, and processes the input method starting request based on the game logic of the game process. If the current game logic prohibits starting the input method, the cloud game server can send an input method forbidding instruction to the cloud game client, and the cloud game client prohibits starting of the local input method after receiving the input method forbidding instruction. If the current game logic needs to start the input method, the game process calls an API of a relevant system, the API is monitored by the cloud game server, when the cloud game server monitors the relevant API call, an input method starting instruction is generated, and the input method starting instruction is sent to the cloud game client.
The input method starting instruction can be used for starting a local input method of the cloud game client and can also be used for indicating the initial attribute of an input control corresponding to the input method on the cloud game client. The initial properties of the input control may specifically include an initial position and an initial size.
Optionally, in some embodiments, the step "generating an input method start instruction when the current game logic satisfies a preset condition" may include:
when the current game logic meets a preset condition, acquiring initial attributes of an input control in the cloud game client based on a game picture needing to be displayed corresponding to the current game logic;
and generating an input method starting instruction based on the initial attribute of the input control.
The cloud game server generates an input method starting instruction with initial attributes indicating input controls, and then sends the input method starting instruction to the cloud game client, the cloud game client can obtain the initial attributes of the input controls by analyzing the input method starting instruction, and the input controls are displayed at initial positions in a current game picture in initial sizes based on the initial attributes. The initial position and the initial size of the input control are determined based on the game picture, so that the input control can be prevented from shielding main content in the game picture, and the use experience of a user on the cloud game is improved.
Optionally, in some embodiments, the initial property of the input control may further include an initial cursor position corresponding to an input cursor in the input control. Specifically, an initial cursor position corresponding to the input cursor may be determined based on the initial position of the input control.
Optionally, in some embodiments, the input method text instruction is sent to the cloud game server after the cloud game client encodes the input method text instruction, and after the cloud game server receives the input method text instruction, the input method text instruction may be decoded and then the corresponding text content is sent to the current game process, so as to adjust the attribute information of the input control in the cloud game client.
203. And adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic.
Specifically, after receiving the text content sent by the cloud game client, the cloud game server can decode the text content and send the decoded text content to the current game process, the current game process processes the text content according to game logic, meanwhile, the cloud game can adjust attribute information of an input control, after the adjusted attribute information of the input control is monitored by the cloud game server, the cloud game server generates a new input method state updating instruction, the input method state updating instruction comprises the adjusted attribute information, and the input method state updating instruction is issued to the cloud game client.
Optionally, in some embodiments, the attribute information includes a control attribute of the input control, and a text attribute of a text that needs to be displayed in the input control; the step of adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic may include:
adjusting the character attribute of the character content according to the character content and game logic;
and adjusting the control attribute of the input control in the cloud game client based on the adjusted character attribute.
The control property of the input control can comprise a control position and a control size of the input control. The text attribute may include a text color, a text size, and a text position, and adjusting the text attribute may include adjusting the text color, adjusting the text size, and adjusting the text position.
The step of adjusting the control attribute of the input control in the cloud game client based on the adjusted text character attribute may include:
adjusting the size of a control of an input control in the cloud game client based on the adjusted size of the character;
and adjusting the control position of the input control in the cloud game client based on the adjusted character position.
Since the adjusted text word content is displayed in the attribute-adjusted input control, the attribute of the input control can be adjusted based on the adjusted text word attribute.
Optionally, in some embodiments, the step of "adjusting text attributes of the text content according to the text content and game logic" may include:
acquiring a game picture to be displayed according to the game logic;
and adjusting the character attribute of the character content based on the character content and the game picture required to be displayed.
In order to avoid blocking important contents in the game picture, the characters can be adjusted to be small appropriately, or the characters can be placed in other relatively unimportant areas in the game picture. For example, a relatively unimportant area in the game screen may be determined based on the game screen that needs to be displayed currently, and the text size and the text position of the text content may be adjusted based on the relatively unimportant area and the text content.
Optionally, in some embodiments, the attribute information includes a cursor position corresponding to an input cursor in the input control; the step of adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic may include:
and adjusting the cursor position corresponding to the input cursor in the cloud game client according to the text content and the game logic.
The position and the size of the character to be displayed can be determined according to the game logic and the character content, and the cursor position of the input cursor can be adjusted based on the position and the size of the character to be displayed. For example, an input cursor may be displayed at the end of the last word in the text content.
Optionally, in some embodiments, the position of the input cursor may be displayed based on a cursor adjustment operation of the input control by the user. The cursor adjusting operation may be specifically an adjusting operation of a cursor position through a direction key of a keyboard, or a clicking operation of a certain position in an input control, which is not limited in this embodiment. For example, the cursor adjustment operation may be a click operation of the user on a middle position of two words in the input control. Specifically, the cloud game client may transmit operation information corresponding to the cursor adjustment operation to the cloud game server, and the cloud game server determines a cursor position that needs to be displayed by the input cursor based on the operation information, and transmits the cursor position to the cloud game client, so that the cloud game client displays the input cursor based on the cursor position. For example, if the cursor adjustment operation is a click operation of the user on a middle position between two characters in the input control, the input cursor may be displayed at a position between the two characters.
Optionally, in some embodiments, the input control is an editable game window, and the game window is used for displaying a game screen; the step of adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic may include:
adjusting the attribute information of the game window editable in the cloud game client according to the text content and the game logic;
the sending, to the cloud game client, the game screen data and the adjusted attribute information of the input control so that the cloud game client displays a target game screen according to the game screen data and the adjusted attribute information of the input control includes:
and sending game picture data and the adjusted attribute information of the editable game window to the cloud game client, so that the cloud game client displays a target game picture on the editable game window with the adjusted attribute according to the game picture data and the adjusted attribute information of the editable game window, wherein the target game picture comprises the character content.
The character attribute of the character content can be adjusted according to the character content and the game logic, and the attribute information of the game window editable in the cloud game client side is adjusted based on the adjusted character attribute. The property information of the editable game window can comprise character properties of characters required to be displayed in the game window, and the character properties can comprise character color, character size, character position and the like.
The attribute information of the editable game window can also comprise a character area attribute corresponding to a character area for displaying character contents in the game window, and the character area attribute can comprise a character area position and a character area size; the adjusted attribute information of the editable game window may include adjusting the position of the postamble field and adjusting the size of the postamble field. And adjusting the character area based on the adjusted character area attribute to obtain an adjusted character area, and displaying the character content in the adjusted character area. Optionally, the attribute information of the editable game window may further include a background color of a text region displaying the text content, for example, when the font color of the text content is white, the background color of the text region may be adjusted to be black.
Before the step of adjusting the attribute information of the game window editable in the cloud game client according to the text content and the game logic, "the method may further include:
and according to the input method frame, realizing the game window on the cloud game client as a game window capable of supporting character editing to obtain an editable game window.
Optionally, in some embodiments, the input control may be an input sub-window on the game window, the input sub-window being a frame that can support text editing. The attribute information of the input control can include the enabling, position and size of the input child window; the enabling, position and size of the input sub-window can be controlled according to the text content and game logic. Wherein, enable refers to the state of enabling and disabling the input method.
204. And sending game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client displays a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
Optionally, in some embodiments, the attribute information includes a control attribute of the input control, and a text attribute of a text that needs to be displayed in the input control; the step of adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic may include:
based on the text content and game logic, adjusting text attributes of the text content;
adjusting the control attribute of an input control in the cloud game client based on the adjusted character attribute;
fusing the character content after the attribute adjustment with the current game picture to obtain fused game picture data;
the sending, to the cloud game client, the game screen data and the adjusted attribute information of the input control so that the cloud game client displays a target game screen according to the game screen data and the adjusted attribute information of the input control includes:
and sending the fused game picture data and the adjusted control attribute of the input control to the cloud game client, so that the cloud game client displays a target game picture according to the fused game picture data and the adjusted control attribute of the input control, wherein the target game picture comprises the input control after the attribute adjustment, and the input control after the attribute adjustment comprises the character content after the attribute adjustment.
The control attribute of the input control may include a control size and a control position, and the text attribute may include a text color, a text size, a text position, and the like.
There are various ways of fusing the character content after the attribute adjustment and the current game picture, which is not limited in this embodiment. For example, the property-adjusted text content may be superimposed on the current game screen. After the cloud game client receives the fused game picture data and the adjusted control attribute, the cloud game client may generate an attribute-adjusted input control on the game picture corresponding to the fused game picture data based on the adjusted control attribute, and generate an attribute-adjusted character content in the attribute-adjusted input control to obtain a target game picture.
At present, in the mainstream scheme of the existing cloud game supporting input method, a plurality of language input methods are pre-installed at a server side, and a cloud game client side does not support the relevant operation of the input methods. When the user needs to use the input method, the cloud game service end is controlled to be switched to the corresponding input method, and then key position information can be input to the input method of the service end through a keyboard instruction. However, the solution of pre-installing the input method at the cloud game server requires high operation and maintenance costs because all the cloud game servers need to be pre-installed with the multi-language input method, and all the languages of the countries and regions that may be used by the cloud game users need to be considered; moreover, the installation of the first input method program at the cloud game server side can bring potential safety hazards, because the input method belongs to a third-party application program outside the system, if the input method program has a safety problem, the cloud game server can be controlled. On the other hand, the input method installed at the cloud game service end can only be installed with one or more input method programs, and cannot give consideration to the use habits of all cloud game users, and if the installed input method programs are different from the input methods frequently used by the users, the users need to learn and adapt to new input methods in the process of using the cloud game, so that the product experience is influenced.
In a specific scenario, the method and the device can be used in a scenario where a user needs to use a non-latin language for input during the playing process of the cloud game, for example, a scenario where all contents such as text chatting, text commands and the like are input in the cloud game. When a User needs to input characters by using the input method, the User only needs to use the normal input method to switch the combination key to switch the local input method, and all User Interface (UI) interactions of the input method are consistent with those of the local input method. The method comprises the steps of acquiring text contents input by a user at a client, transmitting the text contents to a cloud game server through a proprietary network protocol, displaying the corresponding text contents at a designated position, and finally transmitting a game picture back to the client through a media stream, so that multi-language input method interaction in a cloud game scene is realized.
By the method and the system, input method interaction can be realized, an input method program does not need to be installed in advance at the game server, workload of deploying and maintaining at the server is reduced, and safety of the cloud game server is improved. On the other hand, the cloud game user can use any existing local input method, the interaction experience is completely consistent with the playing of the local game, learning and adaptation of a new input method are not needed, and the use experience of the cloud game is greatly improved.
Specifically, in this embodiment, as shown in fig. 2b, a user may click a designated area of a game screen in the cloud game through a mouse or input through a designated key of a keyboard, and send an input method starting request to the cloud game server, where the cloud game server receives the input method starting request, and when a game logic satisfies a preset condition, generates a first input method state updating instruction to trigger starting of an input method, and the cloud game server sends the first input method state updating instruction to the cloud game client, where the first input method state updating instruction may control enabling, a position, and a size of an input control in the cloud game client, and the first input method state updating instruction is specifically an input method starting instruction and is used for starting an input method of the cloud game client; after receiving the first input method state updating instruction, the cloud game client initializes the input method, displays an input frame (namely an input control) on a game picture, and a user can switch the input method and input text content.
As can be seen from the above, the present embodiment can transmit the game screen to the cloud game client; receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content; adjusting attribute information of an input control in the cloud game client according to the text content and the game logic; and sending game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client displays a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content. According to the embodiment of the application, the input method program is installed on the cloud game client, the input method program does not need to be installed in advance on the cloud game server, the deployment and maintenance cost of the cloud game server is reduced, and the safety of the cloud game server is improved.
In order to better implement the method, the embodiment of the application also provides an input method implementation system. As shown in fig. 3a, the input method implementation system includes a first input method implementation device 31 and a second input method implementation device 32, where the first input method implementation device may be regarded as a client in a terminal, and the second input method implementation device may be specifically integrated in a server. The first input method implementing apparatus 31 may include a first display unit 3101, a second display unit 3102, a first transmission unit 3103, an acquisition unit 3104, and a third display unit 3105; the second input method implementation apparatus 32 may include a transmission unit 3201, a reception unit 3202, an adjustment unit 3203, and a second transmission unit 3204, as follows:
(1) the first display unit 3101;
the first display unit 3101 is configured to display a game screen transmitted by the cloud game server on the cloud game client.
Optionally, in some embodiments of the present application, the first display unit 3101 may be specifically configured to display a game window on the cloud game client, where the game window includes a game screen transmitted by the cloud game server, and the input control includes an input sub-window on the game window.
(2) A second display unit 3102;
and a second display unit 3102 configured to display an input control corresponding to an input method in the current game screen in response to a text input trigger operation for the game screen.
Optionally, in some embodiments of the present application, the second display unit 3102 may include a first transmitting subunit 31021 and a first display subunit 31022, see fig. 3b, as follows:
the first sending subunit 31021, configured to send, in response to a text input triggering operation for the game screen, an input method starting request to the cloud game server, where the input method starting request instructs the cloud game server to send an input method starting instruction to the cloud game client;
the first display subunit 31022 is configured to display, according to the input method start instruction sent by the cloud game server, an input control corresponding to the input method in the current game screen.
Optionally, in some embodiments of the present application, the input method start instruction indicates an initial attribute of the input control; the first display sub-unit 31022 may be specifically configured to receive an input method start instruction sent by the cloud game server; analyzing the input method starting instruction to obtain the initial attribute of the input control; and displaying an input control corresponding to the input method in the current game picture according to the initial attribute.
(3) A first transmission unit 3103;
a first sending unit 3103, configured to send, to the cloud game server, an input method text instruction carrying input text content in response to a text input confirmation operation for the input control, where the input method text instruction indicates: the cloud game server adjusts attribute information of the input control based on the text content and game logic.
Optionally, in some embodiments of the present application, the first sending unit 3103 may include a second display subunit 31031 and a second sending subunit 31032, see fig. 3c, as follows:
the second display subunit 31031 is configured to, in response to a text input operation for the input control, display an input method panel, where the input method panel includes candidate input text corresponding to the text input operation;
a second sending subunit 31032, configured to send an input method text instruction carrying input text content to the cloud game server in response to a text input confirmation operation for the input method panel.
(4) An acquisition unit 3104;
an obtaining unit 3104 is configured to obtain game screen data and the adjusted attribute information of the input control from the cloud game server.
(5) A third display unit 3105;
a third display unit 3105, configured to display a target game screen according to the game screen data and the adjusted attribute information of the input control, where the target game screen includes an attribute-adjusted input control, and the attribute-adjusted input control includes the text content.
Optionally, in some embodiments of the present application, the input control comprises an input sub-window on the game window; the third display unit 3105 may include a first adjustment subunit 31051 and a third display subunit 31052, see fig. 3d, as follows:
the first adjusting subunit 31051 is configured to adjust the input sub-window based on the adjusted attribute information of the input sub-window, so as to obtain an attribute-adjusted input sub-window;
a third display sub-unit 31052, configured to display a target game screen in the game window according to the text content, the game screen data, and the attribute-adjusted input sub-window, where the target game screen includes the attribute-adjusted input sub-window, and the attribute-adjusted input sub-window includes the text content.
Optionally, in some embodiments of the present application, the adjusted attribute information of the input control includes an adjusted control attribute of the input control, and an adjusted character attribute of a character that needs to be displayed in the input control; the third display unit 3105 may include a first control adjustment subunit 31053, a first text adjustment subunit 31054, and a fourth display subunit 31055, see fig. 3e, as follows:
the first control adjusting subunit 31053 is configured to adjust the input control according to the adjusted control attribute, so as to obtain an attribute-adjusted input control;
a first character adjusting subunit 31054, configured to adjust the text content according to the adjusted postamble character attribute, to obtain an attribute-adjusted postamble character content;
a fourth display subunit 31055, configured to display a target game screen based on the property-adjusted input control, the property-adjusted postamble word content, and the game screen data, where the target game screen includes the property-adjusted input control, and the property-adjusted input control includes the property-adjusted postamble word content.
Optionally, in some embodiments of the present application, the adjusted attribute information includes an adjusted cursor position corresponding to an input cursor in the input control; the third display unit 3105 may further include a cursor display subunit 31056, see fig. 3f, as follows:
the cursor display subunit 31056 is configured to display an input cursor in the attribute-adjusted input control based on the adjusted cursor position.
Optionally, in some embodiments of the present application, the game screen data includes a basic game screen having text content with an adjusted attribute; the adjusted attribute information of the input control comprises the adjusted control attribute of the input control; the third display unit 3105 may include a second adjustment subunit 31057, a first fusion subunit 31058 and a fifth display subunit 31059, see fig. 3g, as follows:
the second adjusting subunit 31057 is configured to adjust the input control according to the adjusted control attribute to obtain an attribute-adjusted input control;
a first fusion subunit 31058, configured to fuse the base game screen and the attribute-adjusted input control to obtain a target game screen;
a fifth display sub-unit 31059 for displaying the target game screen.
Optionally, in some embodiments of the present application, the input control is an editable game window, and the game window is used for displaying a game screen; the third display unit 3105 may include a third adjustment sub-unit 310510 and a sixth display sub-unit 310511, see fig. 3h, as follows:
the third adjusting subunit 310510, configured to adjust the game window based on the adjusted attribute information of the game window, to obtain an attribute-adjusted game window;
a sixth display subunit 310511, configured to display, according to the text content, the game picture data, and the attribute-adjusted game window, a target game picture in the attribute-adjusted game window, where the target game picture includes the text content.
(6) A transmission unit 3201;
the transmitting unit 3201 is configured to transmit the game screen to the cloud game client.
(7) A receiving unit 3202;
the receiving unit 3202 is configured to receive an input method text instruction sent by the cloud game client based on the game screen, where the input method text instruction carries input text content.
(8) An adjustment unit 3203;
an adjusting unit 3203, configured to adjust attribute information of an input control in the cloud game client according to the text content and the game logic.
Optionally, in some embodiments of the present application, the attribute information includes a control attribute of the input control, and a text attribute of a text that needs to be displayed in the input control; the adjustment unit 3203 may include a second text adjustment subunit 32031 and a second control adjustment subunit 32032, see fig. 3i, as follows:
the second text adjusting subunit 32031 is configured to adjust text attributes of the text content according to the text content and game logic;
and a second control adjusting subunit 32032, configured to adjust a control attribute of an input control in the cloud game client based on the adjusted text character attribute.
Optionally, in some embodiments of the present application, the second text adjusting subunit 32031 may be specifically configured to obtain a game picture to be displayed according to a game logic; and adjusting the character attribute of the character content based on the character content and the game picture required to be displayed.
Optionally, in some embodiments of the present application, the attribute information includes a cursor position corresponding to an input cursor in the input control; the adjusting unit 3203 may comprise a cursor adjusting subunit 32033, see fig. 3j, as follows:
the cursor adjusting subunit 32033 is configured to adjust a cursor position corresponding to an input cursor in the cloud game client according to the text content and the game logic.
Optionally, in some embodiments of the present application, the attribute information includes a control attribute of the input control, and a text attribute of a text that needs to be displayed in the input control; the adjusting unit 3203 may comprise a third text adjusting subunit 32034, a third control adjusting subunit 32035, and a second fusing subunit 32036, see fig. 3k, as follows:
the third text adjusting subunit 32034, configured to adjust text attributes of the text content based on the text content and game logic;
a third control adjusting subunit 32035, configured to adjust a control attribute of an input control in the cloud game client based on the adjusted text character attribute;
a second fusion subunit 32036, configured to fuse the content of the character after the attribute adjustment with the current game screen to obtain fused game screen data.
(9) A second transmitting unit 3204;
a second sending unit 3204, configured to send the game screen data and the adjusted attribute information of the input control to the cloud game client, so that the cloud game client displays a target game screen according to the game screen data and the adjusted attribute information of the input control, where the target game screen includes the attribute-adjusted input control, and the attribute-adjusted input control includes the text content.
Optionally, in some embodiments of the present application, the attribute information includes a control attribute of the input control, and a text attribute of a text that needs to be displayed in the input control; the second sending unit 3204 may be specifically configured to send the fused game screen data and the adjusted control attribute of the input control to the cloud game client, so that the cloud game client displays a target game screen according to the fused game screen data and the adjusted control attribute of the input control, where the target game screen includes the attribute-adjusted input control, and the attribute-adjusted input control includes the attribute-adjusted character content.
Optionally, in some embodiments of the present application, the second input method implementation apparatus 32 may further include an initiating unit 3205; the initiating unit may comprise an acquiring subunit 32051, a generating subunit 32052 and a third transmitting subunit 32053, see fig. 3l, as follows:
the obtaining subunit 32051 is configured to obtain a current game logic of the cloud game when an input method starting request sent by the cloud game client is received;
a generating subunit 32052, configured to generate an input method starting instruction when the current game logic satisfies a preset condition;
a third sending subunit 32053, configured to send the input method starting instruction to the cloud game client, so that the cloud game client displays an input control corresponding to an input method in a current game screen.
Optionally, in some embodiments of the application, the generating subunit 32052 may be specifically configured to, when the current game logic meets a preset condition, obtain an initial attribute of an input control in the cloud game client based on a game screen that needs to be displayed and corresponds to the current game logic; and generating an input method starting instruction based on the initial attribute of the input control.
Optionally, in some embodiments of the present application, the input control is an editable game window, and the game window is used for displaying a game screen; the adjusting unit 3203 may be specifically configured to adjust attribute information of an editable game window in the cloud game client according to the text content and the game logic;
the second sending unit 3204 may be specifically configured to send game screen data and the adjusted attribute information of the editable game window to the cloud game client, so that the cloud game client displays a target game screen on the editable game window with the adjusted attribute according to the game screen data and the adjusted attribute information of the editable game window, where the target game screen includes the text content.
Optionally, in some embodiments of the present application, before the step "adjusting attribute information of an editable game window in the cloud game client according to the text content and the game logic", the method further includes:
and according to the input method frame, realizing the game window on the cloud game client as a game window capable of supporting character editing to obtain an editable game window.
As can be seen from the above, in the present embodiment, the first display unit 3101 may display the game screen transmitted by the cloud game server on the cloud game client; displaying, by the second display unit 3102, an input control corresponding to an input method in the current game screen in response to a text input trigger operation for the game screen; sending, by the first sending unit 3103, an input method text instruction carrying input text content to the cloud game server in response to a text input confirmation operation for the input control, the input method text instruction indicating: the cloud game server adjusts the attribute information of the input control based on the text content and game logic; acquiring, by an acquiring unit 3104, game screen data and adjusted attribute information of the input control from the cloud game server; displaying, by the third display unit 3105, a target game screen according to the game screen data and the adjusted attribute information of the input control, where the target game screen includes an attribute-adjusted input control, and the attribute-adjusted input control includes the text content;
or, the game screen is transmitted to the cloud game client through the transmission unit 3201; receiving, by a receiving unit 3202, an input method text instruction sent by the cloud game client based on the game screen, where the input method text instruction carries input text content; adjusting attribute information of an input control in the cloud game client by an adjusting unit 3203 according to the text content and the game logic; sending, by a second sending unit 3204, game screen data and the adjusted attribute information of the input control to the cloud game client, so that the cloud game client displays a target game screen according to the game screen data and the adjusted attribute information of the input control, where the target game screen includes the attribute-adjusted input control, and the attribute-adjusted input control includes the text content;
according to the embodiment of the application, the input method program is installed on the cloud game client, the input method program does not need to be installed in advance on the cloud game server, the deployment and maintenance cost of the cloud game server is reduced, and the safety of the cloud game server is improved.
An electronic device according to an embodiment of the present application is further provided, as shown in fig. 4, which shows a schematic structural diagram of the electronic device according to an embodiment of the present application, specifically:
the electronic device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the electronic device, connects various parts of the whole electronic device by various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The electronic device may further include an input unit 404, and the input unit 404 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402.
If the electronic device is a terminal, the electronic device can implement the following functions:
displaying a game picture transmitted by a cloud game server at a cloud game client; responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture; responding to a text input confirmation operation aiming at the input control, and sending an input method text instruction carrying input text content to the cloud game server, wherein the input method text instruction indicates that: the cloud game server adjusts the attribute information of the input control based on the text content and game logic; acquiring game picture data and the adjusted attribute information of the input control from the cloud game server; and displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
If the electronic device is a server, the electronic device may implement the following functions:
transmitting the game picture to the cloud game client; receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content; adjusting attribute information of an input control in the cloud game client according to the text content and the game logic; and sending game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client displays a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, the present embodiment can display the game images transmitted by the cloud game server at the cloud game client; responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture; responding to a text input confirmation operation aiming at the input control, and sending an input method text instruction carrying input text content to the cloud game server, wherein the input method text instruction indicates that: the cloud game server adjusts the attribute information of the input control based on the text content and game logic; acquiring game picture data and the adjusted attribute information of the input control from the cloud game server; and displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content. According to the embodiment of the application, the input method program is installed on the cloud game client, the input method program does not need to be installed in advance on the cloud game server, the deployment and maintenance cost of the cloud game server is reduced, and the safety of the cloud game server is improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the present application provides a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the input method implementation methods provided in the present application. For example, the instructions may perform the steps of:
displaying a game picture transmitted by a cloud game server at a cloud game client; responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture; responding to a text input confirmation operation aiming at the input control, and sending an input method text instruction carrying input text content to the cloud game server, wherein the input method text instruction indicates that: the cloud game server adjusts the attribute information of the input control based on the text content and game logic; acquiring game picture data and the adjusted attribute information of the input control from the cloud game server; displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content;
or,
transmitting the game picture to the cloud game client; receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content; adjusting attribute information of an input control in the cloud game client according to the text content and the game logic; and sending game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client displays a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any one of the input method implementation methods provided in the embodiments of the present application, beneficial effects that can be achieved by any one of the input method implementation methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The computer instructions are read by a processor of the computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the methods provided in the various alternative implementations of the aspect of the cloud game input method.
The foregoing describes in detail an input method implementation method, apparatus, electronic device, and storage medium provided in the embodiments of the present application, and specific examples are applied in the present application to explain the principles and implementations of the present application, and the descriptions of the foregoing embodiments are only used to help understand the method and core ideas of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, 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 application.

Claims (23)

1. An input method implementation method is characterized by comprising the following steps:
displaying a game picture transmitted by a cloud game server at a cloud game client;
responding to the character input triggering operation aiming at the game picture, and displaying an input control corresponding to an input method in the current game picture;
responding to a text input confirmation operation aiming at the input control, and sending an input method text instruction carrying input text content to the cloud game server, wherein the input method text instruction indicates that: the cloud game server adjusts the attribute information of the input control based on the text content and game logic;
acquiring game picture data and the adjusted attribute information of the input control from the cloud game server;
and displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
2. The method according to claim 1, wherein the displaying an input control corresponding to an input method in a current game screen in response to a text input triggering operation for the game screen comprises:
responding to a character input triggering operation aiming at the game picture, and sending an input method starting request to the cloud game server, wherein the input method starting request instructs the cloud game server to send an input method starting instruction to the cloud game client;
and displaying an input control corresponding to the input method in the current game picture according to the input method starting instruction sent by the cloud game server.
3. The method of claim 2, wherein the input method initiation instruction indicates an initial property of an input control; the displaying an input control corresponding to the input method in the current game picture according to the input method starting instruction sent by the cloud game server comprises the following steps:
receiving an input method starting instruction sent by the cloud game server;
analyzing the input method starting instruction to obtain the initial attribute of the input control;
and displaying an input control corresponding to the input method in the current game picture according to the initial attribute.
4. The method of claim 1, wherein sending an input method text instruction carrying input text content to the cloud gaming server in response to a text input confirmation operation for the input control comprises:
responding to the character input operation aiming at the input control, and displaying an input method panel, wherein the input method panel comprises candidate input characters corresponding to the character input operation;
and responding to the character input confirmation operation aiming at the input method panel, and sending an input method character instruction carrying input character content to the cloud game server.
5. The method of claim 1, wherein displaying the game screen transmitted by the cloud game server at the cloud game client comprises:
displaying a game window on a cloud game client, wherein the game window comprises a game picture transmitted by a cloud game server, and the input control comprises an input sub-window on the game window.
6. The method of claim 5, wherein the displaying a target game screen according to the game screen data and the adjusted attribute information of the input control comprises:
adjusting the input sub-window based on the adjusted attribute information of the input sub-window to obtain an input sub-window with adjusted attributes;
and displaying a target game picture in the game window according to the text content, the game picture data and the attribute-adjusted input sub-window, wherein the target game picture comprises the attribute-adjusted input sub-window, and the attribute-adjusted input sub-window comprises the text content.
7. The method of claim 1, wherein the adjusted attribute information of the input control comprises an adjusted control attribute of the input control and an adjusted character attribute of a character to be displayed in the input control; the displaying a target game picture according to the game picture data and the adjusted attribute information of the input control comprises:
adjusting the input control according to the adjusted control attribute to obtain an attribute-adjusted input control;
adjusting the character content according to the adjusted character attribute to obtain the character content with the adjusted attribute;
and displaying a target game picture based on the input control after the attribute adjustment, the character content after the attribute adjustment and the game picture data, wherein the target game picture comprises the input control after the attribute adjustment, and the input control after the attribute adjustment comprises the character content after the attribute adjustment.
8. The method of claim 1, wherein the adjusted attribute information comprises an adjusted cursor position corresponding to an input cursor in the input control; the method further comprises the following steps:
and displaying an input cursor in the attribute-adjusted input control based on the adjusted cursor position.
9. The method of claim 1, wherein the game screen data comprises a base game screen having attribute-adjusted textual content; the adjusted attribute information of the input control comprises the adjusted control attribute of the input control; the displaying a target game picture according to the game picture data and the adjusted attribute information of the input control comprises:
adjusting the input control according to the adjusted control attribute to obtain an attribute-adjusted input control;
fusing the basic game picture and the input control after the attribute adjustment to obtain a target game picture;
and displaying the target game picture.
10. The method of claim 1, wherein the input control is an editable game window for displaying a game screen; the displaying a target game picture according to the game picture data and the adjusted attribute information of the input control comprises: adjusting the game window based on the adjusted attribute information of the game window to obtain the attribute-adjusted game window;
and displaying a target game picture in the attribute-adjusted game window according to the text content, the game picture data and the attribute-adjusted game window, wherein the target game picture comprises the text content.
11. An input method implementation method is characterized by comprising the following steps:
transmitting the game picture to the cloud game client;
receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content;
adjusting attribute information of an input control in the cloud game client according to the text content and the game logic;
and sending game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client displays a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
12. The method according to claim 11, wherein before receiving the input method text instruction sent by the cloud game client based on the game screen, the method further comprises:
when an input method starting request sent by the cloud game client is received, acquiring the current game logic of the cloud game;
when the current game logic meets a preset condition, generating an input method starting instruction;
and sending the input method starting instruction to the cloud game client so that the cloud game client displays an input control corresponding to the input method in the current game picture.
13. The method of claim 12, wherein generating an input method initiation instruction when the current game logic satisfies a preset condition comprises:
when the current game logic meets a preset condition, acquiring initial attributes of an input control in the cloud game client based on a game picture needing to be displayed corresponding to the current game logic;
and generating an input method starting instruction based on the initial attribute of the input control.
14. The method of claim 11, wherein the attribute information includes control attributes of the input control and text attributes of text to be displayed within the input control; the adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic comprises the following steps:
adjusting the character attribute of the character content according to the character content and game logic;
and adjusting the control attribute of the input control in the cloud game client based on the adjusted character attribute.
15. The method of claim 14, wherein said adjusting text attributes of said text based on said text and game logic comprises:
acquiring a game picture to be displayed according to the game logic;
and adjusting the character attribute of the character content based on the character content and the game picture required to be displayed.
16. The method of claim 11, wherein the attribute information comprises a cursor position corresponding to an input cursor in the input control; the adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic comprises the following steps:
and adjusting the cursor position corresponding to the input cursor in the cloud game client according to the text content and the game logic.
17. The method of claim 11, wherein the attribute information includes control attributes of the input control and text attributes of text to be displayed within the input control; the adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic comprises the following steps:
based on the text content and game logic, adjusting text attributes of the text content;
adjusting the control attribute of an input control in the cloud game client based on the adjusted character attribute;
fusing the character content after the attribute adjustment with the current game picture to obtain fused game picture data;
the sending, to the cloud game client, the game screen data and the adjusted attribute information of the input control so that the cloud game client displays a target game screen according to the game screen data and the adjusted attribute information of the input control includes:
and sending the fused game picture data and the adjusted control attribute of the input control to the cloud game client, so that the cloud game client displays a target game picture according to the fused game picture data and the adjusted control attribute of the input control, wherein the target game picture comprises the input control after the attribute adjustment, and the input control after the attribute adjustment comprises the character content after the attribute adjustment.
18. The method of claim 11, wherein the input control is an editable game window for displaying a game screen; the adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic comprises the following steps:
adjusting the attribute information of the game window editable in the cloud game client according to the text content and the game logic;
the sending, to the cloud game client, the game screen data and the adjusted attribute information of the input control so that the cloud game client displays a target game screen according to the game screen data and the adjusted attribute information of the input control includes:
and sending game picture data and the adjusted attribute information of the editable game window to the cloud game client, so that the cloud game client displays a target game picture on the editable game window with the adjusted attribute according to the game picture data and the adjusted attribute information of the editable game window, wherein the target game picture comprises the character content.
19. The method of claim 18, wherein before adjusting attribute information of an editable game window in the cloud game client according to the text content and game logic, the method further comprises:
and according to the input method frame, realizing the game window on the cloud game client as a game window capable of supporting character editing to obtain an editable game window.
20. An input method implementation apparatus, comprising:
the first display unit is used for displaying the game pictures transmitted by the cloud game server on the cloud game client;
the second display unit is used for responding to character input triggering operation aiming at the game picture and displaying an input control corresponding to an input method in the current game picture;
a first sending unit, configured to send, to the cloud game server, an input method text instruction carrying input text content in response to a text input confirmation operation for the input control, where the input method text instruction indicates: the cloud game server adjusts the attribute information of the input control based on the text content and game logic;
an obtaining unit, configured to obtain, from the cloud game server, game screen data and adjusted attribute information of the input control;
and the third display unit is used for displaying a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises an attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
21. An input method implementation apparatus, comprising:
the transmission unit is used for transmitting the game picture to the cloud game client;
the receiving unit is used for receiving an input method character instruction sent by the cloud game client based on the game picture, wherein the input method character instruction carries input character content;
the adjusting unit is used for adjusting the attribute information of the input control in the cloud game client according to the text content and the game logic;
and the second sending unit is used for sending the game picture data and the adjusted attribute information of the input control to the cloud game client so that the cloud game client can display a target game picture according to the game picture data and the adjusted attribute information of the input control, wherein the target game picture comprises the attribute-adjusted input control, and the attribute-adjusted input control comprises the text content.
22. An electronic device comprising a memory and a processor; the memory stores an application program, and the processor is configured to execute the application program in the memory to perform the operations of the input method implementation method of any one of claims 1 to 19.
23. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the input method implementation method according to any one of claims 1 to 19.
CN202010626975.0A 2020-07-01 2020-07-01 Input method implementation method, device, electronic equipment and storage medium Active CN111766958B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010626975.0A CN111766958B (en) 2020-07-01 2020-07-01 Input method implementation method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010626975.0A CN111766958B (en) 2020-07-01 2020-07-01 Input method implementation method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111766958A true CN111766958A (en) 2020-10-13
CN111766958B CN111766958B (en) 2023-07-25

Family

ID=72723470

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010626975.0A Active CN111766958B (en) 2020-07-01 2020-07-01 Input method implementation method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111766958B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491974A (en) * 2020-11-11 2021-03-12 恒安嘉新(北京)科技股份公司 Remote browsing method and device, storage medium, terminal equipment and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150099590A1 (en) * 2013-10-04 2015-04-09 Electronics And Telecommunications Research Institute Cloud server and method for providing cloud game service
CN105653066A (en) * 2016-01-29 2016-06-08 腾讯科技(深圳)有限公司 Input method processing method and equipment
CN111324216A (en) * 2020-02-19 2020-06-23 北京视博云信息技术有限公司 Character input method, device and system for cloud application

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150099590A1 (en) * 2013-10-04 2015-04-09 Electronics And Telecommunications Research Institute Cloud server and method for providing cloud game service
CN105653066A (en) * 2016-01-29 2016-06-08 腾讯科技(深圳)有限公司 Input method processing method and equipment
CN111324216A (en) * 2020-02-19 2020-06-23 北京视博云信息技术有限公司 Character input method, device and system for cloud application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491974A (en) * 2020-11-11 2021-03-12 恒安嘉新(北京)科技股份公司 Remote browsing method and device, storage medium, terminal equipment and server

Also Published As

Publication number Publication date
CN111766958B (en) 2023-07-25

Similar Documents

Publication Publication Date Title
CN110417992B (en) Input method, electronic equipment and screen projection system
CN109844717B (en) System and method for real-time remote control of mobile applications
US8090779B2 (en) Systems and methods for viewing media content in instant messaging
WO2022188595A1 (en) Method and apparatus for displaying application picture, and terminal, screen projection system and medium
CN111541930B (en) Live broadcast picture display method and device, terminal and storage medium
US20140052801A1 (en) Method for transmitting messages in instant messaging, client and storage medium thereof
KR20140092873A (en) Adaptive input language switching
CN115509398A (en) Method for displaying emoticons using instant messaging service and user device thereof
US10712936B2 (en) First electronic device and information processing method applicable to first or second electronic device comprising a first application
CN103530096A (en) Remote control method, remote control equipment and display equipment
KR102136474B1 (en) Synchronization of client-side keyboard layout with server-side keyboard layout in a virtual session
CN111880695A (en) Screen sharing method, device, equipment and storage medium
CN113117326B (en) Frame rate control method and device
CN113157157A (en) Interactive image management method, device, equipment and storage medium based on live broadcast
US20240292089A1 (en) Video sharing method and apparatus, electronic device, and storage medium
WO2018046007A1 (en) Instant dynamic text inputting method, system, and device
CN111766958B (en) Input method implementation method, device, electronic equipment and storage medium
CN113360034A (en) Picture display method and device, computer equipment and storage medium
CN111934985A (en) Media content sharing method, device and equipment and computer readable storage medium
WO2022166943A1 (en) Message sending method and apparatus, and electronic device and readable storage medium
US11140216B2 (en) Dynamically providing host input control for streaming applications
JP2023547427A (en) Previously viewed content processing method and device, electronic device and computer program
CN114064165A (en) Application page processing method and device
GB2532822A (en) Techniques for providing a user interface incorporating sign language
US11861149B2 (en) Interface information processing method and apparatus, storage medium, and device

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40031345

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant