Summary of the invention
In order to solve the above technical problems, it is an object of the invention to: one kind is provided without using a large amount of memory space energy
Realize processing method, system and the storage medium for saving the cloud mobile phone games progress data of game progress.
The first technical solution of the present invention is:
A kind of processing method of cloud mobile phone games progress data comprising following steps:
It obtains user identifier and logs in IP;
It is inquired according to user identifier and login IP, obtains the first equipment mark code and the first game ID;
Cloud mobile phone is written into first equipment mark code and the first game ID;
Determine the first equipment mark code and the first game ID write-in cloud mobile phone after, from game server obtain game into
Degree;
Cloud mobile phone is sent by game progress.
Further, further comprising the steps of:
Obtain game request;
Cloud mobile phone is distributed according to game request.
Further, described to be inquired according to user identifier and login IP, obtain the first equipment mark code and the first trip
Play ID, specifically includes:
According to user identifier and log in IP inquiry record file;
After determination inquires record file, the first equipment mark code and the first game ID are read from record file;
Determine do not inquire record file after, according to user identifier and log in IP creation record file, and record text
The first equipment mark code and the first game ID are written in part.
Further, described after determining the first equipment mark code and the first game ID write-in cloud mobile phone, from game services
Game progress is obtained in device, is specifically included:
After determining the first equipment mark code and the first game ID write-in cloud mobile phone, game enabled instruction is received;
The first equipment mark code and the first game ID are matched in game server according to game enabled instruction;
Game progress is obtained according to matching result, and sends cloud mobile phone for game progress.
Further, described that game progress is obtained according to matching result, it specifically includes:
It obtains game file and presss from both sides permission;
Game progress is obtained out of game server according to matching result and game file folder permission.
Further, the acquisition user identifier and login IP, specifically:
User identifier is obtained from game request and logs in IP.
It is further, described that cloud mobile phone is written into first equipment mark code and the first game ID, specifically:
The equipment mark code of cloud mobile phone and game ID are revised as the first equipment mark code and the first trip by calling interface
Play ID.
Second of technical solution of the present invention is:
A kind of processing system of cloud mobile phone games progress data comprising:
First obtains module, for obtaining user identifier and logging in IP;
Second obtains module, for according to user identifier and logging in IP and being inquired, obtains the first equipment mark code and the
One game ID;
Writing module, for cloud mobile phone to be written in the first equipment mark code and the first game ID;
Third obtain module, for determine the first equipment mark code and the first game ID write-in cloud mobile phone after, from game
Game progress is obtained in server;
Sending module, for sending cloud mobile phone for game progress.
The third technical solution of the present invention is:
A kind of processing system of cloud mobile phone games progress data comprising:
At least one processor, for storing program;
At least one processor executes a kind of place of cloud mobile phone games progress data for loading described program
Reason method.
4th kind of technical solution of the present invention is:
A kind of storage medium, wherein be stored with the executable instruction of processor, the executable instruction of the processor by
For realizing a kind of processing method of cloud mobile phone games progress data when processor executes.
The beneficial effects of the present invention are: the present invention by processing server according to the user identifier of acquisition and log in IP
After inquiry, the first equipment mark code and the first game ID are obtained, cloud then is written into the first equipment mark code and the first game ID
Mobile phone, and the game progress that will acquire is sent in the cloud mobile phone for finishing writing the first equipment mark code and the first game ID, is made
User terminal is when carrying out cloud game, that is, in the environment that can enter last game over, meanwhile, by according to user identifier and
It logs in IP to inquire to obtain the first equipment mark code and the first game ID, make in processing server without saving in entire game contents
Hold, saves the memory space in processing server.
Specific embodiment
The present invention is described in further detail in the following with reference to the drawings and specific embodiments.In for the examples below
Number of steps is arranged only for the purposes of illustrating explanation, does not do any restriction to the sequence between step, each in embodiment
The execution sequence of step can be adaptively adjusted according to the understanding of those skilled in the art.
Referring to Fig.1, the embodiment of the invention provides a kind of processing method of cloud mobile phone games progress data, the present embodiment tools
Body is applied in processing server, specifically includes the following steps:
S101, it obtains user identifier and logs in IP;The user identifier is the user Userid of user terminal.The login
IP is the login protocol for logging in cloud game.
S102, it is inquired according to user identifier and login IP, obtains the first equipment mark code and the first game ID;This step
Rapid is specifically to be inquired according to user identifier and login IP, if inquiring record file, reads first out of record file
Equipment mark code and the first game ID.Wherein, record file is for storing customer equipment identification code and game ID.The record text
Part is stored in the database of processing server.The record file is created by user identifier and login IP.Described
One equipment mark code and the first game ID are stored in through user identifier and are logged in the record file of IP creation.If processing
Server memory contains user identifier and logs in the record file of IP creation, then can match to obtain in record file corresponding
Equipment mark code and game ID.
S103, cloud mobile phone is written into the first equipment mark code and the first game ID;The cloud mobile phone is uploaded according to user
The cloud mobile phone that distributes of game request.
S104, determine the first equipment mark code and the first game ID write-in cloud mobile phone after, obtained from game server
Game progress;Original equipment mark code in cloud mobile phone and game ID are specifically revised as the first equipment mark code and the first trip
Play ID.After the completion of modification, when game starting, then game progress is obtained automatically from game server.
S105, game progress is sent to cloud mobile phone.Specifically make user terminal when carrying out cloud game, can enter
The environment of last game over is shown to progress when last game over.
The present embodiment in processing server by according to the user identifier of acquisition and after logging in IP inquiry, obtaining first and setting
Standby identification code and the first game ID, are then written cloud mobile phone for the first equipment mark code and the first game ID, and will acquire to obtain
Game progress be sent in the cloud mobile phone for finishing writing the first equipment mark code and the first game ID, wandering about user terminal
When play, that is, in the environment that can enter last game over, meanwhile, by according to user identifier and logging in IP and inquiring to obtain first
Equipment mark code and the first game ID make to save processing server without saving entire game contents content in processing server
Interior memory space.
It is further used as preferred embodiment, further comprising the steps of:
Obtain game request;The game request is that user carries out in cloud game, a request instruction of triggering.
Cloud mobile phone is distributed according to game request.The present embodiment is made by the reallocation cloud mobile phone after receiving game request
Obtaining cloud mobile phone can be fully used, and avoid being in idle condition again afterwards there is a situation where cloud mobile phone is occupied.Certainly, this reality
Can also in advance user terminal and cloud mobile phone be bound by applying example, and so that user terminal is entered cloud game every time all is same cloud
Mobile phone.
It is further used as preferred embodiment, it is described to be inquired according to user identifier and login IP, it obtains first and sets
Standby identification code and the first game ID, specifically include:
According to user identifier and log in IP inquiry record file;The record file for store customer equipment identification code and
Game ID.The record file is stored in the database of processing server.
After determination inquires record file, the first equipment mark code and the first game ID are read from record file;
Determine do not inquire record file after, according to user identifier and log in IP creation record file, and record text
The first equipment mark code and the first game ID are written in part.
The present embodiment is inquired according to user identifier and login IP, if do not inquire record file, illustrates this time
User identifier and log in IP be to be logged in for the first time, in the database of processing server, there are no the user identifiers of this time
With the record for logging in IP, therefore, it is necessary to according to user identifier and log in IP creation record text in the database of processing server
Part, and the first equipment mark code and the first game ID are created in record file, so that user is again introduced into trip after game over
When play, by user identifier and IP is logged in database, can inquire to obtain the first equipment mark code and the first game ID, so
Obtained out of game server afterwards it is last at the end of game progress, meanwhile, by database according to user identifier and
IP creation record file is logged in, and creates the first equipment mark code and the first game ID in record file, so that processing service
Without saving entire game contents content in the database of device, to save the memory space in processing server.
It is further used as preferred embodiment, it is described to determine the first equipment mark code and the first game ID write-in cloud hand
After machine, game progress is obtained from game server, is specifically included:
After determining the first equipment mark code and the first game ID write-in cloud mobile phone, game enabled instruction is received;
The first equipment mark code and the first game ID are matched in game server according to game enabled instruction;This step tool
Body is judged in game server with the presence or absence of the first equipment mark code and the first game ID, and if it exists, is then obtained and is set with first
Standby identification code and the corresponding game progress of the first game ID then send miscue information if it does not exist.
Game progress is obtained according to matching result, and sends cloud mobile phone for game progress.The matching result of this step is
Refer to that there are the first equipment mark codes and the first game ID in game server.The game progress refers to first device identification
Code and game process of the first game ID in a game over.
The present embodiment in game server by obtaining game progress, so that only needing in the database of processing server
The key message for storing cloud game can also be entered without storing entire game contents content when entering game next time
In the process of game, to save the memory space of database in processing server.
It is further used as preferred embodiment, it is described that game progress is obtained according to matching result, it specifically includes:
It obtains game file and presss from both sides permission;The file permission is in game database, for storing entire game mesh
Record the access authority of the file of content.
Game progress is obtained out of game server according to matching result and game file folder permission.The matching result makes
Processing server can accurately call the game progress in game server.The game file folder permission has processing server
There is the condition of access game server.The present embodiment presss from both sides permission by matching result and game file, and processing server can be made quasi-
Upper primary game progress really is called in game server.
It is further used as preferred embodiment, the acquisition user identifier and login IP, specifically:
User identifier is obtained from game request and logs in IP.User identifier is identified particular by game request and is stepped on
Record IP.By acquiring user identifier from game request and logging in IP, guarantee the accuracy for obtaining result.
It is further used as preferred embodiment, it is described that cloud mobile phone is written into first equipment mark code and the first game ID,
Its specifically:
The equipment mark code of cloud mobile phone and game ID are revised as the first equipment mark code and the first trip by calling interface
Play ID.The interface is that the corresponding interface come is opened in system level, calls for processing server, issues corresponding number
According to operation etc. of modifying.Since cloud mobile phone and cloud game are randomly assigned, so equipment of the cloud mobile phone before no modification
Identification code and game ID, may be identical as the first equipment mark code and the first game ID, it is also possible to not identical.Pass through calling interface
Method, can reduce the development amount of developer, save the development time.
In the specific application process, detailed process is as follows for the present embodiment:
Receive the game request that user passes on the terminal device;
Cloud mobile phone is randomly assigned according to game request;Meanwhile user identifier is identified according to game request and logs in IP;When
So, this step can also in advance bind user terminal and cloud mobile phone, all be same when user terminal being made to enter cloud game
Platform Yun Shouji.The present embodiment enables cloud mobile phone to be fully used by dynamically distributing cloud mobile phone.
In processing server according to user identifier and log in IP judge whether there is access record, if not having, according to
Family mark and IP creation record is logged in, and recording creation equipment mark code and game ID, if so, then setting from recording acquisition
Standby identification code and game ID, and carry out below step;There is no when access record in processing server, illustrate that this user marks
Knowing and logging in IP is that cloud game is played in examination for the first time.And it is recorded by being created in the database of processing server, and recording wound
Build equipment mark code and game ID, when can make log in next time, accurately called out of game server obtain last game into
Degree.
Cloud mobile phone is sent by equipment mark code and game ID, and sets the cloud mobile phone for equipment mark code and game ID
Equipment mark code and game ID;
Receive game enabled instruction;
According to game enabled instruction, judge that equipment mark code and game ID whether there is in game server, and if it exists,
Corresponding game progress is then obtained out of game server, and sends cloud mobile phone for game progress, makes wandering about on cloud mobile phone
After play starting, in the environment in the game progress, conversely, then sending miscue information.
The embodiment of the invention also provides a kind of processing systems of cloud mobile phone games progress data corresponding with Fig. 1 method
System comprising:
First obtains module, for obtaining user identifier and logging in IP;
Second obtains module, for according to user identifier and logging in IP and being inquired, obtains the first equipment mark code and the
One game ID;
Writing module, for cloud mobile phone to be written in the first equipment mark code and the first game ID;
Third obtain module, for determine the first equipment mark code and the first game ID write-in cloud mobile phone after, from game
Game progress is obtained in server;
Sending module, for sending cloud mobile phone for game progress.
Suitable for this system embodiment, this system embodiment is implemented content in above method embodiment
Function is identical as above method embodiment, and the beneficial effect reached and above method beneficial effect achieved are also identical.
The embodiment of the invention also provides a kind of processing systems of cloud mobile phone games progress data corresponding with Fig. 1 method
System comprising:
At least one processor, for storing program;
At least one processor executes a kind of place of cloud mobile phone games progress data for loading described program
Reason method.
Suitable for this system embodiment, this system embodiment is implemented content in above method embodiment
Function is identical as above method embodiment, and the beneficial effect reached and above method beneficial effect achieved are also identical.
In addition, the embodiment of the invention also provides a kind of storage mediums, wherein being stored with the executable instruction of processor, institute
The executable instruction of processor is stated when executed by the processor for realizing a kind of place of cloud mobile phone games progress data
Reason method.
In conclusion the present invention in processing server by according to the user identifier of acquisition and after logging in IP inquiry, obtaining
To the first equipment mark code and the first game ID, cloud mobile phone then is written into the first equipment mark code and the first game ID, and will
The game progress acquired is sent in the cloud mobile phone for finishing writing the first equipment mark code and the first game ID, and user terminal is made to exist
When carrying out cloud game, that is, in the environment that can enter last game over, meanwhile, by according to user identifier and logging in IP inquiry
The first equipment mark code and the first game ID are obtained, is made without saving entire game contents content in processing server, at saving
Manage the memory space in server.
It is to be illustrated to preferable implementation of the invention, but the present invention is not limited to the embodiment above, it is ripe
Various equivalent deformation or replacement can also be made on the premise of without prejudice to spirit of the invention by knowing those skilled in the art, this
Equivalent deformation or replacement are all included in the scope defined by the claims of the present application a bit.