CN111151009A - Game data processing method, device and system, electronic equipment and storage medium - Google Patents

Game data processing method, device and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN111151009A
CN111151009A CN201911421582.XA CN201911421582A CN111151009A CN 111151009 A CN111151009 A CN 111151009A CN 201911421582 A CN201911421582 A CN 201911421582A CN 111151009 A CN111151009 A CN 111151009A
Authority
CN
China
Prior art keywords
game
target
user terminal
application program
operating system
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.)
Pending
Application number
CN201911421582.XA
Other languages
Chinese (zh)
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201911421582.XA priority Critical patent/CN111151009A/en
Publication of CN111151009A publication Critical patent/CN111151009A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • 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/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/55Details of game data or player data management
    • A63F2300/5526Game data structure

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a game data processing method, a device and a system, electronic equipment and a storage medium, wherein the method is applied to a game virtual machine module and comprises the following steps: after the communication connection between a target application program in the game application program and the user terminal is established, receiving a game service request aiming at the target application program sent by the user terminal; calling a target application program in a target preset operating system to generate image and/or audio data corresponding to target operation information; encoding image and/or audio data; and transmitting the coded image and/or audio data to the user terminal. Therefore, the game virtual machine module can process the game service request through a target application program running in a target preset operating system, so that the game played by the user at the user terminal can be free from the limitation of the hardware configuration of the user terminal and the limitation of the operating system, and the game experience of the user is improved.

Description

