Control event processing method and device
By assigning a virtual keyboard or virtual handle to cloud application users and sending manipulation events to cloud servers through these virtual input devices, the problem of not being able to support multiple keyboard users in the prior art is solved, and the distinction and support of keyboard input for multiple users is achieved.
Patent Information
- Application Number
- CN202510467427.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-15
- Publication Date
- 2025-05-13
- Estimated Expiration
- 2045-04-15
AI Technical Summary
Existing cloud application solutions cannot support the simultaneous use of at least two keyboard users, resulting in the inability to distinguish keyboard input from different users, and can only support controller users.
By assigning a virtual keyboard or virtual handle to each user, receiving control events sent by the user's terminal device, and sending them to the cloud server through the virtual input device, different users can control cloud applications.
It realizes the simultaneous use of at least two keyboard users. Through the distinction between virtual keyboards and virtual handles, the problem of indistinguishable keyboard input is solved and the input of multiple handles is supported.
Smart Images

Figure CN119987574A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of cloud applications, and in particular to a method and device for processing a control event. Background Art
[0002] Currently, the cloud application field supports the controller input solution, which allows multiple users to use the controller to control the same cloud application running in the cloud server that supports controller and keyboard control. The screen of the cloud application is pushed to the user for decoding, rendering and display after rendering, acquisition and encoding. In specific implementation, the controller can be mapped to an independent input interface of the cloud server through virtualization technology. This solution supports up to 4 users to use the cloud application through the controller. However, since the keyboard input cannot be isolated, that is, the keyboard input of multiple users will be recognized as a single keyboard input in the cloud server, the keyboard input of different users cannot be distinguished, so this solution can only support controller users and cannot support at least two keyboard users.
[0003] Therefore, how to provide a solution that enables at least two keyboard users to use a cloud application that supports handle and keyboard control has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In view of the technical problems existing in the prior art, the embodiments of the present application provide a method and device for processing a control event.
[0005] In a first aspect, an embodiment of the present application provides a method for processing a manipulation event, which is applied to a cloud server and includes: When a first user applies to use a cloud application, a virtual keyboard is allocated to the first user, and when a second user applies to use the cloud application, a virtual handle is allocated to the second user, wherein the physical input devices used by the first user and the second user are keyboards; A system that receives a first manipulation event sent by a terminal device of a first user and sends a keyboard event to a cloud server via a virtual keyboard, and a system that receives a second manipulation event sent by a terminal device of a second user and sends a handle event to a cloud server via a virtual handle, so as to enable the first user and the second user to manipulate different application objects in a cloud application, wherein the keyboard event is the same as the first manipulation event, or is generated based on the first manipulation event, and the handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
[0006] In a second aspect, the embodiment of the present application further provides a method for processing a manipulation event, which is applied to a cloud server and includes: When a first user applies to use a cloud application, a first virtual handle is allocated to the first user, and when a second user applies to use the cloud application, a second virtual handle is allocated to the second user, wherein the physical input devices used by the first user and the second user are keyboards; A system that receives a first manipulation event sent by a terminal device of a first user, and sends the first handle event to a cloud server through a first virtual handle, and a system that receives a second manipulation event sent by a terminal device of a second user, and sends the second handle event to a cloud server through a second virtual handle, so as to enable the first user and the second user to manipulate different application objects in a cloud application, wherein the first handle event is the same as the first manipulation event, or is generated based on the first manipulation event, and the second handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
[0007] In a third aspect, the embodiment of the present application further provides a method for processing a manipulation event, which is applied to a terminal device, comprising: A manipulation event is determined based on the keyboard event generated by the user manipulating the keyboard, and the manipulation event is sent to the cloud server, so that the cloud server sends the keyboard event to the cloud server's system through a virtual keyboard pre-assigned to the user, or sends the handle event to the cloud server's system through a virtual handle pre-assigned to the user, wherein the manipulation event is a keyboard event generated by the user manipulating the keyboard, or is generated based on the keyboard event generated by the user manipulating the keyboard.
[0008] In a fourth aspect, an embodiment of the present application further provides a control event processing device, which is applied to a cloud server, including: A first allocation unit is used to allocate a virtual keyboard to the first user when the first user applies to use the cloud application, and allocate a virtual handle to the second user when the second user applies to use the cloud application, wherein the physical input devices used by the first user and the second user are keyboards; The first sending unit is used to receive a first manipulation event sent by a terminal device of a first user, and send a keyboard event to a system of a cloud server through a virtual keyboard, and to receive a second manipulation event sent by a terminal device of a second user, and send a handle event to a system of a cloud server through a virtual handle, so as to enable the first user and the second user to manipulate different application objects in the cloud application, wherein the keyboard event is the same as the first manipulation event, or is generated based on the first manipulation event, and the handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
[0009] In a fifth aspect, the embodiment of the present application further provides a control event processing device, which is applied to a cloud server, including: A second allocation unit is used to allocate a first virtual handle to the first user when the first user applies to use the cloud application, and allocate a second virtual handle to the second user when the second user applies to use the cloud application, wherein the physical input devices used by the first user and the second user are keyboards; The second sending unit is used to receive a first manipulation event sent by a terminal device of a first user, and send the first handle event to a system of a cloud server through a first virtual handle, and to receive a second manipulation event sent by a terminal device of a second user, and send the second handle event to a system of a cloud server through a second virtual handle, so as to enable the first user and the second user to manipulate different application objects in the cloud application, wherein the first handle event is the same as the first manipulation event, or is generated based on the first manipulation event, and the second handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
[0010] In a sixth aspect, an embodiment of the present application further provides a manipulation event processing device, which is applied to a terminal device, including: A determination unit is used to determine a manipulation event based on a keyboard event generated by a user manipulating a keyboard, and send the manipulation event to a cloud server, so that the cloud server sends the keyboard event to the cloud server system through a virtual keyboard pre-assigned to the user, or sends the handle event to the cloud server system through a virtual handle pre-assigned to the user, wherein the manipulation event is a keyboard event generated by a user manipulating the keyboard, or is generated based on a keyboard event generated by a user manipulating the keyboard.
[0011] In summary, the control event processing method and device provided in the embodiments of the present application, for at least two keyboard users, only allocate a virtual keyboard to one user at most, and allocate virtual handles to other users, and send the keyboard events / handle events corresponding to the keyboard events generated by different users operating the keyboard to the cloud server system through the virtual keyboard / virtual handle. In other words, it is only allowed to simulate keyboard input based on the keyboard input of one user at most, and simulate handle input based on the keyboard input of other users, and the cloud server supports the input of multiple handles, so that the keyboard input of different users can be distinguished, thereby enabling at least two keyboard users to use cloud applications that support handle and keyboard control. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 A flowchart of a method for handling a control event provided in an embodiment of the present application; Figure 2 A flowchart of another method for handling control events provided in an embodiment of the present application; Figure 3 A flowchart of another control event processing method provided in an embodiment of the present application; Figure 4 A schematic diagram of the structure of a control event processing device provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of another control event processing device provided in an embodiment of the present application; Figure 6A schematic diagram of the structure of another control event processing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0013] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0014] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0015] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0016] Reference Figure 1 As shown, the embodiment of the present application provides a flow chart of a method for handling a manipulation event, which is applied to a cloud server and includes: S10. When a first user applies to use a cloud application, a virtual keyboard is allocated to the first user. When a second user applies to use a cloud application, a virtual handle is allocated to the second user. The physical input devices used by the first user and the second user are keyboards. In the present embodiment, it should be noted that the cloud application is an application running in the cloud server. The cloud application applicable to the present embodiment is a cloud application that requires the participation of at least two users (such as multi-person same-screen games). The applicable scenarios include at least two users using a physical keyboard to control the cloud application. In this scenario, a virtual keyboard will be assigned to one keyboard user (i.e., the first user), and a virtual handle will be assigned to the other keyboard user (i.e., the second user). The timing of creating the virtual keyboard and the virtual handle can be set as needed, such as creating them when the corresponding user applies to use the cloud application or before the corresponding user applies to use the cloud application.
[0017] S11. A system that receives a first manipulation event sent by a terminal device of a first user, and sends a keyboard event to a cloud server through a virtual keyboard, and a system that receives a second manipulation event sent by a terminal device of a second user, and sends a handle event to a cloud server through a virtual handle, so as to enable the first user and the second user to manipulate different application objects in the cloud application, wherein the keyboard event is the same as the first manipulation event, or is generated based on the first manipulation event, and the handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
[0018] In this embodiment, it should be noted that the keyboard event generated by the first user operating the keyboard ultimately needs to be converted into the keyboard event in step S11 and sent to the system of the cloud server through the virtual keyboard. There are two situations: first, the keyboard event generated by the first user operating the keyboard is the same as the keyboard event in step S11; second, the keyboard event generated by the first user operating the keyboard needs to be mapped to the keyboard event in step S11, for example, the keyboard event generated by pressing the A key is mapped to the keyboard event generated by pressing the B key of the cloud server keyboard, or the keyboard event generated by pressing the A key is mapped to the keyboard event generated by pressing the A key of the cloud server keyboard (the keyboard event generated by pressing the A key is different from the keyboard event generated by pressing the A key of the cloud server keyboard). Accordingly, the first manipulation event can be data at any stage in the entire process of converting the keyboard event generated by the first user manipulating the keyboard into the keyboard event in step S11. If the first manipulation event is the keyboard event in step S11, the cloud server directly sends the first manipulation event to the cloud server system through the virtual keyboard; and if the first manipulation event is not the keyboard event in step S11, the cloud server needs to convert the first manipulation event into the keyboard event in step S11, and then send the keyboard event in step S11 to the cloud server system through the virtual keyboard. In other words, the process of converting the keyboard event generated by the first user manipulating the keyboard into the keyboard event in step S11 can be executed by the first user's terminal device, or by the cloud server, or by the first user's terminal device and the cloud server in collaboration.
[0019] Similarly, the keyboard event generated by the second user manipulating the keyboard ultimately needs to be converted into a handle event in step S11 and sent to the cloud server system through the virtual handle. The mapping relationship between some keyboard keys and handle interaction components involved can be shown in the following table: Mapping relationship table of some keyboard keys and handle interaction components Keyboard keys Mapping handle operations Functional Description W Left stick up The character moves forward S Push the left stick down The character moves backwards A Push the left stick left The character moves left D Push the left stick right The character moves right ↑ Arrow key up Menu Up Selection ↓ Arrow key down Menu down selection ← Arrow key left Menu left selection → Arrow key right Menu right selection Space A key pressed Confirm / Jump / Interact J B key pressed Cancel / Dodge K X key pressed Attack / Skill 1 L Y key pressed Special Skills / Switch Weapons E Push the right stick up Adjust the viewing angle upward Q Push the right stick down Adjust the viewing angle downward U Left trigger button pressed Aim / Defend O Right Trigger Pressed Shooting / Acceleration M Start key pressed Open the game menu , Select key pressed Map / State Switching Shift Left trigger button halfway pressed Walking / Stealth Ctrl Right trigger button halfway pressed Precise operation mode According to the mapping relationship in the above table, if the second user presses the W key on the keyboard, the keyboard event generated by pressing the W key needs to be converted into a handle event generated by pushing up the left joystick. The mapping relationship between the keyboard keys and the handle interaction components in the above table is only a simple implementation method, and other simple or more complex mapping relationships between the keyboard keys and the handle interaction components can be set as needed, such as the mapping relationship between multiple / single keyboard keys and single / multiple handle components. The conversion process of keyboard events into handle events is similar to the process of converting the keyboard event generated by the first user manipulating the keyboard into the keyboard event in step S11, which can be executed by the second user's terminal device or cloud server alone, or by the second user's terminal device and cloud server in collaboration, and the content of the second manipulation event is determined by the conversion method. For example, if it is executed by the second user's terminal device alone, the second manipulation event is the handle event finally converted. For another example, if it is executed by the cloud server alone, the second manipulation event is the keyboard event generated by the second user manipulating the keyboard. For another example, if it is executed by the second user's terminal device and cloud server in collaboration, the second manipulation event is the execution result of the second user's terminal device, and it can be data at any stage in the entire process of converting the keyboard event generated by the second user manipulating the keyboard into the handle event in step S11. The handle event in step S11 may also include a virtual handle identifier to distinguish inputs from different keyboards.
[0020] In addition, it should be noted that for at least two keyboard keys that need to be controlled individually, if the first user / second user controls the at least two keyboard keys at the same time, what is finally sent to the cloud server system through the virtual keyboard / virtual handle is the keyboard event / handle event corresponding to the last controlled keyboard key.
[0021] The control event processing method provided in the embodiment of the present application, for at least two keyboard users, only allocates a virtual keyboard to one user, and allocates virtual handles to other users, and sends the keyboard events / handle events corresponding to the keyboard events generated by different users operating the keyboard to the cloud server system through the virtual keyboard / virtual handle. In other words, it is only allowed to simulate keyboard input based on the keyboard input of one user, and simulate handle input based on the keyboard input of other users, and the cloud server supports the input of multiple handles. In this way, the keyboard input of different users can be distinguished, thereby enabling at least two keyboard users to use cloud applications that support handle and keyboard control.
[0022] Based on the above method embodiment, the process of generating a handle event may include: Mapping the second manipulation event to an intermediate handle event, and adding a virtual handle identifier to the intermediate handle event to obtain a handle event; or The identifier of the virtual handle is added to the middle handle event to obtain the handle event, wherein the second control event is the middle handle event.
[0023] In this embodiment, it should be noted that the cloud server can complete the conversion process of keyboard events to handle events alone. Specifically, the keyboard event sent by the terminal device of the second user as the second manipulation event can be received, the keyboard event is first mapped to the middle handle event, and then the virtual handle identifier is added to the middle handle event to obtain the handle event. Alternatively, the terminal device of the second user and the cloud server can collaboratively complete the conversion process of keyboard events to handle events. For example, the terminal device of the second user can first map the keyboard event to the middle handle event, send the middle handle event as the second manipulation event to the cloud server, and then the cloud server adds the virtual handle identifier to the middle handle event to obtain the handle event. Alternatively, the terminal device of the second user can complete the conversion process of keyboard events to handle events alone. Specifically, the keyboard event can first be mapped to the middle handle event, and then the virtual handle identifier is added to the middle handle event to obtain the handle event, and then the handle event is sent to the cloud server as the second manipulation event. The middle handle event can indicate that a specific handle component is manipulated, such as indicating that the A key is pressed, and the handle event of the system sent to the cloud server through the virtual handle finally has the virtual handle identifier compared to the middle handle event.
[0024] Reference Figure 2 As shown, the embodiment of the present application provides a flow chart of a method for handling a manipulation event, which is applied to a cloud server and includes: S20. When a first user applies to use a cloud application, a first virtual handle is allocated to the first user. When a second user applies to use the cloud application, a second virtual handle is allocated to the second user. The physical input devices used by the first user and the second user are keyboards. In this embodiment, it should be noted that the scenario applicable to this embodiment is similar to Figure 1 The embodiments shown are applicable to the same scenarios, but the processing process is the same as Figure 1 The embodiment shown is slightly different. Figure 1 The illustrated embodiment does not assign a virtual keyboard to one keyboard user, but assigns different virtual handles to different keyboard users, i.e., a first virtual handle is assigned to the first user, a second virtual handle is assigned to the second user, a third virtual handle different from the first and second virtual handles is assigned to the third user, and so on.
[0025] S21. A system that receives a first manipulation event sent by a terminal device of a first user, and sends the first handle event to a cloud server through a first virtual handle, and a system that receives a second manipulation event sent by a terminal device of a second user, and sends the second handle event to a cloud server through a second virtual handle, so as to enable the first user and the second user to manipulate different application objects in the cloud application, wherein the first handle event is the same as the first manipulation event, or is generated based on the first manipulation event, and the second handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
[0026] In this embodiment, it should be noted that the keyboard events generated by the keyboard input of different users need to be converted into handle events and sent to the cloud server system through the corresponding virtual handles. In this way, the keyboard inputs of different keyboard users can be simulated as different handle inputs on the cloud server side, thereby realizing the isolation of keyboard inputs of different keyboard users. The handle events corresponding to different users are distinguished by the identifiers of the virtual handles assigned to the users. The process of converting keyboard events into handle events can be referred to Figure 1 The embodiments shown will not be described in detail here.
[0027] The control event processing method provided in the embodiment of the present application allocates virtual handles to at least two keyboard users, and sends the handle events corresponding to the keyboard events generated by different users operating the keyboard to the cloud server system through the virtual handle. In other words, the handle input is simulated based on the keyboard input of these users, and the cloud server supports the input of multiple handles. In this way, the keyboard input of different users can be distinguished, thereby enabling at least two keyboard users to use cloud applications that support handle and keyboard control.
[0028] Based on the foregoing method embodiment, the process of generating the first handle event may include: Mapping the first manipulation event to an intermediate handle event, and adding the identifier of the first virtual handle to the intermediate handle event to obtain the first handle event; or The identifier of the first virtual handle is added to the middle handle event to obtain the first handle event, wherein the first manipulation event is the middle handle event.
[0029] Reference Figure 3 As shown, an embodiment of the present application provides a flow chart of a method for processing a manipulation event, which is applied to a terminal device and includes: S30. Determine a manipulation event based on a keyboard event generated by a user manipulating the keyboard, and send the manipulation event to a cloud server, so that the cloud server sends the keyboard event to a system of the cloud server through a virtual keyboard pre-assigned to the user, or sends the handle event to a system of the cloud server through a virtual handle pre-assigned to the user, wherein the manipulation event is a keyboard event generated by a user manipulating the keyboard, or is generated based on a keyboard event generated by a user manipulating the keyboard.
[0030] In this embodiment, it should be noted that this embodiment is Figure 1 The embodiments shown and Figure 2 The execution logic on the terminal device side corresponding to the embodiment shown. The terminal device is only responsible for determining the control event and sending the control event to the cloud server. The execution logic on the cloud server side can refer to Figure 1 The embodiments shown and Figure 2 In the embodiment shown, the content of the control event can refer to Figure 1 The first manipulation event and the second manipulation event in the illustrated embodiment will not be described in detail here.
[0031] The control event processing method provided in the embodiment of the present application determines the control event based on the keyboard event generated by the user operating the keyboard, and sends the control event to the cloud server, so that the cloud server can send the keyboard events / handle events corresponding to the keyboard events generated by different users operating the keyboard to the cloud server system through the virtual keyboard / virtual handle. In other words, it is only allowed to simulate keyboard input based on the keyboard input of one user, and simulate handle input based on the keyboard input of other users. The cloud server supports the input of multiple handles, so that the keyboard input of different users can be distinguished, thereby enabling at least two keyboard users to use cloud applications that support handle and keyboard control.
[0032] Based on the aforementioned method embodiments, the control event is a keyboard event obtained by mapping the keyboard event generated by the user operating the keyboard, or a handle event obtained by mapping the keyboard event generated by the user operating the keyboard, or data obtained by adding a virtual handle identifier to the handle event mapped from the keyboard event generated by the user operating the keyboard.
[0033] Reference Figure 4 As shown, an embodiment of the present application provides a structural diagram of a control event processing device, which is applied to a cloud server, including: The first allocation unit 40 is used to allocate a virtual keyboard to the first user when the first user applies to use the cloud application, and allocate a virtual handle to the second user when the second user applies to use the cloud application, wherein the physical input devices used by the first user and the second user are keyboards; The first sending unit 41 is used to receive a first manipulation event sent by a terminal device of a first user, and send a keyboard event to a system of a cloud server through a virtual keyboard, and to receive a second manipulation event sent by a terminal device of a second user, and send a handle event to a system of a cloud server through a virtual handle, so as to enable the first user and the second user to manipulate different application objects in the cloud application, wherein the keyboard event is the same as the first manipulation event, or is generated based on the first manipulation event, and the handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
[0034] The control event processing device provided in the embodiment of the present application, for at least two keyboard users, only allocates a virtual keyboard to one user, and allocates a virtual handle to other users, and sends the keyboard events / handle events corresponding to the keyboard events generated by different users operating the keyboard to the cloud server system through the virtual keyboard / virtual handle. In other words, it is only allowed to simulate keyboard input based on the keyboard input of one user, and simulate handle input based on the keyboard input of other users, and the cloud server supports the input of multiple handles. In this way, the keyboard input of different users can be distinguished, thereby enabling at least two keyboard users to use cloud applications that support handle and keyboard control.
[0035] Reference Figure 5 As shown, an embodiment of the present application provides a structural diagram of a control event processing device, which is applied to a cloud server, including: The second allocation unit 50 is used to allocate a first virtual handle to the first user when the first user applies to use the cloud application, and allocate a second virtual handle to the second user when the second user applies to use the cloud application, wherein the physical input devices used by the first user and the second user are keyboards; The second sending unit 51 is used to receive a first manipulation event sent by a terminal device of a first user, and send the first handle event to the system of the cloud server through a first virtual handle, and to receive a second manipulation event sent by a terminal device of a second user, and send the second handle event to the system of the cloud server through a second virtual handle, so as to enable the first user and the second user to manipulate different application objects in the cloud application, wherein the first handle event is the same as the first manipulation event, or is generated based on the first manipulation event, and the second handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
[0036] The control event processing device provided in the embodiment of the present application allocates virtual handles to at least two keyboard users, and sends handle events corresponding to keyboard events generated by different users operating the keyboard to the cloud server system through the virtual handles. In other words, the handle input is simulated based on the keyboard input of these users, and the cloud server supports the input of multiple handles. In this way, the keyboard input of different users can be distinguished, thereby enabling at least two keyboard users to use cloud applications that support handle and keyboard control.
[0037] Reference Figure 6 As shown, an embodiment of the present application provides a structural schematic diagram of a control event processing device, which is applied to a terminal device, including: The determination unit 60 is used to determine the manipulation event based on the keyboard event generated by the user manipulating the keyboard, and send the manipulation event to the cloud server, so that the cloud server sends the keyboard event to the cloud server system through a virtual keyboard pre-assigned to the user, or sends the handle event to the cloud server system through a virtual handle pre-assigned to the user, wherein the manipulation event is a keyboard event generated by the user manipulating the keyboard, or is generated based on the keyboard event generated by the user manipulating the keyboard.
[0038] The control event processing device provided in the embodiment of the present application determines the control event based on the keyboard event generated by the user operating the keyboard, and sends the control event to the cloud server, so that the cloud server can send the keyboard events / handle events corresponding to the keyboard events generated by different users operating the keyboard to the cloud server system through the virtual keyboard / virtual handle. In other words, it is only allowed to simulate keyboard input based on the keyboard input of one user, and simulate handle input based on the keyboard input of other users. The cloud server supports the input of multiple handles, so that the keyboard input of different users can be distinguished, thereby enabling at least two keyboard users to use cloud applications that support handle and keyboard control.
[0039] The control event processing device provided in the embodiment of the present application has an implementation process that is consistent with the control event processing method provided in the embodiment of the present application, and the effect that can be achieved is also the same as the control event processing method provided in the embodiment of the present application, which will not be repeated here.
[0040] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for handling a manipulation event, characterized in that: Applied to cloud servers, including: When a first user applies to use a cloud application, a virtual keyboard is allocated to the first user, and when a second user applies to use the cloud application, a virtual handle is allocated to the second user, wherein the physical input devices used by the first user and the second user are keyboards; A system that receives a first manipulation event sent by a terminal device of a first user and sends a keyboard event to a cloud server via a virtual keyboard, and a system that receives a second manipulation event sent by a terminal device of a second user and sends a handle event to a cloud server via a virtual handle, so as to enable the first user and the second user to manipulate different application objects in a cloud application, wherein the keyboard event is the same as the first manipulation event, or is generated based on the first manipulation event, and the handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
2. The method according to claim 1, characterized in that The process of generating a handle event includes: Mapping the second manipulation event to an intermediate handle event, and adding a virtual handle identifier to the intermediate handle event to obtain a handle event; or The identifier of the virtual handle is added to the middle handle event to obtain the handle event, wherein the second control event is the middle handle event.
3. A method for handling a manipulation event, characterized in that: Applied to cloud servers, including: When a first user applies to use a cloud application, a first virtual handle is allocated to the first user, and when a second user applies to use the cloud application, a second virtual handle is allocated to the second user, wherein the physical input devices used by the first user and the second user are keyboards; A system that receives a first manipulation event sent by a terminal device of a first user, and sends the first handle event to a cloud server through a first virtual handle, and a system that receives a second manipulation event sent by a terminal device of a second user, and sends the second handle event to a cloud server through a second virtual handle, so as to enable the first user and the second user to manipulate different application objects in a cloud application, wherein the first handle event is the same as the first manipulation event, or is generated based on the first manipulation event, and the second handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
4. The method according to claim 3, characterized in that The process of generating the first handle event includes: Mapping the first manipulation event to an intermediate handle event, and adding the identifier of the first virtual handle to the intermediate handle event to obtain the first handle event; or The identifier of the first virtual handle is added to the middle handle event to obtain the first handle event, wherein the first manipulation event is the middle handle event.
5. A method for handling a manipulation event, characterized in that: Applied to terminal equipment, including: A manipulation event is determined based on the keyboard event generated by the user manipulating the keyboard, and the manipulation event is sent to the cloud server, so that the cloud server sends the keyboard event to the cloud server's system through a virtual keyboard pre-assigned to the user, or sends the handle event to the cloud server's system through a virtual handle pre-assigned to the user, wherein the manipulation event is a keyboard event generated by the user manipulating the keyboard, or is generated based on the keyboard event generated by the user manipulating the keyboard.
6. The method according to claim 5, characterized in that The control event is a keyboard event mapped to a keyboard event generated by a user operating a keyboard, or a handle event mapped to a keyboard event generated by a user operating a keyboard, or data obtained by adding a virtual handle identifier to a handle event mapped to a keyboard event generated by a user operating a keyboard.
7. A control event processing device, characterized in that: Applied to cloud servers, including: A first allocation unit is used to allocate a virtual keyboard to the first user when the first user applies to use the cloud application, and allocate a virtual handle to the second user when the second user applies to use the cloud application, wherein the physical input devices used by the first user and the second user are keyboards; The first sending unit is used to receive a first manipulation event sent by a terminal device of a first user, and send a keyboard event to a system of a cloud server through a virtual keyboard, and to receive a second manipulation event sent by a terminal device of a second user, and send a handle event to a system of a cloud server through a virtual handle, so as to enable the first user and the second user to manipulate different application objects in the cloud application, wherein the keyboard event is the same as the first manipulation event, or is generated based on the first manipulation event, and the handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
8. A control event processing device, characterized in that: Applied to cloud servers, including: A second allocation unit is used to allocate a first virtual handle to the first user when the first user applies to use the cloud application, and allocate a second virtual handle to the second user when the second user applies to use the cloud application, wherein the physical input devices used by the first user and the second user are keyboards; The second sending unit is used to receive a first manipulation event sent by a terminal device of a first user, and send the first handle event to a system of a cloud server through a first virtual handle, and to receive a second manipulation event sent by a terminal device of a second user, and send the second handle event to a system of a cloud server through a second virtual handle, so as to enable the first user and the second user to manipulate different application objects in the cloud application, wherein the first handle event is the same as the first manipulation event, or is generated based on the first manipulation event, and the second handle event is the same as the second manipulation event, or is generated based on the second manipulation event.
9. A control event processing device, characterized in that: Applied to terminal equipment, including: A determination unit is used to determine a manipulation event based on a keyboard event generated by a user manipulating a keyboard, and send the manipulation event to a cloud server, so that the cloud server sends the keyboard event to the cloud server system through a virtual keyboard pre-assigned to the user, or sends the handle event to the cloud server system through a virtual handle pre-assigned to the user, wherein the manipulation event is a keyboard event generated by a user manipulating the keyboard, or is generated based on a keyboard event generated by a user manipulating the keyboard.
Citation Information
Patent Citations
Discrete keyboard layout system and setting method, corresponding portable electronic device and control method
CN102360249A
Data processing method and device based on mouse and keyboard and medium
CN112791387A
Cloud desktop keyboard event processing method and device, equipment and storage medium
CN113778622A
Streaming method, system and device for multi-open cloud game and medium
CN114598931A
Method and device for dynamically adding man-machine interface equipment applied to cloud game
CN115269121A