CN109756511A - A kind of data processing method and device, a kind of calculating equipment and storage medium - Google Patents

A kind of data processing method and device, a kind of calculating equipment and storage medium Download PDF

Info

Publication number
CN109756511A
CN109756511A CN201910107971.9A CN201910107971A CN109756511A CN 109756511 A CN109756511 A CN 109756511A CN 201910107971 A CN201910107971 A CN 201910107971A CN 109756511 A CN109756511 A CN 109756511A
Authority
CN
China
Prior art keywords
game
scene
virtual
game player
virtual game
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910107971.9A
Other languages
Chinese (zh)
Other versions
CN109756511B (en
Inventor
陈杰
杨林
怀宾
陈子乾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Xishanju Digital Technology Co ltd
Zhuhai Kingsoft Digital Network Technology Co Ltd
Original Assignee
Zhuhai Xishan Mobile Game Technology Co Ltd
Zhuhai Kingsoft Online Game 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 Zhuhai Xishan Mobile Game Technology Co Ltd, Zhuhai Kingsoft Online Game Technology Co Ltd filed Critical Zhuhai Xishan Mobile Game Technology Co Ltd
Priority to CN201910107971.9A priority Critical patent/CN109756511B/en
Publication of CN109756511A publication Critical patent/CN109756511A/en
Application granted granted Critical
Publication of CN109756511B publication Critical patent/CN109756511B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Processing Or Creating Images (AREA)

Abstract

A kind of data processing method provided by the present application and device, a kind of calculating equipment and storage medium, wherein the method is applied to cloud server end, comprising: obtain the position and visual angle of at least two virtual game players in scene of game;According to the position and visual angle of the virtual game player, setting and each associated virtual camera of virtual game player;The corresponding operation data of simulated operation instruction that each virtual game player receives associated client end is acquired based on the virtual camera, wherein the operation data includes first operand evidence and second operand evidence;Will with the associated first operand of each virtual game player according to processing to shared storage area, will and the associated second operand of single virtual game player according to processing to storage region corresponding with the single virtual game player.

Description

A kind of data processing method and device, a kind of calculating equipment and storage medium
Technical field
This application involves Internet technical field, in particular to a kind of data processing method and device, a kind of calculating equipment And storage medium.
Background technique
Cloud game (Cloud gaming) is a kind of game on line technology based on cloud computing technology.Cloud game skill Art makes graphics process and the relatively limited light end equipment of data operation ability (thin client) that can run high-quality game.? Under cloud game scene, game is run in server beyond the clouds not in player client, and will by cloud server Scene of game is rendered into video/audio stream, gives player client by network transmission.Player client is without possessing Powerful graphic operation and data-handling capacity, it is only necessary to possess basic streaming media playing ability and obtain player's input instruction simultaneously It is sent to the ability of cloud server.
Can be integrated and connected on a server multiple client player in cloud game, the cloud game service device of the prior art Memory and video memory performance are allocated by the client being connected on book server, such as: if if being distributed equally, one 32G is saved as in a, video memory is the Cloud Server of 16G, if being connected to 8 clients, assigned by the player of each client In save as 4G, video memory 2G.
The client terminal quantity of single Cloud Server connection is more, then the average unit cost for sharing each client is lower.So And the performances such as memory video memory of individual server can not infinitely increase, but there are the apparent upper limits, therefore, existing skill In the cloud game of art, the number of players of individual server connection is limited, cannot give full play to the advantage of cloud game technology.
Summary of the invention
In view of this, the embodiment of the present application provides a kind of data processing method and device, a kind of calculating equipment and storage Medium, to solve technological deficiency existing in the prior art.
In a first aspect, the embodiment of the present application discloses a kind of data processing method, it is applied to cloud server end, comprising:
Obtain the position and visual angle of at least two virtual game players in scene of game;
According to the position and visual angle of the virtual game player, setting and the associated virtual camera shooting of each virtual game player Machine;
The simulated operation that each virtual game player receives associated client end is acquired based on the virtual camera Instruct corresponding operation data, wherein the operation data includes first operand evidence and second operand evidence;
Will be with the associated first operand of each virtual game player according to handling to shared storage area, it will be with single void The quasi- associated second operand of game player is according to processing to storage region corresponding with the single virtual game player.
Optionally, according to the position and visual angle of the virtual game player, it is arranged associated with each virtual game player After virtual camera, further includes:
The visual angle that the virtual game player associated with it is simulated based on the virtual camera, so that described virtually take the photograph The setting position and visual angle of camera are consistent with the position for the virtual game player that it is simulated and visual angle.
Optionally, the method also includes:
Receive the true operation instruction of the associated client of virtual game player;
First operand evidence is obtained from the shared storage area based on true operation instruction, and from described virtual The corresponding storage region of game player obtains second operand evidence;
Based on the first operand evidence and the second operand according to generation trip corresponding with true operation instruction Play data display.
Optionally, based on the first operand evidence and the second operand according to generation and true operation instruction pair After the game data picture answered, further includes:
The game data picture is sent to the associated client of virtual game player.
Optionally, the method also includes:
The quantity of corresponding Cloud Server is determined based on the quantity of the virtual game player in the scene of game.
Optionally, the quantity based on the virtual game player in the scene of game determines the quantity of corresponding Cloud Server Include:
Count the quantity of the virtual game player in each scene of game;
Judge whether the quantity of the virtual game player is less than or equal to the first preset threshold;
If so, distributing a Cloud Server for the virtual game player in the scene of game;
If it is not, then increasing distribution one to be greater than the virtual game player of first preset threshold in the scene of game Cloud Server.
Optionally, the method also includes: based on the affiliated game of the scene of game scene of game total quantity determine pair The quantity for the Cloud Server answered.
Optionally, the scene of game total quantity based on the affiliated game of the scene of game determines the number of corresponding Cloud Server Amount includes:
Count the scene of game total quantity of the affiliated game of the scene of game;
Judge whether the scene of game total quantity is less than or equal to the second preset threshold;
If so, distributing a Cloud Server for each scene of game;If it is not, then for greater than the second preset threshold Scene of game increases by one Cloud Server of distribution.
Optionally, the first operand is according to including the real-time shadow in scene, the kinematics animation in scene, in scene Model, the textures in scene, the special efficacy in scene and/or the particle in scene,
The second operand evidence includes game screen data corresponding with single virtual game player.
Second aspect, one embodiment of the application additionally provide a kind of data processing equipment, are applied to cloud server end, packet It includes:
First obtains module, is configured as obtaining the position and visual angle of at least two virtual game players in scene of game;
Setup module is configured as position and visual angle according to the virtual game player, setting and each virtual game The associated virtual camera of player;
Acquisition module is configured as receiving association based on each virtual game player of virtual camera acquisition The simulated operation of client instructs corresponding operation data, wherein the operation data includes first operand evidence and the second behaviour Make data;
Memory module is configured as to deposit according to processing to shared with the associated first operand of each virtual game player Storage area domain, will with the associated second operand of single virtual game player according to processing to the single virtual game player it is corresponding Storage region.
Optionally, described device further include:
Analog module is configured as simulating the view of the virtual game player associated with it based on the virtual camera Angle, so that the position and visual angle one of the virtual game player that the setting position and visual angle of the virtual camera are simulated with it It causes.
Optionally, described device further include:
Receiving module is configured as receiving the true operation instruction of the associated client of virtual game player;
Second obtains module, is configured as obtaining the first behaviour from the shared storage area based on true operation instruction Make data, and obtains second operand evidence from the corresponding storage region of the virtual game player;
Generation module, be configured as based on the first operand evidence and the second operand according to generate with it is described true The corresponding game data picture of operational order.
Optionally, described device further include:
Sending module is configured as the game data picture being sent to the associated client of virtual game player End.
Optionally, described device further include:
First determining module is configured as determining based on the quantity of the virtual game player in the scene of game corresponding The quantity of Cloud Server.
Optionally, the determining module includes:
First statistic submodule is configured as counting the quantity of the virtual game player in each scene of game;
First judging submodule is configured as judging whether the quantity of the virtual game player is less than or equal to first and presets Threshold value;
First distribution sub module is configured as if so, distributing one for the virtual game player in the scene of game Cloud Server;
Second distribution sub module is configured as if it is not, being then to be greater than first preset threshold in the scene of game Virtual game player increases by one Cloud Server of distribution.
Optionally, described device further include:
Second determining module is configured as determining correspondence based on the scene of game total quantity of the affiliated game of the scene of game Cloud Server quantity.
Optionally, second determining module includes:
Second statistic submodule is configured as counting the scene of game total quantity of the affiliated game of the scene of game;
Second judgment submodule is configured as judging whether the scene of game total quantity is less than or equal to the second default threshold Value;
Third distribution sub module is configured as if so, distributing a Cloud Server for each scene of game;
4th distribution sub module is configured as if it is not, then increasing distribution one for the scene of game greater than the second preset threshold Platform Cloud Server.
Optionally, the first operand is according to including the real-time shadow in scene, the kinematics animation in scene, in scene Model, the textures in scene, the special efficacy in scene and/or the particle in scene,
The second operand evidence includes game screen data corresponding with single virtual game player.
The third aspect, the embodiment of the present application also disclose a kind of calculating equipment, including memory, processor and are stored in On reservoir and the computer instruction that can run on a processor, the processor realize data as described above when executing described instruction The step of processing method.
Fourth aspect, the embodiment of the present application also disclose a kind of computer readable storage medium, are stored with computer and refer to The step of order, which realizes data processing method as described above when being executed by processor.
A kind of data processing method provided by the present application and device, a kind of calculating equipment and storage medium, wherein the side Method is applied to cloud server end, comprising: obtains the position and visual angle of at least two virtual game players in scene of game;According to institute State the position and visual angle of virtual game player, setting and each associated virtual camera of virtual game player;Based on the void Quasi- video camera acquires the corresponding operation data of simulated operation instruction that each virtual game player receives associated client end, Wherein, the operation data includes first operand evidence and second operand evidence;It will be associated with each virtual game player First operand according to processing to shared storage area, will with the associated second operand of single virtual game player according to processing to The corresponding storage region of the single virtual game player.When carrying out game resource distribution, to the identical game of multiple players Resource carries out shared processing, saves memory and the video memory space of cloud server end, cloud server end is accessed more Player's client greatly reduces the quantity of Cloud Server, reduces cost.
Detailed description of the invention
Fig. 1 is a kind of structural block diagram for calculating equipment that this specification one or more embodiment provides;
Fig. 2 is a kind of flow chart for data processing method that this specification one or more embodiment provides;
Fig. 3 is a kind of flow chart for data processing method that this specification one or more embodiment provides;
Fig. 4 is a kind of structural schematic diagram for data processing equipment that this specification one or more embodiment provides;
Fig. 5 is a kind of structural schematic diagram for data processing equipment that this specification one or more embodiment provides.
Specific embodiment
Many details are explained in the following description in order to fully understand the application.But the application can be with Much it is different from other way described herein to implement, those skilled in the art can be without prejudice to the application intension the case where Under do similar popularization, therefore the application is not limited by following public specific implementation.
The term used in this specification one or more embodiment be only merely for for the purpose of describing particular embodiments, It is not intended to be limiting this specification one or more embodiment.In this specification one or more embodiment and appended claims The "an" of singular used in book, " described " and "the" are also intended to including most forms, unless context is clearly Indicate other meanings.It is also understood that term "and/or" used in this specification one or more embodiment refers to and includes One or more associated any or all of project listed may combine.
It will be appreciated that though may be retouched using term first, second etc. in this specification one or more embodiment Various information are stated, but these information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other It opens.For example, first can also be referred to as second, class in the case where not departing from this specification one or more scope of embodiments As, second can also be referred to as first.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... " or " in response to determination ".
Firstly, the vocabulary of terms being related to one or more embodiments of the invention explains.
NPC: being a kind of character types, is the abbreviation of Non-Player Character, refers generally to " non-player role ", refer to Be in game not by player manipulate game role.
IK: English name " inverse kinematics ", Chinese " IK Solvers " can be used in scene Various objects control and influence role's movements of parts of the body, and personage and scene is allowed more to be bonded, to reach more true Game effect.
Depth Shadow Map: depth echo is the process that shade is added in three dimensional computer graphics.Also referred to as Light-maps (Light Mapping) --- this is that one kind can reach sense of reality illumination and yin in the case where not reducing frame per second The method of shadow effect.
RPG: role playing game (Role-playing game), referred to as RPG are one kind of type of play.In game In, player is responsible for playing the part of this role activity in a realistic or imaginary world.
In this application, a kind of data processing method and device, a kind of calculating equipment and storage medium are provided, below Embodiment in be described in detail one by one.
Fig. 1 is to show the structural block diagram of the calculating equipment 100 according to one embodiment of this specification.The calculating equipment 100 Component include but is not limited to memory 110 and processor 120.Processor 120 is connected with memory 110 by bus 130, Database 150 is for saving data.
Calculating equipment 100 further includes access device 140, access device 140 enable calculate equipment 100 via one or Multiple networks 160 communicate.The example of these networks includes public switched telephone network (PSTN), local area network (LAN), wide area network (WAN), the combination of the communication network of personal area network (PAN) or such as internet.Access device 140 may include wired or wireless One or more of any kind of network interface (for example, network interface card (NIC)), such as IEEE802.11 wireless local area Net (WLAN) wireless interface, worldwide interoperability for microwave accesses (Wi-MAX) interface, Ethernet interface, universal serial bus (USB) connect Mouth, cellular network interface, blue tooth interface, near-field communication (NFC) interface, etc..
In one embodiment of this specification, other unshowned portions in the above-mentioned component and Fig. 1 of equipment 100 are calculated Part can also be connected to each other, such as pass through bus.It should be appreciated that calculating device structure block diagram shown in FIG. 1 merely for the sake of Exemplary purpose, rather than the limitation to this specification range.Those skilled in the art can according to need, and increases or replaces it His component.
Calculating equipment 100 can be any kind of static or mobile computing device, including mobile computer or mobile meter Calculate equipment (for example, tablet computer, personal digital assistant, laptop computer, notebook computer, net book etc.), movement Phone (for example, smart phone), wearable calculating equipment (for example, smartwatch, intelligent glasses etc.) or other kinds of shifting Dynamic equipment, or the static calculating equipment of such as desktop computer or PC.Calculating equipment 100 can also be mobile or state type Server.
Wherein, processor 120 can execute the step in method shown in Fig. 2.Fig. 2 shows this specification one or more A kind of data processing method that embodiment provides, this method are applied to cloud server end, including step 202 to step 208.
Step 202: obtaining the position and visual angle of at least two virtual game players in scene of game.
Wherein, the scene of game includes but is not limited to a certain scene of game of cloud game;The virtual game player's Position and visual angle are the position and visual angle of the real gaming player of simulation.
The position and visual angle for obtaining at least two virtual game players in scene of game are that cloud server end acquisition is a certain The position and visual angle of at least two virtual game players in scene of game.
In practical application, there can be multiple game players in a scene of game, therefore when actually obtaining, be to need to obtain The position and visual angle of multiple virtual game players is taken, position and the visual angle to guarantee the virtual game player got are more true It is real accurate.
Step 204: according to the position and visual angle of the virtual game player, being arranged associated with each virtual game player Virtual camera.
Specifically, according to the position and visual angle of the virtual game player, it is arranged associated with each virtual game player After virtual camera, further includes:
The visual angle that the virtual game player associated with it is simulated based on the virtual camera, so that described virtually take the photograph The setting position and visual angle of camera are consistent with the position for the virtual game player that it is simulated and visual angle.
In practical application, according to the position and visual angle of the virtual game player in the same scene of game of cloud game, The multiple and associated virtual camera of virtual game player can be placed, each virtual camera can simulate described in one The position and visual angle of virtual game player, in order to enable the visual angle that virtual camera simulates corresponding virtual game player is trueer It is real accurate, it is also necessary to ensure that the placement location of each virtual camera and visual angle need the position of virtual game player to be simulated with it It sets and is consistent with visual angle.
Step 206: each virtual game player being acquired based on the virtual camera and receives associated client end Simulated operation instructs corresponding operation data, wherein the operation data includes first operand evidence and second operand evidence.
In this specification one or more embodiment, each virtual game player receives the simulation at associated client end The corresponding operation data of operational order is that each virtual game player simulated operation for receiving associated client end refers to It enables, executes the operation data generated after simulated operation instruction.Such as simulated operation instruction is simulation defence operational order, when After a certain virtual game player receives the simulation defence operational order at associated client end, the movement of simulation defence is made, is produced Raw simulated operation data are that simulated operation instructs corresponding operation data.
The simulated operation instruction that each virtual game player is received associated client end by the virtual camera is corresponding Operation data is acquired, classifies, and collected operation data is divided into first operand evidence and second operand evidence.
Step 208: will be with the associated first operand of each virtual game player according to processing to shared storage area, it will And the associated second operand of single virtual game player is according to processing to memory block corresponding with the single virtual game player Domain.
Wherein, the first operand is according to including the real-time shadow in scene, the kinematics animation in scene, in scene The particle in the special efficacy and/or scene in textures, scene in model, scene, the second operand evidence include and individually swim The corresponding game screen data of play player.
The first operand is according to the behaviour that can share for multiple virtual game players in same scene of game Make data, the first operand is according to real-time shadow, the kinematics animation in scene, field in including but not limited to scene of game The textures in model, scene in scape, the particle in the special efficacy and/or scene in scene.
It only needs in a first operand evidence of cloud server end storage, i.e., for the institute in the scene of game There is game player to be used in conjunction with, data sharing is realized, so that the expense of cloud server end is substantially saved, so that cloud server end More clients can be accessed.
For sharing the real-time shadow in scene of game, the first operand is carried out according to data sharing may be implemented It is described in detail.
Real-time shadow is provided in cloud server end by once calculating with after drafting in this cloud service The role of all virtual game players of device uses, and the role of each virtual game player is real-time using this in this scene of game Shadow data calculates the scene formed under this role visual angle, and is transferred to corresponding client and is shown.It is used for real-time shadow The whole scene depth pinup picture (Depth Shadow Map) of calculating be drawn from light-source angle, and with virtual game player visual angle Unrelated, only need to once calculate can reuse to the multiple client in same scene of game.Therefore for it is all with The data and calculation amount that the corresponding virtual camera position of virtual game player is not directly relevant to can be realized shared.Actually make In, the data sharing of the role of true game player can be achieved on.
The second operand according to for the associated second operand evidence of single virtual game player, including but not limited to The corresponding game screen data of single game player.I.e. each virtual game player corresponds to a second operand evidence, this Two operation datas cannot share use, be only own services.
A kind of data processing method that this specification one or more embodiment provides, applied to the cloud service in cloud game Device end can will can share with the associated multiple virtual game players of this cloud server end and carry out with not sharable data resource Separation storage is only needed in this way in a sharable operation data of cloud server end storage, so that it may for this cloud server end Same scene of game in all virtual game players share, to substantially save the expense of cloud server end, can increase The terminal quantity of the cloud server end is accessed, to reduce the increase of Cloud Server quantity, reduces cost.
Wherein, processor 120 can execute the step in method shown in Fig. 3.Fig. 3 shows this specification one or more A kind of data processing method that embodiment provides, this method are applied to cloud server end, including step 302 to step 316.
Step 302: obtaining the position and visual angle of at least two virtual game players in scene of game.
Step 304: according to the position and visual angle of the virtual game player, being arranged associated with each virtual game player Virtual camera.
Step 306: each virtual game player being acquired based on the virtual camera and receives associated client end Simulated operation instructs corresponding operation data, wherein the operation data includes first operand evidence and second operand evidence.
Step 308: will be with the associated first operand of each virtual game player according to processing to shared storage area, it will And the associated second operand of single virtual game player is according to processing to memory block corresponding with the single virtual game player Domain.
In this specification one or more embodiment, the specific implementation of step 302 to step 308 can be found in above-mentioned reality Example is applied, details are not described herein.
Step 310: receiving the true operation instruction of the associated client of virtual game player.
Step 312: first operand evidence, Yi Jicong are obtained from the shared storage area based on true operation instruction The corresponding storage region of the virtual game player obtains second operand evidence.
Step 314: being instructed based on the first operand evidence and the second operand according to generation and the true operation Corresponding game data picture.
Step 316: the game data picture is sent to the associated client of virtual game player.
In practical application, cloud server end receives the true operation instruction of the associated client of virtual game player, It is then based on the true operation instruction and obtains first operand according to i.e. shareable data, Yi Jicong from the shared storage area The corresponding storage region of the virtual game player obtains second operand according to i.e. not shareable data, the Cloud Server end group In the first operand evidence and the second operand according to generating game data picture corresponding with true operation instruction, The game data picture is finally sent to the associated client of virtual game player, realizes game data picture in visitor The presentation at family end.
In this specification one or more embodiment, determined based on the quantity of the virtual game player in the scene of game The quantity of corresponding Cloud Server, wherein the virtual game player corresponds to the game player in real gaming.
Specifically, the quantity based on the virtual game player in the scene of game determines the quantity of corresponding Cloud Server It include: the quantity of the virtual game player in each scene of game of statistics;
Judge whether the quantity of the virtual game player is less than or equal to the first preset threshold;
If so, distributing a Cloud Server for the virtual game player in the scene of game;
If it is not, then increasing distribution one to be greater than the virtual game player of first preset threshold in the scene of game Cloud Server.
Wherein, first preset threshold includes but is not limited to 500, can be defined according to practical application, herein not It repeats again.
In practical application, when being scheduled to Cloud Server, the whole in the affiliated game of the scene of game is swum first The quantity of play scene is counted, and game player's quantity in each scene of game is then counted again, if some scene of game A In game player's quantity be 505, first preset threshold is 500, and game player's quantity in scene of game A is super at this time The first preset threshold has been crossed, then has redistributed a new cloud service for the 501-505 game player in scene of game A Device B, and the 501-505 game player in scene of game A is associated with Cloud Server B, if scene of game A In number of players be less than the first preset threshold, then all game players in scene of game A share a server;Cause This occupied space of Cloud Server is fewer, may be implemented access the number of players upper limit i.e. the first preset threshold it is bigger, need Want the quantity of increased Cloud Server fewer, cost also will relative reduction.
In this specification one or more embodiment, the scene of game for being also based on the affiliated game of the scene of game is total Quantity determines the quantity of corresponding Cloud Server.
Specifically, the scene of game total quantity based on the affiliated game of the scene of game determines the number of corresponding Cloud Server Amount includes: to count the scene of game total quantity of the affiliated game of scene of game;
Judge whether the scene of game total quantity is less than or equal to the second preset threshold;
If so, distributing a Cloud Server for each scene of game;
If it is not, then increasing by one Cloud Server of distribution for the scene of game greater than the second preset threshold.
Wherein, second preset threshold includes but is not limited to 100, can be defined according to practical application, herein not It repeats again.
In practical application, the quantity of the corresponding scene of game of a Cloud Server also has certain upper limit, if the cloud service The number of players in all scene of game in device is less than the first preset threshold, but the corresponding sports ground of the Cloud Server The quantity of scape has reached the upper limit and has had exceeded the second preset threshold, and a new cloud clothes can be also redistributed for new scene of game Business device.
A kind of data processing method that this specification embodiment provides, using multiple virtual first in a certain scene of game Video camera acquires associated each virtual game player and simulates corresponding operation data when the simulated operation instruction for executing client, Then the operation data of acquisition is subjected to separation storage, realize can sharing operation data and can not the subregions of sharing operation data deposit Storage, avoid can sharing operation data repetition storage, memory and the video memory space of Cloud Server are saved, so that actually using In, when multiple true game players carry out game operation under the scene of game, can sharing operation data for the sports ground All real gaming players in scape use, to significantly save the expense of Cloud Server, so that the Cloud Server can be with More clients are accessed, more true players can participate in the scene of game, to reduce Cloud Server quantity Increase, reduce cost.
A kind of data processing method provided in this embodiment can realize sharing data resources according to different type of play Different proportion, such as can use following formula and the ratio of sharing data resources calculated:
If client instance number is Cold, then the unit expense P of unit clientoldAre as follows:
After the application data processing method, sharable data resource ratio is S, then the unit of unit client Expense PnewAre as follows:
There are sharable data resource, client instance quantity C that Cloud Server can be supportednewThen are as follows:
Ratio X after sharable data resource optimization are as follows:
In the case where there is sharable data resource, the unit expense of unit client is reduced, i.e. client instance The data resource for the Cloud Server that number individually occupies is reduced, so that the whole resource occupation ratio of Cloud Server increases, is realized It can access the increase of the quantity of the client of Cloud Server.
Wherein, the client instance number is to access the terminal quantity of cloud server end.With common large-scale 3D scene For RPG class game, due to there is large-scale scene.There are large number of NPC and can be seen by multiple client its Its player.Assuming that the sharing degree of resource is 0.5, after the method for the present embodiment, cloud server end is allowed to carry original 2 The client of times quantity.
A kind of data processing method that this specification one or more embodiment provides, applied to the cloud service in cloud game Device end can will can share with the associated multiple virtual game players of this cloud server end and carry out with not sharable data resource Separation storage.In actual use, it is only necessary in a sharable operation data of cloud server end storage, so that it may for this cloud All real gaming players in the same scene of game of server end share in client, to substantially save Cloud Server The expense at end can increase the client terminal quantity for accessing the cloud server end, enhance user experience.
Referring to fig. 4, the embodiment of the present application discloses a kind of data processing equipment, is applied to cloud server end, comprising:
First obtains module 402, is configured as obtaining the position of at least two virtual game players and view in scene of game Angle;
Setup module 404 is configured as position and visual angle according to the virtual game player, setting and each virtual trip The play associated virtual camera of player;
Acquisition module 406 is configured as receiving based on each virtual game player of virtual camera acquisition The simulated operation at associated client end instructs corresponding operation data, wherein the operation data includes first operand evidence and the Two operation datas;
Memory module 408, be configured as by with the associated first operand of each virtual game player according to processing to altogether Enjoy storage region, will with the associated second operand of single virtual game player according to processing to the single virtual game player Corresponding storage region.
A kind of data processing equipment provided by the present application can be to the phase of multiple players when carrying out game resource distribution Shared processing is carried out with game resource, memory and the video memory space of cloud server end is saved, cloud server end is accessed More player's clients, can give full play to the advantage of cloud game technology, promote user experience.
Referring to Fig. 5, the embodiment of the present application discloses a kind of data processing equipment, is applied to cloud server end, comprising:
First obtains module 502, is configured as obtaining the position of at least two virtual game players and view in scene of game Angle;
Setup module 504 is configured as position and visual angle according to the virtual game player, setting and each virtual trip The play associated virtual camera of player;
Acquisition module 506 is configured as receiving based on each virtual game player of virtual camera acquisition The simulated operation at associated client end instructs corresponding operation data, wherein the operation data includes first operand evidence and the Two operation datas;
Memory module 508, be configured as by with the associated first operand of each virtual game player according to processing to altogether Enjoy storage region, will with the associated second operand of single virtual game player according to processing to the single virtual game player Corresponding storage region;
Receiving module 510 is configured as receiving the true operation instruction of the associated client of virtual game player;
Second obtains module 512, is configured as obtaining the from the shared storage area based on true operation instruction One operation data, and second operand evidence is obtained from the corresponding storage region of the virtual game player;
Generation module 514, be configured as based on the first operand evidence and the second operand according to generate with it is described True operation instructs corresponding game data picture;
Sending module 516 is configured as the game data picture being sent to the associated visitor of virtual game player Family end.
Optionally, described device further include:
Analog module is configured as simulating the view of the virtual game player associated with it based on the virtual camera Angle, so that the position and visual angle one of the virtual game player that the setting position and visual angle of the virtual camera are simulated with it It causes.
Optionally, described device further include:
First determining module is configured as determining based on the quantity of the virtual game player in the scene of game corresponding The quantity of Cloud Server.
Optionally, the determining module includes:
First statistic submodule is configured as counting the quantity of the virtual game player in each scene of game;
First judging submodule is configured as judging whether the quantity of the virtual game player is less than or equal to first and presets Threshold value;
First distribution sub module is configured as if so, distributing one for the virtual game player in the scene of game Cloud Server;
Second distribution sub module is configured as if it is not, being then to be greater than first preset threshold in the scene of game Virtual game player increases by one Cloud Server of distribution.
Optionally, described device further include:
Second determining module is configured as determining correspondence based on the scene of game total quantity of the affiliated game of the scene of game Cloud Server quantity.
Optionally, second determining module includes:
Second statistic submodule is configured as counting the scene of game total quantity of the affiliated game of the scene of game;
Second judgment submodule is configured as judging whether the scene of game total quantity is less than or equal to the second default threshold Value;
Third distribution sub module is configured as if so, distributing a Cloud Server for each scene of game;
4th distribution sub module is configured as if it is not, then increasing distribution one for the scene of game greater than the second preset threshold Platform Cloud Server.
Optionally, the first operand is according to including the real-time shadow in scene, the kinematics animation in scene, in scene Model, the textures in scene, the special efficacy in scene and/or the particle in scene,
The second operand evidence includes game screen data corresponding with single virtual game player.
A kind of data processing equipment that this specification embodiment provides, using multiple virtual first in a certain scene of game Video camera acquires associated each virtual game player and simulates corresponding operation data when the simulated operation instruction for executing client, Then the operation data of acquisition is subjected to separation storage, realize can sharing operation data and can not the subregions of sharing operation data deposit Storage, avoid can sharing operation data repetition storage, memory and the video memory space of Cloud Server are saved, so that actually using In, when multiple true game players carry out game operation under the scene of game, can sharing operation data for the sports ground All real gaming players in scape use, to significantly save the expense of Cloud Server, increase and can access cloud clothes The terminal quantity at business device end reduces cost to reduce the increase of Cloud Server quantity.
A kind of exemplary scheme of above-mentioned data processing equipment for the present embodiment.It should be noted that the data processing The technical solution of the technical solution of device and above-mentioned data processing method belongs to same design, the technical side of data processing equipment The detail content that case is not described in detail may refer to the description of the technical solution of above-mentioned data processing method.
One embodiment of the application also discloses a kind of calculating equipment, including memory, processor and storage are on a memory And the computer instruction that can be run on a processor, the processor realize data processing side as described above when executing described instruction The step of method.
A kind of exemplary scheme of above-mentioned calculating equipment for the present embodiment.It should be noted that the skill of the calculating equipment The technical solution of art scheme and above-mentioned data processing method belongs to same design, and the technical solution for calculating equipment is not described in detail Detail content, may refer to the description of the technical solution of above-mentioned data processing method.
One embodiment of the application also provides a kind of computer readable storage medium, is stored with computer instruction, the instruction The step of data processing method as previously described is realized when being executed by processor.
A kind of exemplary scheme of above-mentioned computer readable storage medium for the present embodiment.It should be noted that this is deposited The technical solution of the technical solution of storage media and above-mentioned data processing method belongs to same design, the technical solution of storage medium The detail content being not described in detail may refer to the description of the technical solution of above-mentioned data processing method.
It is above-mentioned that this specification specific embodiment is described.Other embodiments are in the scope of the appended claims It is interior.In some cases, the movement recorded in detail in the claims or step can be come according to the sequence being different from embodiment It executes and desired result still may be implemented.In addition, process depicted in the drawing not necessarily require show it is specific suitable Sequence or consecutive order are just able to achieve desired result.In some embodiments, multitasking and parallel processing be also can With or may be advantageous.
The computer instruction includes computer program code, the computer program code can for source code form, Object identification code form, executable file or certain intermediate forms etc..The computer-readable medium may include: that can carry institute State any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, the computer storage of computer program code Device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), Electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer-readable medium include it is interior Increase and decrease appropriate can be carried out according to the requirement made laws in jurisdiction with patent practice by holding, such as in certain jurisdictions of courts Area does not include electric carrier signal and telecommunication signal according to legislation and patent practice, computer-readable medium.
It should be noted that for the various method embodiments described above, describing for simplicity, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, certain steps can use other sequences or carry out simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules might not all be this Shen It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiments.
The application preferred embodiment disclosed above is only intended to help to illustrate the application.There is no detailed for alternative embodiment All details are described, are not limited the invention to the specific embodiments described.Obviously, according to the content of this specification, It can make many modifications and variations.These embodiments are chosen and specifically described to this specification, is in order to preferably explain the application Principle and practical application, so that skilled artisan be enable to better understand and utilize the application.The application is only It is limited by claims and its full scope and equivalent.

