CN114090085A - Object control method and related device - Google Patents

Object control method and related device Download PDF

Info

Publication number
CN114090085A
CN114090085A CN202111366113.XA CN202111366113A CN114090085A CN 114090085 A CN114090085 A CN 114090085A CN 202111366113 A CN202111366113 A CN 202111366113A CN 114090085 A CN114090085 A CN 114090085A
Authority
CN
China
Prior art keywords
input device
target
application
virtual
server
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
CN202111366113.XA
Other languages
Chinese (zh)
Other versions
CN114090085B (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 CN202111366113.XA priority Critical patent/CN114090085B/en
Publication of CN114090085A publication Critical patent/CN114090085A/en
Application granted granted Critical
Publication of CN114090085B publication Critical patent/CN114090085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application relates to the technical field of computers, and provides an object control method and a related device for improving the running efficiency and the running effect of an application program, wherein the method comprises the following steps: after the target application is started, if the target input device is accessed, the terminal device can establish a binding relationship between the target input device and the virtual input device, so that the target application is controlled by the target input device through the virtual input device which is connected with the target application, and the target application is prevented from being restarted due to the fact that the target input device is inserted or pulled out in the running process of the target application.

Description

Object control method and related device
Technical Field
The application relates to the technical field of computers, and provides an object control method and a related device.
Background
With the development of multimedia technology and the popularization of wireless networks, a target object can control a Virtual object in an application program through input devices of a handle, a keyboard, Virtual Reality (VR) glasses and the like.
In the related art, for an application program supporting hot plug of an input device, the input device can be plugged in or pulled out during the running process of the application program under the condition that the power supply is not turned off, and the normal running of the application program is not influenced by the plugging or pulling of the input device.
However, for an application program that does not support hot-plug of an input device, if the input device is plugged in the running of the application program, the input of the application program cannot be acquired through the input device, so that the application program cannot interact with a target object, and at this time, the application program can only be restarted, so that the input device accesses the application program, thereby causing interruption of running of the application program, affecting running of the application program, and reducing running efficiency and running effect of the application program.
Disclosure of Invention
The embodiment of the application provides an object control and related device, which is used for avoiding the interruption of the running of an application program and improving the running efficiency and the running effect of the application program.
In a first aspect, an embodiment of the present application provides an object control method, which is applied to a terminal device, and the method includes:
when the target application is determined to be started, acquiring the total number of input devices supported by the target application, wherein the target application does not support hot plug of the input devices;
establishing connections between each pre-plugged virtual input device and the target application based on the total number of input devices;
when determining that at least one target input device is accessed, respectively binding the at least one target input device with the corresponding virtual input device to obtain a device binding relationship;
and responding to an input event triggered by the at least one target input device, and controlling a target object in the target application through the virtual input device respectively bound by the at least one target input device based on the device binding relationship.
In a second aspect, an embodiment of the present application provides an object control apparatus, including:
the device comprises an acquisition unit and a processing unit, wherein the acquisition unit is used for acquiring the total number of input devices supported by a target application when the target application is started, and the target application does not support hot plug of the input devices;
the device comprises a pre-insertion unit, a pre-insertion unit and a pre-insertion unit, wherein the pre-insertion unit is used for acquiring the total number of input devices supported by a target application when the target application is started, and the target application does not support hot plug of the input devices;
the binding unit is used for binding at least one target input device with the corresponding virtual input device respectively to obtain a device binding relationship when the target input device is determined to be accessed;
and the control unit is used for responding to an input event triggered by the at least one target input device and controlling a target object in the target application through the virtual input device respectively bound by the at least one target input device based on the device binding relation.
In some embodiments, the binding unit is further configured to release the binding relationship between any one target input device and the corresponding virtual input device when it is determined that any one target input device of the at least one target input device is pulled out.
In some embodiments, the binding unit is further configured to bind a new target input device with a corresponding virtual input device when determining that the new target input device is accessed;
the control unit is further configured to control a target object in the target application through the virtual input device bound to the new target input device in response to an input event triggered by the new target input device.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is caused to execute the steps of the object control method.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which includes a computer program, when the computer program runs on an electronic device, the computer program is configured to enable the electronic device to execute the steps of the above object control method.
In a fifth aspect, the present application provides a computer program product, where the program product includes a computer program, where the computer program is stored in a computer-readable storage medium, and a processor of an electronic device reads and executes the computer program from the computer-readable storage medium, so that the electronic device executes the steps of the above-mentioned object control method.
In the embodiment of the application, when a target application which does not support hot plug of the input device is started, the terminal device establishes connection with the virtual input device and the target application which are inserted in advance according to the total number of the input devices supported by the target application, binds the target input device and the virtual input device which are accessed when the target input device is determined to be accessed, and then controls a target object in the target application through the virtual input device in response to an input event triggered by the target input device.
Therefore, after the target application is started, if the target input device is connected, the terminal device can establish a binding relationship between the target input device and the virtual input device, and then the virtual input device connected with the target application is used for realizing the control of the target application by the target input device, thereby avoiding the restarting of the target application caused by the insertion or extraction of the target input device in the running process of the target application without influencing the normal running of the target application, and further improving the running efficiency and running effect of the target application.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
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 embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1a is a schematic view of an application scenario provided in an embodiment of the present application;
fig. 1b is an architecture diagram of a cloud game provided in an embodiment of the present application;
fig. 1c is a schematic diagram of an interaction between a cloud game server and a terminal device provided in an embodiment of the present application;
fig. 2a is a schematic diagram of a software structure of a terminal device provided in an embodiment of the present application;
FIG. 2b is a schematic structural diagram of a target input device provided in an embodiment of the present application;
fig. 3 is a schematic flowchart of an object control method provided in an embodiment of the present application;
FIG. 4 is a schematic flowchart of establishing a connection between a virtual input device and a target application according to an embodiment of the present application;
FIG. 5a is a schematic diagram illustrating a binding between a first target input device and a virtual input device provided in an embodiment of the present application;
FIG. 5b is a diagram illustrating a second example of a binding between a target input device and a virtual input device provided in an embodiment of the present application;
FIG. 5c is a schematic diagram of a first binding between two target input devices and a virtual input device provided in an embodiment of the present application;
FIG. 5d is a diagram illustrating a second example of a binding between two target input devices and a virtual input device provided in an embodiment of the present application;
FIG. 6a is a schematic diagram of a first binding between three target input devices and a virtual input device provided in an embodiment of the present application;
FIG. 6b is a diagram illustrating a second binding between three target input devices and a virtual input device provided in an embodiment of the present application;
FIG. 7a is a schematic diagram of a first new binding between a target input device and a virtual input device provided in an embodiment of the present application;
FIG. 7b is a diagram illustrating a second new binding between a target input device and a virtual input device provided in an embodiment of the present application;
fig. 8 is a schematic logical structure diagram of an object control apparatus provided in an embodiment of the present application;
fig. 9 is a schematic hardware configuration diagram of an object control apparatus provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions 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 some embodiments, but not all embodiments, of the technical solutions of the present application. All other embodiments obtained by a person skilled in the art based on the embodiments described in the present application without any creative effort belong to the protection scope of the technical solution of the present application.
Some concepts related to the embodiments of the present application are described below.
1. Cloud game: cloud gaming is an online gaming technology based on cloud computing technology. When a cloud game runs, logic processing and picture rendering of the cloud game are performed on a server, the server transmits video streams and audio streams corresponding to game pictures to a client through a network, a user can play the game only by needing to have equipment with a streaming media playing function and equipment capable of acquiring control operation, cloud computing is distributed computing, a system composed of a plurality of servers processes a large amount of data in a short time, and computing results are fed back to the user.
2. An input device: input devices refer to devices that provide input to applications including, but not limited to, game pads, VR glasses, keyboards, steering wheels for driving games, light guns for shooting games, and the like.
With the development of multimedia technology and the popularization of wireless networks, a target object can control a virtual object in an application program through input devices of a handle, a keyboard, VR glasses and the like.
In the related art, for an application program supporting hot plug of an input device, the input device can be plugged in or pulled out during the running process of the application program under the condition that the power supply is not turned off, and the normal running of the application program is not influenced by the plugging or pulling of the input device.
However, for an application program that does not support hot-plug of an input device, if the input device is plugged in the running of the application program, the input of the application program cannot be acquired through the input device, so that the application program cannot interact with a target object, and at this time, the application program can only be restarted, so that the input device accesses the application program, thereby causing interruption of running of the application program, affecting running of the application program, and reducing running efficiency and running effect of the application program.
In order to implement hot plug of an input device for an application program that does not support hot plug of the input device, so as to ensure operation efficiency and operation effect of the application program, in this embodiment of the application, when a target application that does not support hot plug of the input device is started, a terminal device, according to a total number of input devices supported by the target application, establishes a connection with a pre-inserted virtual input device and the target application, and when determining that the target input device is accessed, binds the accessed target input device and the virtual input device, and then, the terminal device controls a target object in the target application through the virtual input device in response to an input event triggered by the target input device.
Therefore, after the target application is started, if the target input device is connected, the terminal device can establish a binding relationship between the target input device and the virtual input device, and then the virtual input device connected with the target application is used for realizing the control of the target application by the target input device, thereby avoiding the restarting of the target application caused by the insertion or extraction of the target input device in the running process of the target application without influencing the normal running of the target application, and further improving the running efficiency and running effect of the target application.
The preferred embodiments of the present application will be described in conjunction with the drawings of the specification, it should be understood that the preferred embodiments described herein are for purposes of illustration and explanation only and are not intended to limit the present application, and features of the embodiments and examples of the present application may be combined with each other without conflict.
Fig. 1a is a schematic diagram of an application scenario provided in an embodiment of the present application, where the application scenario includes: a terminal device 110, at least one target input device 120, and a server 130. The terminal device 110, the at least one target input device 120, and the server 130 may communicate with each other via a communication network.
In an alternative embodiment, the communication network is a wired network or a wireless network. The terminal device 110, the at least one target input device 120, and the server 130 may be directly or indirectly connected through wired or wireless communication, and the present application is not limited thereto.
In the embodiment of the present application, the terminal device 110 may be a mobile phone, a computer, an intelligent voice interaction device, an intelligent household appliance, a vehicle-mounted terminal, and the like, but is not limited thereto.
Target input device 120 may be a joystick, VR glasses, a keyboard, a steering wheel for driving a game, a light gun for shooting a game, or the like.
The server 130 may be an independent physical server, may also be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server that provides basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), and a big data and artificial intelligence platform.
In this embodiment, a user may log in an application-related interface through the terminal device 110, and the terminal device 110 presents a control process for a target object in a target application in the interface by responding to various operations triggered by the user through at least one target input device.
The terminal device 110 has an application installed thereon, and the application installed on the terminal device 110 may be a cloud game application. The application may be software, or may be an application such as a web page or an applet, and the server is an application server corresponding to the software, the web page or the applet.
In order to implement the functions in the method provided by the embodiment of the present application, the terminal device 110 may include a hardware structure and/or a software module, and implement the functions in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above-described functions is implemented as a hardware structure, a software module, or a hardware structure plus a software module depends upon the particular application and design constraints imposed on the technical solution.
Fig. 1b is a schematic diagram illustrating an architecture of a cloud game according to an embodiment of the present application. The cloud game platform comprises at least one cloud game server, and each cloud game server can run at least one game, so that various games are integrated on the cloud game platform, the games do not run on the terminal equipment of a player but run in the cloud game server, and the cloud game server renders game scenes into video and audio streams and transmits the video and audio streams to the terminal display equipment through a network. The terminal equipment of the player 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 input instructions of the player and sending the input instructions to the cloud game server. The input device such as the handle and the touch screen captures game operation of a player, sends the game operation of the player to the terminal device, and the terminal device generates a corresponding control instruction and sends the control instruction to the cloud game server, so that the cloud game server controls operation of the cloud game in response to the control instruction.
In some embodiments, the edge computing machine can significantly enhance the user experience by deploying the cloud gaming server at the edge node. The feedback delay of user operation is reduced, and the definition and the fluency of the picture are improved.
Fig. 1c is a schematic view of an interaction between a cloud game server and a terminal device according to an embodiment of the present application.
S101, the terminal equipment responds to an input event triggered by at least one target input equipment to acquire control information.
S102, the terminal equipment sends the control information to the cloud game server through the virtual input equipment bound to the at least one target input equipment. The specific implementation of S102 is described below and will not be described herein.
And S103, the cloud game server performs image rendering according to the received control information to obtain a game picture.
And S104, the cloud game server sends the game picture to the terminal equipment.
S105, the terminal device presents a game picture.
Fig. 2a is a schematic diagram of a software architecture of a terminal device 110 provided in an embodiment of the present application, where the software architecture is divided into three layers, which are an application layer, an application frame (frame) layer, and a kernel layer from top to bottom, and the layers communicate with each other through a software interface.
The application layer is the top layer of the operating system and may include a series of application packages. As shown in fig. 2a, the application program layer includes a target application and a pre-inserted virtual input device, where the number of the pre-inserted virtual input devices may be one or multiple, the target application may be a native application of an operating system, or may be a third-party application, where the native application of the operating system may include a User Interface (UI), a camera, a short message, a call, and the like, and the third-party application may include a map, an intelligent remote control, a game, and the like. Hereinafter, the description will be given by taking only the target application as the game-like application as an example.
The application framework layer provides an application programming interface and a programming framework for the application of the application layer. The application framework layer may also include some predefined functions. As shown in fig. 2a, the application framework layer is mainly responsible for invoking a service interface for communicating with the application framework layer to transfer control information corresponding to an input event triggered by a target input device to the application framework layer. Taking the target input device as a game pad as an example, the game pad is generally composed of buttons and remote sensing, and accordingly, the input events input by the target input device may include Key (Key) events and rocker (Motion) events. In some embodiments, the application framework layer may also include a window manager, content provider, view system, resource manager, and the like.
The kernel layer may be a Linux kernel layer, which is an abstraction layer between hardware and software. The kernel layer contains a number of drivers associated with the terminal device 110, and the kernel layer contains at least an input driver for obtaining a target input device input. The kernel layer may further include a display driver, an audio driver, a bluetooth driver, a WI-FI driver, and the like, which is not limited in this embodiment.
Fig. 2b is a schematic structural diagram of a target input device 120 provided in the embodiment of the present application. The target input device 120 may include a steering wheel 21, a first joystick 22, and a key 24, where the steering wheel 21 is used to control the position of a target object in a target application, the first joystick may also be used to control the position of the target object in the target application, and the key 24 is used to provide various key inputs.
In some embodiments, the target application is a three-dimensional application, and a second joystick 23 may be further included in the target input device 120, the second joystick 23 being used to control the application perspective.
In some embodiments, the keys 24 may include an X key, a Y key, an a key, and a B key, and in different applications, the X key, the Y key, the a key, and the B key may provide different functions, for example, in shooting games, the X key may be used to control using, grasping, and switching weapons, the Y key may be used to control switching of a close-fight model, the a key may be used to control jumping or floating, and the B key may be used to control open-sight or shield.
In some embodiments, the input event triggered by the steering wheel 21, the first rocker 22, and the second rocker 23 belongs to a Motion event, and the input event triggered by the Key 24 belongs to a Key event.
Next, a control process of the target input device for the target object in the target application will be described with reference to fig. 2 a.
After the target input device 120 triggers an input event, the terminal device 110 obtains control information input by the target input device 120 through an input driver of the kernel layer, then the kernel layer transfers the control information to the application framework layer, the application framework layer transfers the control information to the application layer according to an input event type corresponding to the control information, a device binding relationship between the target input device 120 and a pre-inserted virtual input device may be stored in a target application in the application layer, and the application layer sends the control information to a server through the pre-inserted virtual input device bound by the target input device 120 based on the device binding relationship.
Referring to fig. 3, it is a schematic flowchart of an object control method provided in an embodiment of the present application, where the method is applied to a terminal device, and a specific flow is as follows:
s301, when the terminal device determines that the target application is started, the total number of the input devices supported by the target application is acquired, wherein the target application does not support hot plug of the input devices.
In this embodiment, the terminal device may determine whether the target application supports hot plug of the input device according to hot plug information included in the application configuration file, where the hot plug information is used to indicate whether the target application supports hot plug of the input device.
The hot plug information may be represented by a numerical value, for example, when the value of the hot plug information is 0, it indicates that the target application does not support hot plug of the input device, and when the value of the hot plug information is 1, it indicates that the target application supports hot plug of the input device.
In the embodiment of the application, the application configuration file may be stored in the terminal device in advance, or may be stored in the server. If the application configuration file is pre-stored in the terminal device, the terminal device may directly obtain hot plug information included in the application configuration file. If the application configuration file is stored in the server, the terminal device may send a hot plug information acquisition request to the server, instruct the server to send hot plug information to the terminal device, and further receive hot plug information returned by the server.
In this embodiment of the present application, the application configuration file may further include a total number of input devices supported by the target application, and the terminal device obtains the total number of input devices supported by the target application according to the application configuration file. Wherein the total number of input devices supported by the target application characterizes the number of the maximum input devices supported by the target application.
For example, when the terminal device determines that the target application is started, the total number of input devices supported by the target application is acquired to be 2, that is, the target application only supports the simultaneous insertion of two input devices.
In the following, the description is given only with the target application supporting the simultaneous insertion of two input devices.
S302, the terminal device establishes connection between each virtual input device which is inserted in advance and the target application based on the total number of the input devices.
Specifically, referring to fig. 4, when S302 is executed, the following manners may be adopted, but are not limited to:
and S3021, the terminal device respectively determines the device information corresponding to each pre-inserted virtual input device based on the total number of the input devices.
Each piece of device information includes a device identifier of a corresponding virtual input device, and the device identifier may be represented by, but not limited to, an Identity Document (ID).
It should be noted that, in the embodiment of the present application, the pre-inserted virtual input device is used to declare an insertion input device to a target application, and therefore, the virtual input device may be a virtual device of the same device type as the target input device, but considering that the types of the target input devices inserted by a user are various, the virtual input device may also be a general virtual device, and the virtual input device may be bound to any type of target input device, and for convenience of description, the virtual input device and the target input device are consistent in shape hereinafter. Herein, a pre-plugged virtual input device may also be referred to as a pre-plugged device, e.g., a pre-plugged virtual gamepad may also be referred to as a pre-plugged pad.
For example, the total number of input devices is 2, the terminal device determines, based on the total number of input devices, device information 1 corresponding to the pre-inserted virtual input device 1, and determines device information 2 corresponding to the pre-inserted virtual input device 2, where the device information 1 includes a device identifier of the virtual input device 1: ID1, the device information 2 includes the device identification of the virtual input device 2: ID 2.
And S3022, the terminal device sends the obtained device information to the server, and instructs the server to establish connection between each virtual input device and the target application.
For example, the terminal device transmits the device information 1 and the device information 2 to the server, instructs the server to establish a connection between the virtual input device 1 and the target application, and establishes a connection between the virtual input device 2 and the target application.
It should be noted that, in this embodiment of the present application, the server may provide a device insertion interface function, and correspondingly, the terminal device may send the obtained information of each device to the server by calling the device insertion interface function.
And S3023, when the terminal device receives the device successful connection response from the server, determining that the connection between each virtual input device which is pre-inserted and the target application is established.
For example, when the terminal device receives a successful connection response from the server, it determines that the virtual input device 1 and the target application are connected to each other, and the virtual input device 2 and the target application are connected to each other.
And S303, when the terminal equipment determines that at least one target input equipment is accessed, binding the at least one target input equipment and the corresponding virtual input equipment respectively to obtain an equipment binding relationship.
In the embodiment of the present application, the target input device refers to an input device actually inserted by a user.
The target input device may be connected to the terminal device by, but not limited to, bluetooth, Universal Serial Bus (USB), and the like.
Depending on the number of target input devices, when S303 is executed, there are, but not limited to, the following two cases:
the first condition is as follows: the number of the accessed target input devices is not more than the total number of the input devices.
Specifically, if the total number of the at least one target input device is not greater than the total number of the input devices, the terminal device binds the at least one target input device with each virtual input device one by one, so as to obtain a device binding relationship.
Hereinafter, the description will be given by taking only the target input device as a joystick as an example.
As a possible implementation manner, the terminal device may sequentially bind, based on the access sequence of the target input devices, at least one target input device with each virtual input device one by one in a positive sequence.
In the embodiment of the present application, both the forward order and the reverse order may be preset, for example, the order of the pre-insertion handle 1 and the pre-insertion handle 2 is referred to as the forward order, and the order of the pre-insertion handle 2 and the pre-insertion handle 1 is referred to as the reverse order.
For example, referring to FIG. 5a, a target input device includes: the game handle 1 is used for binding the game handle 1 with the pre-inserted handle 1 by the terminal equipment.
For another example, referring to fig. 5b, the target input device includes: the game device comprises a game handle 1 and a game handle 2, wherein the game handle 1 and the pre-inserted handle 1 are bound by the terminal device, and the game handle 2 and the pre-inserted handle 2 are bound by the terminal device.
As another possible implementation manner, the terminal device may sequentially bind, in a reverse order based on the access order of each target input device, at least one target input device with each virtual input device one by one.
For example, referring to FIG. 5c, a target input device includes: the game handle 1 is bound with the pre-inserted handle 2 through the terminal equipment.
For another example, referring to fig. 5d, the target input device includes: the game device comprises a game handle 1 and a game handle 2, wherein the game handle 1 and the pre-inserted handle 2 are bound by the terminal device, and the game handle 2 and the pre-inserted handle 1 are bound by the terminal device.
Case two: the number of target input devices accessed is greater than the total number of input devices.
And if the total number of the at least one target input device is larger than the total number of the input devices, sequentially binding the at least one target input device with each virtual input device to obtain a device binding relationship.
As a possible implementation manner, the terminal device may also sequentially perform at least one target input device with each virtual input device in a positive order.
For example, referring to FIG. 6a, a target input device includes: the game device comprises a game handle 1, a game handle 2 and a game handle 3, wherein the game handle 1 is bound with a pre-inserted handle 1 by the terminal device, the game handle 2 is bound with the pre-inserted handle 2, and the game handle 3 is bound with the pre-inserted handle 1.
As another possible implementation manner, the terminal device may also sequentially perform at least one target input device with each virtual input device in a reverse order.
For example, referring to FIG. 6b, a target input device includes: the game device comprises a game handle 1, a game handle 2 and a game handle 3, wherein the game handle 1 is bound with a pre-inserted handle 2 by the terminal device, the game handle 2 is bound with the pre-inserted handle 1, and the game handle 3 is bound with the pre-inserted handle 2.
In the embodiment of the application, if lost target input devices exist in the accessed target input devices when the target application is started, a user can control a target object through other target input devices or newly accessed target input devices in the accessed target input devices, so that the use feeling of the user is improved.
S304, the terminal device responds to an input event triggered by at least one target input device, and controls a target object in the target application through the virtual input device respectively bound by the at least one target input device based on the device binding relationship.
In some embodiments, the terminal device may implement control of the target application by the target input device according to the virtual input device. Specifically, the terminal device obtains control information input by at least one target input device, and then sends the control information to the server through a virtual input device bound to the at least one target device, so that the server controls a target object in the target application according to the received control information.
It should be noted that, in this embodiment of the application, each time the terminal device obtains the control information input by one target input device, the terminal device sends the control information input by the target input device to the server through the virtual input device bound to the one target input device.
For example, assume that the target input device includes: the game device comprises a game handle 1 and a game handle 2, wherein the game handle 1 is bound with a pre-inserted handle 1, the game handle 2 is bound with the pre-inserted handle 2, referring to fig. 2b, a user 1 moves a first rocker 22 of the game handle 1 to the left, a terminal device acquires control information 1 input by the game handle 1, the control information 1 is used for controlling a target object in a target application to move to the left, and the terminal device sends the control information 1 to a server through the pre-inserted handle 1 so that the server controls the target object in the target application to move to the left. The user 2 moves the first rocker 22 of the gamepad 2 to the right, the terminal device obtains the control information 2 input by the gamepad 2, the control information 2 is used for controlling the target object in the target application to move to the right, and the terminal device sends the control information 2 to the server through the pre-inserted gamepad 2, so that the server controls the target object in the target application to move to the right.
In some embodiments, the terminal device may send control information of the target input device to the server by using the device identifier of the virtual input device, and specifically, for each target input device of the at least one target input device, the terminal device performs the following operations:
the terminal equipment acquires an equipment identifier of virtual input equipment bound by target input equipment; the terminal device sends the device identification and control information input by a target input device to the server.
The device identifier of the virtual input device may be obtained by the terminal device from the application configuration file.
For example, the game pad 1 binds the pre-insertion pad 1, and the terminal device obtains the device identifier of the pre-insertion pad 1: ID1, and then, ID2 and control information 1 are transmitted to the server.
In the embodiment of the application, the terminal device can control the target object in the target input device by using the device identifier of the virtual input device, so that the control flow is simplified, the transmission efficiency of control information is improved, and the object control efficiency is improved.
In some embodiments, when the terminal device determines that any one of the at least one target input device is pulled out, the binding relationship between the any one target input device and the corresponding virtual input device is released.
In the embodiment of the present application, the target input device is pulled out, which means that the target input device is disconnected from the terminal device. If the target input device is connected with the terminal device in a Bluetooth mode, the target input device is pulled out, namely the target input device is disconnected from the terminal device in the Bluetooth mode, and if the target input device is connected with the terminal device in a USB mode, the target input device is pulled out, namely the target input device is removed from the USB interface.
For example, when the terminal device determines that the game pad 1 is pulled out, the binding relationship between the game pad 1 and the pre-insertion pad 1 is released.
In the embodiment of the application, when the target input device is removed, the binding relationship between the target input device and the corresponding virtual input device is released, so that when a new gamepad is connected, the terminal device can connect the new gamepad with the pre-insertion handle 1, and further control of the target object in the target application through the new gamepad is achieved, and the problem that the newly-accessed target input device cannot control the target object in the target application due to the removed target input device is avoided.
In some implementations, after the terminal device establishes a connection between each virtual input device that is pre-inserted and the target application based on the total number of input devices, if the terminal device can determine whether the target input device exists in each external device connected to the terminal device based on the specified device type.
It should be noted that, in the embodiment of the present application, the specified device type includes, but is not limited to, a joystick, a fitness ring, VR glasses, and other types of devices.
For example, assuming that the designated device type is a game controller, the terminal device, according to the designated device type, from each connected external device: and in the keyboard, the remote controller and the game handle, determining the target input equipment as the game handle.
According to the method and the device, the terminal device can determine the target input device from the connected external device through the specified device type, the device which is not used for controlling the target application, such as a television remote controller and an earphone, is prevented from being bound with the virtual input device, the possibility of mistaken binding is reduced, and therefore the control effect is improved.
In some embodiments, after accessing at least one target input device, the terminal device may also access a new target input device, and implement object control through the new target input device, specifically, in the running process of the target application, when the terminal device determines that the new target input device is accessed, the new target input device is bound with the corresponding virtual input device, so as to obtain a device binding relationship between the new target input device and the virtual input device. Further, the terminal device responds to an input event triggered by the new target input device, and controls a target object in the target application through the virtual input device bound to the new target input device.
Specifically, after the new target input device is accessed, if the input of the target input device is greater than the total number of the input devices, the terminal device binds the new target input device with the corresponding virtual input device according to the virtual input device binding threshold value.
For example, referring to fig. 7a, it is assumed that the virtual input device binding threshold value is 2, the gamepad 1 and the gamepad 3 are both bound to the pre-plug-in gamepad 1, the gamepad 2 is bound to the pre-plug-in gamepad 2, and the gamepad 4 is bound to the pre-plug-in gamepad 2 when the terminal device determines that the gamepad 4 is connected during the running process of the target application.
After the new target input equipment is accessed, if the number of the target input equipment is less than the total number of the input equipment, the terminal equipment directly binds the new target input equipment with the corresponding virtual input equipment.
For example, referring to fig. 7b, assuming that the game pad 1 is bound to the pre-insertion pad 1 and the pre-insertion pad 2 is not bound to the game pad, when the terminal device determines that the game pad 4 is accessed during the running of the target application, the game pad 4 is bound to the pre-insertion pad 2.
It should be noted that, since the binding between the new target input device and the virtual input device is the same as the binding process between each target input device and the corresponding virtual input device, it is not described herein again.
The present application is described below with reference to several specific examples.
The application scene one: the terminal equipment is a television, the target application is a single intelligence game, and the target input equipment is a game handle.
And if the television determines that the target application is started after the user starts the target application, acquiring the total number of input devices supported by the intelligence game, wherein the total number of the input devices is 1.
The television establishes a connection between the pre-plugged 1 pre-plugged handle and the target application based on the total number of input devices, wherein the pre-plugged handle is the pre-plugged handle 1, and the device identifications of the pre-plugged handle 1 are respectively ID 1.
If the television determines that the game handle 1 is accessed when the target application is started, the game handle 1 is bound with the pre-insertion handle 1.
Referring to fig. 2b, a user presses a steering wheel 21 in a game pad 1 to move a focus in a television to a card Q, then presses an X key in the game pad 1, the X key is used for confirming card playing, the game pad 1 inputs control information 1, the control information 1 represents that the user plays the card as Q, and the television responds to an input event triggered by the game pad and sends a device identification ID1 of the game pad 1 and the control information 1 to a server so that the server controls card playing of the user in a target application according to the control information 1.
Application scenario two: the terminal equipment is a television, the target application is a double shooting game, and the target input equipment is a game gun.
And if the television determines that the target application is started after the user starts the target application, acquiring the total number of input devices supported by the intelligence game, wherein the total number of the input devices is 2.
The television establishes connection between 2 pre-inserted game guns and a target application based on the total number of input devices, wherein 2 pre-inserted handles are a pre-inserted game gun 1 and a pre-inserted game gun 2, and the device identifications of the pre-inserted game gun 1 and the pre-inserted game gun 2 are ID1 and ID2 respectively.
If the television determines that the game handle 1 is accessed when the target application is started, the game handle 1 is bound with the pre-inserted game gun 1.
The user inputs control information 2 through the game gun 1, the control information 2 represents that the user selects the game character A, and the television responds to an input event triggered by the game gun 1 and sends the device identification ID1 and the control information 2 to the server so that the server controls the game character in the target application according to the control information 2.
And in the running process of the target application, the television determines that the game gun 2 is accessed, and binds the game gun 2 with the pre-inserted game gun 2.
The user inputs control information 3 through the game gun 2, the control information 3 representing the user selection of the game character B, and the television transmits the device identification ID2 and the control information 3 to the server in response to an input event triggered by the game gun 2, so that the server controls the game character in the target application according to the control information 3.
Application scenario three: the terminal equipment is a television, the target application is a multi-player racing game, and the target input equipment is a game steering wheel.
And if the television determines that the target application is started after the user starts the target application, acquiring the total number of input devices supported by the intelligence game, wherein the total number of the input devices is 3.
The television establishes connection between 3 pre-inserted steering wheels and a target application based on the total number of input devices, wherein the 3 pre-inserted handles are a pre-inserted steering wheel 1, a pre-inserted steering wheel 2 and a pre-inserted steering wheel 3, and the device identifications of the pre-inserted steering wheel 1, the pre-inserted steering wheel 2 and the pre-inserted steering wheel 3 are ID1, ID2 and ID3 respectively.
When the target application is started, the user does not insert any game steering wheel, but the game steering wheel 1, the game steering wheel 2 and the game steering wheel 3 are connected into a television in the running process of the game. When the television determines that the game steering wheel 1, the game steering wheel 2 and the game steering wheel 3 are accessed, the game steering wheel 1 is bound with the pre-inserted steering wheel 1, the game steering wheel 2 is bound with the pre-inserted steering wheel 2, and the game steering wheel 3 is bound with the pre-inserted steering wheel 3.
The user A inputs control information 4 through the game steering wheel 1, the control information 4 represents that the racing car A is controlled to accelerate, and the television responds to an input event triggered by the game steering wheel 1 and sends the equipment identification ID1 and the control information 4 to the server so that the server controls the racing car A in a target application to accelerate according to the control information 4.
User B inputs control information 5 through the game steering wheel 2, the control information 5 represents that the racing car B is controlled to turn left, and the television responds to an input event triggered by the game steering wheel 2 and sends the equipment identification ID2 and the control information 5 to the server, so that the server controls the racing car B to turn left in a target application according to the control information 4.
User C enters control information 6 via the game steering wheel 3, control information 6 being indicative of controlling racing car C to slow down, the television being responsive to an input event triggered by the game steering wheel 3 to send device identification ID3 and control information 6 to the server to cause the server to control racing car C in the target application to accelerate in accordance with control information 6.
Based on the same inventive concept, the embodiment of the application provides an object control device. As shown in fig. 8, which is a schematic structural diagram of the object control apparatus 800, the object control apparatus may include:
an obtaining unit 801, configured to determine that, when a target application is started, a total number of input devices supported by the target application is obtained, where the target application does not support hot plug of an input device;
the pre-insertion unit 802 is configured to obtain a total number of input devices supported by a target application when the target application is determined to be started, where the target application does not support hot plug of the input devices;
a binding unit 803, configured to, when determining that at least one target input device is accessed, respectively bind the at least one target input device with a corresponding virtual input device, so as to obtain a device binding relationship;
a controlling unit 804, configured to, in response to an input event triggered by the at least one target input device, control a target object in the target application through a virtual input device bound to each of the at least one target input device based on the device binding relationship.
In some embodiments, when establishing a connection between each pre-plugged virtual input device and the target application based on the total number of input devices, the pre-plugging unit 802 is specifically configured to:
respectively determining the device information corresponding to each pre-inserted virtual input device based on the total number of the input devices;
sending the obtained equipment information to a server, and indicating the server to establish connection between each virtual input equipment which is inserted in advance and the target application;
and when a device successful connection response from the server is received, determining that connection is established between each pre-inserted virtual input device and the target application.
In some embodiments, when the target object in the target application is controlled through the virtual input device bound to each of the at least one target input device based on the device binding relationship, the control unit 804 is specifically configured to:
acquiring control information input by the at least one target input device;
and sending each piece of control information to the server through the virtual input device bound to each target input device, so that the server controls a target object in the target application according to each piece of control information.
In some embodiments, the control information input by the at least one target input device is sent to the server through the virtual input device bound to the at least one target input device, and the control unit 804 is specifically configured to:
for each of the at least one target input device, performing the following:
acquiring a device identifier of a virtual input device bound by a target input device;
and sending the equipment identifier and the control information input by the target input equipment to the server.
In some embodiments, when the at least one target input device is respectively bound to the virtual input devices to obtain a device binding relationship, the binding unit 803 is specifically configured to:
if the total number of the at least one target input device is not greater than the total number of the input devices, the at least one target input device is respectively bound with the virtual input devices one by one to obtain the device binding relationship;
and if the total number of the at least one target input device is larger than the total number of the input devices, sequentially binding the at least one target input device with each virtual input device according to the access sequence of the at least one target input device to obtain the device binding relationship.
In some embodiments, the binding unit 803 is further configured to release the binding relationship between any one of the at least one target input device and the corresponding virtual input device when it is determined that the any one of the at least one target input device is pulled out.
In some embodiments, the binding unit 803 is further configured to, when determining that a new target input device is accessed, bind the new target input device with the corresponding virtual input device;
the control unit 804 is further configured to control a target object in the target application through the virtual input device bound to the new target input device in response to an input event triggered by the new target input device.
For convenience of description, the above parts are separately described as modules (or units) according to functional division. Of course, the functionality of the various modules (or units) may be implemented in the same one or more pieces of software or hardware when the application is implemented.
With regard to the apparatus in the above embodiment, the specific manner in which each unit executes the request has been described in detail in the embodiment related to the method, and will not be elaborated here.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
Having described the object control method and apparatus of the exemplary embodiments of the present application, an electronic device according to another exemplary embodiment of the present application is next described.
Fig. 9 is a block diagram illustrating an electronic device 900 according to an example embodiment, the apparatus comprising:
a processor 910;
a memory 920 for storing instructions executable by the processor 910;
wherein, the processor 910 is configured to execute instructions to implement the object control method in the embodiment of the present application, such as the steps shown in fig. 3 or fig. 4.
In an exemplary embodiment, a storage medium including operations, such as the memory 920 including operations, which are executable by the processor 910 of the electronic device 900 to perform the above-described method is also provided. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, the non-transitory computer readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a portable Compact disc Read Only Memory (CD-ROM), a magnetic tape, a floppy Disk, an optical data storage device, and the like.
Based on the same inventive concept, the present application also provides a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the object control method provided in the various alternative implementations in the above embodiments.
In some possible embodiments, the aspects of the object control method provided in the present application may also be implemented in the form of a program product including a computer program for causing a computer device to perform the steps in the object control method according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device, for example, the computer device may perform the steps as shown in fig. 3 or fig. 4.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product of the embodiments of the present application may be in the form of a CD-ROM and include program code and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with a command execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with a command execution system, apparatus, or device. While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (15)