Game data processing method, device and system, electronic equipment and storage medium
Technical Field
The present application relates to the field of cloud computing technologies, and in particular, to a method, an apparatus, and a system for processing game data, an electronic device, and a storage medium.
Background
Currently, when a user terminal runs a game application, the user terminal needs to process a large amount of game data. In particular, when the user terminal is running a game application of a large game, more game data needs to be processed. The large-scale game generally refers to a game that occupies a large memory, has high screen resolution, and has a high requirement on hardware configuration.
The data processing capability of the user terminal is very limited due to the limited hardware configuration resources of the user terminal. This makes the user terminal often limited by the hardware configuration of the user terminal when running the game application program and can not smoothly run the large game, so that the user game experience is not good.
Disclosure of Invention
The embodiment of the application aims to provide a game data processing method, a game data processing device, a game data processing system, electronic equipment and a storage medium, so that a game played by a user at a user terminal can be free from the limitation of hardware configuration and the limitation of an operating system of the user terminal, and the game experience of the user is improved. The specific technical scheme is as follows:
in a first aspect, a game data processing method is provided, which is applied to a game virtual machine module, wherein the game virtual machine module virtualizes a preset number of preset operating systems in a system initialization stage, and the preset operating systems are provided with game application programs; the method comprises the following steps:
after the communication connection between a target application program in the game application program and the user terminal is established, receiving a game service request aiming at the target application program sent by the user terminal; wherein, the game service request carries: target operation information which can be identified by the target application program is obtained by mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system in which the target application program is located; the target preset operating system is one of the preset operating systems.
And calling the target application program in a target preset operating system to generate image and/or audio data corresponding to the target operating information.
Image and/or audio data is encoded.
And transmitting the coded image and/or audio data to the user terminal.
Optionally, the target preset operating system is different from an operating system configured by the user terminal.
Optionally, receiving a game service request for a target application sent by a user terminal includes:
receiving a game service request forwarded by a game data transmission module; wherein, the game service request is sent to the game data transmission module by the user terminal.
Transmitting the encoded image and/or audio data to a user terminal, comprising:
and sending the encoded image and/or audio data to a game data transmission module so that the game data transmission module forwards the encoded image and/or audio data to the user terminal.
Optionally, the establishing method of the communication connection includes:
calling a target application program in an idle state in a target preset operating system, and receiving a game starting instruction forwarded by a game data transmission module; wherein, the game starting instruction is sent to the game data transmission module by the user terminal; the target application program is distributed to the user terminal by the game data transmission module based on the operating system identification and the application program identification carried by the game starting instruction; the identification of the target application program is matched with the identification of the application program, and the identification of the target preset operating system is matched with the identification of the operating system.
And when the target application program in the target preset operating system starts to run in response to the game starting instruction, determining that the communication connection between the target application program and the user terminal is established.
In a second aspect, a game data processing method is provided, which is applied to a user terminal, and includes:
after the communication connection between the user terminal and a target application program in a target preset operation system is established, identifying game operation information received by an operation interface of the user terminal; the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module.
And mapping the game operation information received at the operation interface of the user terminal to an operation interface configured by a target preset operation system to obtain target operation information.
And generating a game service request carrying the target operation information.
And sending the game service request to a target application program in a target preset operating system.
Optionally, the operating system configured by the user terminal is different from the target preset operating system.
Optionally, after sending the game service request to the target application program in the target preset operating system, the method further includes:
and receiving the coded image and/or audio data sent by the game virtual machine module.
And decoding the coded image and/or audio data to obtain the decoded image and/or audio data.
And when the decoded image data is obtained, converting the decoded image data into image data matched with an operation interface of the user terminal, and displaying the converted image data.
And when the audio data is obtained by decoding, playing the decoded audio data.
Optionally, the establishing method of the communication connection includes:
generating a game starting instruction carrying an application program identifier and an operating system identifier; the application program identification is the identification of the game application program to be run, and the operating system identification is the identification of the running system of the game application program to be run.
Sending a game starting instruction to a game data transmission module so that the game data transmission module distributes a target application program in an idle state in a target preset operating system to a user terminal based on an operating system identifier and an application program identifier, and forwards the game starting instruction to the target application program; the identification of the target application program is matched with the identification of the application program, and the target preset operating system is matched with the identification of the operating system.
When an allocation result that the game data transmission module allocates the target application is received, it is determined that a communication connection of the user terminal and the target application is established.
In a third aspect, a game data processing system is provided, where the game data processing system includes a user terminal and a game virtual machine module, the game virtual machine module virtualizes a preset number of preset operating systems in a system initialization stage, and a game application program is installed in the preset operating systems.
The user terminal is used for identifying game operation information received by an operation interface of the user terminal after the communication connection between the user terminal and a target application program in a target preset operation system is established; the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module; mapping game operation information received at an operation interface of a user terminal to an operation interface configured by a target preset operation system to obtain target operation information; generating a game service request carrying target operation information; and sending the game service request to a target application program in a target preset operating system.
The game virtual machine module is used for receiving a game service request aiming at a target application program sent by a user terminal; calling a target application program in a target preset operating system to generate image and/or audio data corresponding to target operation information carried by a game service request; encoding image and/or audio data; and transmitting the coded image and/or audio data to the user terminal.
The user terminal is also used for receiving the coded image and/or audio data sent by the game virtual machine module; decoding the encoded image and/or audio data to obtain decoded image and/or audio data; when the decoded image data are obtained, converting the decoded image data into image data matched with an operation interface of a user terminal, and displaying the converted image data; and when the audio data is obtained by decoding, playing the decoded audio data.
Optionally, the system further comprises a game data transmission module;
the game data transmission module is used for forwarding the game service request generated by the user terminal to a target application program in a target preset operating system virtualized by the game virtual machine module; and the game server is also used for forwarding the image and/or audio data coded by the game virtual machine module to the user terminal.
Optionally, the target preset operating system is different from an operating system configured by the user terminal.
In a fourth aspect, a game data processing device is provided, which is applied to a game virtual machine module, and the device includes:
the first receiving unit is used for receiving a game service request aiming at a target application program sent by a user terminal after the communication connection between the target application program in the game application program and the user terminal is established; wherein, the game service request carries: target operation information which can be identified by the target application program is obtained by mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system in which the target application program is located; the target preset operating system is one of the preset operating systems.
And the first generating unit is used for calling the target application program in the target preset operating system and generating image and/or audio data corresponding to the target operating information.
An encoding unit for encoding image and/or audio data.
And the first sending unit is used for sending the coded image and/or audio data to the user terminal.
Optionally, the target preset operating system is different from an operating system configured by the user terminal.
Optionally, the first receiving unit is specifically configured to: receiving a game service request forwarded by a game data transmission module; wherein, the game service request is sent to the game data transmission module by the user terminal.
The first sending unit is specifically configured to: and sending the encoded image and/or audio data to a game data transmission module so that the game data transmission module forwards the encoded image and/or audio data to the user terminal.
Optionally, the game data processing apparatus further includes a first communication connection determination unit, and the first communication connection determination unit includes:
the calling subunit is used for calling a target application program in an idle state in a target preset operating system and receiving a game starting instruction forwarded by the game data transmission module; wherein, the game starting instruction is sent to the game data transmission module by the user terminal; the target application program is distributed to the user terminal by the game data transmission module based on the operating system identification and the application program identification carried by the game starting instruction; the identification of the target application program is matched with the identification of the application program, and the identification of the target preset operating system is matched with the identification of the operating system.
And the first determining subunit is used for determining that the communication connection between the target application program and the user terminal is established when the target application program in the target preset operating system starts to run in response to the game starting instruction.
In a fifth aspect, there is provided a game data processing apparatus applied to a user terminal, the apparatus comprising:
the identification unit is used for identifying game operation information received by an operation interface of the user terminal after the communication connection between the user terminal and a target application program in a target preset operation system is established; the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module.
And the mapping unit is used for mapping the game operation information received at the operation interface of the user terminal to an operation interface configured by a target preset operation system to obtain target operation information.
And the second generating unit is used for generating the game service request carrying the target operation information.
And the second sending unit is used for sending the game service request to a target application program in the target preset operating system.
Optionally, the operating system configured by the user terminal is different from the target preset operating system.
Optionally, the game data processing apparatus for a user terminal further includes:
and the second receiving unit is used for receiving the coded image and/or audio data sent by the game virtual machine module after the game service request is sent to the target application program in the target preset operating system.
And the decoding unit is used for decoding the coded image and/or audio data to obtain the decoded image and/or audio data.
And the conversion unit is used for converting the decoded image data into image data matched with an operation interface of the user terminal and displaying the converted image data when the decoded image data is obtained.
And the playing unit is used for playing the decoded audio data when the audio data is obtained by decoding.
Optionally, the game data processing apparatus further includes a second communication connection determination unit, and the second communication connection determination unit includes:
the generating subunit is used for generating a game starting instruction carrying an application program identifier and an operating system identifier; the application program identification is the identification of the game application program to be run, and the operating system identification is the identification of the running system of the game application program to be run.
The sending subunit is configured to send the game starting instruction to the game data transmission module, so that the game data transmission module allocates, based on the operating system identifier and the application identifier, a target application in an idle state in a target preset operating system to the user terminal, and forwards the game starting instruction to the target application; the identification of the target application program is matched with the identification of the application program, and the target preset operating system is matched with the identification of the operating system.
And a second determining subunit for determining that a communication connection between the user terminal and the target application is established, when receiving an allocation result that the game data transmission module allocates the target application.
In a sixth aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor configured to implement the method steps of any one of the first or second aspects when executing a program stored in the memory.
In a seventh aspect, a storage medium is provided, in which a computer program is stored, which computer program, when being executed by a processor, performs the method steps of any one of the above first or second aspects. Wherein the storage medium is a computer-readable storage medium.
In an eighth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method steps of any of the first or second aspects described above.
In the embodiment of the application, the game virtual machine module can virtualize a preset number of preset operating systems in the system initialization stage, and can install the game application program in the virtualized preset operating system. Furthermore, after the communication connection between the target application program in the game application program and the user terminal is established, the game virtual machine module can receive the game service request aiming at the target application program sent by the user terminal. Wherein, the game service request carries target operation information which can be identified by the target application program; the target operation information is: mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system in which the target application program is located to obtain information; the target preset operating system is one of the preset operating systems virtualized by the game virtual machine module. Then, the game virtual machine module may call the target application program to generate image and/or audio data corresponding to the target operation information in the target preset operating system. The image and/or audio data may then be encoded. Further, the encoded image and/or audio data may be transmitted to the user terminal.
In this way, the game virtual machine module can process the game service request through a target application program running in a target preset operating system, and can send image and/or audio data obtained by processing the game service request to the user terminal. That is, the user terminal does not need to process the game service request, but can directly obtain the image and/or audio data requested by the game service request. Therefore, the game played by the user at the user terminal is not limited by the hardware configuration and the operating system of the user terminal, so that the user can play various games through the user terminal, and the game experience of the user is improved.
Of course, not all advantages described above need to be achieved at the same time to practice any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a flowchart of a game data processing method applied to a game virtual machine module according to an embodiment of the present application;
FIG. 2 is a signaling interaction diagram of a game data processing method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of a game data processing method applied to a user terminal according to an embodiment of the present application;
FIG. 4 is a system block diagram of a game data processing system according to an embodiment of the present application;
FIG. 5 is a system block diagram of another game data processing system provided by an embodiment of the present application;
fig. 6 is a schematic structural diagram of a game data processing device applied to a game virtual machine module according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a game data processing apparatus applied to a user terminal according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The following describes the game data processing method provided in the embodiments of the present application in detail with reference to specific embodiments.
The game data processing method provided by the embodiment of the application is applied to a game virtual machine module, the game virtual machine module virtualizes a preset number of preset operating systems in a system initialization stage, and the preset operating systems are provided with game application programs.
Fig. 1 is a flowchart of a game data processing method applied to a game virtual machine module according to an embodiment of the present application. As shown in fig. 1, the method may include the steps of:
step 101: after the communication connection between a target application program in the game application program and the user terminal is established, receiving a game service request aiming at the target application program sent by the user terminal; wherein, the game service request carries: target operation information which can be identified by the target application program is obtained by mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system in which the target application program is located; the target preset operating system is one of the preset operating systems.
Step 102: and calling the target application program in a target preset operating system to generate image and/or audio data corresponding to the target operating information.
Step 103: image and/or audio data is encoded.
Step 104: and transmitting the coded image and/or audio data to the user terminal.
In the embodiment of the application, the game virtual machine module can virtualize a preset number of preset operating systems in the system initialization stage, and can install the game application program in the virtualized preset operating system. Furthermore, after the communication connection between the target application program in the game application program and the user terminal is established, the game virtual machine module can receive the game service request aiming at the target application program sent by the user terminal. Wherein, the game service request carries target operation information which can be identified by the target application program; the target operation information is: mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system in which the target application program is located to obtain information; the target preset operating system is one of the preset operating systems virtualized by the game virtual machine module. Then, the game virtual machine module may call the target application program to generate image and/or audio data corresponding to the target operation information in the target preset operating system. The image and/or audio data may then be encoded. Further, the encoded image and/or audio data may be transmitted to the user terminal.
In this way, the game virtual machine module can process the game service request through a target application program running in a target preset operating system, and can send image and/or audio data obtained by processing the game service request to the user terminal. That is, the user terminal does not need to process the game service request, but can directly obtain the image and/or audio data requested by the game service request. Therefore, the game played by the user at the user terminal is not limited by the hardware configuration and the operating system of the user terminal, so that the user can play various games through the user terminal, and the game experience of the user is improved.
In this embodiment, the target default operating system may be different from an operating system configured by the user terminal.
For example, the operating System configured in the user terminal may be an IOS (apple operating System) operating System, and the virtual preset operating System in the game virtual machine module may be a Windows operating System and/or an android operating System.
The game virtual machine module can virtualize 10 Windows operating systems and 10 android operating systems in the system initialization stage. In addition, the 10 Windows operating systems and the 10 android operating systems can be installed with the game application a. The game application a is merely an example, and a specific game application is not described here.
In the above example, a user may play an android operating system game and a Windows operating system game through a user terminal configured with an IOS operating system. That is to say, the game data processing method provided by the embodiment of the application can break through the limitation of the operating system, so that the user can play a game different from the operating system of the user terminal through the user terminal, and the game experience of the user is improved.
Of course, the target default os may be the same as the os configured by the ue.
For example, the operating system configured in the user terminal may be an android operating system, and the virtual preset operating system in the game virtual machine module is also the android operating system. The game virtual machine module can virtualize 10 android operating systems in the system initialization phase. In addition, a game application program A can be installed in 5 android operating systems, and a game application program B can be installed in the other 5 android operating systems. Note that the game application a and the game application B are merely examples, and a specific game application will not be described here.
In this example, a user may play a game installed in the virtualized android operating system through a user terminal configured with the android operating system. Therefore, the user can play the game which is the same as the user terminal operating system through the user terminal, and the game experience of the user is improved.
It is to be understood that the gaming virtual machine module may be a module configured in an electronic device. The electronic device includes, but is not limited to, a server.
When the game virtual machine is a module configured in the server, the server can run various large games more smoothly due to higher hardware configuration such as a memory, a processor and the like of the server, and can send image and/or audio data requested by a game service request to the user terminal. Therefore, the user terminal can obtain the image and/or audio data without spending more hardware resources to process the game service request, the situations that the user terminal is blocked, crashed and the like are avoided, the user can smoothly play games by using the user terminal, and the game experience of the user is improved.
In addition, the game application program is installed in the preset operating system, so that the game virtual machine module can download the software installation package of the game application program in the virtual preset operating system and run in the preset operating system. Therefore, the user terminal does not need to download the software installation package for installing the game application program, the requirement on the storage space of the user terminal is reduced, and the trouble of downloading the software installation package by the user is avoided.
In addition, when the game virtual machine module detects an update instruction for the software installation package, the game virtual machine module may also download the updated software installation package corresponding to the game application program in a preset operating system, and run and install in the preset operating system. Therefore, the user does not need to download and update the updated software installation package, and the trouble of updating the game application program by the user is avoided.
The receiving of the game service request for the target application program sent by the user terminal in step 101 may include:
receiving a game service request forwarded by a game data transmission module; wherein, the game service request is sent to the game data transmission module by the user terminal.
Transmitting the encoded image and/or audio data to a user terminal, comprising:
and sending the encoded image and/or audio data to a game data transmission module so that the game data transmission module forwards the encoded image and/or audio data to the user terminal.
In the embodiment of the application, the game service request can be forwarded through the game data transmission module. That is, the user terminal may send the game service request to the game data transmission module, and then the game data transmission module forwards the received game service request to the game virtual machine module.
In addition, the encoded image and/or audio data may also be forwarded by the game data transmission module. That is, after the game virtual machine module encodes the image and/or audio data, the game virtual machine module may send the encoded image and/or audio data to the game data transmission module, and then the game data transmission module forwards the encoded image and/or audio data to the user terminal.
The game data transmission module and the game virtual machine module can be deployed in the same server or different servers, which is reasonable.
Additionally, the game virtual machine module may encode image and/or audio data using a hardware encoder or a software encoder. For example, a hardware encoder may be configured in the game virtual machine: a half-wave encoder. In this way, after the game virtual machine calls the target application program to generate the image and/or audio data corresponding to the target operation information, the half-wave encoder is called to encode the generated image and/or audio data, so that the game virtual machine module can send the encoded image and/or audio data to the user terminal through the game data transmission module.
The game virtual machine module may determine that a communication connection is established with the user terminal in the following manner, specifically:
the game virtual machine module can call a target application program in an idle state in a target preset operating system and receive a game starting instruction forwarded by the game data transmission module; wherein, the game starting instruction is sent to the game data transmission module by the user terminal; the target application program is distributed to the user terminal by the game data transmission module based on the operating system identification and the application program identification carried by the game starting instruction; the identification of the target application program is matched with the identification of the application program, and the identification of the target preset operating system is matched with the identification of the operating system.
When the target application program in the target preset operating system starts to run in response to the game starting instruction, the game virtual machine module may determine that a communication connection between the target application program and the user terminal is established.
It is understood that the target application program in the idle state in the target preset operating system may be allocated to the user terminal by the game data transmission module. Specifically, after the game virtual machine module virtualizes a preset number of preset operating systems and installs the game application programs in the preset operating systems, the game data transmission module may generate an information table, where a mapping relationship between the preset operating systems and the installed game application programs may be recorded in the information table. Then, the game data transmission module may look up the target application program in an idle state in the target preset operating system based on the information table.
When the preset operating system virtualized by the game virtual machine module does not have an operating system matched with the operating system identifier carried by the game starting instruction, the game data transmission module does not allocate the target application program to the user terminal.
In addition, when an operating system matched with the operating system identifier carried by the game starting instruction exists in the preset operating system virtualized by the game virtual machine module, but no target application program in an idle state exists, the game data transmission module may send a prompt message that the system is busy and waits to the user terminal.
In addition, the user terminal may determine that a communication connection is established with the game virtual machine module by:
the user terminal can generate a game starting instruction carrying an application program identifier and an operating system identifier; the application program identifier is an identifier of a game application program to be run, and the operating system identifier is an identifier of a running system of the game application program to be run.
For example, the game start command may carry: the identifier A of the game application program to be run, and the identifier of the running system of the game application program to be run are as follows: and (4) an android operating system. Although not limited thereto.
Then, the user terminal may send the game start instruction to the game data transmission module, so that the game data transmission module may allocate the target application program in an idle state in the target preset operating system to the user terminal based on the operating system identifier and the application program identifier, and forward the game start instruction to the target application program. The identification of the target application program is matched with the identification of the application program, and the target preset operating system is matched with the identification of the operating system.
For example, the game data transmission module may identify an android operating system and an application identifier a based on the operating system, allocate a target application a in an idle state in the android operating system virtualized by the game virtual machine module to the user terminal, and may forward the game start instruction to the target application a.
And when the user terminal receives the distribution result of the game data transmission module for distributing the target application program, determining that the communication connection between the user terminal and the target application program is established.
It can be understood that, after the game data transmission module allocates the target application a in the idle state in the virtualized android operating system to the user terminal, the port number allocated by the virtualized android operating system and the port number of the target application a may be allocated to the user terminal. At this time, the user terminal may receive an allocation result of the game data transmission module allocating the target application, and when the user terminal receives the allocation result, it may be determined that the communication connection of the user terminal and the target application is established.
The game data processing method provided by the embodiment of the present application will be described again with reference to fig. 2. Fig. 2 is a signaling interaction diagram of a game data processing method according to an embodiment of the present application. Referring to fig. 2, the game data processing method may include the steps of:
s201: after the communication connection between the user terminal and a target application program in a target preset operating system is established, the user terminal sends a game service request to a game data transmission module; wherein, the game service request carries: and the target operation information is information obtained by mapping the game operation information received by the operation interface of the user terminal to an operation interface configured by a target preset operation system in which the target application program is located.
Based on the above embodiment, it can be seen that the target default operating system is one of a preset number of default operating systems virtualized by the game virtual machine module.
In addition, it is understood that the user may click on the operation interface of the user terminal. Specifically, during the game, the user may click the change button in the game operation interface displayed by the user terminal, which is not limited to this.
Assuming that the operation interface resolution of the user terminal is 1080 × 1920, and the operation interface resolution configured by the target preset operating system where the target application program is located is 1080 × 2 × 1920 × 2, and assuming that when the user clicks an equipment change key in the game operation interface displayed by the user terminal, the operation interface of the user terminal may receive game operation information that: the operating position is (x)1,y1) The operation is a click operation. Then, the target operation information obtained after the game operation information received by the operation interface of the user terminal is mapped to the operation interface configured by the target preset operation system where the target application program is located is: the operating position is (2 ×)1,2y1) The operation is a click operation. Thus, target operation information recognizable by the target application program can be obtained.
In addition, assuming that the operation interface resolution of the user terminal is 1080 × 1920, and the operation interface resolution of the target preset operating system configuration where the target application program is located is 1080 × 1920, and assuming that when a finger of a user leaves a rocker button in the game operation interface displayed by the user terminal, the operation interface of the user terminal can receive game operation information as follows: the operating position is (x)2,y2) The operation is a release operation. Then, the game operation information received by the operation interface of the user terminal is mapped to the target applicationThe target operation information obtained after the operation interface configured by the operation system is preset by the target where the program is located is as follows: the operating position is (x)2,y2) The operation is a release operation. Thus, target operation information recognizable by the target application program can be obtained.
After obtaining the target operation information recognizable by the target application program, the user terminal may generate a game service request carrying the target operation information, and send the game service request to the game data transmission module.
S202: the game data transmission module transmits the game service request to the game virtual machine module.
S203: and after receiving the game service request, the game virtual machine module calls a target application program to generate image and/or audio data corresponding to the target operation information in a target preset operation system.
It can be understood that, after receiving the game service request, the game virtual machine module may invoke the target application program in the target preset operating system to process the game service request, so as to generate image and/or audio data corresponding to the target operation information in the target preset operating system.
The image and/or audio data corresponding to the target operation information is data generated based on code logic of the target application program, and will not be described in detail herein.
S204: the game virtual machine module encodes the generated image and/or audio data.
After the game virtual machine module calls the target application program to generate the image data, the image data can be acquired through a bottom layer interface of the electronic device where the game virtual machine module is located, and then the image data can be encoded through a hardware encoder. In addition, after the game virtual machine module calls the target application program to generate the audio data, the audio data can be encoded.
S205: and the game virtual machine module sends the coded image and/or audio data to the game data transmission module.
S206: the game data transmission module transmits the encoded image and/or audio data to the user terminal.
In this way, the game virtual machine module can process the game service request through a target application program running in a target preset operating system, and can send image and/or audio data obtained by processing the game service request to the user terminal. Therefore, the game played by the user at the user terminal is not limited by the hardware configuration and the operating system of the user terminal, so that the user can play various games through the user terminal, and the game experience of the user is improved.
It will be appreciated that the user terminal may receive encoded image and/or audio data transmitted by the gaming virtual machine module. Specifically, the user terminal may receive encoded image and/or audio data forwarded through the game data transmission module. The encoded image and/or audio data may then be decoded to obtain decoded image and/or audio data. When the decoded image data is obtained, the decoded image data may be converted into image data matched with an operation interface of the user terminal, and the converted image data may be displayed. And when the audio data is obtained by decoding, playing the decoded audio data.
In this way, the user terminal does not need to process the game service request, and can directly obtain the image and/or audio data requested by the game service request. And moreover, the obtained image data can be converted into image data matched with the operation interface of the user terminal for display, so that the user can view the image matched with the operation interface of the user terminal in size, and the game visual experience of the user is improved.
In addition, the embodiment of the application also provides a game data processing method applied to the user terminal. Fig. 3 is a flowchart of a game data processing method applied to a user terminal according to an embodiment of the present application. As shown in fig. 3, the method may include the steps of:
step 301: after the communication connection between the user terminal and a target application program in a target preset operation system is established, identifying game operation information received by an operation interface of the user terminal; the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module.
Step 302: and mapping the game operation information received at the operation interface of the user terminal to an operation interface configured by a target preset operation system to obtain target operation information.
Step 303: and generating a game service request carrying the target operation information.
Step 304: and sending the game service request to a target application program in a target preset operating system.
In the embodiment of the application, after the communication connection between the target application program in the game application program and the user terminal is established, the user terminal can identify the game operation information received by the operation interface. The target preset operating system is one of the preset operating systems virtualized by the game virtual machine module. Then, the user terminal may map the game operation information received at the operation interface of the user terminal to an operation interface configured by the target preset operation system, so as to obtain target operation information. And generating a game service request carrying target operation information, and sending the game service request to a target application program in a target preset operation system.
In this way, the user terminal may send the game service request to the game virtual machine module, and the game virtual machine module may process the game service request through a target application program running in a target preset operating system, and may send image and/or audio data obtained by processing the game service request to the user terminal. That is, the user terminal does not need to process the game service request, but can directly obtain the image and/or audio data requested by the game service request. Therefore, the game played by the user at the user terminal is not limited by the hardware configuration and the operating system of the user terminal, so that the user can play various games through the user terminal, and the game experience of the user is improved.
Optionally, in this embodiment of the application, the target default operating system may be different from an operating system configured by the user terminal.
For example, the operating system configured in the user terminal may be an IOS operating system, and the virtual preset operating system in the game virtual machine module may be a Windows operating system and/or an android operating system.
The game virtual machine module can virtualize 10 Windows operating systems and 10 android operating systems in the system initialization stage. In addition, the 10 Windows operating systems and the 10 android operating systems can be installed with the game application a. The game application a is merely an example, and a specific game application is not described here.
In the above example, a user may play an android operating system game and a Windows operating system game through a user terminal configured with an IOS operating system. That is to say, the game data processing method provided by the embodiment of the application can break through the limitation of the operating system, so that the user can play a game different from the operating system of the user terminal through the user terminal, and the game experience of the user is improved.
Of course, the target default os may be the same as the os configured by the ue.
For example, the operating system installed in the user terminal may be an android operating system, and the virtual preset operating system in the game virtual machine module may also be the android operating system. The game virtual machine module can virtualize 10 android operating systems in the system initialization phase. In addition, a game application program A can be installed in 5 android operating systems, and a game application program B can be installed in the other 5 android operating systems. Note that the game application a and the game application B are merely examples, and a specific game application will not be described here.
In this example, a user may play a game installed in the virtualized installed operating system through a user terminal configured with an android operating system. Therefore, the user can play the game which is the same as the user terminal operating system through the user terminal, and the game experience of the user is improved.
Optionally, after sending the game service request to the target application program in the target preset operating system, the method further includes:
and receiving the coded image and/or audio data sent by the game virtual machine module.
And decoding the coded image and/or audio data to obtain the decoded image and/or audio data.
And when the decoded image data is obtained, converting the decoded image data into image data matched with an operation interface of the user terminal, and displaying the converted image data.
And when the audio data is obtained by decoding, playing the decoded audio data.
In this way, the user terminal does not need to process the game service request, and can directly obtain the image and/or audio data requested by the game service request. And moreover, the obtained image data can be converted into image data matched with the operation interface of the user terminal for display, so that the user can view the image matched with the operation interface of the user terminal in size, and the game visual experience of the user is improved.
The user terminal may determine that a communication connection is established with the game virtual machine module in the following manner:
generating a game starting instruction carrying an application program identifier and an operating system identifier; the application program identification is the identification of the game application program to be run, and the operating system identification is the identification of the running system of the game application program to be run.
For example, the game start command may carry: the identifier A of the game application program to be run, and the identifier of the running system of the game application program to be run are as follows: and (4) an android operating system. Although not limited thereto.
Sending a game starting instruction to a game data transmission module so that the game data transmission module distributes a target application program in an idle state in a target preset operating system to a user terminal based on an operating system identifier and an application program identifier, and forwards the game starting instruction to the target application program; the identification of the target application program is matched with the identification of the application program, and the target preset operating system is matched with the identification of the operating system.
For example, the game data transmission module may identify an android operating system and an application identifier a based on the operating system, allocate a target application a in an idle state in the android operating system virtualized by the game virtual machine module to the user terminal, and may forward the game start instruction to the target application a.
When an allocation result that the game data transmission module allocates the target application is received, it is determined that a communication connection of the user terminal and the target application is established.
It can be understood that, after the game data transmission module allocates the target application a in the idle state in the virtualized android operating system to the user terminal, the port number allocated by the virtualized android operating system and the port number of the target application a may be allocated to the user terminal. At this time, the user terminal may receive an allocation result of the game data transmission module allocating the target application, and when the user terminal receives the allocation result, it may be determined that the communication connection of the user terminal and the target application is established.
In this way, the game virtual machine module can process the game service request through a target application program running in a target preset operating system, and can send image and/or audio data obtained by processing the game service request to the user terminal. Therefore, the game played by the user at the user terminal is not limited by the hardware configuration and the operating system of the user terminal, so that the user can play various games through the user terminal, and the game experience of the user is improved.
The game data processing method applied to the user terminal is relatively simple in description, and relevant points can be referred to the description of the game data processing method applied to the game virtual machine module.
Based on the game data processing method applied to the virtual game machine module and the game data processing method applied to the user terminal, an embodiment of the present application further provides a game data processing system, as shown in fig. 4, the game data processing system includes a user terminal 401 and a game virtual machine module 402, the game virtual machine module 402 virtualizes a preset number of preset operating systems in the system initialization stage, and the preset operating systems are installed with game application programs.
The system comprises a user terminal 401, a server and a server, wherein the user terminal 401 is used for identifying game operation information received by an operation interface of the user terminal 401 after the communication connection between the user terminal 401 and a target application program in a target preset operation system is established; wherein, the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module 402; mapping game operation information received at an operation interface of the user terminal 401 to an operation interface configured by a target preset operation system to obtain target operation information; generating a game service request carrying target operation information; and sending the game service request to a target application program in a target preset operating system.
A game virtual machine module 402, configured to receive a game service request for a target application program sent by a user terminal 401; calling a target application program in a target preset operating system to generate image and/or audio data corresponding to target operation information carried by a game service request; encoding image and/or audio data; the encoded image and/or audio data is transmitted to the user terminal 401.
The user terminal 401 is further configured to receive encoded image and/or audio data sent by the game virtual machine module 402; decoding the encoded image and/or audio data to obtain decoded image and/or audio data; when the decoded image data is obtained, converting the decoded image data into image data matched with an operation interface of the user terminal 401, and displaying the converted image data; and when the audio data is obtained by decoding, playing the decoded audio data.
In the embodiment of the application, the game virtual machine module can virtualize a preset number of preset operating systems in the system initialization stage, and can install the game application program in the virtualized preset operating system. After the communication connection between the target application program in the target preset operating system and the user terminal is established, the user terminal can identify game operation information received by an operation interface; the target preset operating system is one of the preset operating systems virtualized by the game virtual machine module. Then, the user terminal may map the game operation information received at the operation interface of the user terminal to an operation interface configured by the target preset operation system, so as to obtain target operation information. And generating a game service request carrying target operation information, and sending the game service request to a target application program in a target preset operation system.
The game virtual machine module can receive a game service request aiming at the target application program sent by the user terminal. Then, the game virtual machine module may call the target application program to generate image and/or audio data corresponding to the target operation information in the target preset operating system. The image and/or audio data may then be encoded. Further, the encoded image and/or audio data may be transmitted to the user terminal.
The user terminal may also receive encoded image and/or audio data sent by the gaming virtual machine module. The encoded image and/or audio data may then be decoded to obtain decoded image and/or audio data. When the decoded image data is obtained, the decoded image data may be converted into image data matched with an operation interface of the user terminal, and the converted image data may be displayed. And when the audio data is obtained by decoding, playing the decoded audio data.
In this way, the game virtual machine module can process the game service request through a target application program running in a target preset operating system, and can send image and/or audio data obtained by processing the game service request to the user terminal. That is, the user terminal does not need to process the game service request, but can directly obtain the image and/or audio data requested by the game service request. Therefore, the game played by the user at the user terminal is not limited by the hardware configuration and the operating system of the user terminal, so that the user can play various games through the user terminal, and the game experience of the user is improved.
Optionally, the system further comprises a game data transmission module;
a game data transmission module, configured to forward a game service request generated by the user terminal 401 to a target application program in a target preset operating system of the game virtual machine module virtual 402; and is also used to forward image and/or audio data encoded by the game virtual machine module 402 to the user terminal 401.
Optionally, the target preset os is different from an os configured by the user terminal 401.
In addition, the embodiment of the application also provides a more specific game data processing system. Wherein, this game data processing system includes: the game system comprises a user terminal, a game virtual machine module and a game data transmission module, wherein a game client is installed in the user terminal. The game client is a client for providing a game interaction interface for a user, and is not a game application program client for actually processing game services in the related art.
FIG. 5 is a system block diagram of another game data processing system according to an embodiment of the present application. As shown in fig. 5, the game data processing system may include a game client, a game virtual machine module, and a game data transmission module.
The game client is a client which is corresponding to the target application program installed in the user terminal and provides a game interaction interface for the user, and when the program of the game client is executed by a processor of the user terminal, the game client can enable the user terminal to execute: mapping game operation information received at an operation interface of a user terminal to an operation interface configured by a target preset operation system to obtain target operation information; generating a game service request carrying target operation information; sending the game service request to a target application program in a target preset operating system; receiving encoded image and/or audio data sent by the game virtual machine module; decoding the encoded image and/or audio data to obtain decoded image and/or audio data; when the decoded image data are obtained, converting the decoded image data into image data matched with an operation interface of a user terminal, and displaying the converted image data; and when the audio data is obtained by decoding, playing the decoded audio data.
The game data transmission module may be a program installed in the server, and when executed by the processor of the server, the game data transmission module may cause the server to perform: forwarding a game service request generated by a user terminal to a target application program in a target preset operating system virtualized by a game virtual machine module; searching a target application program in an idle state in a target preset operating system based on an operating system identifier and an application program identifier carried in the game service request; and forwarding the image and/or audio data coded by the game virtual machine module to the user terminal.
A program installed in the server when the game virtual machine module is executed by the processor of the server, the program causing the server to perform: receiving a game service request aiming at the target application program sent by a user terminal; calling a target application program in a target preset operating system to generate image and/or audio data corresponding to target operation information; encoding image and/or audio data; and transmitting the coded image and/or audio data to the user terminal.
The game data processing system based on the game data processing method applied to the virtual game machine module and the game data processing method applied to the user terminal is relatively simple in description, and relevant points can be referred to the description of the game data processing method applied to the game virtual machine module.
The embodiment of the application of the technical idea of the game data processing method applied to the game virtual machine module also provides a game data processing device. The game data processing device provided in the embodiment of the present application is applied to a game virtual machine module, and as shown in fig. 6, the device includes:
the first receiving unit 601: the game service request aiming at the target application program sent by the user terminal is received after the communication connection between the target application program in the game application program and the user terminal is established; wherein, the game service request carries: target operation information which can be identified by the target application program is obtained by mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system in which the target application program is located; the target preset operating system is one of the preset operating systems.
The first generation unit 602: and the system is used for calling the target application program in the target preset operating system and generating image and/or audio data corresponding to the target operating information.
The encoding unit 603: for encoding image and/or audio data.
The first sending unit 604: for transmitting the encoded image and/or audio data to the user terminal.
In the embodiment of the application, the game virtual machine module can virtualize a preset number of preset operating systems in the system initialization stage, and can install the game application program in the virtualized preset operating system. Furthermore, after the communication connection between the target application program in the game application program and the user terminal is established, the game virtual machine module can receive the game service request aiming at the target application program sent by the user terminal. Wherein, the game service request carries target operation information which can be identified by the target application program; the target operation information is: mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system in which the target application program is located to obtain information; the target preset operating system is one of the preset operating systems virtualized by the game virtual machine module. Then, the game virtual machine module may call the target application program to generate image and/or audio data corresponding to the target operation information in the target preset operating system. The image and/or audio data may then be encoded. Further, the encoded image and/or audio data may be transmitted to the user terminal.
In this way, the game virtual machine module can process the game service request through a target application program running in a target preset operating system, and can send image and/or audio data obtained by processing the game service request to the user terminal. That is, the user terminal does not need to process the game service request, but can directly obtain the image and/or audio data requested by the game service request. Therefore, the game played by the user at the user terminal is not limited by the hardware configuration and the operating system of the user terminal, so that the user can play various games through the user terminal, and the game experience of the user is improved.
Optionally, the target preset operating system is different from an operating system configured by the user terminal.
Optionally, the first receiving unit 601 is specifically configured to: receiving a game service request forwarded by a game data transmission module; wherein, the game service request is sent to the game data transmission module by the user terminal.
The first sending unit 604 is specifically configured to: and sending the encoded image and/or audio data to a game data transmission module so that the game data transmission module forwards the encoded image and/or audio data to the user terminal.
Optionally, the game data processing apparatus further includes a first communication connection determination unit, and the first communication connection determination unit includes:
the calling subunit is used for calling a target application program in an idle state in a target preset operating system and receiving a game starting instruction forwarded by the game data transmission module; wherein, the game starting instruction is sent to the game data transmission module by the user terminal; the target application program is distributed to the user terminal by the game data transmission module based on the operating system identification and the application program identification carried by the game starting instruction; the identification of the target application program is matched with the identification of the application program, and the identification of a target preset operating system is matched with the identification of the operating system;
and the first determining subunit is used for determining that the communication connection between the target application program and the user terminal is established when the target application program in the target preset operating system starts to run in response to the game starting instruction.
The embodiment of the application of the technical idea of the game data processing method applied to the user terminal also provides a game data processing device. The game data processing device provided by the embodiment of the application is applied to the user terminal, and as shown in fig. 7, the device comprises:
the recognition unit 701: the game control method comprises the steps of identifying game operation information received by an operation interface of a user terminal after the communication connection between the user terminal and a target application program in a target preset operation system is established; the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module.
The mapping unit 702: and the game operation information received at the operation interface of the user terminal is mapped to the operation interface configured by the target preset operation system to obtain the target operation information.
The second generation unit 703: used for generating a game service request carrying target operation information.
Second transmitting section 704: and the game service request is sent to a target application program in the target preset operating system.
In the embodiment of the application, after the communication connection between the target application program in the game application program and the user terminal is established, the user terminal can identify the game operation information received by the operation interface; the target preset operating system is one of the preset operating systems virtualized by the game virtual machine module. Then, the user terminal may map the game operation information received at the operation interface of the user terminal to an operation interface configured by the target preset operation system, so as to obtain target operation information. And generating a game service request carrying target operation information, and sending the game service request to a target application program in a target preset operation system.
In this way, the game virtual machine module can process the game service request through a target application program running in a target preset operating system, and can send image and/or audio data obtained by processing the game service request to the user terminal. That is, the user terminal does not need to process the game service request, but can directly obtain the image and/or audio data requested by the game service request. Therefore, the game played by the user at the user terminal is not limited by the hardware configuration and the operating system of the user terminal, so that the user can play various games through the user terminal, and the game experience of the user is improved.
Optionally, the operating system configured by the user terminal is different from the target preset operating system.
Optionally, the game data processing apparatus for a user terminal further includes:
and the second receiving unit is used for receiving the coded image and/or audio data sent by the game virtual machine module after the game service request is sent to the target application program in the target preset operating system.
And the decoding unit is used for decoding the coded image and/or audio data to obtain the decoded image and/or audio data.
And the conversion unit is used for converting the decoded image data into image data matched with an operation interface of the user terminal and displaying the converted image data when the decoded image data is obtained.
And the playing unit is used for playing the decoded audio data when the audio data is obtained by decoding.
Optionally, the game data processing apparatus further includes a second communication connection determination unit, and the second communication connection determination unit includes:
the generating subunit is used for generating a game starting instruction carrying an application program identifier and an operating system identifier; the application program identification is the identification of the game application program to be run, and the operating system identification is the identification of the running system of the game application program to be run.
The sending subunit is configured to send the game starting instruction to the game data transmission module, so that the game data transmission module allocates, based on the operating system identifier and the application identifier, a target application in an idle state in a target preset operating system to the user terminal, and forwards the game starting instruction to the target application; the identification of the target application program is matched with the identification of the application program, and the target preset operating system is matched with the identification of the operating system.
And a second determining subunit for determining that a communication connection between the user terminal and the target application is established, when receiving an allocation result that the game data transmission module allocates the target application.
The embodiment of the present application further provides an electronic device, as shown in fig. 8, which includes a processor 801, a communication interface 802, a memory 803, and a communication bus 804, where the processor 801, the communication interface 802, and the memory 803 complete mutual communication through the communication bus 804,
a memory 803 for storing a computer program;
the processor 801 is configured to implement any one of the above-described method steps of the game data processing method embodiment applied to the virtual game machine module and the game data processing method embodiment applied to the user terminal when executing the program stored in the memory 803.
The communication bus mentioned in the network device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the network device and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, or discrete hardware components.
Based on the technical idea of the above method embodiment, an embodiment of the present application further provides a storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements any one of the above method steps in the game data processing method embodiment applied to the virtual game machine module and the game data processing method embodiment applied to the user terminal.
Based on the technical idea of the above method embodiment, an embodiment of the present application further provides a computer program product containing instructions, which when run on a computer, causes the computer to execute any one of the above game data processing method embodiment applied to the virtual game machine module and the game data processing method embodiment applied to the user terminal.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, system, storage medium, and computer program product embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present application, and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (15)