Claims (20)

1. a kind of data processing method is applied to cloud server end characterized by comprising
Obtain the position and visual angle of at least two virtual game players in scene of game;
According to the position and visual angle of the virtual game player, setting and each associated virtual camera of virtual game player;
The simulated operation instruction that each virtual game player receives associated client end is acquired based on the virtual camera Corresponding operation data, wherein the operation data includes first operand evidence and second operand evidence;
It will will be swum with single virtual with the associated first operand of each virtual game player according to handling to shared storage area The associated second operand of player of playing is according to processing to storage region corresponding with the single virtual game player.
2. the method according to claim 1, wherein according to the position and visual angle of the virtual game player, if Set with after each associated virtual camera of virtual game player, further includes:
The visual angle that the virtual game player associated with it is simulated based on the virtual camera, so that the virtual camera Setting position and visual angle it is consistent with the position for the virtual game player that it is simulated and visual angle.
3. the method according to claim 1, wherein further include:
Receive the true operation instruction of the associated client of virtual game player;
First operand evidence is obtained from the shared storage area based on true operation instruction, and from the virtual game The corresponding storage region of player obtains second operand evidence;
Based on the first operand evidence and the second operand according to generation game number corresponding with true operation instruction According to picture.
4. according to the method described in claim 3, it is characterized in that, being based on the first operand evidence and the second operand After generation game data picture corresponding with true operation instruction, further includes:
The game data picture is sent to the associated client of virtual game player.
5. the method according to claim 1, wherein further include:
The quantity of corresponding Cloud Server is determined based on the quantity of the virtual game player in the scene of game.
6. according to the method described in claim 5, it is characterized in that, the number based on the virtual game player in the scene of game Amount determines that the quantity of corresponding Cloud Server includes:
Count the quantity of the virtual game player in each scene of game;
Judge whether the quantity of the virtual game player is less than or equal to the first preset threshold;
If so, distributing a Cloud Server for the virtual game player in the scene of game;
If it is not, then increasing by one cloud clothes of distribution to be greater than the virtual game player of first preset threshold in the scene of game Business device.
7. the method according to claim 1, wherein further include:
The quantity of corresponding Cloud Server is determined based on the scene of game total quantity of the affiliated game of the scene of game.
8. the method according to the description of claim 7 is characterized in that the scene of game based on the affiliated game of the scene of game is total Quantity determines that the quantity of corresponding Cloud Server includes:
Count the scene of game total quantity of the affiliated game of the scene of game;
Judge whether the scene of game total quantity is less than or equal to the second preset threshold;
If so, distributing a Cloud Server for each scene of game;
If it is not, then increasing by one Cloud Server of distribution for the scene of game greater than the second preset threshold.
9. the method according to claim 1, wherein the first operand is according to including the real-time yin in scene Kinematics animation in shadow, scene, the model in scene, the textures in scene, the grain in special efficacy and/or scene in scene Son,
The second operand evidence includes game screen data corresponding with single virtual game player.
10. a kind of data processing equipment is applied to cloud server end characterized by comprising
First obtains module, is configured as obtaining the position and visual angle of at least two virtual game players in scene of game;
Setup module is configured as position and visual angle according to the virtual game player, setting and each virtual game player Associated virtual camera;
Acquisition module is configured as receiving associated client based on each virtual game player of virtual camera acquisition The simulated operation at end instructs corresponding operation data, wherein the operation data includes first operand evidence and second operand According to;
Memory module, be configured as by with the associated first operand of each virtual game player according to processing to shared memory Domain, will and the associated second operand of single virtual game player deposit according to processing to corresponding with the single virtual game player Storage area domain.
11. device according to claim 10, which is characterized in that described device further include:
Analog module is configured as simulating the visual angle of the virtual game player associated with it based on the virtual camera, So that the setting position and visual angle of the virtual camera are consistent with the position for the virtual game player that it is simulated and visual angle.
12. device according to claim 10, which is characterized in that described device further include:
Receiving module is configured as receiving the true operation instruction of the associated client of virtual game player;
Second obtains module, is configured as obtaining first operand from the shared storage area based on true operation instruction According to, and from the corresponding storage region of the virtual game player obtain second operand evidence;
Generation module is configured as based on the first operand evidence and the second operand according to generation and the true operation Instruct corresponding game data picture.
13. according to right want 12 described in device, which is characterized in that described device further include:
Sending module is configured as the game data picture being sent to the associated client of virtual game player.
14. device according to claim 10, which is characterized in that described device further include:
First determining module is configured as determining corresponding cloud clothes based on the quantity of the virtual game player in the scene of game The quantity of business device.
15. device according to claim 14, which is characterized in that the determining module includes:
First statistic submodule is configured as counting the quantity of the virtual game player in each scene of game;
First judging submodule is configured as judging whether the quantity of the virtual game player is less than or equal to the first default threshold Value;
First distribution sub module is configured as if so, distributing a cloud clothes for the virtual game player in the scene of game Business device;
Second distribution sub module is configured as if it is not, being then virtual greater than first preset threshold in the scene of game Game player increases by one Cloud Server of distribution.
16. device according to claim 10, which is characterized in that described device further include:
Second determining module is configured as determining corresponding cloud based on the scene of game total quantity of the affiliated game of the scene of game The quantity of server.
17. device according to claim 16, which is characterized in that second determining module includes:
Second statistic submodule is configured as counting the scene of game total quantity of the affiliated game of the scene of game;
Second judgment submodule is configured as judging whether the scene of game total quantity is less than or equal to the second preset threshold;
Third distribution sub module is configured as if so, distributing a Cloud Server for each scene of game;
4th distribution sub module is configured as if it is not, then increasing by one cloud of distribution for the scene of game greater than the second preset threshold Server.
18. device according to claim 10, which is characterized in that the first operand is according to including the real-time yin in scene Kinematics animation in shadow, scene, the model in scene, the textures in scene, the grain in special efficacy and/or scene in scene Son,
The second operand evidence includes game screen data corresponding with single virtual game player.
19. a kind of calculating equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine instruction, which is characterized in that the processor realizes the step of claim 1-9 any one the method when executing described instruction Suddenly.
20. a kind of computer readable storage medium, is stored with computer instruction, which is characterized in that the instruction is held by processor The step of claim 1-9 any one the method is realized when row.
CN201910107971.9A 2019-02-02 2019-02-02 Data processing method and device, computing equipment and storage medium Active CN109756511B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910107971.9A CN109756511B (en) 2019-02-02 2019-02-02 Data processing method and device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910107971.9A CN109756511B (en) 2019-02-02 2019-02-02 Data processing method and device, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109756511A true CN109756511A (en) 2019-05-14
CN109756511B CN109756511B (en) 2021-08-31