1. An object control method is applied to a terminal device, and comprises the following steps:
when the target application is determined to be started, acquiring the total number of input devices supported by the target application, wherein the target application does not support hot plug of the input devices;
establishing connections between each pre-plugged virtual input device and the target application based on the total number of input devices;
when determining that at least one target input device is accessed, respectively binding the at least one target input device with the corresponding virtual input device to obtain a device binding relationship;
and responding to an input event triggered by the at least one target input device, and controlling a target object in the target application through the virtual input device respectively bound by the at least one target input device based on the device binding relationship.
2. The method of claim 1, wherein establishing a connection between each pre-plugged virtual input device and the target application based on the total number of input devices comprises:
respectively determining the device information corresponding to each virtual input device which is pre-inserted based on the total number of the input devices;
sending the obtained equipment information to a server, and indicating the server to establish connection between each virtual input equipment which is inserted in advance and the target application;
and when a device successful connection response from the server is received, determining that connection is established between each pre-inserted virtual input device and the target application.
3. The method of claim 1, wherein the controlling the target object in the target application through the virtual input device bound to each of the at least one target input device based on the device binding relationship comprises:
acquiring control information input by the at least one target input device;
and sending each piece of control information to the server through the virtual input device bound to each target input device, so that the server controls a target object in the target application according to each piece of control information.
4. The method as claimed in claim 3, wherein the sending the control information inputted by the at least one target input device to the server through the virtual input device bound to the at least one target input device comprises:
for each of the at least one target input device, performing the following:
acquiring a device identifier of a virtual input device bound by a target input device;
and sending the device identification and the control information input by the target input device to the server.
5. The method of any of claims 1-4, wherein said binding the at least one target input device to the respective virtual input devices to obtain a device binding relationship comprises:
if the total number of the at least one target input device is not greater than the total number of the input devices, the at least one target input device is respectively bound with the virtual input devices one by one to obtain the device binding relationship;
and if the total number of the at least one target input device is larger than the total number of the input devices, sequentially binding the at least one target input device with each virtual input device according to the access sequence of the at least one target input device to obtain the device binding relationship.
6. The method of any one of claims 1-4, further comprising:
and when any target input device in the at least one target input device is determined to be pulled out, removing the binding relationship between the any target input device and the corresponding virtual input device.
7. The method of any one of claims 1-4, further comprising:
when determining that a new target input device is accessed, binding the new target input device with a corresponding virtual input device;
and responding to an input event triggered by the new target input device, and controlling a target object in the target application through a virtual input device bound with the new target input device.
8. An object control apparatus, characterized by comprising:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring the total number of input devices supported by a target application when the target application is started, and the target application does not support hot plug of the input devices;
the device comprises a pre-insertion unit, a pre-insertion unit and a pre-insertion unit, wherein the pre-insertion unit is used for acquiring the total number of input devices supported by a target application when the target application is started, and the target application does not support hot plug of the input devices;
the binding unit is used for binding at least one target input device with the corresponding virtual input device respectively to obtain a device binding relation when the target input device is determined to be accessed;
and the control unit is used for responding to an input event triggered by the at least one target input device, and controlling a target object in the target application through the virtual input device respectively bound by the at least one target input device based on the device binding relationship.
9. The apparatus of claim 8, wherein the pre-insertion unit, when establishing connections between pre-inserted virtual input devices and the target application based on the total number of input devices, is specifically to:
respectively determining the device information corresponding to each virtual input device which is pre-inserted based on the total number of the input devices;
sending the obtained equipment information to a server, and indicating the server to establish connection between each virtual input equipment which is inserted in advance and the target application;
and when a device successful connection response from the server is received, determining that connection is established between each pre-inserted virtual input device and the target application.
10. The apparatus of claim 8, wherein, when controlling the target object in the target application through the virtual input device bound to each of the at least one target input device based on the device binding relationship, the control unit is specifically configured to:
acquiring control information input by the at least one target input device;
and sending each piece of control information to the server through the virtual input device bound to each target input device, so that the server controls a target object in the target application according to each piece of control information.
11. The apparatus as claimed in claim 10, wherein the control information input by the at least one target input device is sent to the server through the virtual input device bound to the at least one target input device, and the control unit is specifically configured to:
for each of the at least one target input device, performing the following:
acquiring a device identifier of a virtual input device bound by a target input device;
and sending the device identification and the control information input by the target input device to the server.
12. The apparatus according to any one of claims 8 to 11, wherein, when the at least one target input device is respectively bound to the respective virtual input devices, and a device binding relationship is obtained, the binding unit is specifically configured to:
if the total number of the at least one target input device is not more than the total number of the input devices, the at least one target input device is respectively bound with the virtual input devices one by one to obtain the device binding relationship;
and if the total number of the at least one target input device is larger than the total number of the input devices, sequentially binding the at least one target input device with each virtual input device according to the access sequence of the at least one target input device to obtain the device binding relationship.
13. An electronic device, comprising a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 7.
14. A computer-readable storage medium, characterized in that it comprises a computer program for causing an electronic device to carry out the steps of the method according to any one of claims 1 to 7, when said computer program is run on said electronic device.
15. A computer program product, characterized in that it comprises a computer program, which is stored in a computer-readable storage medium, from which a processor of an electronic device reads and executes the computer program, causing the electronic device to perform the steps of the method according to any one of claims 1 to 7.
CN202111366113.XA 2021-11-18 2021-11-18 Object control method and related device Active CN114090085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111366113.XA CN114090085B (en) 2021-11-18 2021-11-18 Object control method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111366113.XA CN114090085B (en) 2021-11-18 2021-11-18 Object control method and related device