1. A game data processing method is characterized in that the method is applied to a game virtual machine module, the game virtual machine module virtualizes a preset number of preset operating systems in a system initialization stage, and game application programs are installed in the preset operating systems; the method comprises the following steps:
after the communication connection between a target application program in the game application programs and a user terminal is established, receiving a game service request aiming at the target application program sent by the user terminal; wherein, the game service request carries: target operation information which can be identified by the target application program is obtained by mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system where the target application program is located; the target preset operating system is one of the preset operating systems;
calling the target application program in the target preset operating system to generate image and/or audio data corresponding to the target operating information;
encoding the image and/or audio data;
and sending the coded image and/or audio data to the user terminal.
2. The method of claim 1, wherein the target default operating system is different from an operating system configured by the user terminal.
3. The method of claim 1, wherein the receiving the game service request for the target application sent by the user terminal comprises:
receiving the game service request forwarded by the game data transmission module; wherein, the game service request is sent to the game data transmission module by the user terminal;
the sending the encoded image and/or audio data to the user terminal includes:
and sending the encoded image and/or audio data to the game data transmission module so that the game data transmission module forwards the encoded image and/or audio data to the user terminal.
4. The method of claim 1, wherein the establishing the communication connection comprises:
calling the target application program in an idle state in the target preset operating system, and receiving a game starting instruction forwarded by a game data transmission module; the game starting instruction is sent to the game data transmission module by the user terminal; the target application program is distributed to the user terminal by the game data transmission module based on the operating system identification and the application program identification carried by the game starting instruction; the identification of the target application program is matched with the identification of the application program, and the identification of the target preset operating system is matched with the identification of the operating system;
and when the target application program in the target preset operating system starts to run in response to the game starting instruction, determining that the communication connection between the target application program and the user terminal is established.
5. A game data processing method applied to a user terminal, the method comprising:
after the communication connection between the user terminal and a target application program in a target preset operation system is established, identifying game operation information received by an operation interface of the user terminal; the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module;
mapping game operation information received at an operation interface of the user terminal to an operation interface configured by the target preset operation system to obtain target operation information;
generating a game service request carrying the target operation information;
and sending the game service request to the target application program in the target preset operating system.
6. The method of claim 5, wherein the operating system configured by the user terminal is different from the target default operating system.
7. The method of claim 5, after sending the game service request to the target application program in the target default operating system, further comprising:
receiving encoded image and/or audio data sent by the game virtual machine module;
decoding the encoded image and/or audio data to obtain decoded image and/or audio data;
when the decoded image data are obtained, converting the decoded image data into image data matched with an operation interface of the user terminal, and displaying the converted image data;
and when the audio data is obtained by decoding, playing the decoded audio data.
8. The method of claim 5, wherein the establishing the communication connection comprises:
generating a game starting instruction carrying an application program identifier and an operating system identifier; the application program identification is an identification of a game application program to be run, and the operating system identification is an identification of a running system of the game application program to be run;
sending the game starting instruction to a game data transmission module, so that the game data transmission module allocates the target application program in an idle state in the target preset operating system to the user terminal based on the operating system identifier and the application program identifier, and forwards the game starting instruction to the target application program; the identification of the target application program is matched with the identification of the application program, and the target preset operating system is matched with the identification of the operating system;
and when receiving an allocation result that the game data transmission module allocates the target application program, determining that the communication connection between the user terminal and the target application program is established.
9. A game data processing system is characterized by comprising a user terminal and a game virtual machine module, wherein the game virtual machine module virtualizes a preset number of preset operating systems in a system initialization stage, and game application programs are installed in the preset operating systems;
the user terminal is used for identifying game operation information received by an operation interface of the user terminal after the communication connection between the user terminal and a target application program in a target preset operation system is established; the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module; mapping game operation information received at an operation interface of the user terminal to an operation interface configured by the target preset operation system to obtain target operation information; generating a game service request carrying the target operation information; sending the game service request to the target application program in the target preset operating system;
the game virtual machine module is used for receiving a game service request aiming at the target application program sent by the user terminal; calling the target application program in the target preset operating system to generate image and/or audio data corresponding to target operation information carried by the game service request; encoding the image and/or audio data; transmitting the encoded image and/or audio data to the user terminal;
the user terminal is also used for receiving the coded image and/or audio data sent by the game virtual machine module; decoding the encoded image and/or audio data to obtain decoded image and/or audio data; when the decoded image data are obtained, converting the decoded image data into image data matched with an operation interface of the user terminal, and displaying the converted image data; and when the audio data is obtained by decoding, playing the decoded audio data.
10. The system of claim 9, further comprising a game data transmission module;
the game data transmission module is used for forwarding the game service request generated by the user terminal to the target application program in the target preset operating system virtualized by the game virtual machine module; and the game virtual machine module is also used for forwarding the image and/or audio data coded by the game virtual machine module to the user terminal.
11. The system of claim 9, wherein the target default operating system is different from an operating system configured by the user terminal.
12. A game data processing device is characterized in that the device is applied to a game virtual machine module, the game virtual machine module virtualizes a preset number of preset operating systems in a system initialization stage, and game application programs are installed in the preset operating systems; the device comprises:
the first receiving unit is used for receiving a game service request aiming at a target application program sent by a user terminal after the communication connection between the target application program in the game application program and the user terminal is established; wherein, the game service request carries: target operation information which can be identified by the target application program is obtained by mapping game operation information received by an operation interface of the user terminal to an operation interface configured by a target preset operation system where the target application program is located; the target preset operating system is one of the preset operating systems;
the first generation unit is used for calling the target application program in the target preset operating system and generating image and/or audio data corresponding to the target operating information;
an encoding unit for encoding the image and/or audio data;
and the first sending unit is used for sending the coded image and/or audio data to the user terminal.
13. A game data processing apparatus applied to a user terminal, the apparatus comprising:
the identification unit is used for identifying game operation information received by an operation interface of the user terminal after the communication connection between the user terminal and a target application program in a target preset operation system is established; the target preset operating system is one of a preset number of preset operating systems virtualized by the game virtual machine module;
the mapping unit is used for mapping the game operation information received at the operation interface of the user terminal to the operation interface configured by the target preset operation system to obtain target operation information;
a second generating unit, configured to generate a game service request carrying the target operation information;
and the second sending unit is used for sending the game service request to the target application program in the target preset operating system.
14. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 4, or the method steps of any one of claims 5 to 8, when executing a program stored in a memory.
15. A storage medium, characterized in that a computer program is stored in the storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 4, or the method steps of any one of claims 5 to 8; wherein the storage medium is a computer-readable storage medium.
CN201911421582.XA 2019-12-31 2019-12-31 Game data processing method, device and system, electronic equipment and storage medium Pending CN111151009A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911421582.XA CN111151009A (en) 2019-12-31 2019-12-31 Game data processing method, device and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911421582.XA CN111151009A (en) 2019-12-31 2019-12-31 Game data processing method, device and system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111151009A true CN111151009A (en) 2020-05-15