Family

ID=66407345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910107971.9A Active CN109756511B (en) 2019-02-02 2019-02-02 Data processing method and device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109756511B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124403A (en) * 2019-10-18 2020-05-08 网易(杭州)网络有限公司 Multimedia editing method and device in game, terminal equipment and storage medium
CN111298449A (en) * 2020-03-23 2020-06-19 网易(杭州)网络有限公司 Control method and device in game, computer equipment and storage medium
CN111467796A (en) * 2020-04-02 2020-07-31 北京代码乾坤科技有限公司 Distributed physical settlement method and device
CN111790145A (en) * 2019-09-10 2020-10-20 厦门雅基软件有限公司 Data processing method and device, cloud game engine and computer storage medium
CN112604269A (en) * 2020-12-29 2021-04-06 珠海金山网络游戏科技有限公司 Data processing method and device
CN113289341A (en) * 2020-12-07 2021-08-24 阿里巴巴集团控股有限公司 Data processing method, aid decision method, skill training method and device
CN114746158A (en) * 2019-09-26 2022-07-12 索尼互动娱乐股份有限公司 Artificial Intelligence (AI) controlled camera view generator and AI broadcaster
CN114840562A (en) * 2022-07-04 2022-08-02 深圳市茗格科技有限公司 Distributed caching method and device for business data, electronic equipment and storage medium
CN114832385A (en) * 2022-03-29 2022-08-02 山东赤子城网络技术有限公司 Game dynamic adjustment method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841563A (en) * 2010-04-16 2010-09-22 上海亚图软件有限公司 P2P (Peer-to-Peer)-based online game synchronization method controlled by server
US20160094390A1 (en) * 2014-09-29 2016-03-31 Netapp Inc. Dynamic data access configuration
CN106027289A (en) * 2016-05-09 2016-10-12 北京奇虎科技有限公司 User state statistics system and user state statistics method
CN106716306A (en) * 2014-09-30 2017-05-24 索尼互动娱乐股份有限公司 Synchronizing multiple head-mounted displays to a unified space and correlating movement of objects in the unified space
CN106775933A (en) * 2016-11-29 2017-05-31 深圳大学 A kind of virtual machine on server cluster dynamically places optimization method and system
CN108732754A (en) * 2017-04-17 2018-11-02 英特尔公司 collaborative multi-user virtual reality

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841563A (en) * 2010-04-16 2010-09-22 上海亚图软件有限公司 P2P (Peer-to-Peer)-based online game synchronization method controlled by server
US20160094390A1 (en) * 2014-09-29 2016-03-31 Netapp Inc. Dynamic data access configuration
CN106716306A (en) * 2014-09-30 2017-05-24 索尼互动娱乐股份有限公司 Synchronizing multiple head-mounted displays to a unified space and correlating movement of objects in the unified space
CN106027289A (en) * 2016-05-09 2016-10-12 北京奇虎科技有限公司 User state statistics system and user state statistics method
CN106775933A (en) * 2016-11-29 2017-05-31 深圳大学 A kind of virtual machine on server cluster dynamically places optimization method and system
CN108732754A (en) * 2017-04-17 2018-11-02 英特尔公司 collaborative multi-user virtual reality

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111790145A (en) * 2019-09-10 2020-10-20 厦门雅基软件有限公司 Data processing method and device, cloud game engine and computer storage medium
CN114746158A (en) * 2019-09-26 2022-07-12 索尼互动娱乐股份有限公司 Artificial Intelligence (AI) controlled camera view generator and AI broadcaster
CN114746158B (en) * 2019-09-26 2023-02-28 索尼互动娱乐股份有限公司 Artificial Intelligence (AI) controlled camera view generator and AI broadcaster
CN111124403A (en) * 2019-10-18 2020-05-08 网易(杭州)网络有限公司 Multimedia editing method and device in game, terminal equipment and storage medium
CN111124403B (en) * 2019-10-18 2023-09-26 网易(杭州)网络有限公司 Method, device, terminal equipment and storage medium for editing multimedia in game
CN111298449A (en) * 2020-03-23 2020-06-19 网易(杭州)网络有限公司 Control method and device in game, computer equipment and storage medium
CN111467796A (en) * 2020-04-02 2020-07-31 北京代码乾坤科技有限公司 Distributed physical settlement method and device
CN111467796B (en) * 2020-04-02 2023-05-02 北京代码乾坤科技有限公司 Distributed physical settlement method and device
CN113289341A (en) * 2020-12-07 2021-08-24 阿里巴巴集团控股有限公司 Data processing method, aid decision method, skill training method and device
CN112604269A (en) * 2020-12-29 2021-04-06 珠海金山网络游戏科技有限公司 Data processing method and device
CN114832385A (en) * 2022-03-29 2022-08-02 山东赤子城网络技术有限公司 Game dynamic adjustment method and system
CN114840562A (en) * 2022-07-04 2022-08-02 深圳市茗格科技有限公司 Distributed caching method and device for business data, electronic equipment and storage medium
CN114840562B (en) * 2022-07-04 2022-11-01 深圳市茗格科技有限公司 Distributed caching method and device for business data, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109756511B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN109756511A (en) A kind of data processing method and device, a kind of calculating equipment and storage medium
CN109413480B (en) Picture processing method, device, terminal and storage medium
CN108176048B (en) Image processing method and device, storage medium and electronic device
WO2020098465A1 (en) Method and device for image display, storage medium and electronic device
WO2018095273A1 (en) Image synthesis method and device, and matching implementation method and device
TWI668577B (en) Rendering apparatus, rendering method thereof, program and recording medium
CN112241993B (en) Game image processing method and device and electronic equipment
US20050110789A1 (en) Dynamic 2D imposters of 3D graphic objects
CN108579082A (en) The method, apparatus and terminal of shadow are shown in game
JPWO2015001754A1 (en) Screen providing apparatus, screen providing system, control method, program, and recording medium
CN109902820A (en) AI model training method, device, storage medium and equipment
CN102470275A (en) Avatar display modification
CN112967367B (en) Water wave special effect generation method and device, storage medium and computer equipment
WO2023045649A1 (en) Video frame playing method and apparatus, and device, storage medium and program product
CN113365111A (en) Interaction method and device based on live broadcast
CN109806577A (en) Methods of exhibiting, device, terminal and the storage medium that board class is played a game
CN206312071U (en) A kind of VR aobvious device systems for supporting online game
CN113599816A (en) Picture display method, device, terminal and storage medium
CN113313798A (en) Cloud picture manufacturing method and device, storage medium and computer equipment
CN112604279A (en) Special effect display method and device
CN109522085A (en) Data processing method, calculates equipment and storage medium at device
CN110860084A (en) Virtual picture processing method and device
JP2002024858A (en) Game system and information memory medium
CN114266852A (en) Lantern wind field image processing method and device and electronic equipment
WO2023165198A1 (en) Image rendering method and apparatus, electronic device, computer-readable storage medium, and computer program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Patentee after: Zhuhai Jinshan Digital Network Technology Co.,Ltd.

Patentee after: Zhuhai Xishanju Digital Technology Co.,Ltd.

Address before: 519000 Room 102, 202, 302 and 402, No. 325, Qiandao Ring Road, Tangjiawan Town, high tech Zone, Zhuhai City, Guangdong Province, Room 102 and 202, No. 327 and Room 302, No. 329

Patentee before: ZHUHAI KINGSOFT ONLINE GAME TECHNOLOGY Co.,Ltd.

Patentee before: ZHUHAI SEASUN MOBILE GAME TECHNOLOGY Co.,Ltd.