Publications (2)

Publication Number Publication Date
CN114090085A true CN114090085A (en) 2022-02-25
CN114090085B CN114090085B (en) 2023-06-30

Family

ID=80302072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111366113.XA Active CN114090085B (en) 2021-11-18 2021-11-18 Object control method and related device

Country Status (1)

Country Link
CN (1) CN114090085B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116328290A (en) * 2023-05-22 2023-06-27 安徽海马云科技股份有限公司 Method and device for realizing online fight of cloud game, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150254093A1 (en) * 2014-03-05 2015-09-10 Via Technologies, Inc. System and method for assigning virtual functions and management host thereof
US20180246838A1 (en) * 2015-09-03 2018-08-30 Red Hat Israel, Ltd. Asynchronous mapping of hot-plugged device associated with virtual machine
CN111467791A (en) * 2020-04-13 2020-07-31 西安万像电子科技有限公司 Target object control method, device and system
CN111552402A (en) * 2020-04-22 2020-08-18 湖南安元信息科技有限公司 Mapping method of multi-display touch component system, terminal and readable storage medium
CN112316417A (en) * 2020-11-05 2021-02-05 腾讯科技(深圳)有限公司 Control equipment connection method, device, equipment and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150254093A1 (en) * 2014-03-05 2015-09-10 Via Technologies, Inc. System and method for assigning virtual functions and management host thereof
US20180246838A1 (en) * 2015-09-03 2018-08-30 Red Hat Israel, Ltd. Asynchronous mapping of hot-plugged device associated with virtual machine
CN111467791A (en) * 2020-04-13 2020-07-31 西安万像电子科技有限公司 Target object control method, device and system
CN111552402A (en) * 2020-04-22 2020-08-18 湖南安元信息科技有限公司 Mapping method of multi-display touch component system, terminal and readable storage medium
CN112316417A (en) * 2020-11-05 2021-02-05 腾讯科技(深圳)有限公司 Control equipment connection method, device, equipment and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
TIANZHI FANG等: ""Distributed Control and Redundant Technique to Achieve Superior Reliability for Fully Modular Input-Series-Output-Parallel Inverter System"", 《IEEE TRANSACTIONS ON POWER ELECTRONICS》, vol. 32, no. 1, pages 723 - 735, XP011623347, DOI: 10.1109/TPEL.2016.2530809 *
夏珍珍: ""支持多种设备并存的MiniGUI输入引擎及驱动程序设计"", 《中国优秀硕士学位论文全文数据库•信息科技辑》, vol. 2014, no. 6, pages 1 - 67 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116328290A (en) * 2023-05-22 2023-06-27 安徽海马云科技股份有限公司 Method and device for realizing online fight of cloud game, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114090085B (en) 2023-06-30

