A method and device for dynamically adding a human-computer interface device applied to cloud gaming
By configuring interfaces and changing logic in the hook virtual environment of the cloud server, the problem of different clients in cloud games sharing driver information and being unable to independently add human-machine interface devices was solved. This enabled the independent selection and addition of virtual human-machine interface devices, improving user experience and performance.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-02
- Publication Date
- 2026-03-24
AI Technical Summary
In existing cloud gaming, when multiple different cloud gaming programs share the driver information of virtual human-computer interface devices, it is impossible to independently select and add human-computer interface devices, which affects the user experience.
By configuring a hook virtual environment in the cloud server, the system receives requests from clients to add virtual human-machine interface devices, and configures the interface and change logic in the corresponding hook virtual environment to enable different clients to independently select and add virtual human-machine interface devices.
This allows different cloud gaming clients to independently select and add virtual human-computer interface devices, eliminating their dependence on server-side drivers and improving application performance and user experience.
Smart Images

Figure CN115269121B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of cloud gaming, specifically to a method and apparatus for dynamically adding human-computer interface devices for cloud gaming. Background Technology
[0002] In existing cloud gaming solutions for dynamically adding virtual human-computer interface devices, the server will choose to change the driver information of the virtual human-computer interface device based on the client's signals to achieve dynamic addition of the virtual human-computer interface device.
[0003] Currently, when multiple different cloud gaming programs share the driver information for a virtual human-computer interface device, these programs cannot independently choose to add their own human-computer interface devices; instead, they can only choose to add the same human-computer interface device uniformly. This affects the user experience.
[0004] Regarding the aforementioned technologies, the applicant believes that different cloud gaming clients sharing the same driver information cannot independently add human-computer interface devices. Summary of the Invention
[0005] To address the issue that different cloud gaming clients sharing the same driver information cannot independently add human-computer interface devices, this application provides a method and apparatus for dynamically adding human-computer interface devices in cloud gaming.
[0006] The first aspect of this application provides a method for dynamically adding human-computer interface devices for cloud gaming.
[0007] A method for dynamically adding human-computer interface devices for cloud gaming, applied in a cloud server, optionally including:
[0008] Receive the request from the first client to add a virtual human-computer interface device;
[0009] The request to add a virtual human-computer interface device is matched to the hook virtual environment corresponding to the first client;
[0010] In the hook virtual environment corresponding to the first client, configure the interface for the cloud server to receive request instructions from the first client;
[0011] Based on the information received from the interface, the logic of the cloud gaming application in the hook virtual environment corresponding to the first client is modified to add a virtual human-computer interface device.
[0012] By adopting the above technical solution, when a first client wants to add a virtual human-computer interface (HMI) device, the cloud server receives the request from the first client. Subsequently, the cloud server forwards the received request to the hook virtual environment corresponding to the first client. An interface for receiving the request from the first client is configured in the hook virtual environment corresponding to the first client. Based on the information received from the interface, the logic of the cloud gaming application in the hook virtual environment corresponding to the first client is modified to add the virtual HMI device. By sending the client's request to add a virtual HMI device to the client's corresponding hook virtual environment, it is beneficial for different clients to independently choose to add virtual HMI devices.
[0013] Optionally, the steps prior to the cloud server receiving the request from the first client to add a virtual human-machine interface device specifically include:
[0014] Configure the cloud server with the hook virtual environment corresponding to the first client;
[0015] The cloud gaming application in the hook virtual environment is initialized.
[0016] By adopting the above technical solution, a hook virtual environment corresponding to the cloud game running on the first client is configured in the cloud server, and the cloud game application in the hook virtual environment is initialized. This facilitates the subsequent independent addition of virtual human-computer interface devices to different clients.
[0017] Optionally, the step before the cloud server matches the request to add a virtual human-machine interface device to the hook virtual environment corresponding to the first client specifically includes:
[0018] The cloud server determines the hook virtual environment corresponding to the first client.
[0019] By adopting the above technical solution, the cloud server will receive a request from the first client to add a virtual human-machine interface device. Based on the human-machine interface device management module, it will determine the hook virtual environment corresponding to the first client, which helps to break away from the dependence on the virtual human-machine interface device driver on the server side.
[0020] Optionally, the cloud server configures an interface for receiving request instructions from the first client within the hook virtual environment corresponding to the first client; specifically including:
[0021] The cloud server is configured with an interface for the first client's request command to obtain the data transmission address of the first client.
[0022] By adopting the above technical solution and setting an interface to connect to the data transmission address of the request sent by the first client, it is beneficial to enable multiple processes to obtain the virtual human-machine interface devices they need to add.
[0023] Optionally, the method further includes:
[0024] The cloud server establishes a data cache area in the hook virtual environment to store the data of the request to add a virtual human-machine interface device sent by the first client.
[0025] By adopting the above technical solution, a data cache area is established in the hook virtual environment corresponding to the client to store the data of the client's request to add virtual human-machine interface devices, which is beneficial to improving application performance and user experience.
[0026] Optionally, the method further includes:
[0027] The cloud server obtains the identification data of the virtual human-computer interface device in the cloud gaming application to complete the identification of the virtual human-computer interface device.
[0028] By adopting the above technical solution, when the cloud gaming application is changed, the identification data of the device can be obtained in the cloud gaming application of the hooked virtual environment, which is beneficial to complete the identification of the virtual human-computer interface device.
[0029] Optionally, the method may further include:
[0030] Once the human-computer interface device is added, the cloud gaming application is released so that the first client can use it the next time it adds the virtual human-computer interface device.
[0031] By adopting the above technical solution, after the human-computer interface device is added in the hook virtual environment, the corresponding cloud gaming application is released, which is beneficial for the client to use when adding virtual human-computer interface devices next time.
[0032] Optionally, the cloud server, while receiving the request from the first client to add a virtual human-machine interface device, also includes:
[0033] The cloud server receives a request from the second client to add a virtual human-machine interface device;
[0034] The request to add a virtual human-computer interface device is matched to the hook virtual environment corresponding to the second client;
[0035] In the hook virtual environment corresponding to the second client, configure the interface for the cloud server to receive request instructions from the second client;
[0036] The logic of the cloud gaming application in the hook virtual environment corresponding to the second client is modified according to the interface to add a virtual human-computer interface device.
[0037] By adopting the above technical solution, when the cloud server receives a request to add a virtual human-machine interface device from the first client, it also receives a request to add a virtual human-machine interface device from the second client. At this time, the cloud server sends the received requests to the hook virtual environments corresponding to the first client and the second client, respectively.
[0038] Configure an interface in the hook virtual environment corresponding to the second client to receive requests sent by the second client. Modify the logic of the cloud gaming application in the hook virtual environment corresponding to the second client based on the information received from the interface, in order to add a virtual human-computer interface device. By sending requests to add virtual human-computer interface devices from different clients to their respective hook virtual environments, it is beneficial for different clients to independently select and add virtual human-computer interface devices.
[0039] A second aspect of this application provides an apparatus for dynamically adding human-computer interface devices for cloud gaming.
[0040] A device for dynamically adding human-computer interface devices for cloud gaming, wherein the cloud server includes an acquisition module, a processing module and a sending module;
[0041] The acquisition module is used to receive a request from the first client to add a virtual human-computer interface device;
[0042] The processing module is used to configure an interface for the cloud server to receive request instructions from the first client in the hook virtual environment corresponding to the first client, and to change the logic of the cloud gaming application in the hook virtual environment corresponding to the first client according to the interface.
[0043] The sending module is used to match the request to add a virtual human-machine interface device to the hook virtual environment corresponding to the first client.
[0044] By adopting the above technical solution, the cloud server receives a request from the first client to add a virtual human-computer interface device via the acquisition module, and sends the received request to the hook virtual environment corresponding to the first client via the sending module. The processing module configures an interface in the hook virtual environment corresponding to the first client to receive the request sent by the first client. Based on the information received from the interface, it modifies the logic of the cloud gaming application in the hook virtual environment corresponding to the first client to add the virtual human-computer interface device. The combined action of the acquisition module, processing module, and sending module allows different clients to independently select and add virtual human-computer interface devices.
[0045] A third aspect of this application provides an electronic device, including a processor, a memory, and a computer program;
[0046] The memory is used to store instructions;
[0047] The processor is used to execute instructions stored in the memory;
[0048] The computer program is stored in the memory and configured by the processor to execute a method for dynamically adding human-computer interface devices for cloud gaming as described in any of the above descriptions.
[0049] In summary, this application includes the following beneficial technical effects:
[0050] 1. Based on the hook method, when the cloud server receives requests from different clients to add virtual human-machine interface devices, it obtains information about the virtual human-machine interface devices by using the interfaces configured in the corresponding hook virtual environment of different clients to complete the device identification. This is beneficial for enabling different clients to independently select and dynamically add virtual human-machine interface devices.
[0051] 2. By adding and recognizing virtual human-computer interface devices in the hook virtual environment, it is beneficial to break away from the dependence on the virtual human-computer interface device driver on the server side. Attached Figure Description
[0052] Figure 1 This is a scenario diagram of dynamically adding human-computer interface devices in cloud gaming, according to an embodiment of this application.
[0053] Figure 2 This is a schematic diagram of a process for dynamically adding human-computer interface devices in cloud gaming, according to an embodiment of this application.
[0054] Figure 3 This is a flowchart illustrating a method for dynamically adding human-computer interface devices in cloud gaming, according to an embodiment of this application.
[0055] Figure 4 This is a schematic diagram of a device module for dynamically adding human-computer interface devices in cloud gaming, according to an embodiment of this application.
[0056] Figure 5 This is a schematic diagram of an electronic device module according to an embodiment of this application.
[0057] Explanation of reference numerals in the attached diagram: 1. Acquisition module; 2. Processing module; 3. Transmission module; 51. Processor; 52. Communication bus; 53. User interface; 54. Network interface; 55. Memory; 56. Computer program. Detailed Implementation
[0058] To enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0059] In the description of the embodiments of this application, words such as "illustrative," "for example," or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "illustrative," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of words such as "illustrative," "for example," or "for instance" is intended to present the relevant concepts in a concrete manner. In the description of the embodiments of this application, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. The terms "comprising," "including," "having," and variations thereof all mean "including but not limited to," unless otherwise specifically emphasized.
[0060] Explanation of proper nouns:
[0061] Human-computer interface (HCI) refers to the interface of input / output devices that enable communication and information exchange between humans and computers. HCI devices include keyboards, gamepads, monitors, printers, and mice.
[0062] This application discloses a method for dynamically adding human-computer interface devices for cloud gaming.
[0063] refer to Figure 1 , Figure 2 and Figure 3 A method for dynamically adding human-computer interface devices for cloud gaming includes steps S100 to S500.
[0064] Step S100: Configure the hook virtual environment corresponding to client A on the cloud server, and perform initialization operations on the cloud gaming application in the hook virtual environment.
[0065] Specifically, when client A successfully connects to the cloud server and runs the cloud game, in this embodiment, user A logs into cloud game X through client A. The login operation involves user A using their account and password. The cloud server configures the hook virtual environment corresponding to client A. After the cloud server completes the configuration of the hook virtual environment corresponding to client A, it initializes the application of cloud game X within the hook virtual environment.
[0066] Step S200: The cloud server receives a request from client A to add a virtual human-machine interface device.
[0067] Specifically, when user A wants to add a human-machine interface device, specifically a game controller in this embodiment, user A inserts the game controller into client A, and the cloud server receives the request to add the game controller. Subsequently, the cloud server receives the request to add the game controller sent by user A from client A.
[0068] Step S300: The cloud server will add a virtual human-machine interface device request and match it to the hook virtual environment corresponding to client A.
[0069] Step S300 also includes steps S310 to S320.
[0070] Step S310: The cloud server obtains the hook virtual environment corresponding to client A as determined by the server-side human-machine interface device management module.
[0071] Step S330: Match the request to add a virtual human-machine interface device to the hook virtual environment corresponding to client A.
[0072] Specifically, when user A inserts a game controller into client A, the cloud server receives a request from user A to add a game controller. In its server-side human-machine interface device management module, the cloud server determines the corresponding hook virtual environment for different clients. In this embodiment, the hook virtual environment corresponding to client A is determined in the server-side human-machine interface device management module. The request from client A to add a game controller is then sent to the hook virtual environment corresponding to client A, thus independently adding human-machine interface devices for different clients.
[0073] Step S400: In the hook virtual environment corresponding to client A, the cloud server configures an interface for receiving request commands from client A.
[0074] Specifically, the cloud server configures an interface in the hook virtual environment corresponding to client A to receive client A's request to add a game controller. Simultaneously, the configured interface is associated with the device running the program, thus sending client A's request to add a game controller to the cloud gaming application in the hook environment. The interface is also configured to specify its data transmission address.
[0075] Step S500: The cloud server modifies the logic of the cloud gaming application in the hook virtual environment corresponding to client A based on the information received by the interface, in order to add a virtual human-computer interface device.
[0076] Step S500 also includes steps S510 to S520.
[0077] Step S510: The cloud server obtains the identification data of the virtual human-computer interface device in the cloud gaming application to complete the identification of the virtual human-computer interface device.
[0078] Step S520: After the virtual human-computer interface device is added, release the cloud gaming application so that client A can use it the next time it adds a virtual human-computer interface device.
[0079] Specifically, based on the information received from the interface regarding adding a virtual game controller, the cloud gaming application corresponding to client A modifies its logic to add the virtual game controller. Simultaneously, the cloud server retrieves the virtual game controller's identification data from the cloud gaming application to complete the game controller recognition. Once the virtual game controller is added, the cloud gaming application is released so that client A can use it the next time it adds a game controller.
[0080] In another embodiment, when client A wants to add two virtual human-computer interface devices at the same time, which in this embodiment are a game controller and a keyboard, the cloud gaming system, based on the information received from the interface to add the virtual game controller and virtual keyboard, modifies the logic of the cloud gaming application corresponding to client A in the hook virtual environment corresponding to client A to add the virtual game controller and virtual keyboard.
[0081] A method for dynamically adding human-computer interface devices for cloud gaming also includes steps S600 to S900.
[0082] Step S600: At the same time, the cloud server receives the request to add a game controller from client A, and at the same time receives the request to add a game controller from client B.
[0083] Step S700: Match the request from client B to add a game controller to the corresponding hook virtual environment of client B.
[0084] Step S800: In the hook virtual environment corresponding to client B, configure the interface for the cloud server to receive request instructions from client B.
[0085] Step S900: Modify the logic of the cloud gaming application in the hook virtual environment corresponding to client B according to the interface to add a game controller.
[0086] Specifically, when user A successfully connects to the cloud server through client A and inserts a game controller into client A, simultaneously, client B also successfully connects to the cloud server through client A and inserts a game controller into client B. At this point, the cloud server sends the game controller addition requests from clients A and B to their respective hook virtual environments. An interface is configured within the hook virtual environment to receive these game controller addition requests from clients A and B. The logic of the cloud gaming applications within the hook virtual environments for clients A and B is modified according to these interfaces to complete the game controller addition operation separately. This process does not require modification of the program's own logic and does not rely on modifying the virtual human-machine interface device driver, further ensuring that each application obtains its own human-machine interface device, and that users' applications do not interfere with each other.
[0087] This application discloses a device for dynamically adding human-computer interface devices for cloud gaming.
[0088] refer to Figure 4 A device for dynamically adding human-computer interface devices for cloud gaming, wherein the cloud server includes an acquisition module 1, a processing module 2, and a sending module 3.
[0089] The acquisition module 1 receives the request to add a virtual human-machine interface device sent by the first client. The processing module 2 configures the interface for the cloud server to receive the request instruction from the first client in the hook virtual environment corresponding to the first client, and modifies the logic of the cloud gaming application in the hook virtual environment corresponding to the first client according to the interface. The sending module 3 matches the request to add a virtual human-machine interface device to the hook virtual environment corresponding to the first client.
[0090] In one embodiment, the processing module 2 is used to configure the hook virtual environment corresponding to the first client and to perform initialization operations on the cloud gaming application in the hook virtual environment.
[0091] In one embodiment, the processing module 2 is used to determine the hook virtual environment corresponding to the first client as determined by the human-machine interface device management module.
[0092] In one embodiment, the processing module 2 is used to configure the interface of the first client request instruction to obtain the data transmission address of the first client.
[0093] In one embodiment, the processing module 2 is used to establish a data cache in the hook virtual environment to store the data of the request to add a virtual human-machine interface device sent by the first client.
[0094] In one embodiment, the processing module 2 is used to obtain the identification data of the virtual human-computer interface device in the cloud gaming application in order to complete the identification of the virtual human-computer interface device.
[0095] In one embodiment, the processing module 2 is used to release the cloud gaming application after the addition of the human-machine interface device is completed, so that the first client can use it the next time it adds a virtual human-machine interface device.
[0096] In one embodiment, the acquisition module 1 is used to receive a request from the second client to add a virtual human-machine interface device. The sending module 3 is used to match the request to add a virtual human-machine interface device to the hook virtual environment corresponding to the second client. The processing module 2 is used to configure an interface in the hook virtual environment corresponding to the second client for the cloud server to receive the request instruction from the second client, and to modify the logic of the cloud gaming application in the hook virtual environment corresponding to the second client according to the interface, so as to add the virtual human-machine interface device.
[0097] The implementation principle of a device for dynamically adding human-machine interface devices in cloud gaming according to an embodiment of this application is as follows: When user A successfully connects to the cloud server through client A and successfully logs into cloud game X using their account and password on client A, the cloud server configures the hook virtual environment corresponding to client A through processing module 2, and simultaneously initializes the cloud gaming application in the hook virtual environment. After the user inserts a game controller, the cloud server receives a request from client A to add a virtual game controller through acquisition module 1. Subsequently, processing module 2 determines the hook virtual environment corresponding to client A and configures an interface in the hook virtual environment corresponding to client A to receive the request instruction from client A to add a game controller.
[0098] Processing module 2 also modifies the logic of the cloud gaming application in the hook virtual environment corresponding to client A based on the information received from the configured interface, in order to add a virtual game controller. By using different hook virtual environments for different clients, the addition of virtual human-machine interface devices can be achieved in the hook virtual environments corresponding to different clients. This is beneficial for different cloud gaming clients that share driver information to independently add human-machine interface devices.
[0099] It should be noted that the above embodiments of the apparatus are only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0100] refer to Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 5 As shown, the electronic device may include: at least one processor 51, at least one network interface 54, user interface 53, memory 55, and at least one communication bus 52.
[0101] The communication bus 52 is used to enable communication between these components.
[0102] The user interface 53 may include a display screen and a camera. Optionally, the user interface 53 may also include a standard wired interface and a wireless interface.
[0103] Among them, the network interface 54 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0104] The processor 51 may include one or more processing cores. The processor 51 connects to various parts of the server using various interfaces and lines, and performs various server functions and processes data by running or executing instructions, programs, code sets, or instruction sets stored in memory 55, and by calling data stored in memory 55. Optionally, the processor 51 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 51 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content required for display; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 51 and may be implemented as a separate chip.
[0105] The memory 55 may include random access memory (RAM) or read-only memory. Optionally, the memory 55 may include a non-transitory computer-readable storage medium. The memory 55 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 55 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 55 may also be at least one storage device located remotely from the aforementioned processor 51. Figure 5 As shown, the memory 55, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program for dynamically adding human-computer interface devices in cloud gaming.
[0106] exist Figure 5 In the electronic device shown, the user interface 53 is mainly used to provide an input interface for the user and to obtain the user input data; while the processor 51 can be used to call an application stored in the memory 55 that describes a method for dynamically adding human-computer interface devices for cloud gaming. When executed by one or more processors 51, the electronic device performs one or more of the methods described in the above embodiments.
[0107] Those skilled in the art will clearly understand that the technical solutions of this application can be implemented using software and / or hardware. In this specification, "unit" and "module" refer to software and / or hardware capable of independently performing or cooperating with other components to perform specific functions. Hardware may include, for example, a Field-Programmable Gate Array (FPGA), an Integrated Circuit (IC), etc.
[0108] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0109] In the above embodiments, the descriptions of each embodiment have their own emphasis. Parts not described in detail in a certain embodiment can be referred to in the relevant descriptions of other embodiments. It should be understood that the disclosed apparatus can be implemented in other ways in the several embodiments provided in this application. For example, the apparatus embodiments described above are merely illustrative; for example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0110] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0111] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0112] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0113] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0114] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of other embodiments of this disclosure upon considering the specification and embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described herein. The specification and embodiments are considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A method for dynamically adding human-computer interface devices for cloud gaming, characterized in that, Applied to cloud servers, including: Configure the hook virtual environment corresponding to the first client; The cloud gaming application in the hooked virtual environment is initialized. Receive the request from the first client to add a virtual human-machine interface device; The request to add a virtual human-computer interface device is matched to the hook virtual environment corresponding to the first client; In the hook virtual environment corresponding to the first client, configure the interface for the cloud server to receive request instructions from the first client; Based on the information received by the interface, the logic of the cloud gaming application in the hook virtual environment corresponding to the first client is modified to add a virtual human-computer interface device. The cloud server, while receiving the request from the first client to add a virtual human-machine interface device, also includes: The cloud server receives a request from the second client to add a virtual human-machine interface device; The request to add a virtual human-computer interface device is matched to the hook virtual environment corresponding to the second client; In the hook virtual environment corresponding to the second client, configure the interface for the cloud server to receive request instructions from the second client; The logic of the cloud gaming application in the hook virtual environment corresponding to the second client is modified according to the interface to add a virtual human-computer interface device.
2. The method for dynamically adding human-computer interface devices in cloud gaming according to claim 1, characterized in that, The steps before the cloud server matches the request to add a virtual human-machine interface device to the hook virtual environment corresponding to the first client specifically include: The cloud server determines the hook virtual environment corresponding to the first client.
3. The method for dynamically adding human-computer interface devices in cloud gaming according to claim 1, characterized in that, The cloud server is configured in the hook virtual environment corresponding to the first client to receive the request instructions from the first client; specifically including: The cloud server is configured with an interface for the first client's request command to obtain the data transmission address of the first client.
4. The method for dynamically adding human-computer interface devices in cloud gaming according to claim 1, characterized in that, The method further includes: The cloud server establishes a data cache area in the hook virtual environment to store the data of the request to add a virtual human-machine interface device sent by the first client.
5. The method for dynamically adding human-computer interface devices for cloud gaming according to claim 1, characterized in that, The method further includes: The cloud server obtains the identification data of the virtual human-computer interface device in the cloud gaming application to complete the identification of the virtual human-computer interface device.
6. A method for dynamically adding human-computer interface devices for cloud gaming according to claim 1, characterized in that, The method further includes: Once the human-computer interface device is added, the cloud gaming application is released so that the first client can use it the next time it adds the virtual human-computer interface device.
7. A device for dynamically adding human-computer interface devices for cloud gaming, characterized in that, The cloud server includes an acquisition module (1), a processing module (2), and a sending module (3); The acquisition module (1) is used to receive a request from the first client to add a virtual human-computer interface device; The processing module (2) is used to configure the hook virtual environment corresponding to the first client, perform initialization operations on the cloud gaming application in the hook virtual environment, configure the interface for the cloud server to receive the request instruction from the first client in the hook virtual environment corresponding to the first client, and change the logic of the cloud gaming application in the hook virtual environment corresponding to the first client according to the interface. The sending module (3) is used to match the request to add a virtual human-machine interface device to the hook virtual environment corresponding to the first client; The acquisition module (1) is also used to receive a request from the second client to add a virtual human-computer interface device; The sending module (3) is also used to match the request to add a virtual human-machine interface device to the hook virtual environment corresponding to the second client; The processing module (2) is also used to configure an interface for the cloud server to receive request instructions from the second client in the hook virtual environment corresponding to the second client; and to change the logic of the cloud gaming application in the hook virtual environment corresponding to the second client according to the interface, so as to add a virtual human-computer interface device.
8. An electronic device, characterized in that, Includes a processor (51), memory (55), and computer programs (56); The memory (55) is used to store instructions; The processor (51) is used to execute instructions stored in the memory (55); The computer program (56) is stored in the memory (55) and configured to be executed by the processor (51) as described in any one of claims 1 to 6, a method for dynamically adding human-computer interface devices for cloud gaming.
Citation Information
Patent Citations
Cloud game operation method and device, electronic equipment and computer readable medium
CN113893525A
Cloud game interaction method and device, terminal and processor
CN113908533A