Family

ID=70560561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911421582.XA Pending CN111151009A (en) 2019-12-31 2019-12-31 Game data processing method, device and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111151009A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113577759A (en) * 2021-07-22 2021-11-02 西安万像电子科技有限公司 Game data processing method, electronic device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110180166A (en) * 2019-07-16 2019-08-30 南昌黑鲨科技有限公司 Control system and method based on cloud game scene
CN110572469A (en) * 2019-09-18 2019-12-13 北京视博云科技有限公司 Data transmission method, input device, cloud server and cloud game system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110180166A (en) * 2019-07-16 2019-08-30 南昌黑鲨科技有限公司 Control system and method based on cloud game scene
CN110572469A (en) * 2019-09-18 2019-12-13 北京视博云科技有限公司 Data transmission method, input device, cloud server and cloud game system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113577759A (en) * 2021-07-22 2021-11-02 西安万像电子科技有限公司 Game data processing method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN108536524B (en) Resource updating method, device, terminal and storage medium
CN109542361B (en) Distributed storage system file reading method, system and related device
CN110032413B (en) Desktop virtualization method, related equipment and computer storage medium
US9614931B2 (en) Identifying a resource set require for a requested application and launching the resource set in a container for execution in a host operating system
US20210329079A1 (en) Methods, devices and computer-readable storage media for processing a hosted application
WO2019001074A1 (en) Remote process calling method and apparatus, and computer device
WO2020248745A1 (en) Method and device for displaying characters in user interface, electronic device, and storage medium
US20170257449A1 (en) Method for forwarding traffic in application on mobile intelligent terminal
CN113542386B (en) Service processing method and related equipment
US9329878B2 (en) Apparatus and method for providing virtual API for mashup service
KR20160015300A (en) Restricted driver platform runs drivers in sandbox in user mode
CN114650273A (en) Initialization method, device, equipment and storage medium for operating system configuration
EP3298756B1 (en) Interfacing with servers having different apis to obtain advertisement data
CN110310139B (en) Data delivery method and data delivery engine device
WO2021179156A1 (en) Message processing method, device and system, and server
CN115237589A (en) SR-IOV-based virtualization method, device and equipment
CN111151009A (en) Game data processing method, device and system, electronic equipment and storage medium
US10958726B2 (en) Method of synchronizing device list in a smart network system, apparatus, and computer storage medium thereof
CN114244654A (en) URL forwarding method, device, equipment and computer storage medium
US8150970B1 (en) Work load distribution among server processes
CN102377793A (en) Flash interaction method and device based on mobile communication equipment terminal
US11838207B2 (en) Systems for session-based routing
CN112882826A (en) Resource cooperative scheduling method and device
US20190303816A1 (en) Cloud workspace assignment by user location
CN103209178A (en) Method for operating simple protocol independent computing environment (SPICE) protocol on Cloud Stack platform in compatible way

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