CN111467791B - Target object control method, device and system - Google Patents

Target object control method, device and system Download PDF

Info

Publication number
CN111467791B
CN111467791B CN202010287575.1A CN202010287575A CN111467791B CN 111467791 B CN111467791 B CN 111467791B CN 202010287575 A CN202010287575 A CN 202010287575A CN 111467791 B CN111467791 B CN 111467791B
Authority
CN
China
Prior art keywords
touch screen
event
key
virtual
virtual key
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.)
Active
Application number
CN202010287575.1A
Other languages
Chinese (zh)
Other versions
CN111467791A (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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202010287575.1A priority Critical patent/CN111467791B/en
Publication of CN111467791A publication Critical patent/CN111467791A/en
Application granted granted Critical
Publication of CN111467791B publication Critical patent/CN111467791B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/20Input arrangements for video game devices
    • A63F13/21Input arrangements for video game devices characterised by their sensors, purposes or types
    • A63F13/214Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads
    • A63F13/2145Input arrangements for video game devices characterised by their sensors, purposes or types for locating contacts on a surface, e.g. floor mats or touch pads the surface being also a display device, e.g. touch screens
    • 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/20Input arrangements for video game devices
    • A63F13/24Constructional details thereof, e.g. game controllers with detachable joystick handles
    • 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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • 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/55Controlling game characters or game objects based on the game progress

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a control method, a device and a system of a target object. Wherein the method comprises the following steps: transmitting virtual key information of the virtual keys to the terminal, wherein the virtual keys are used for controlling the target object; acquiring a first touch screen event from a terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal; the control target object performs a function corresponding to the first touch screen event. The cloud game system based on the end game solves the technical problem that the cloud game system based on the end game cannot control the game of the end game through the touch screen of the hand game.

Description

Target object control method, device and system
Technical Field
The present invention relates to the field of computers, and in particular, to a method, an apparatus, and a system for controlling a target object.
Background
Cloud gaming (Cloud gaming), which may also be referred to as game on demand, is an online gaming technology based on Cloud computing technology. Cloud gaming technology enables high quality games to be run on thin clients (thin clients) that are relatively limited in graphics processing and data computing capabilities. Under the cloud game scene, the game is not run in a player game terminal, but runs in a cloud server, a user can control a VM (virtual machine)/PM (physical machine) on the cloud server through the game terminal, the cloud server renders the game scene into a video-audio stream, the video-audio stream is transmitted to the player game terminal through a network, the video-audio stream is displayed to the user through a display screen, visual lossy/lossless transmission of a computer image such as text, graphics and diagrams in a standard network is realized, and the reverse control function of the user on the VM/PM is realized, so that the extreme experience which is exactly the same as that of a local computer is provided for a far-end user. The player game terminal does not need to have strong graphic operation and data processing capability, and only needs to have basic streaming media playing capability and the capability of acquiring player input instructions and sending the player input instructions to the cloud server. A schematic structural diagram of the cloud game system is shown in fig. 1.
Existing game control methods include keyboard and mouse control, gamepad control, touch screen control, and the like. Cloud games can be divided into two major categories, namely hand-play and end-play, wherein the hand-play is mainly controlled by a touch screen (a small amount of game handle control is also provided), namely the games are controlled by the touch screen of a mobile phone, and control events of the touch screen of a game terminal are injected into a mobile phone operating system of VM/PM and then into the cloud games. Most of the end game is keyboard mouse control and game pad control, the game terminal is usually controlled by using a keyboard mouse or a game pad connected to the game terminal, and the control event of the keyboard mouse or the game pad of the terminal is sent to a desktop operating system of the VM/PM after being injected into the cloud and then is injected into the cloud game.
Based on the cloud game system of the end game, how to control the game of the cloud end game through the touch screen of the hand game is a problem yet to be solved.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the application provides a target object control method, device and system, which are used for at least solving the technical problem that a cloud game system based on end game cannot control a cloud end game through a touch screen of hand game.
According to an aspect of the embodiments of the present application, there is provided a control method of a target object, including: transmitting virtual key information of the virtual keys to the terminal, wherein the virtual keys are used for controlling the target object; acquiring a first touch screen event from a terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal; the control target object performs a function corresponding to the first touch screen event.
Optionally, the virtual key information includes: the shape of the icon of the virtual key, the color of the icon of the virtual key, and the display position of the icon of the virtual key on the touch screen of the terminal.
Optionally, the first touch screen event is generated by at least one of: generating a first touch screen event according to the operation action of clicking a single virtual key on the touch screen or the operation action of clicking a region corresponding to the single virtual key; and generating a first touch screen event according to the operation actions of continuously clicking the plurality of virtual keys or the operation actions of continuously clicking the areas corresponding to the plurality of virtual keys on the touch screen.
Optionally, the controlling the target object to perform a function corresponding to the first touch screen event includes: synchronizing the first touch screen event to a second touch screen event corresponding to the touch screen of the server; searching a first key operation event corresponding to a second touch screen event from first preset control information, wherein virtual key information, a control area corresponding to the virtual key and a first key operation event corresponding to clicking a single virtual key are stored in the first preset control information; the control target object performs a function corresponding to the first key operation event.
Optionally, the controlling the target object to execute the function corresponding to the first touch screen event further includes: synchronizing the first touch screen event to a second touch screen event corresponding to the touch screen of the server; searching a second key operation event corresponding to a second touch screen event from second preset control information, wherein the second key operation event corresponding to a plurality of virtual keys is continuously clicked in the second preset control information; the control target object performs a function corresponding to the second key operation event.
Optionally, synchronizing the first touch screen event to a second touch screen event corresponding to a touch screen of the server includes: and simulating and executing the operation action corresponding to the first touch screen event on the touch screen of the server to generate a second touch screen event.
Optionally, the icon of the virtual key is displayed on the touch screen of the terminal in the form of at least one of the following: displaying on a touch screen of the terminal according to different transparency; hidden on the touch screen of the terminal.
According to another aspect of the embodiments of the present application, there is also provided another method for controlling a target object, including: obtaining virtual key information of a virtual key sent by a server, wherein the virtual key is used for controlling a target object; generating a first touch screen event according to the operation action of the virtual key detected on the touch screen of the terminal; the control target object performs a function corresponding to the first touch screen event.
Optionally, the virtual key information includes: the shape of the icon of the virtual key, the color of the icon of the virtual key, and the display position of the icon of the virtual key on the touch screen of the terminal.
Optionally, after obtaining the virtual key information of the virtual key sent by the server, the method further includes: displaying icons of the virtual keys on a touch screen of the terminal in the form of at least one of the following: displaying on a touch screen of the terminal according to different transparency; hidden on the display screen of the terminal.
Optionally, generating a first touch screen event according to the operation action of the virtual key detected on the touch screen of the terminal, including at least one of the following: generating a first touch screen event according to the operation action of clicking a single virtual key on the touch screen or the operation action of clicking a region corresponding to the single virtual key; and generating a first touch screen event according to the operation actions of continuously clicking the plurality of virtual keys or the operation actions of continuously clicking the areas corresponding to the plurality of virtual keys on the touch screen.
Optionally, the controlling the target object to perform a function corresponding to the first touch screen event includes: the control target object executes a function corresponding to a first key operation event, wherein the first key operation event is determined by: the server synchronizes the first touch screen event to a second touch screen event corresponding to the touch screen of the server; the server searches a first key operation event corresponding to the second touch screen event from first preset control information, wherein virtual key information, a control area corresponding to the virtual key and a first key operation event corresponding to clicking a single virtual key are stored in the first preset control information.
Optionally, the controlling the target object to execute the function corresponding to the first touch screen event further includes: the control target object executes a function corresponding to a second key operation event, wherein the second key operation event is determined by: the server synchronizes the first touch screen event to a second touch screen event corresponding to the touch screen of the server; the server searches a second key operation event corresponding to the second touch screen event from second preset control information, wherein the second key operation event corresponding to the plurality of virtual keys is continuously clicked in the second preset control information.
Optionally, the second touch screen event is generated by: and the server simulates and executes the operation action corresponding to the first touch screen event on the touch screen of the server to generate a second touch screen event.
According to another aspect of the embodiments of the present application, there is also provided a control device for a target object, including: the sending module is used for sending virtual key information of the virtual keys to the terminal, and the virtual keys are used for controlling the target objects; the first acquisition module is used for acquiring a first touch screen event from the terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal; and the first control module is used for controlling the target object to execute the function corresponding to the first touch screen event.
According to another aspect of the embodiments of the present application, there is provided another control device for a target object, including: the second acquisition module is used for acquiring virtual key information of the virtual keys sent by the server, wherein the virtual keys are used for controlling the target object; the generating module is used for generating a first touch screen event according to the operation action of the virtual key detected on the touch screen of the terminal; and the second control module is used for controlling the target object to execute the function corresponding to the first touch screen event.
According to another aspect of the embodiments of the present application, there is also provided a control system of a target object, including: the system comprises a server and a terminal, wherein the server is used for sending virtual key information of a virtual key to the terminal, and the virtual key is used for controlling a target object; acquiring a first touch screen event from a terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal; controlling the target object to execute a function corresponding to the first touch screen event; the terminal is in communication connection with the server and is used for acquiring virtual key information of the virtual keys sent by the server; and generating a first touch screen event and sending the first touch screen event to the server.
According to still another aspect of the embodiments of the present application, there is further provided a storage medium, where the storage medium includes a stored program, and when the program runs, the device on which the storage medium is controlled to execute the above control method of the target object.
According to still another aspect of the embodiments of the present application, there is also provided a processor for executing a program stored in a memory, wherein the program executes the above control method of the target object.
In the embodiment of the application, virtual key information of a virtual key is sent to a terminal, and the virtual key is used for controlling a target object; acquiring a first touch screen event from a terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal; the method comprises the steps that a control target object executes a function corresponding to a first touch screen event, the touch screen event is firstly generated according to operation actions of a game user, then the touch screen event is sent to a VM/PM of a cloud server, the VM/PM synchronizes the touch screen event triggered by a remote game terminal into the touch screen event generated by a local VM/PM, then the touch screen event is converted into an operation system and a game handle key event which can be analyzed by a game, finally the game handle key event is injected into the operation system and the game on the local VM/PM, and control of a game based on a cloud game system is achieved, so that the technical effect that the game terminal is used as a game handle for controlling the game is achieved when a game screen of the game terminal is used for displaying a game screen, and further the technical problem that the cloud game system based on a terminal game can not achieve control of the game terminal game through the touch screen of a hand game is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
FIG. 1 is a schematic diagram of a cloud gaming system according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of controlling a target object according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a cloud gaming system according to an embodiment of the present application;
FIG. 4 is a block diagram of a virtual handle driver module of a gaming terminal according to an embodiment of the present application;
FIG. 5 is a schematic illustration of a screen of a gaming terminal that combines a display screen and a gamepad during a game in accordance with an embodiment of the present application;
FIG. 6 is a flow chart of another method of controlling a target object according to an embodiment of the present application;
FIG. 7 is a block diagram of a control device of a target object according to an embodiment of the present application;
FIG. 8 is a block diagram of a control device of another target object according to an embodiment of the present application;
fig. 9 is a block diagram of a control system of a target object according to an embodiment of the present application.
Detailed Description
In order to make the present application solution better understood by those skilled in the art, the following description will be made in detail and with reference to the accompanying drawings in the embodiments of the present application, it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to the embodiments of the present application, there is provided an embodiment of a control method of a target object, it should be noted that the steps shown in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
Fig. 2 is a flowchart of a control method of a target object according to an embodiment of the present application, as shown in fig. 2, the method includes the following steps:
step S202, virtual key information of the virtual keys is sent to the terminal, and the virtual keys are used for controlling the target object.
According to an optional embodiment of the present application, the virtual key information includes: the shape of the icon of the virtual key, the color of the icon of the virtual key, and the display position of the icon of the virtual key on the touch screen of the terminal.
Fig. 3 is a schematic structural diagram of a cloud game system according to an embodiment of the present application, as shown in fig. 3, where the cloud game system includes a cloud server and a game terminal, a plurality of VMs/PMs are running in the cloud server, a virtual handle driving module and a touch screen driving module 2 are disposed in the VMs/PMs, and a touch screen driving module 1 is disposed in the game terminal.
The game terminal can be intelligent terminal equipment such as a smart phone, a tablet personal computer, a notebook personal computer and the like provided with the display screen, and the display screen has a touch function. For convenience, the screens mentioned below are all display screens having a touch function.
The gaming terminal may be simulated as a gamepad, with the screen of the gaming terminal displaying key icons of the gamepad. Thus, the screen of the game terminal can acquire the operation actions of the game player while displaying the game screen. The game player realizes the control of the game based on the gamepad by touching the screen of the game terminal.
The virtual handle driving module of the VM/PM sends key display information of the game handle to the game terminal; after receiving the key display information, the game terminal displays each key icon on the screen.
In the step, as the key layout of various game handles may be different, the virtual handle driving module on the VM/PM can send the matched key display information of the game handle to the game terminal, wherein the key display information comprises the shape and the color of each key icon and the display position of each key image; after receiving the key display information of the game handle, the game terminal displays each key icon on a screen according to the key display information.
The virtual handle driving module is provided with game handle control information. The game handle control information comprises key display information of a game handle, a control area of each key and handle key events corresponding to each key.
Step S204, a first touch screen event from the terminal is acquired, and the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal.
The game terminal generates a touch screen event 1 according to operation actions executed by a game user on a game handle, and sends the generated touch screen event 1 to a VM/PM on a cloud server.
In this step, when each key icon is displayed on the screen of the game terminal, the game user can perform an operation action for controlling the game on the screen; after the touch screen driving module 1 of the game terminal acquires the operation action, generating a touch screen event 1 corresponding to the operation action; the game terminal sends the generated touch screen event 1 to the touch screen driver module 2 on the VM/PM.
In step S206, the control target object performs a function corresponding to the first touch screen event.
Through the steps, the touch screen event is firstly generated according to the operation actions of the game user, then the touch screen event is sent to the VM/PM of the cloud server, the VM/PM synchronizes the touch screen event triggered by the remote game terminal into the touch screen event generated by the local VM/PM, then the touch screen event is converted into the operation system and the game handle key event which can be analyzed by the game, finally the game handle key event is injected into the operation system and the game on the local VM/PM, and the control of the game based on the cloud game system is realized, so that the technical effect that the game terminal is used as the game handle for the game user to control the game while the touch screen of the game terminal displays the game picture is realized.
According to an alternative embodiment of the present application, the first touch screen event in step S204 is generated by at least one of: generating a first touch screen event according to the operation action of clicking a single virtual key on the touch screen or the operation action of clicking a region corresponding to the single virtual key; and generating a first touch screen event according to the operation actions of continuously clicking the plurality of virtual keys or the operation actions of continuously clicking the areas corresponding to the plurality of virtual keys on the touch screen.
In an alternative embodiment of the present application, the user may click a single virtual key on the touch screen to generate the first touch screen event, or may generate the first touch screen event through a gesture event, where the gesture event refers to triggering a certain functional event through a specific gesture operation. For example, drawing S on a cell phone screen may trigger a screen capture event. Gesture events may also be provided in the game for controlling actions or functions in the game.
Specifically, a combination of a plurality of keys may be set as one gesture event, and a game handle event corresponding to the plurality of combination keys is triggered by the gesture event.
According to an alternative embodiment of the present application, step S206 may be implemented by: synchronizing the first touch screen event to a second touch screen event corresponding to the touch screen of the server; searching a first key operation event corresponding to a second touch screen event from first preset control information, wherein virtual key information, a control area corresponding to the virtual key and a first key operation event corresponding to clicking a single virtual key are stored in the first preset control information; the control target object performs a function corresponding to the first key operation event.
According to an alternative embodiment of the present application, the touch screen driver module 2 of the VM/PM receives the touch screen event 1 from the game terminal, synchronizes the touch screen event 1 to the touch screen event 2 of the local device; and sending the synchronized touch screen event 2 to the virtual handle driving module.
In this step, the touch screen driving module 2 synchronizes the touch screen event 1 generated by the remote device (game terminal) to the touch screen event 2 generated on the touch screen of the local device (cloud server), and sends the touch screen event 2 to the virtual handle driving module.
The synchronization of the touch screen event 1 to the touch screen event 2 corresponds to an operation performed by the game user on the screen of the game terminal, and is performed by "moving" the game user to the touch screen connected to the cloud server, thereby finally generating the touch screen event 2.
For example, the game user clicks a key a on the screen of the game terminal, and the game terminal sends a touch screen event 1 generated by an operation action of clicking the key a once to the touch screen driver 2; the touch screen driver 2 also simulates and executes the operation action of clicking the key A once on the touch screen connected with the cloud server according to the received touch screen event 1, and generates a touch screen event 2 corresponding to the key A once.
The virtual handle driving module in the VM/PM determines a game handle key event corresponding to the touch screen event 2 according to preset game handle control information; the gamepad key event is injected into the game program.
In this step, after receiving the touch screen event 2 sent by the touch screen driving module 2, the virtual handle driving module in the VM/PM may determine a game handle key event corresponding to the touch screen event 2 according to preset game handle control information, and inject the game handle key event into the operating system of the VM/PM, and further into the game program.
The game program can analyze the game handle key event, and after the game program receives the game handle key event, the game program can realize the function corresponding to the game handle key event in the game.
The control information of the game handle comprises key display information of the game handle, control areas of all keys and game handle key events corresponding to all keys.
For example, the control area of the key a is the lower left area of the touch screen, and the game handle key event corresponding to clicking the key a once is "jump"; then, when a touch screen event occurs in the lower left area of the touch screen and the operation action corresponding to the touch screen event is one click, then the game pad key event corresponding to the touch screen event is "jump", and after the game pad key event is injected into the game program, the character in the game may perform the "jump" action.
According to an alternative embodiment of the present application, step S206 may also be implemented by: synchronizing the first touch screen event to a second touch screen event corresponding to the touch screen of the server; searching a second key operation event corresponding to a second touch screen event from second preset control information, wherein the second key operation event corresponding to a plurality of virtual keys is continuously clicked in the second preset control information; the control target object performs a function corresponding to the second key operation event.
In the above, it is mentioned that the first touch screen event may be generated through a gesture event, and in order to enable the game player to control the game through the gesture event, a setting sub-module may be added to the virtual handle driving module, as shown in fig. 4: the correspondence between the gesture event and the game handle event may be preset in a setting sub-module in a virtual handle driving module of the game terminal.
The specific treatment process is as follows: firstly, the touch screen driving module 2 synchronizes a received gesture event 1 generated by remote gesture operation into a local gesture event 2, and sends the gesture event 2 to the virtual handle driving module; then, the virtual handle driving module determines a game handle key event corresponding to the gesture event 2 according to the preset corresponding relation in the setting sub-module; finally, the virtual handle driving module injects the game handle key event corresponding to the gesture event 2 into the operating system of the VM/PM, and then into the game program.
It should be noted that, the games mentioned in the present invention are games supporting the control of the gamepad.
In an alternative implementation of the present application, synchronizing a first touch screen event to a second touch screen event corresponding to a touch screen of a server includes: and simulating and executing the operation action corresponding to the first touch screen event on the touch screen of the server to generate a second touch screen event.
Synchronizing touch screen event 1 to touch screen event 2 corresponds to an operation action performed by a game user on the screen of the game terminal, and is performed by "moving" to the touch screen connected to the cloud server, thereby finally generating touch screen event 2.
According to the invention, the conversion of the touch screen event into the game handle key event is completed by the cloud server, and the game terminal only needs to send the touch screen event to the cloud server, so that the cloud server can be compatible no matter whether an operating system of the game terminal is iOS or android. Therefore, the research and development cost can be saved, and the research and development period can be shortened.
In some optional embodiments of the present application, the icons of the virtual keys are displayed on the touch screen of the terminal in the form of at least one of: displaying on a touch screen of the terminal according to different transparency; hidden on the touch screen of the terminal.
Fig. 5 is a schematic diagram of a screen of a game terminal according to an embodiment of the present application, where the screen and a joystick are both considered in a game process, in fig. 5, a rectangle of a black thick frame is a screen of a smart phone, a game screen is displayed in the screen, and at the same time, a control key of the joystick is displayed on the screen. In order to reduce the influence on the display effect of the game screen as much as possible, the display mode of the control keys of the game handle may be set to be semitransparent or hidden from display.
When the display mode of the control keys on the display screen is set to be hidden and not displayed, although the control keys of the game handle are not displayed on the screen, when the finger of the game user touches the control area corresponding to the control keys on the screen, the touch screen driving module 1 of the game terminal can acquire the operation actions of the game user and generate the corresponding touch screen event.
Fig. 6 is a flowchart of another control method of a target object according to an embodiment of the present application, as shown in fig. 6, the method includes:
step S602, virtual key information of a virtual key sent by a server is obtained, and the virtual key is used for controlling a target object.
According to an optional embodiment of the present application, the virtual key information includes: the shape of the icon of the virtual key, the color of the icon of the virtual key, and the display position of the icon of the virtual key on the touch screen of the terminal.
In step S604, a first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal.
In step S606, the control target object performs a function corresponding to the first touch screen event.
According to an alternative embodiment of the present application, after step S602 is performed, icons of the virtual keys are displayed on the touch screen of the terminal in the form of at least one of the following: displaying on a touch screen of the terminal according to different transparency; hidden on the display screen of the terminal.
According to an alternative embodiment of the present application, step S604 may be implemented by the following method: generating a first touch screen event according to the operation action of clicking a single virtual key on the touch screen or the operation action of clicking a region corresponding to the single virtual key; and generating a first touch screen event according to the operation actions of continuously clicking the plurality of virtual keys or the operation actions of continuously clicking the areas corresponding to the plurality of virtual keys on the touch screen.
In some alternative embodiments of the present application, step S606 may be implemented by: the control target object executes a function corresponding to a first key operation event, wherein the first key operation event is determined by: the server synchronizes the first touch screen event to a second touch screen event corresponding to the touch screen of the server; the server searches a first key operation event corresponding to the second touch screen event from first preset control information, wherein virtual key information, a control area corresponding to the virtual key and a first key operation event corresponding to clicking a single virtual key are stored in the first preset control information.
In some optional embodiments of the present application, step S606 may also be implemented by the following method: the control target object executes a function corresponding to a second key operation event, wherein the second key operation event is determined by: the server synchronizes the first touch screen event to a second touch screen event corresponding to the touch screen of the server; the server searches a second key operation event corresponding to the second touch screen event from second preset control information, wherein the second key operation event corresponding to the plurality of virtual keys is continuously clicked in the second preset control information.
According to an alternative embodiment of the present application, the second touch screen event is generated by: and the server simulates and executes the operation action corresponding to the first touch screen event on the touch screen of the server to generate a second touch screen event.
It should be noted that, the preferred implementation manner of the embodiment shown in fig. 6 may refer to the related description of the embodiment shown in fig. 2, which is not repeated herein.
Fig. 7 is a block diagram of a control apparatus for a target object according to an embodiment of the present application, as shown in fig. 7, the apparatus includes:
the sending module 70 is configured to send virtual key information of a virtual key to the terminal, where the virtual key is used to control the target object.
The first obtaining module 72 is configured to obtain a first touch screen event from the terminal, where the first touch screen event is generated according to an operation action on the virtual key detected on the touch screen of the terminal.
The first control module 74 is configured to control the target object to perform a function corresponding to the first touch screen event.
It should be noted that, the preferred implementation manner of the embodiment shown in fig. 7 may refer to the related description of the embodiment shown in fig. 2, which is not repeated herein.
Fig. 8 is a block diagram of a control apparatus of another target object according to an embodiment of the present application, as shown in fig. 8, including:
the second obtaining module 80 is configured to obtain virtual key information of a virtual key sent by the server, where the virtual key is used to control the target object.
The generating module 82 is configured to generate a first touch screen event according to an operation action on the virtual key detected on the touch screen of the terminal.
The second control module 84 is configured to control the target object to perform a function corresponding to the first touch screen event.
It should be noted that, the preferred implementation manner of the embodiment shown in fig. 8 may refer to the related description of the embodiment shown in fig. 2, which is not repeated herein.
Fig. 9 is a block diagram of a control system of a target object according to an embodiment of the present application, as shown in fig. 9, the system includes: a server 90 and a terminal 92, wherein,
a server 90 for transmitting virtual key information of a virtual key for controlling a target object to a terminal 92; acquiring a first touch screen event from the terminal 92, the first touch screen event being generated according to an operation action of the virtual key detected on the touch screen of the terminal 92; the control target object performs a function corresponding to the first touch screen event.
According to an alternative embodiment of the present application, the server 90 includes, but is not limited to, a cloud server in which a plurality of VMs/PMs are running.
The terminal 92 is in communication connection with the server 90, and is configured to obtain virtual key information of a virtual key sent by the server 90; a first touch screen event is generated and sent to the server 90.
The terminal 92 in the present invention may be an intelligent terminal device configured with a display screen, such as a smart phone, a tablet computer, a notebook computer, and the like, and the display screen has a touch function.
It should be noted that, the preferred implementation manner of the embodiment shown in fig. 9 may refer to the related descriptions of the embodiments shown in fig. 2 and fig. 6, which are not repeated herein.
The embodiment of the application also provides a storage medium, which comprises a stored program, wherein the control method for controlling the equipment where the storage medium is located to execute the target object is performed when the program runs.
The storage medium is used for storing a program that performs the following functions: transmitting virtual key information of the virtual keys to the terminal, wherein the virtual keys are used for controlling the target object; acquiring a first touch screen event from a terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal; the control target object performs a function corresponding to the first touch screen event. Or (b)
Obtaining virtual key information of a virtual key sent by a server, wherein the virtual key is used for controlling a target object; generating a first touch screen event according to the operation action of the virtual key detected on the touch screen of the terminal; the control target object performs a function corresponding to the first touch screen event.
The embodiment of the application also provides a processor, which is used for running a program stored in a memory, wherein the control method of the target object is executed when the program runs.
The processor is configured to execute a program that performs the following functions: transmitting virtual key information of the virtual keys to the terminal, wherein the virtual keys are used for controlling the target object; acquiring a first touch screen event from a terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal; the control target object performs a function corresponding to the first touch screen event. Or (b)
Obtaining virtual key information of a virtual key sent by a server, wherein the virtual key is used for controlling a target object; generating a first touch screen event according to the operation action of the virtual key detected on the touch screen of the terminal; the control target object performs a function corresponding to the first touch screen event.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology content may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, for example, may be a logic function division, and may be implemented in another manner, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions to cause a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a read-Only Memory (ROM), a random access Memory (RWXDZM, RWXDZndom WXDZccess Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application and are intended to be comprehended within the scope of the present application.

Claims (13)

1. A control method of a target object, characterized by comprising:
transmitting virtual key information of a virtual key to a terminal, wherein the virtual key is used for controlling a target object;
acquiring a first touch screen event from the terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal;
controlling the target object to execute a function corresponding to the first touch screen event;
the first touch screen event is generated by at least one of: generating a first touch screen event according to the operation action of clicking a single virtual key or the operation action of clicking a region corresponding to the single virtual key on the touch screen; generating a first touch screen event according to operation actions of continuously clicking a plurality of virtual keys or operation actions of continuously clicking areas corresponding to the virtual keys on the touch screen;
Controlling the target object to execute a function corresponding to the first touch screen event, including: synchronizing the first touch screen event to a second touch screen event corresponding to a touch screen of a server; searching a first key operation event corresponding to the second touch screen event from first preset control information, wherein the first preset control information stores the virtual key information, a control area corresponding to the virtual key and the first key operation event corresponding to a single virtual key;
controlling the target object to execute a function corresponding to the first touch screen event, further comprising: synchronizing the first touch screen event to a second touch screen event corresponding to a touch screen of a server; searching a second key operation event corresponding to the second touch screen event from second preset control information, wherein the second key operation event corresponding to a plurality of virtual keys is continuously clicked in the second preset control information; and controlling the target object to execute the function corresponding to the second key operation event.
2. The method of claim 1, wherein the virtual key information comprises: the shape of the icon of the virtual key, the color of the icon of the virtual key and the display position of the icon of the virtual key on the touch screen of the terminal.
3. The method of claim 1, wherein synchronizing the first touch screen event to a second touch screen event corresponding to a touch screen of a server comprises:
and simulating and executing the operation action corresponding to the first touch screen event on the touch screen of the server to generate the second touch screen event.
4. The method of claim 2, wherein the icons of the virtual keys are displayed on the touch screen of the terminal in the form of at least one of:
displaying on a touch screen of the terminal according to different transparency;
hidden on the touch screen of the terminal.
5. A control method of a target object, characterized by comprising:
the method comprises the steps of obtaining virtual key information of a virtual key sent by a server, wherein the virtual key is used for controlling a target object;
generating a first touch screen event according to the operation action of the virtual key, which is detected on the touch screen of the terminal;
controlling the target object to execute a function corresponding to the first touch screen event;
generating a first touch screen event according to the operation action of the virtual key, which is detected on the touch screen of the terminal, wherein the first touch screen event comprises at least one of the following steps: generating a first touch screen event according to the operation action of clicking a single virtual key or the operation action of clicking a region corresponding to the single virtual key on the touch screen; generating a first touch screen event according to operation actions of continuously clicking a plurality of virtual keys or operation actions of continuously clicking areas corresponding to the virtual keys on the touch screen;
Controlling the target object to execute a function corresponding to the first touch screen event, including: controlling the target object to execute a function corresponding to a first key operation event, wherein the first key operation event is determined by the following method: the server synchronizes the first touch screen event to a second touch screen event corresponding to a touch screen of the server; the server searches the first key operation event corresponding to the second touch screen event from first preset control information, wherein the first preset control information stores the virtual key information, a control area corresponding to the virtual key and the first key operation event corresponding to clicking a single virtual key;
controlling the target object to execute a function corresponding to the first touch screen event, further comprising: controlling the target object to execute a function corresponding to a second key operation event, wherein the second key operation event is determined by the following method: the server synchronizes the first touch screen event to a second touch screen event corresponding to a touch screen of the server; the server searches the second key operation event corresponding to the second touch screen event from second preset control information, and the second key operation event corresponding to a plurality of virtual keys is continuously clicked in the second preset control information.
6. The method of claim 5, wherein the virtual key information comprises: the shape of the icon of the virtual key, the color of the icon of the virtual key and the display position of the icon of the virtual key on the touch screen of the terminal.
7. The method of claim 6, wherein after obtaining the virtual key information of the virtual key sent by the server, the method further comprises:
displaying the icons of the virtual keys on a touch screen of the terminal in the form of at least one of the following modes:
displaying on a touch screen of the terminal according to different transparency;
hidden on the display screen of the terminal.
8. The method of claim 5, wherein the second touch screen event is generated by:
and the server simulates and executes the operation action corresponding to the first touch screen event on the touch screen of the server to generate the second touch screen event.
9. A control device of a target object, characterized by comprising:
the sending module is used for sending virtual key information of the virtual keys to the terminal, and the virtual keys are used for controlling the target objects;
The first acquisition module is used for acquiring a first touch screen event from the terminal, the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal, and the first touch screen event is generated in at least one of the following modes: generating a first touch screen event according to the operation action of clicking a single virtual key or the operation action of clicking a region corresponding to the single virtual key on the touch screen; generating a first touch screen event according to operation actions of continuously clicking a plurality of virtual keys or operation actions of continuously clicking areas corresponding to the virtual keys on the touch screen;
the first control module is used for controlling the target object to execute a function corresponding to the first touch screen event;
the first control module is further configured to synchronize the first touch screen event to a second touch screen event corresponding to a touch screen of a server; searching a first key operation event corresponding to the second touch screen event from first preset control information, wherein the first preset control information stores the virtual key information, a control area corresponding to the virtual key and the first key operation event corresponding to a single virtual key;
The first control module is further configured to synchronize the first touch screen event to a second touch screen event corresponding to a touch screen of a server; searching a second key operation event corresponding to the second touch screen event from second preset control information, wherein the second key operation event corresponding to a plurality of virtual keys is continuously clicked in the second preset control information; and controlling the target object to execute the function corresponding to the second key operation event.
10. A control device of a target object, characterized by comprising:
the second acquisition module is used for acquiring virtual key information of the virtual keys sent by the server, wherein the virtual keys are used for controlling the target object;
the generating module is used for generating a first touch screen event according to the operation action of the virtual key, which is detected on the touch screen of the terminal, and comprises at least one of the following steps: generating a first touch screen event according to the operation action of clicking a single virtual key or the operation action of clicking a region corresponding to the single virtual key on the touch screen; generating a first touch screen event according to operation actions of continuously clicking a plurality of virtual keys or operation actions of continuously clicking areas corresponding to the virtual keys on the touch screen;
The second control module is used for controlling the target object to execute a function corresponding to the first touch screen event;
the second control module is further configured to control the target object to execute a function corresponding to a first key operation event, where the first key operation event is determined by: the server synchronizes the first touch screen event to a second touch screen event corresponding to a touch screen of the server; the server searches the first key operation event corresponding to the second touch screen event from first preset control information, wherein the first preset control information stores the virtual key information, a control area corresponding to the virtual key and the first key operation event corresponding to clicking a single virtual key;
the second control module is further configured to control the target object to execute a function corresponding to a second key operation event, where the second key operation event is determined by: the server synchronizes the first touch screen event to a second touch screen event corresponding to a touch screen of the server; the server searches the second key operation event corresponding to the second touch screen event from second preset control information, and the second key operation event corresponding to a plurality of virtual keys is continuously clicked in the second preset control information.
11. A control system for a target object, comprising: a server and a terminal, wherein,
the server is used for sending virtual key information of the virtual keys to the terminal, and the virtual keys are used for controlling the target objects; acquiring a first touch screen event from the terminal, wherein the first touch screen event is generated according to the operation action of the virtual key detected on the touch screen of the terminal; controlling the target object to execute a function corresponding to the first touch screen event, wherein the first touch screen event is generated by at least one of the following modes: generating a first touch screen event according to the operation action of clicking a single virtual key or the operation action of clicking a region corresponding to the single virtual key on the touch screen; generating a first touch screen event according to operation actions of continuously clicking a plurality of virtual keys or operation actions of continuously clicking areas corresponding to the virtual keys on the touch screen, wherein the second key operation event is determined by the following steps: the server synchronizes the first touch screen event to a second touch screen event corresponding to a touch screen of the server; the server searches the second key operation event corresponding to the second touch screen event from second preset control information, wherein the second key operation event corresponding to a plurality of virtual keys is continuously clicked in the second preset control information;
The terminal is in communication connection with the server and is used for acquiring virtual key information of the virtual keys sent by the server; generating the first touch screen event and sending the first touch screen event to the server;
the server is further used for synchronizing the first touch screen event into a second touch screen event corresponding to a touch screen of the server; searching a first key operation event corresponding to the second touch screen event from first preset control information, wherein the first preset control information stores the virtual key information, a control area corresponding to the virtual key and the first key operation event corresponding to a single virtual key.
12. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the control method of the target object according to any one of claims 1 to 8.
13. A processor for executing a program stored in a memory, wherein the program is executed to perform the control method of the target object according to any one of claims 1 to 8.
CN202010287575.1A 2020-04-13 2020-04-13 Target object control method, device and system Active CN111467791B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010287575.1A CN111467791B (en) 2020-04-13 2020-04-13 Target object control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010287575.1A CN111467791B (en) 2020-04-13 2020-04-13 Target object control method, device and system

Publications (2)

Publication Number Publication Date
CN111467791A CN111467791A (en) 2020-07-31
CN111467791B true CN111467791B (en) 2024-04-12

Family

ID=71752405

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010287575.1A Active CN111467791B (en) 2020-04-13 2020-04-13 Target object control method, device and system

Country Status (1)

Country Link
CN (1) CN111467791B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930328B (en) * 2020-08-10 2024-03-15 西安万像电子科技有限公司 Application data display method, device and system
CN112494929B (en) * 2020-12-04 2023-05-16 四三九九网络股份有限公司 Implementation method of game controller serving cloud game scene
CN112891936A (en) * 2021-02-10 2021-06-04 广州虎牙科技有限公司 Virtual object rendering method and device, mobile terminal and storage medium
CN114090085B (en) * 2021-11-18 2023-06-30 腾讯科技(深圳)有限公司 Object control method and related device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440099A (en) * 2013-08-14 2013-12-11 深圳市同洲电子股份有限公司 Multi-screen interactive method, terminal and system
CN103480153A (en) * 2013-09-04 2014-01-01 张家港保税区润桐电子技术研发有限公司 Method for simulating computer gamepad with smartphone
CN104941181A (en) * 2015-06-18 2015-09-30 深圳市新众玩网络科技有限公司 Method and device for achieving real-time game interaction between different intelligent terminals
KR101580210B1 (en) * 2015-01-08 2016-01-04 라인플러스 주식회사 Game method and system for providing smart control for touch type
CN105872664A (en) * 2016-03-31 2016-08-17 李强 Touch screen game operating-controlling method, device and system
CN107844243A (en) * 2017-11-09 2018-03-27 新华三云计算技术有限公司 Cloud tabletop touch implementation method and device
JP2019013297A (en) * 2017-07-04 2019-01-31 株式会社コロプラ Game program, recording medium, method, and information processing device
CN110548281A (en) * 2019-08-19 2019-12-10 广州点云科技有限公司 virtual key pressing method based on cloud game terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9227141B2 (en) * 2013-12-31 2016-01-05 Microsoft Technology Licensing, Llc Touch screen game controller

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440099A (en) * 2013-08-14 2013-12-11 深圳市同洲电子股份有限公司 Multi-screen interactive method, terminal and system
CN103480153A (en) * 2013-09-04 2014-01-01 张家港保税区润桐电子技术研发有限公司 Method for simulating computer gamepad with smartphone
KR101580210B1 (en) * 2015-01-08 2016-01-04 라인플러스 주식회사 Game method and system for providing smart control for touch type
CN104941181A (en) * 2015-06-18 2015-09-30 深圳市新众玩网络科技有限公司 Method and device for achieving real-time game interaction between different intelligent terminals
CN105872664A (en) * 2016-03-31 2016-08-17 李强 Touch screen game operating-controlling method, device and system
JP2019013297A (en) * 2017-07-04 2019-01-31 株式会社コロプラ Game program, recording medium, method, and information processing device
CN107844243A (en) * 2017-11-09 2018-03-27 新华三云计算技术有限公司 Cloud tabletop touch implementation method and device
CN110548281A (en) * 2019-08-19 2019-12-10 广州点云科技有限公司 virtual key pressing method based on cloud game terminal

Also Published As

Publication number Publication date
CN111467791A (en) 2020-07-31

Similar Documents

Publication Publication Date Title
CN111467790B (en) Target object control method, device and system
CN111467791B (en) Target object control method, device and system
CN110418151B (en) Bullet screen information sending and processing method, device, equipment and medium in live game
CN107050850A (en) The recording and back method of virtual scene, device and playback system
CN112351302A (en) Live broadcast interaction method and device based on cloud game and storage medium
CN107168616B (en) Game interaction interface display method and device, electronic equipment and storage medium
CN110639207A (en) Game data synchronization method, device, storage medium and processor
US9437158B2 (en) Electronic device for controlling multi-display and display control method thereof
CN111672132B (en) Game control method, game control device, server, and storage medium
CN111643890A (en) Card game interaction method and device, electronic equipment and storage medium
CN111760272B (en) Game information display method and device, computer storage medium and electronic equipment
CN112788178B (en) Message display method and device
CN111803960A (en) Method and equipment for starting preset process
US20150352442A1 (en) Game having a Plurality of Engines
CN111818371B (en) Interactive video management method and related device
CN109656463A (en) The generation method of individual character expression, apparatus and system
CN116688526A (en) Virtual character interaction method and device, terminal equipment and storage medium
CN113101633B (en) Cloud game simulation operation method and device and electronic equipment
CN114504808A (en) Information processing method, information processing apparatus, storage medium, processor, and electronic apparatus
CN116843802A (en) Virtual image processing method and related product
CN114020396A (en) Display method of application program and data generation method of application program
CN113965640A (en) Message processing method and device
CN113230649A (en) Display control method and device
CN112755510A (en) Mobile terminal cloud game control method, system and computer readable storage medium
CN104035965A (en) Search engine device linked with webgame and linking method

Legal Events

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