Summary of the invention
In view of this, the embodiment of the present application provides a kind of document handling method, device, calculates equipment and storage medium,
To solve technological deficiency existing in the prior art.
The embodiment of the present application discloses a kind of document handling method, is applied to server end, comprising:
The data information of user is obtained from client;
By the data information input probability prediction model of the user, the prediction for obtaining additional resource file subpackage uses sequence
Column, and the prediction of the additional resource file subpackage is returned into the client using sequence;
The corresponding additional resource file subpackage is sent to the client according to the request of the client.
Optionally, after the data information that client obtains user, further includes:
Judge in the data information of the user whether include user status data information.
Optionally, the Probabilistic Prediction Model includes independent probability prediction model;
By the data information input probability prediction model of the user, the prediction for obtaining additional resource file subpackage uses sequence
Column, the prediction of the additional resource file subpackage, which is returned to the client using sequence, includes:
In the data information of the user include user status data information in the case where, by the data of the user
Information input independent probability prediction model obtains the independent prediction of additional resource file subpackage using sequence, and will be described additional
The independent prediction of resource file subpackage returns to the client using sequence.
Optionally, the data information of the user is inputted into independent probability prediction model, obtains additional resource file subpackage
Independent prediction include: using sequence
The use probability of each additional resource file subpackage is obtained according to the independent probability prediction model;
By being successively ranked up from high to low using probability for each additional resource file subpackage;
Obtain the first identifier letter for being located at top N using probability and be greater than the additional resource file subpackage for using threshold value
Breath, wherein N is the positive integer more than or equal to 1;
Sequence is used according to the independent prediction that the first identifier information generates the additional resource file subpackage.
Optionally, the independent probability prediction model is trained by the following method:
Obtain training sample set, wherein the training sample set includes the historical data information and user's downloading of user
Additional resource file subpackage target identification information, the historical data information of the user includes historical state data information;
Independent probability prediction model is trained by the training sample set, obtains trained independent probability prediction
Model, the independent probability prediction model make the historical data information of the user and the additional resource text of user downloading
The target identification information of part subpackage is associated.
Optionally, the Probabilistic Prediction Model includes global Probabilistic Prediction Model;
By the data information input probability prediction model of the user, the prediction for obtaining additional resource file subpackage uses sequence
Column, and the prediction of the additional resource file subpackage is returned into the client using sequence and includes:
In the data information of the user do not include user status data information in the case where, by the number of the user
According to information input overall situation Probabilistic Prediction Model, the global prediction of additional resource file subpackage is obtained using sequence, and will be described attached
The global prediction of resource file subpackage is added to return to the client using sequence.
Optionally, the data information of the user is inputted into global Probabilistic Prediction Model, obtains additional resource file subpackage
Global prediction include: using sequence
The use probability of each additional resource file subpackage is obtained according to the global Probabilistic Prediction Model;
By being successively ranked up from high to low using probability for each additional resource file subpackage;
Obtain the first identifier letter for being located at top N using probability and be greater than the additional resource file subpackage for using threshold value
Breath, wherein N is the positive integer more than or equal to 1;
Sequence is used according to the global prediction that the first identifier information generates the additional resource file subpackage.
Optionally, the global Probabilistic Prediction Model is trained by the following method:
Obtain training sample set, wherein the training sample set includes the historical data information and user's downloading of user
Additional resource file subpackage target identification information, the historical data information of the user do not include historical state data letter
Breath;
Independent probability prediction model is trained by the training sample set, obtains trained independent probability prediction
Model, the independent probability prediction model make the historical data information of the user and the additional resource text of user downloading
The target identification information of part subpackage is associated.
Optionally, before the master data that client obtains the user, further includes:
Necessary resource file packet is sent to client;
At least one additional resource file subpackage is sent to client according to the request of client.
Optionally, the data information of the user further includes the identification information of user, the Role Information of user and user
Class information;
The status data information of the user includes having downloaded the second mark of the additional resource file subpackage finished
Know information.
Optionally, the additional resource file subpackage is to store the additional resource file subpackage of map resource.
The application also provides a kind of document handling method, is applied to client, comprising:
Obtain the data information of user;
The data information of the user is sent to server end;
Judge whether to use sequence from the received server-side to the prediction of additional resource file subpackage;
In the case where using sequence to the prediction of additional resource file subpackage from the received server-side, according to described
Prediction downloads corresponding additional resource file subpackage from the server end using sequence in order.
Optionally, the case where using sequence to the prediction of additional resource file subpackage not from the received server-side
Under, call the use probability sorting table prestored;
Corresponding additional resource file subpackage is downloaded in order from the server end using probability sorting table according to described.
Optionally, before the data information for obtaining user, further includes:
Necessary resource file packet is obtained from server end;
At least one corresponding additional resource file subpackage is obtained from server according to the request of user;
According to the necessary resource file packet of acquisition and additional resource file subpackage, the queue of file packet is generated.
Optionally, the data information of the user include the identification information of user, the Role Information of user, user grade
The status data information of information and user;
Alternatively, the data information of the user include the identification information of user, the Role Information of user, user grade letter
Breath;
The status data information of the user includes having downloaded the second mark of the additional resource file subpackage finished
Know information.
Optionally, the additional resource file subpackage is to store the additional resource file subpackage of map resource.
The application also provides a kind of document handling apparatus, comprising:
First obtains module, is configured as obtaining the data information of user from client;
Prediction module is configured as the data information input probability prediction model of the user obtaining additional resource text
The prediction of part subpackage uses sequence, and the prediction of the additional resource file subpackage is returned to the client using sequence;
Feedback module is configured as being sent the corresponding additional resource file subpackage according to the request of the client
To the client.
Present invention also provides a kind of document handling apparatus characterized by comprising
Second obtains module, is configured as obtaining the data information of user;
Transmission module is configured as the data information of the user being sent to server end;
Analysis module is configured as judging whether to make from the received server-side to the prediction of additional resource file subpackage
Use sequence;
Execution module is configured as using sequence from the received server-side to the prediction of additional resource file subpackage
In the case where, corresponding additional resource file subpackage is downloaded from the server end using sequence according to the prediction in order.
Present invention also provides a kind of calculating equipment, including memory, processor and storage on a memory and can located
The step of computer instruction run on reason device, the processor realizes method as described above when executing described instruction.
Present invention also provides a kind of computer readable storage mediums, are stored with computer instruction, and the instruction is processed
The step of device realizes method as described above when executing.
A kind of document handling method, device, calculating equipment and storage medium provided by the present application, are based on artificial intelligence skill
Art by the system passing game data information of a large amount of collection terminal users automatically, and is analyzed according to the data information of collection
It calculates, judges the game resource file that the user may use in the recent period, and download corresponding game money in game process automatically
Source file so that the client of each user be all it is different, be by system according to the game behavior before user to
Family carries out private customization and the client that is formed, so that total data of the user without download server, but pass through artificial intelligence
Energy technology generates the real-time customization client for meeting user's needs, the convenient, flexible client file mistake for solving the prior art
Big problem.
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.
Markov process: under conditions of its known current state, its following differentiation is independent of it previous
It develops, under conditions of this known " present ", " future " and " past " independent characteristic are known as Markov property, have this property
The random process of matter is called Markov process.
In this application, it provides a kind of document handling method, device, calculate equipment and storage medium, in following reality
It applies in example and is 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.
In the embodiment of the present application, as shown in Fig. 2, the server can be the server of online game, in the service
It is stored with game resource file in device, includes necessary resource file and additional resource file under the catalogue of game resource file
Folder, the interior necessary resource file includes the necessary file resource for maintaining game to operate normally, such as logic configuration data text
Part logs in scenario resources data file, basic role data file, basic UI data file and new hand village map resource file
Deng including the appended document resource in game running, such as map resource, role's resource, NPC in the additional resource file
Resource, audio music sources, high definition textures resource etc..
Game developer is packaged game resource file by strapping tool according to allocation list in server end, most
Obtain a complete game resource packet eventually, include in the game resource packet necessary resource file packet, additional resource file packet and
Index file, wherein concentrating compression to be stored with multiple necessary resource files, the additional resource in the necessary resource file packet
File packet includes multiple additional resource file subpackages, concentrates compression to be stored in each additional resource file subpackage specific additional
Resource file, record has the file being stored in game resource packet and is stored in game resource file in the index file
The mapping relations of All Files, so that transmitting the feelings of the routing information of specific file to the file system of the application in upper-level system
Under condition, present specification system can accurately return data to upper-level system.
All clients are required to download the necessary resource file packet during installation, and user can be provided by client
Downloading of the download option to the progress selectivity of the additional resource file subpackage, system records the downloading row of user at any time
For, and one of the foundation analyzed and determined behavioral data is downloaded as subsequent additional resource file subpackage downloading, it realizes and continues
Optimize resource file customization download system so that the number for the resource file subpackage downloaded between each client and/or
Type can be different.
Wherein, processor 120 can execute the step in method shown in Fig. 3.Fig. 3 is to show to be implemented according to the application one
The schematic flow chart of the document handling method of example is applied to server end, including step 301 to step 303.
Step 301: the data information of user is obtained from client.
In the embodiment of the present application, the server end of system obtains the data information of user from client, wherein the use
The data information at family includes the status data information of user, the identification information of user, the Role Information of user and the grade of user
Information etc..For example, it is used in gaming that the status data information of the user can be user in larger-scale gaming systems
Resource data, that is, additional resource file subpackage, the identification information of the user can be the game account or ID of user, the use
The Role Information at family can be occupation or the school of the role that studies abroad of user, and the class information of the user can be the trip of user
Play the grade of role, certainly, the data information of the user can also include the common cartographic information of user, user it is common
Game good friend's data of Map Switch order information, the task execution situation of user and user etc..
Step 302: by the data information input probability prediction model of the user, obtaining the pre- of additional resource file subpackage
It surveys and uses sequence, and the prediction of the additional resource file subpackage is returned into the client using sequence.
In the embodiment of the present application, preparatory what a probabilistic forecasting mould of off-line training in the predictive server of server end
Type swims the data information input probability prediction model of the user to the corresponding user of the data information of the user in the recent period
The additional resource file subpackage that may be used during play is predicted that the prediction for obtaining additional resource file subpackage makes
With sequence, and prediction result, that is, additional resource file subpackage prediction is returned into the client using sequence.
Step 303: the corresponding additional resource file subpackage is sent to by the visitor according to the request of the client
Family end.
In the embodiment of the present application, the game server in server end receives the request of the client, and
The corresponding additional resource file subpackage is sent to the client during game running, so that mentioning in client
Before be stored with user and may use in game process to the subpackage of additional resource file, so that user can be in always in the recent period
In smooth game experiencing.
The application is based on artificial intelligence technology, by the system passing game data information of a large amount of collection terminal users automatically,
And analytical calculation is carried out according to the data information of collection, judge the game resource file that the user may use in the recent period, and automatic
Corresponding game resource file is downloaded in game process, so that the client of each user is all different, it is by being
The client that system is formed the private customization of user's progress according to the game behavior before user, so that user is without download service
The total data of device, but the real-time customization client for meeting user's needs is generated by artificial intelligence technology, it is convenient, flexible
Solves the client file problems of too of the prior art.
Wherein, processor 120 can execute the step in method shown in Fig. 4.Fig. 4 is to show to be implemented according to the application one
The schematic flow chart of the document handling method of example is applied to server end, including step 401 to step 405.
Step 401: the data information of user is obtained from client.
In the embodiment of the present application, the server end of system obtains the data information of user from client, wherein the use
The data information at family includes the status data information of user, the identification information of user, the Role Information of user and the grade of user
Information etc..For example, it is used in gaming that the status data information of the user can be user in larger-scale gaming systems
Resource data, that is, additional resource file subpackage, the identification information of the user can be the game account or ID of user, the use
The Role Information at family can be occupation or the school of the role that studies abroad of user, and the class information of the user can be the trip of user
Play the grade of role, certainly, the data information of the user can also include the common cartographic information of user, user it is common
Game good friend's data of Map Switch order information, the task execution situation of user and user etc..
Step 402: judge in the data information of the user whether include user status data information.If so then execute
Step 403,404 are thened follow the steps if not.
In the embodiment of the present application, in the server end predictive server judge in the data information of the user whether
Status data information including user, difference Producing reason are that for new user, it not yet loads relevant resource
Data, that is, additional resource file subpackage, therefore there is no corresponding status data information, therefore, in order to be capable of handling the application
Whole situations is stored with independent probability prediction model and global Probabilistic Prediction Model in the predictive server.
Step 403: the data information of the user being inputted into independent probability prediction model, obtains additional resource file subpackage
Independent prediction use sequence, and the independent prediction of the additional resource file subpackage is returned into the client using sequence
End.
In the embodiment of the present application, the Probabilistic Prediction Model includes independent probability prediction model, in the number of the user
It is believed that include in breath user status data information in the case where, it is pre- by the way that the data information of the user is inputted independent probability
Model is surveyed, the independent probability prediction model is analyzed and calculated by the status data information to the user, obtained attached
The independent prediction of resource file subpackage is added to use the prediction result of sequence, i.e. the corresponding user of the status data information is swimming in the recent period
The forecasting sequence for the additional resource file subpackage that may be used during play.
In the embodiment of the present application, as shown in figure 5, the data information of the user is inputted independent probability prediction model,
It includes step 501 to step 504 that the independent prediction of additional resource file subpackage, which is obtained, using sequence:
Step 501: the use probability of each additional resource file subpackage is obtained according to the independent probability prediction model.
In the embodiment of the present application, the data information of user is inputted into independent probability prediction model, obtains each additional money
The corresponding probability being likely to be used under the conditions of user's current data of source file subpackage.
By taking the Map Switch process of user in gaming as an example, it is assumed that its Map Switch process is a markov mistake
Journey, i.e. user by the additional resource file subpackage to be loaded for storing map resource only with the storage that loads several times recently
Have the additional resource file subpackage of map resource related, then the predictive server can according to the identification information of user, use
The status data information of the Role Information at family, the class information of user and user, which calculates, generates independent Markov probability transfer square
Battle array, and sequence is used according to the independent prediction that the independent Markov probability transfer matrix obtains additional resource file subpackage,
Wherein, the status data information of the user includes having downloaded the second identifier letter of the additional resource file subpackage finished
Breath, such as store the identification information of the additional resource file subpackage of map resource.
Step 502: by being successively ranked up from high to low using probability for each additional resource file subpackage.
Step 503: obtaining be located at that top N and being greater than uses the additional resource file subpackage of threshold value using probability the
One identification information, wherein N is the positive integer more than or equal to 1.
In the embodiment of the present application, as shown in table 1, in actual operation, can only retain it is described be located at using probability before
10 and be greater than using threshold value greater than 2% additional resource file subpackage first identifier information.
Table 1
The first identifier information of additional resource file subpackage |
Use probability |
M31 |
50% |
M32 |
42% |
M33 |
38% |
M34 |
35% |
M35 |
31% |
M41 |
27% |
M42 |
22% |
M43 |
17% |
M44 |
11% |
M45 |
5% |
Step 504: sequence is used according to the independent prediction that the first identifier information generates the additional resource file subpackage
Column.
In the embodiment of the present application, it is greater than 2% using threshold value according to being located at first 10 using probability and being greater than in table 1
The first identifier information of additional resource file subpackage generates the independent prediction of the additional resource file subpackage using sequence, that is, uses
The forecasting sequence of the top ten for the additional resource file subpackage that family may use in game process in the recent period.
Step 404: the data information of the user being inputted into global Probabilistic Prediction Model, obtains additional resource file subpackage
Global prediction use sequence, and the global prediction of the additional resource file subpackage is returned into the client using sequence
End.
In the embodiment of the present application, the Probabilistic Prediction Model includes global Probabilistic Prediction Model, in the number of the user
It is believed that in breath in the case where the status data information including user, by the way that the data information of the user is inputted global probability
Prediction model, the independent probability prediction model are analyzed and are calculated by the status data information to the user, obtained
The global prediction of additional resource file subpackage uses the prediction result of sequence, i.e. the corresponding user of the status data information exists in the recent period
The forecasting sequence for the additional resource file subpackage that may be used in game process.
In the embodiment of the present application, as shown in fig. 6, the data information of the user is inputted global Probabilistic Prediction Model,
It includes step 601 to step 604 that the global prediction of additional resource file subpackage, which is obtained, using sequence:
Step 601: the use probability of each additional resource file subpackage is obtained according to the global Probabilistic Prediction Model.
In the embodiment of the present application, the data information of novice users is inputted into global Probabilistic Prediction Model, obtained each attached
Add the corresponding probability being likely to be used under the conditions of user's current data of resource file subpackage.
By taking the Map Switch process of user in gaming as an example, it is assumed that its Map Switch process is a markov mistake
Journey, i.e. user by the additional resource file subpackage to be loaded for storing map resource only with the storage that loads several times recently
There is the additional resource file subpackage of map resource related, however since new user does not have corresponding status data information, then
The predictive server can generate overall situation Ma Er according to the class information of the identification information of user, the Role Information of user and user
Can husband's probability transfer matrix, and the overall situation of additional resource file subpackage is obtained according to the global Markov probability transfer matrix
Prediction uses sequence, wherein the status data information of the user includes having downloaded the additional resource file point finished
The second identifier information of packet, such as store the identification information of the additional resource file subpackage of map resource.
Step 602: by being successively ranked up from high to low using probability for each additional resource file subpackage.
Step 603: obtaining be located at that top N and being greater than uses the additional resource file subpackage of threshold value using probability the
One identification information, wherein N is the positive integer more than or equal to 1.
In the embodiment of the present application, as shown in table 2, in actual operation, can only retain it is described be located at using probability before
10 and be greater than using threshold value greater than 2% additional resource file subpackage first identifier information.
Table 2
The first identifier information of additional resource file subpackage |
Use probability |
M51 |
66% |
M52 |
58% |
M53 |
47% |
M54 |
40% |
M55 |
38% |
M61 |
32% |
M62 |
29% |
M63 |
22% |
M64 |
16% |
M65 |
9% |
Step 604: sequence is used according to the global prediction that the first identifier information generates the additional resource file subpackage
Column.
In the embodiment of the present application, it is greater than 2% using threshold value according to being located at first 10 using probability and being greater than in table 2
Using sequence, i.e., newly the first identifier information of additional resource file subpackage generates the global prediction of the additional resource file subpackage
The forecasting sequence of the top ten for the additional resource file subpackage that hand user may use in game process in the recent period.
Step 405: the corresponding additional resource file subpackage is sent to by the visitor according to the request of the client
Family end.
In the embodiment of the present application, the game server in server end receives the request of the client, and
The corresponding additional resource file subpackage is sent to the client during game running, so that mentioning in client
Before be stored with user and may use in game process to the subpackage of additional resource file, so that user can be in always in the recent period
In smooth game experiencing.
Optionally, the independent probability prediction model is trained by the following method:
Obtain training sample set, wherein the training sample set includes the historical data information and user's downloading of user
Additional resource file subpackage target identification information, the historical data information of the user includes historical state data information;
Independent probability prediction model is trained by the training sample set, obtains trained independent probability prediction
Model, the independent probability prediction model make the historical data information of the user and the additional resource text of user downloading
The target identification information of part subpackage is associated.
Optionally, the global Probabilistic Prediction Model is trained by the following method:
Obtain training sample set, wherein the training sample set includes the historical data information and user's downloading of user
Additional resource file subpackage target identification information, the historical data information of the user do not include historical state data letter
Breath;
Independent probability prediction model is trained by the training sample set, obtains trained independent probability prediction
Model, the independent probability prediction model make the historical data information of the user and the additional resource text of user downloading
The target identification information of part subpackage is associated.
The application shifts to an earlier date off-line training by Markov model and goes out independent probability prediction model and global probabilistic forecasting mould
Type may use user in the recent period to collect the data information of user when user enters game in game process
To additional resource file subpackage predicted and sorted using probability, several higher additional resource files of probability will be used
Subpackage is sent to corresponding client during game running, realizes the isomery between each user terminal and personalization.
Wherein, processor 120 can execute the step in method shown in Fig. 7.Fig. 7 is to show to be implemented according to the application one
The schematic flow chart of the document handling method of example is applied to server end, including step 701 to step 705.
Step 701: sending necessary resource file packet to client.
In the embodiment of the present application, the server end is forced to send to each client for maintaining game to operate normally
Necessary resource file packet
Step 702: at least one additional resource file subpackage is sent to client according to the request of client.
In the embodiment of the present application, the server end sends at least one to client according to the request of client and adds
Resource file subpackage, since there may be the additional resource files that difference makes each client downloads for the request of each client
There is also differences for the type of subpackage.
Step 703: the data information of user is obtained from client.
In the embodiment of the present application, the server end of system obtains the data information of user from client, wherein the use
The data information at family includes the status data information of user, the identification information of user, the Role Information of user and the grade of user
Information etc..For example, it is used in gaming that the status data information of the user can be user in larger-scale gaming systems
Resource data, that is, additional resource file subpackage, the identification information of the user can be the game account or ID of user, the use
The Role Information at family can be occupation or the school of the game role of user, and the class information of the user can be the trip of user
Play the grade of role, certainly, the data information of the user can also include the common cartographic information of user, user it is common
Game good friend's data of Map Switch order information, the task execution situation of user and user etc..
Step 704: by the data information input probability prediction model of the user, obtaining the pre- of additional resource file subpackage
It surveys and uses sequence, and the prediction of the additional resource file subpackage is returned into the client using sequence.
In the embodiment of the present application, preparatory what a probabilistic forecasting mould of off-line training in the predictive server of server end
Type swims the data information input probability prediction model of the user to the corresponding user of the data information of the user in the recent period
The additional resource file subpackage that may be used during play is predicted that the prediction for obtaining additional resource file subpackage makes
With sequence, and prediction result, that is, additional resource file subpackage prediction is returned into the client using sequence.
Step 705: the corresponding additional resource file subpackage is sent to by the visitor according to the request of the client
Family end.
In the embodiment of the present application, the game server in server end receives the request of the client, and
The corresponding additional resource file subpackage is sent to the client during game running, so that mentioning in client
Before be stored with user and may use in game process to the subpackage of additional resource file, so that user can be in always in the recent period
In smooth game experiencing.
File in file system by being divided into the necessary resource file packet that must be downloaded and can carried out by the application
The additional resource file packet selectively downloaded, and the additional resource file packet is divided into for multiple additional resource file subpackages,
Any client can obtain one or several additional moneys in multiple additional resource file subpackages from server according to user information
Source file subpackage, convenient for the deletion of the customization of client, management and file.
Wherein, processor 120 can execute the step in method shown in Fig. 8.Fig. 8 is to show to be implemented according to the application one
The schematic flow chart of the document handling method of example is applied to client, including step 801 to step 806.
Step 801: obtaining the data information of user.
In the embodiment of the present application, the data information of the user includes the status data information of user, the mark of user
Information, the Role Information of user and class information of user etc..For example, in larger-scale gaming systems, the status number of the user
It is believed that breath can be user's used resource data i.e. additional resource file subpackage in gaming, the identification information of the user
Can be the game account or ID of user, the Role Information of the user can be occupation or the school of the role that studies abroad of user,
The class information of the user can be the grade of the game role of user, and certainly, the data information of the user can also wrap
Include the common cartographic information of user, the common Map Switch order information of user, the task execution situation of user and user
Game good friend's data etc..
Step 802: the data information of the user is sent to server end.
Step 803: judging whether to use sequence from the received server-side to the prediction of additional resource file subpackage.If
It is to then follow the steps 804, thens follow the steps 805 to 806 if not.
Step 804: corresponding additional resource text is downloaded from the server end using sequence according to the prediction in order
Part subpackage.
In the embodiment of the present application, sequence is being used from the received server-side to the prediction of additional resource file subpackage
In the case where, corresponding additional resource file subpackage is downloaded from the server end using sequence according to the prediction in order.
Optionally, the additional resource file subpackage is to store the additional resource file subpackage of map resource.
Step 805: calling the use probability sorting table prestored.
In the embodiment of the present application, there is exception in network communication, so that client fails from the received server-side
To additional resource file subpackage prediction using in the case where sequence, call the use probability sorting table being pre-stored in client,
It is described using being stored with developer in probability sorting table according to the Role Information of user and the class information of user, to several
The sequence using probability of additional resource file subpackage is global fixed for whole system, and text move part is placed on client
End.
Step 806: downloading corresponding additional resource in order from the server end using probability sorting table according to described
File subpackage.
In the embodiment of the present application, client according to according to it is described using probability sorting table from the server end in order
Corresponding additional resource file subpackage is downloaded, may be implemented under being carried out in the operational process of game to the subpackage of additional resource file
It carries, ensure that the game experiencing of user.
Optionally, the data information of the user include the identification information of user, the Role Information of user, user grade
The status data information of information and user;Alternatively, the data information of the user includes the role of the identification information of user, user
Information, user class information;
Optionally, the status data information of the user includes having downloaded the additional resource file subpackage finished
Second identifier information.
In one embodiment of the application, as shown in figure 9, further including step before the data information for obtaining user
901 to step 903:
Step 901: obtaining necessary resource file packet from server end.
Step 902: at least one corresponding additional resource file subpackage is obtained from server according to the request of user.
Step 903: according to the necessary resource file packet of acquisition and additional resource file subpackage, generating the queue of file packet.
In the embodiment of the present application, the necessary resource file packet and additional resource file subpackage that the client will acquire are raw
At a file packet queue, i.e. the initial game file list of client, the client by load this document packet queue from
And it allows users to carry out game.
File in file system by being divided into the necessary resource file packet that must be downloaded and can carried out by the application
The additional resource file packet selectively downloaded, and the additional resource file packet is divided into for multiple additional resource file subpackages,
Any client can obtain one or several additional moneys in multiple additional resource file subpackages from server according to user information
Source file subpackage, convenient for the deletion of the customization of client, management and file.
Corresponding with above method embodiment, this specification additionally provides the embodiment of document handling system, Figure 10 and figure
11 show the module map of the document handling system of one embodiment of this specification.As shown in Figure 10, this document processing system includes:
First obtains module 1001, is configured as obtaining the data information of user from client;
Prediction module 1002 is configured as the data information input probability prediction model of the user obtaining additional money
The prediction of source file subpackage uses sequence, and the prediction of the additional resource file subpackage is returned to the client using sequence
End;
Feedback module 1003 is configured as the corresponding additional resource file subpackage according to the request of the client
It is sent to the client.
Optionally, described device further include:
Judgment module 1004, judge in the data information of the user whether include user status data information.
Optionally, the Probabilistic Prediction Model includes independent probability prediction model;
The prediction module 1002 includes:
First prediction submodule, is configured as the status data information in the data information of the user including user
In the case of, the data information of the user is inputted into independent probability prediction model, obtains the independent pre- of additional resource file subpackage
It surveys and uses sequence, and the independent prediction of the additional resource file subpackage is returned into the client using sequence.
Described first predicts that submodule includes:
First computing unit is configured as obtaining each additional resource file subpackage according to the independent probability prediction model
Use probability;
First sequencing unit is configured as each additional resource file subpackage using probability from high to low successively
It is ranked up;
First stick unit, is configured as obtaining and described be located at top N using probability and be greater than the additional money using threshold value
The first identifier information of source file subpackage, wherein N is the positive integer more than or equal to 1;
First generation unit is configured as generating the only of the additional resource file subpackage according to the first identifier information
Vertical prediction uses sequence.
Optionally, described device further includes the first model training module, is configured as:
Obtain training sample set, wherein the training sample set includes the historical data information and user's downloading of user
Additional resource file subpackage target identification information, the historical data information of the user includes historical state data information;
Independent probability prediction model is trained by the training sample set, obtains trained independent probability prediction
Model, the independent probability prediction model make the historical data information of the user and the additional resource text of user downloading
The target identification information of part subpackage is associated.
Optionally, the Probabilistic Prediction Model includes global Probabilistic Prediction Model;
Prediction module 1002 includes:
Second prediction submodule, is configured as in the data information of the user not including the status data information of user
In the case where, the data information of the user is inputted into global Probabilistic Prediction Model, obtains the overall situation of additional resource file subpackage
Prediction uses sequence, and the global prediction of the additional resource file subpackage is returned to the client using sequence.
Described second predicts that submodule includes:
Second computing unit is configured as obtaining each additional resource file subpackage according to the global Probabilistic Prediction Model
Use probability;
Second sequencing unit is configured as each additional resource file subpackage using probability from high to low successively
It is ranked up;
Second stick unit, is configured as obtaining and described be located at top N using probability and be greater than the additional money using threshold value
The first identifier information of source file subpackage, wherein N is the positive integer more than or equal to 1;
Second generation unit is configured as generating the complete of the additional resource file subpackage according to the first identifier information
Office's prediction uses sequence.
Optionally, described device further includes the second model training module, is configured as:
Obtain training sample set, wherein the training sample set includes the historical data information and user's downloading of user
Additional resource file subpackage target identification information, the historical data information of the user do not include historical state data letter
Breath;
Independent probability prediction model is trained by the training sample set, obtains trained independent probability prediction
Model, the independent probability prediction model make the historical data information of the user and the additional resource text of user downloading
The target identification information of part subpackage is associated.
Optionally, described device further include:
First configuration module 1005 is configured as sending necessary resource file packet to client;
Second configuration module 1006 is configured as sending at least one additional resource to client according to the request of client
File subpackage.
Optionally, the data information of the user further includes the identification information of user, the Role Information of user and user
Class information;
The status data information of the user includes having downloaded the second mark of the additional resource file subpackage finished
Know information.
Optionally, the additional resource file subpackage is to store the additional resource file subpackage of map resource.
In another embodiment of the application, as shown in figure 11, the file system of the application further include:
Second obtains module 1101, is configured as obtaining the data information of user;
Transmission module 1102 is configured as the data information of the user being sent to server end;
Analysis module 1103 is configured as judging whether from the received server-side to the pre- of additional resource file subpackage
It surveys and uses sequence;
Execution module 1104 is configured as using from the received server-side to the prediction of additional resource file subpackage
In the case where sequence, corresponding additional resource file point is downloaded from the server end using sequence according to the prediction in order
Packet.
The execution module 1104 is additionally configured to not from the received server-side to additional resource file subpackage
Prediction calls the use probability sorting table prestored using in the case where sequence;
Corresponding additional resource file subpackage is downloaded in order from the server end using probability sorting table according to described.
Optionally, described device further include:
First receiving module 1105 is configured as obtaining necessary resource file packet from server end;
Second receiving module 1106, is configured as obtaining that corresponding at least one is additional from server according to the request of user
Resource file subpackage;
Collection modules 1107 are configured as necessary resource file packet and additional resource file subpackage according to acquisition, generate
File packet queue.
Optionally, the data information of the user include the identification information of user, the Role Information of user, user grade
The status data information of information and user;
Alternatively, the data information of the user include the identification information of user, the Role Information of user, user grade letter
Breath;
The status data information of the user includes having downloaded the second mark of the additional resource file subpackage finished
Know information.
Optionally, the additional resource file subpackage is to store the additional resource file subpackage of map resource.
One embodiment of the application also provides a kind of calculating equipment, including memory, processor and storage are on a memory simultaneously
The computer instruction that can be run on a processor, the processor are performed the steps of when executing described instruction and are obtained from client
Take the data information at family;
By the data information input probability prediction model of the user, the prediction for obtaining additional resource file subpackage uses sequence
Column, and the prediction of the additional resource file subpackage is returned into the client using sequence;
The corresponding additional resource file subpackage is sent to the client according to the request of the client.
One embodiment of the application also provides a kind of computer readable storage medium, is stored with computer instruction, the instruction
The step of document handling 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 storage media and the technical solution of above-mentioned document handling method belong 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 document handling method.
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.