Similar Documents

Publication Publication Date Title
JP7066784B2 (en) Game state related to cloud gaming Save, transfer and resume
CN108568109B (en) Game control method, device and storage medium
JP6376638B2 (en) Server computer and game program related to game
WO2019141253A1 (en) Object attribute adjustment method and device, storage medium and electronic device
CN108854055A (en) Virtualizing graphics processing method and system based on cloud for remote display
JP5947876B2 (en) Information processing system, information processing method, information processing program, computer-readable recording medium recording the information processing program, and information processing apparatus
CN111214828A (en) Game running method, device, equipment, medium and cloud game platform
CN111880845A (en) Method, system and device for controlling target application
CN103813202A (en) Smart television with interactive function, handheld device with interactive function and interactive method of smart television and handheld device
WO2021159825A1 (en) Live-streaming interaction method and system
CN113350779A (en) Game virtual character action control method and device, storage medium and electronic equipment
CN112316417B (en) Control equipment connection method, device, equipment and computer readable storage medium
CN112138381A (en) Game data processing method and device, storage medium and electronic device
CN114090085B (en) Object control method and related device
CN110855736B (en) File transfer method, file transfer apparatus, and computer-readable storage medium
US20220152505A1 (en) Virtual object control method and apparatus, storage medium, and electronic device
CN115794139A (en) Mirror image data processing method, device, equipment and medium
CN111672132A (en) Game control method, game control device, server, and storage medium
CN114189542A (en) Interaction control method and device
CN113274731B (en) Virtual character selection sequence adjustment method, device, equipment and storage medium
CN114210071A (en) Game live broadcast display method and device, storage medium and electronic equipment
CN116747514A (en) Game scene preloading method, game scene preloading device, medium and equipment
WO2024051148A1 (en) Cloud game control method and apparatus, electronic device, and storage medium
WO2024045584A1 (en) Data processing method and apparatus based on cloud game, and electronic device and storage medium
EP3630319B1 (en) Virtual controller for game injection

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