Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of data processing method, device and storage medium.
Referring to Fig. 1, Fig. 1 is the schematic diagram of a scenario of data processing system provided by the embodiment of the present invention, at the data
Reason system may include data processing equipment, which specifically can integrate in the server, for example, the server
It can receive the information acquisition request of display terminal transmission, the role identification of virtual role carried in the information acquisition request, it should
Display terminal may include mobile phone, tablet computer, laptop and desktop computer etc..Then it is obtained according to role identification virtual
Role participates in the data of simulated race on the line of preset kind, obtains data on line, and obtain virtual angle according to role identification
The data that place is competed under the line of color participation preset kind, obtain data under line.At this point it is possible to data under data on line and line
It is analyzed, obtains the competition information of virtual role, for example, being sieved according to preset algorithm to data under data on line and line
Choosing, data after being screened carry out the statistical analysis of the various dimensions such as winning rate, policy information and preference to data after screening, obtain
The competition information of virtual role.Secondly, available indicating template, generates display information according to indicating template and competition information,
Display information is finally sent to display terminal.For example, the show process that available multiple display terminals are current, and determine with
The corresponding indicating template of the current show process of each display terminal generates respectively respectively according to each indicating template and competition information
The corresponding display information of a display terminal, and the corresponding display information of each display terminal is sent respectively to each display eventually
End;Etc..
It should be noted that the schematic diagram of a scenario of data processing system shown in FIG. 1 is only an example, the present invention is real
The data processing system and scene of applying example description are the technical solutions in order to more clearly illustrate the embodiment of the present invention, not
The restriction for technical solution provided in an embodiment of the present invention is constituted, those of ordinary skill in the art are it is found that with data processing
The differentiation of system and the appearance of new business scene, technical solution provided in an embodiment of the present invention is for similar technical problem, together
Sample is applicable in.
It is described in detail separately below.
In the present embodiment, it will be described from the angle of data processing equipment, which can specifically collect
At in the network equipments such as server or gateway.
A kind of data processing method, comprising: receive the information acquisition request that display terminal is sent, taken in information acquisition request
Role identification with virtual role;The number that virtual role participates in simulated race on the line of preset kind is obtained according to role identification
According to obtaining data on line;The data that place is competed under the line of virtual role participation preset kind are obtained according to role identification, are obtained
Data under line;Data under data on line and line are analyzed, the competition information of virtual role is obtained;Obtain indicating template, root
Display information is generated according to indicating template and competition information, and display information is sent to display terminal.
Referring to Fig. 2, Fig. 2 is the flow diagram for the data processing method that one embodiment of the invention provides.At the data
Reason method may include:
In step s101, the information acquisition request that display terminal is sent is received, carries virtual angle in information acquisition request
The role identification of color.
Wherein, display terminal may include mobile phone, tablet computer, laptop, desktop computer and TV etc., the display
Terminal be used for competition information show, the competition information can be virtual role participate in holdem, fighting landlord, Chinese chess,
The relevant information of the chess categories such as mahjong and quintet game match, either, virtual role participate in ball sports match, or virtual
Role participates in the relevant information etc. of other matches.Wherein, virtual role can be the role in chess category match, for example, working as
When user logs in simulated race on match application participation line by account, the corresponding virtual role of an account;When user exists
When place participates in match under line, the player to take part in game may include multiple, the corresponding virtual role of each player.
Data processing equipment can receive the information acquisition request of display terminal transmission, can take in the information acquisition request
Role identification with virtual role, the role identification can be virtual role identity (Identification, ID),
Title or number etc., the role identification may include the composition such as text, number and/or letter.Wherein, role identification may include
Account number and user identifier etc., for example, when user logs in simulated race on match application participation line by account, Jiao Sebiao
Knowing is account number;When user descends place to participate in match online, role identification is user identifier.The information acquisition request
The number of the role identification of middle virtual role can be one or more, and specific number can flexibly be set according to actual needs
It sets, i.e., data processing equipment can receive the role identification for carrying one or more virtual roles that a display terminal is sent,
Or it can receive the role identification for the one or more virtual roles of carrying that multiple display terminals are sent respectively.
In step s 102, the number that virtual role participates in simulated race on the line of preset kind is obtained according to role identification
According to obtaining data on line.
Wherein, simulated race can be user and log in the match that relevant match application participates in by account on line, in advance
If simulated race can carry out flexible setting according to actual needs on the line of type, for example, simulated race on the line of preset kind
It can be the holdem match participated in by the application of Dezhou everyday, or competed by the fighting landlord that fighting landlord application participates in
Deng.
Data processing equipment can obtain the line that the virtual role participates in preset kind according to the role identification of virtual role
The data of upper simulated race obtain data on line, and data are the data of simulated race on the line of same preset kind, example on the line
As data are the data of holdem match on virtual role participation line on line.
In some embodiments, virtual role is obtained according to role identification and participates in simulated race on the line of preset kind
Data, the step of obtaining data on line may include:
Account number is extracted from the role identification of virtual role;According to account number, emulating server is sent on line
Data acquisition request;Receive the line that emulating server on line participates in preset kind based on the virtual role that data acquisition request returns
The data of upper simulated race obtain data on line.
Specifically, due to needing to obtain the data of simulated race on line, data processing equipment can be from virtual role
Role identification in extract account number, according to account number on line emulating server send data acquisition request, wherein
Account number can be the corresponding account title of virtual role or account number etc., and emulating server can be used for managing on the line
Simulated race application on line, and the data etc. that simulated race application generates on line are stored, for example, the connection of Dezhou application everyday is wired
Upper emulating server, Dezhou is applied everyday can carry out data interaction, after each competition, line between emulating server on line
The data of the upper available match of emulating server, and according to the data of match more new database.
The type identification of the quasi- match of wired upper mold can be carried in the data acquisition request, the type mark can be default
The corresponding type identification of type, corresponding type identification or the corresponding type of fighting landlord match for example, holdem is competed
Mark etc., emulating server can be searched corresponding with the type mark and account number in the database according to type identification on line
Data, data processing equipment can receive on line emulating server and be based on data acquisition request at this time, be connect by network service
The virtual role that mouth returns participates in the data of simulated race on the line of preset kind, obtains data on line.
In step s 103, the number that place is competed under the line of virtual role participation preset kind is obtained according to role identification
According to obtaining data under line.
Wherein, place match can be the match that user participates in competition area under line, place ratio under the line of preset kind
Match and simulated race same type on the line of preset kind, can carry out flexible setting, for example, preset kind according to actual needs
Line under simulated race and line place match can be the holdem match participated in by the application of Dezhou everyday, or it is logical
Cross the fighting landlord match etc. that fighting landlord application participates in.Data processing equipment can obtain virtual role according to role identification and participate in advance
If the data that place is competed under the line of type, obtain data under line, data are place ratio under the line of same preset kind under the line
The data of match, for example, data are the data that virtual role participates in that place is competed under holdem line under line.
In some embodiments, obtain what place under the line of virtual role participation preset kind was competed according to role identification
Data, the step of obtaining data under line may include:
User identifier is extracted from the role identification of virtual role;It is sent according to user identifier to storage server under line
Data acquisition request;Receive the line that storage server under line participates in preset kind based on the virtual role that data acquisition request returns
The data of lower place match, obtain data under line.
Specifically, due to needing to obtain the data that place is competed under line, data processing equipment can be from virtual role
Role identification in extract user identifier, according to user identifier under line storage server send data acquisition request, wherein
User identifier can be the corresponding user's name of virtual role or Customs Assigned Number etc., and storage server can be used for managing under the line
Place is competed under line, and stores the data etc. that place match generates under line, for example, the control system that place is competed under line can connect
Data interaction, after each competition, line can be carried out under storage server under wiring, control system and line between storage server
The data of the lower available match of storage server, and according to the data of match more new database.
The type identification competed while wired end can be carried in the data acquisition request, the type mark can be default
The corresponding type identification of type, corresponding type identification or the corresponding type of fighting landlord match for example, holdem is competed
Mark etc., storage server can search corresponding with the type mark and account number in the database according to type identification under line
Data, data processing equipment can receive under line storage server and be based on data acquisition request, the virtual role of return at this time
The data for participating in simulated race on the line of preset kind, obtain data on line.
In step S104, data under data on line and line are analyzed, obtain the competition information of virtual role.
Wherein, competition information may include into information such as pond rate and winning rates, and data processing equipment can preset analysis
Dimension, be then based on the dimension and carry out collect statistics etc., for example, data on line can be passed through so that holdem is competed as an example
Enter pond rate, hands preference and winning rate etc. in holdem match with data detailed analysis virtual role (i.e. player) under line
Different dimensions.
In some embodiments, data under data on line and line are analyzed, obtains the competition information of virtual role
The step of may include: that data under data on line and line are screened according to preset algorithm, data after being screened;To screening
Data carry out the statistical analysis of various dimensions afterwards, obtain the competition information of virtual role.
Since data may have the data (i.e. useless data) for not needing analysis under data on obtained line and line,
Therefore, data processing equipment can screen data under data on line and line according to preset algorithm, data after being screened,
Wherein, preset algorithm can carry out flexible setting according to actual needs, for example, can be according to the type of data or purposes etc. respectively
Data under data on line and line are cleaned, precipitated and analyzed, data after required valuable screening are obtained.
After being screened after data, data after screening can be carried out with the statistical analysis of various dimensions, obtain virtual role
Competition information, provide player's analysis of strategy for commentator or spectators etc., the various dimensions may include type belonging to player,
Winning rate enters the different dimensions such as pond rate and preference, for example, type belonging to player can be analyzed by passing through winning rate and entering pond rate, for
Different hands, which can be done, is accustomed to (i.e. preference) analysis, such as player takes identical hands under similarity condition, using same policy
Probability etc..
In some embodiments, the statistical analysis that data after screening are carried out with various dimensions, obtains the competition of virtual role
The step of information may include: according to data after screening to virtual role preset kind match in winning rate, policy information and
Type belonging to virtual role is for statistical analysis, obtains analysis result;The competition letter of virtual role is determined based on the analysis results
Breath.
Wherein, policy information may include into pond rate, amount bet, bet frequency, every take turns into pond number, wins, wind
Lattice, preference and strategy etc., such as re-injection is still gently infused down down, has Different Strategies.Type belonging to virtual role (i.e. player)
May include loose fierce type, loose weak type, tight fierce type or tight weak type etc., wherein loose player characteristics be it is bigger into pond hands range,
Common edge board or weak board are with note, and tight player is on the contrary, its feature is smaller into pond hands range;Fierce player characteristics are
Play is radical, and frequently filling is to force opponent to abandon board, and weak player is opposite.
Data processing equipment can according to data after screening to virtual role preset kind match in winning rate, strategy believe
Type belonging to breath and virtual role is for statistical analysis, is analyzed as a result, the analysis result may include virtual role institute
The type of category, winning rate, enter pond rate, amount bet, bet frequency, it is every take turns into pond number, wins, preference and strategy etc., for example,
Can by winning rate, enter to fill before pond rate, board turning and persistently bet frequency etc. and determine type belonging to virtual role.At this time may be used
With based on the analysis results determine virtual role competition information, such as competition information may include type belonging to virtual role,
Enter the information such as pond rate, preference and winning rate.
In some embodiments, multi dimensional analysis is carried out to data under data on line and line, obtains the ginseng of virtual role
After the step of Menaphtame ceases, data processing method can also include:
Type belonging to virtual role is determined according to competition information, and is that label is arranged in virtual role according to type;It obtains
With the competition data of other virtual roles of tag match;Ratio is pushed to the corresponding display terminal of virtual role according to competition data
Reference policy is matched, for virtual role reference.
As may include type belonging to virtual role in competition information, data processing equipment can be according to competition
Information determines type belonging to virtual role, for example, belong to pine/tight type, or belong to act of violence/weak type etc., then it is according to type
Label is arranged in virtual role, and the label is for identifying type belonging to virtual role, for example, can be set between type and label
Corresponding relationship, different type corresponds to different labels.Either, when virtual role operation preset data reach threshold value, then
It records corresponding data and adds corresponding label, these labels can provide for follow-up data processing more accurately to be judged, such as certain choosing
Hand only can enter pond when playing hand TT or more, so as to provide the user with reference, wherein the threshold value also can be set in BB
There are multiple dimensions, such as distributional, winning rate, enter pond rate or every proficiency strategy etc., default dimension reaches threshold value, then records respective counts
According to and plus corresponding label.
The competition data of other virtual roles with tag match available at this time, for example, available label with should
The competition data of other consistent virtual roles of the label of virtual role or the label of available label and the virtual role
Similarity is greater than the competition data of other virtual roles of preset threshold, and wherein preset threshold can carry out spirit according to actual needs
Setting living.It, can be according to the match of competition other virtual roles of data acquisition after obtaining the competition data of other virtual roles
Reference policy, for example, the match reference policy may include whether it is how many etc. into pond or bet, at this time can be to virtual role pair
The display terminal push match reference policy answered, for virtual role reference.
In step s105, indicating template is obtained, display information is generated according to indicating template and competition information, and will display
Information is sent to display terminal.
The available indicating template of data processing equipment, the indicating template can determine according to show process, then root
Display information is generated according to indicating template and competition information, such as competition information can be added to indicating template and obtain display letter
Breath can be added data plug-in unit show, pack as data source introducing and figure logical when generation shows information in template
Road, according to different data, its corresponding data plug-in unit is also different, such as histogram or line chart etc. is presented.It can incite somebody to action at this time
Display information is sent to display terminal, so that display terminal can be presented display information in display interface.
In some embodiments, display terminal may include multiple, indicating template be obtained, according to indicating template and competition
Information generates display information, and the step of display information is sent to display terminal may include:
The current show process of multiple display terminals is obtained, and determines indicating template corresponding with each show process;Root
Display information is generated according to each indicating template and competition information, obtains the corresponding display information of each display terminal;It will be each aobvious
Show that the corresponding display information of terminal is sent respectively to each display terminal.
Data processing equipment can generate different display information for different display terminals, for example, working as display terminal packet
Including the first display terminal and the second display terminal can obtain when display information includes the first display information and the second display information
The first show process for taking the first display terminal current, and determine the first indicating template corresponding with the first show process;And
The second current show process of the second display terminal is obtained, and determines the second indicating template corresponding with the second show process;So
The first display information is generated according to the first indicating template and competition information afterwards, and raw according to the second indicating template and competition information
At the second display information;First display information can be sent to the first display terminal at this time, and the second display information is sent out
Give the second display terminal.Data processing equipment is allowed to provide data analysis service to different platform, information is shown not only
It is confined to some platform (such as display terminal), but can be very easily presented in different platform, is realized cross-platform
It gets through, greatly improves the efficiency of data processing.In addition, user can also customize the data for oneself wanting to see, and by aobvious
Show that the button selection in terminal is presented.
From the foregoing, it will be observed that the embodiment of the present invention can receive the letter of the role identification of the carrying virtual role of display terminal transmission
Acquisition request is ceased, the data that virtual role participates in simulated race on the line of preset kind are then obtained according to role identification, are obtained
Data on line;And the data that place is competed under the line of virtual role participation preset kind are obtained according to role identification, obtain line
Lower data;Data under data on line and line can be analyzed at this time, obtain the competition information of virtual role;Secondly it obtains aobvious
Show template, display information is generated according to indicating template and competition information, finally display information can be sent to display terminal, with
Just display terminal shows display information.The program can be analyzed by data under data on line and line and be taken in competition
Information only analyzes the competition data of actual place race under line relative to existing, improves and is handled data
Accuracy.
Citing, is described in further detail by the method according to described in above-described embodiment below.
The present embodiment is by taking data processing equipment is server as an example, and by taking holdem is competed as an example, referring to Fig. 3, Fig. 3
For the flow diagram of data processing method provided in an embodiment of the present invention.This method process may include:
S201, server receive multiple display terminals and send the information acquisition request for carrying the role identification of virtual role.
Wherein, display terminal may include mobile phone, tablet computer, laptop, desktop computer and TV etc., virtual angle
Color can be the role in holdem match, for example, when user logs in the participation match of Dezhou application everyday by account,
The corresponding virtual role of one account;When user descends holdem competition area to participate in match online, each participation match
The corresponding virtual role of player.For example, as shown in figure 4, player A to player I respectively corresponds a virtual role.
Server can receive the information acquisition request that multiple display terminals are sent, and the information that each display terminal is sent obtains
The role identification that virtual role can be carried in request is taken, which can be ID, title or the number of virtual role
Deng.Wherein, role identification may include account number and user identifier etc., for example, when user logs in Dezhou everyday by account
When using participating in match, role identification is account number;When user descends holdem competition area to participate in match online, angle
It is user identifier that colour code, which is known,.The number of the role identification of virtual role can be one or more in each information acquisition request
A, specific number can carry out flexible setting according to actual needs.Server is allowed to provide data to different display terminals
Analysis Service realizes cross-platform get through.
S202, server obtain the data that virtual role participates in simulated race on line according to role identification, obtain number on line
According to.
The holdem ratio on line can be participated in by the relevant application of holdem due to the corresponding user of virtual role
Match, thus server can be obtained according to the role identification of virtual role the virtual role participate in holdem line on simulate ratio
The data of match obtain data on line.For example, server can extract account number, root from the role identification of virtual role
According to account number, emulating server sends data acquisition request on line, wherein it is corresponding that account number can be virtual role
Account title or account number etc., emulating server can be used for managing simulated race application on line on the line, and store on line
The data etc. that simulated race application generates, for example, Dezhou application everyday, which connects wired upper mold, intends server, everyday Dezhou apply with
Data interaction can be carried out on line between emulating server, after each competition, the available match of emulating server on line
Data, and according to the data of match more new database.
The type identification of the quasi- match of wired upper mold can be carried in the data acquisition request, the type mark can be Dezhou
The corresponding type identification of poker tournament, emulating server can be searched and the type mark in the database according to type identification on line
Know data corresponding with account number, server can receive emulating server on line and be based on data acquisition request at this time, pass through
The virtual role that network service interface returns participates in the data of simulated race on line, obtains data on line.
S203, server obtain virtual role according to role identification and participate in the data that place is competed under line, obtain number under line
According to.
Since the corresponding user of virtual role can participate in the holdem on line in the relevant competition area of holdem
Match, and the data of match can be generated by storage server storage under line, therefore server can be from the role of virtual role
User identifier is extracted in mark, data acquisition request is sent to storage server under line according to user identifier, wherein Yong Hubiao
Knowledge can be the corresponding user's name of virtual role or Customs Assigned Number etc., and storage server can be used for managing line end under the line
Ground match, and the data etc. that place match generates under line are stored, for example, the control system that place is competed under line can connect under line
Data interaction can be carried out under storage server, control system and line between storage server, after each competition, is stored under line
The data of the available match of server, and according to the data of match more new database.
The type identification competed while wired end can be carried in the data acquisition request, the type mark can be Dezhou
The corresponding type identification of poker tournament, storage server can search and the type mark in the database according to type identification under line
Know data corresponding with account number, server can receive storage server under line and be based on data acquisition request at this time, return
Virtual role participate in line on simulated race data, obtain data on line.
It should be noted that server can be received by authentication (such as verifying virtual role according to role identification)
Data under data and line on line, and Relational DBMS MYSQL is used as database to store and manage line
Data under upper data and line, when data under data on line and line are imported database, in order to improve safety and preferably standby
Part, database can be by the way of read and write abruption, and enables log binlog, in this way data when something goes wrong, can lead to
It crosses binlog to be restored, then the data model of different dimensions can be established according to the type of data, preferably embody virtual
Role (i.e. player) performance and result of the match.
S204, server screen data under data on line and line according to preset algorithm, data after being screened.
Since data may have the data (i.e. useless data) for not needing analysis under data on obtained line and line,
Therefore, server can screen data under data on line and line according to preset algorithm, data after being screened, wherein
Preset algorithm can carry out flexible setting according to actual needs, for example, can be according to the type of data or purposes etc. respectively to line
Data are cleaned, precipitated and are analyzed under upper data and line, obtain data after required valuable screening.
For example, in the analysis of race data, it is usually required mainly for data noise is solved the problems, such as, in the match of board class, due to operation
It is relatively fixed, it is particularly important in data decimation, therefore in order to avoid using the biggish data of noise, it can be according to decision winning rate
Factor, hands, screened than distributional strategy and position etc., data after being screened in this way can be by data on line and line
The range shorter of lower data, so that more accurate to data analysis, subsequent as match carries out, the data of daily race are constantly more
Newly, the data of daily race are also added on line data under data or line, to be handled.
S205, server carry out the statistical analysis of various dimensions to data after screening, obtain the competition information of virtual role.
After being screened after data, server can carry out the statistical analysis of various dimensions to data after screening, obtain void
The competition information of quasi- role provides player's analysis of strategy for commentator or spectators etc., for example, passing through winning rate and entering pond rate can divide
Type belonging to player is precipitated, habit analysis can be done for different hands, such as player takes identical hands under similarity condition,
Using the probability etc. of same policy, for example Xiao Ming is delithted with and plays hands with pattern 57, and can re-injection Incoming, and small red taking
It can then select to abandon board with pattern 57.
Server can according to data after screening to virtual role preset kind match in winning rate, policy information and
Type belonging to virtual role is for statistical analysis, obtains analysis result;The competition letter of virtual role is determined based on the analysis results
Breath.Wherein, policy information may include into pond rate, amount bet, bet frequency, it is every take turns into pond number, wins, style, partially
Good and strategy etc., such as lower re-injection still lower light note, have Different Strategies.Type belonging to virtual role (i.e. player) can wrap
Include loose fierce type, loose weak type, tight fierce type or tight weak type etc., wherein loose player characteristics are, conventional edge bigger into pond hands range
Edge board or weak board are with note, and tight player is on the contrary, its feature is smaller into pond hands range;Fierce player characteristics swash for play
Into frequently filling is to force opponent to abandon board, and weak player is opposite.
Server can according to data after screening to virtual role preset kind match in winning rate, policy information and
Type belonging to virtual role is for statistical analysis, is analyzed as a result, the analysis result may include belonging to virtual role
Type, winning rate, enter pond rate, amount bet, bet frequency, it is every take turns into pond number, wins, preference and strategy etc., for example, as scheme
Shown in 5, data after screening are carried out with the obtained analysis result of statistical analysis of various dimensions.For example, can by winning rate, enter pond
Filling and the frequency etc. of persistently betting determine type belonging to virtual role before rate, board turning.It at this time can based on the analysis results really
Determine the competition information of virtual role, which may include type belonging to virtual role, enters pond rate, preference and winning rate etc.
Information, for example, obtain each player enter pond rate and winning rate is as shown in Figure 6.
S206, server obtain the current show process of multiple display terminals, and determination is corresponding with each show process
Indicating template.
Server can preset the mapping relations between each show process of match and indicating template, each display
Process can correspond to different indicating templates, each display template can built-in modification authority, such as player's name, image and board power
Etc. information, to show the information of different processes.
The current show process of the available each display terminal of server, for example, if being that some player distributes hand
Board, then current process is to distribute the process of hands;If distributing three community cards, current process is distribution community card
Process;If some player is betting, current process is bet process, etc..Each process is settable corresponding
Process identification (PID), the process identification (PID) of current show process available at this time, and from the default template library of storage indicating template, it obtains
Take indicating template corresponding with the process identification (PID).For example, corresponding in the process 1 for distributing hands for player is indicating template 1,
Distribute three community cards process 2 it is corresponding be indicating template 2, the corresponding process 3 of player's bet is indicating template 3, etc..
S207, server generate display information according to each indicating template and competition information, obtain each display terminal pair
The display information answered.
For example, competition information can be added to indicating template generates display information, and when generating display information, Ke Yi
It shows and data plug-in unit is added in template, introduce the access with figure packaging as data source, its is corresponding according to different data
Data plug-in unit is also different, such as histogram or line chart etc. is presented.Different display letters can be generated in the difference of indicating template
Breath.
The corresponding display information of each display terminal is sent respectively to each display terminal by S208, server.
The corresponding display information of each display terminal can be sent respectively to each display terminal by server, so that respectively
A display terminal can be presented display information in display interface.For example, the display terminal of live streaming match shows live streaming
Information for the game shows that virtual role participates in the information of match by the display terminal that holdem application participates in match.So that clothes
Device of being engaged in can provide data analysis service to different platform, and information, which show, is not only limited to some platforms (such as display end
End), but can very easily be presented in different platform, realize it is cross-platform get through, greatly improve the effect of data processing
Rate.In addition, user can also customize the data for oneself wanting to see, and select to present by the button on display terminal.
It will be illustrated below, as shown in fig. 7, server may include data analytics server, packaging server
And control system etc., data analytics server can be whole with packaging server, control system, network service interface and display respectively
It is attached between end.Data source may include data etc. under data and line on line, and data source can pass through network service interface
(http server) is transmitted to data analytics server, wherein data source can be divided into two kinds, and one kind is document form, this article
The data of part form are suitable for the holdem match in place under line;Another is interface mode, the data of the interface form
Suitable for the holdem match simulated on line, it can directly pass through hypertext transfer protocol (HyperText Transfer
Protocol, HTTP), the data competed on line are transmitted to data analytics server.The data analytics server can be used as
Unified data access, and can be by the data distribution after analysis to different platform.
Data analytics server sets the dimension of analysis after receiving data source first, be then based on dimension for
Data in data file carry out collect statistics winning rate, enter pond rate, the frequency for critical behavior and certain hands winning rates
Deng, obtain statistical result, i.e., competition information.Wherein, in the analysis of race data, can according to determine the factor of winning rate, hands,
It is screened than distributional strategy and position etc., data after being screened in this way can be by the range of data under data on line and line
It reduces, so that data are analyzed with more accurate, subsequent as match carries out, the data continuous renewal of daily race, it also will be daily
The data of race are added on line data under data or line, to be handled.Then data analytics server can will take in competition
Information is sent to packaging server by transmission control protocol (Transmission Control Protocol, TCP), packs
The available indicating template of server generates display information according to indicating template and competition information, and packaging server can wrap
Data plug-in unit is added in die-filling version, introduces the access with figure packaging as data source, according to data difference, corresponding data are inserted
Part is also different, such as histogram or line chart is presented.It also or is that historical data is presented, such data are entering packaging system
When, so that it may do corresponding animated feedback, such as when than it is distributional be more than a certain amount of when can trigger quick-fried lamp effect, automatically will match
Data and competition atmosphere are combined into live streaming and add more forms of expression.After obtaining display information, display information can be passed through
Data analytics server is sent to display terminal using HTTP service.
Wherein, data analytics server can be sent out analysis result by TCP when based on cross-platform data analysis service
It is sent in packaging server and control system.When to connected control system, connected control system can carry out packing classification to data,
Corresponding data type is called in the controls, provides corresponding data to make former and later two stages of corresponding operating in player
Judgement can provide analysis in each stage and provide more information as a result, presenting for comment.Data analytics server can also be into
Row personalized recommendation is the corresponding display terminal pushed information of virtual role based on temperature or interest etc..Specific implementation can lead to
Data label is crossed on line to realize, type belonging to the virtual role is judged by label, it can will player corresponding with the type
And data are recommended.
Display terminal can obtain data by HTTP, and magnanimity number is corresponded to when many commentators or spectators come to matches
According to needing to present by platform, in this way by form web page, web terminal is imported data to, and during the games, carry out data
Prompt, for example, rewin the record etc. that two innings of players just break oneself, so that multi-platform show also will more just by same data source
Data under data and line on the good line of use of benefit, realize different platform and form intercommunication.
In the embodiment of the present invention, available virtual role participates in the data of simulated race on line, obtains data on line, with
And obtain virtual role participate in line under place compete data, obtain data under line, then to data under data on line and line into
Row screening, data after being screened can obtain the ginseng of virtual role to the statistical analysis that data after screening are carried out with various dimensions
Secondly Menaphtame breath obtains the current show process of multiple display terminals, and determines indicating template corresponding with each show process,
Display information is generated according to each indicating template and competition information, obtains the corresponding display information of each display terminal, finally will
The corresponding display information of each display terminal is sent respectively to each display terminal, so as to each display terminal to display information into
Row display.The program can be analyzed to obtain competition information by data under data on line and line, improve and carry out to data
The accuracy of processing.
For convenient for better implementation data processing method provided in an embodiment of the present invention, the embodiment of the present invention also provides one kind
Device based on above-mentioned data processing method.Wherein the meaning of noun is identical with above-mentioned data processing method, and specific implementation is thin
Section can be with reference to the explanation in embodiment of the method.
Referring to Fig. 8, Fig. 8 is the structural schematic diagram of data processing equipment provided in an embodiment of the present invention, the wherein data
Processing unit may include receiving unit 301, first acquisition unit 302, second acquisition unit 303, analytical unit 304 and generate
Unit 305 etc..
Wherein, it is taken in information acquisition request for receiving the information acquisition request of display terminal transmission receiving unit 301
Role identification with virtual role.
Wherein, display terminal may include mobile phone, tablet computer, laptop, desktop computer and TV etc., the display
Terminal be used for competition information show, the competition information can be virtual role participate in holdem, fighting landlord, Chinese chess,
The relevant information of the chess categories such as mahjong and quintet game match, either, virtual role participate in ball sports match, or virtual
Role participates in the relevant information etc. of other matches.Wherein, virtual role can be the role in chess category match, for example, working as
When user logs in simulated race on match application participation line by account, the corresponding virtual role of an account;When user exists
When place participates in match under line, the player to take part in game may include multiple, the corresponding virtual role of each player.
Receiving unit 301 can receive the information acquisition request of display terminal transmission, can take in the information acquisition request
Role identification with virtual role, the role identification can be ID, title or number of virtual role etc., which can
To include that text, number and/or letter etc. form.Wherein, role identification may include account number and user identifier etc., example
Such as, when user, which logs in match application by account, participates in simulated race on line, role identification is account number;When user exists
When place participates in match under line, role identification is user identifier.The role identification of virtual role in the information acquisition request
Number can be one or more, and specific number can carry out flexible setting according to actual needs, i.e. receiving unit 301 can connect
The role identification for the one or more virtual roles of carrying that a display terminal is sent is received, or can receive multiple display terminals
The role identification of the one or more virtual roles of the carrying sent respectively.
First acquisition unit 302 simulates ratio on the line according to role identification acquisition virtual role participation preset kind
The data of match obtain data on line.
Wherein, simulated race can carry out flexible setting according to actual needs on the line of preset kind, for example, preset kind
Line on simulated race can be by Dezhou everyday application participate in holdem match, or by fighting landlord application ginseng
With fighting landlord match etc..First acquisition unit 302 can obtain virtual role participation according to the role identification of virtual role
The data of simulated race on the line of preset kind, obtain data on line, on the line data be same preset kind line on simulate
The data of match, such as data are the data that virtual role participates in holdem match on line on line.
In some embodiments, first acquisition unit 302 specifically can be used for: mention from the role identification of virtual role
Take out account number;According to account number, emulating server sends data acquisition request on line;Receive emulating server on line
The data that simulated race on the line of preset kind is participated in based on the virtual role that data acquisition request returns, obtain data on line.
Specifically, due to needing to obtain the data of simulated race on line, first acquisition unit 302 can be from virtual angle
Account number is extracted in the role identification of color, according to account number, emulating server sends data acquisition request on line,
In, account number can be the corresponding account title of virtual role or account number etc., and emulating server can be used on the line
Simulated race application on line is managed, and stores the data etc. that simulated race application generates on line, for example, the connection of Dezhou application everyday
Wired upper emulating server, Dezhou between emulating server on line using that can carry out data interaction everyday, in each competition
Afterwards, on line the available match of emulating server data, and according to the data of match more new database.
The type identification of the quasi- match of wired upper mold can be carried in the data acquisition request, the type mark can be default
The corresponding type identification of type, corresponding type identification or the corresponding type of fighting landlord match for example, holdem is competed
Mark etc., emulating server can be searched corresponding with the type mark and account number in the database according to type identification on line
Data, first acquisition unit 302 can receive on line emulating server and be based on data acquisition request at this time, pass through network service
The virtual role that interface returns participates in the data of simulated race on the line of preset kind, obtains data on line.
Second acquisition unit 303, for place ratio under the line according to role identification acquisition virtual role participation preset kind
The data of match obtain data under line.
Wherein, place match and simulated race same type on the line of preset kind under the line of preset kind, can basis
Actual needs carries out flexible setting, for example, place match can be by everyday under simulated race and line on the line of preset kind
The holdem match that Dezhou application participates in, or the fighting landlord match etc. participated in by fighting landlord application.Second obtains list
Member 303 can obtain number under line according to the data that place is competed under the line of role identification acquisition virtual role participation preset kind
According to, the data that data are competed under the line for place under the line of same preset kind, such as data are that virtual role participates under line
The data that place is competed under holdem line.
In some embodiments, second acquisition unit 303 specifically can be used for: mention from the role identification of virtual role
Take out user identifier;Data acquisition request is sent to storage server under line according to user identifier;Receive storage server under line
The data that place is competed under the line of preset kind are participated in based on the virtual role that data acquisition request returns, and obtain data under line.
Specifically, due to needing to obtain the data that place is competed under line, second acquisition unit 303 can be from virtual angle
User identifier is extracted in the role identification of color, data acquisition request is sent to storage server under line according to user identifier,
In, user identifier can be the corresponding user's name of virtual role or Customs Assigned Number etc., and storage server can be used under the line
It manages place under line to compete, and stores the data etc. that place match generates under line, for example, the control system that place is competed under line can
With storage server under connecting line, data interaction can be carried out under control system and line between storage server, in each competition
Afterwards, under line the available match of storage server data, and according to the data of match more new database.
The type identification competed while wired end can be carried in the data acquisition request, the type mark can be default
The corresponding type identification of type, corresponding type identification or the corresponding type of fighting landlord match for example, holdem is competed
Mark etc., storage server can search corresponding with the type mark and account number in the database according to type identification under line
Data, second acquisition unit 303 can receive under line storage server and be based on data acquisition request, the virtual angle of return at this time
Color participates in the data of simulated race on the line of preset kind, obtains data on line.
Analytical unit 304 obtains the competition information of virtual role for analyzing data under data on line and line.
Wherein, competition information may include into information such as pond rate and winning rates, and analytical unit 304 can preset analysis
Dimension is then based on the dimension and carries out collect statistics etc., for example, by taking holdem is competed as an example, can by data on line and
Data detailed analysis virtual role (i.e. player) enters pond rate, hands preference and winning rate etc. no in holdem match under line
Same dimension.
In some embodiments, as shown in figure 9, analytical unit 304 may include screening subelement 3041 and analysis
Unit 3042 etc., specifically can be such that
Screening subelement 3041 is screened for screening according to preset algorithm to data under data on line and line
Data afterwards;
Subelement 3042 is analyzed, for data after screening to be carried out with the statistical analysis of various dimensions, obtains the ginseng of virtual role
Menaphtame breath.
Since data may have the data for not needing analysis under data on obtained line and line, it is single to screen son
Member 3041 can screen data under data on line and line according to preset algorithm, data after being screened, wherein pre- imputation
Method can carry out flexible setting according to actual needs, for example, can be according to the type of data or purposes etc. respectively to data on line
It cleaned, precipitated and is analyzed with data under line, obtain data after required valuable screening.
After being screened after data, analysis subelement 3042 can carry out the statistical of various dimensions to data after screening
Analysis, obtains the competition information of virtual role, provides player's analysis of strategy for commentator or spectators etc., for example, by winning rate with
Type belonging to player can be analyzed by entering pond rate, can do habit analysis for different hands, such as player takes under similarity condition
To identical hands, using the probability etc. of same policy.
In some embodiments, analysis subelement 3042 specifically can be used for: according to data after screening to virtual role
Type belonging to winning rate, policy information and virtual role in preset kind is competed is for statistical analysis, obtains analysis knot
Fruit;The competition information of virtual role is determined based on the analysis results.
Wherein, policy information may include into pond rate, amount bet, bet frequency, every take turns into pond number, wins, wind
Lattice, preference and strategy etc., such as re-injection is still gently infused down down, has Different Strategies.Type belonging to virtual role (i.e. player)
May include loose fierce type, loose weak type, tight fierce type or tight weak type etc., wherein loose player characteristics be it is bigger into pond hands range,
Common edge board or weak board are with note, and tight player is on the contrary, its feature is smaller into pond hands range;Fierce player characteristics are
Play is radical, and frequently filling is to force opponent to abandon board, and weak player is opposite.
Analyze subelement 3042 can according to data after screening to virtual role preset kind match in winning rate, strategy
Type belonging to information and virtual role is for statistical analysis, is analyzed as a result, the analysis result may include virtual role
Affiliated type, winning rate enter pond rate, amount bet, bet frequency, every take turns into pond number, wins, preference and strategy etc., example
Such as, can by winning rate, enter to fill before pond rate, board turning and persistently bet frequency etc. and determine type belonging to virtual role.This
When can determine the competition information of virtual role based on the analysis results, such as competition information may include class belonging to virtual role
Type enters the information such as pond rate, preference and winning rate.
In some embodiments, as shown in Figure 10, data processing equipment can also include:
Setting unit 306 for determining type belonging to virtual role according to competition information, and is virtual angle according to type
Label is arranged in color;
Third acquiring unit 307, for obtaining and the competition data of other virtual roles of tag match;
Push unit 308, for pushing match reference policy to the corresponding display terminal of virtual role according to competition data,
For virtual role reference.
As may include type belonging to virtual role in competition information, setting unit 306 can be according to competition
Information determines type belonging to virtual role, for example, belong to pine/tight type, or belong to act of violence/weak type etc., then setting unit 306
It is that label is arranged in virtual role according to type, the label is for identifying type belonging to virtual role, for example, type can be set
Corresponding relationship between label, different type correspond to different labels.Either, when the preset data of virtual role operation reaches
It to threshold value, then records corresponding data and adds corresponding label, these labels can provide for follow-up data processing more accurately to be sentenced
It is disconnected, if certain player is in BB, only pond can be entered when playing hand TT or more, so as to provide the user with reference, wherein the threshold value
It can be set multiple dimensions, such as distributional, winning rate, entered pond rate or every proficiency strategy etc., default dimension reaches threshold value, then remembers
It records corresponding data and adds corresponding label.
The available competition data with other virtual roles of tag match of third acquiring unit 307 at this time, for example, can
With obtain other consistent virtual roles of label of label and the virtual role competition data or available label with should
The label similarity of virtual role is greater than the competition data of other virtual roles of preset threshold, and wherein preset threshold can basis
Actual needs carries out flexible setting.After obtaining the competition data of other virtual roles, push unit 308 can be according to competition number
According to the match reference policy for obtaining other virtual roles, for example, the match reference policy may include whether into pond or bet more
Few etc., push unit 308 can be to the corresponding display terminal push match reference policy of virtual role, for virtual role at this time
With reference to.
Generation unit 305 generates display information according to indicating template and competition information, and will for obtaining indicating template
Display information is sent to display terminal.
The available indicating template of generation unit 305, the indicating template can determine according to show process, then basis
Indicating template and competition information generate display information, such as competition information can be added to indicating template and obtain display information,
When generating display information, data plug-in unit can be added in template show, introduce the access with figure packaging as data source,
According to different data, its corresponding data plug-in unit is also different, such as histogram or line chart etc. is presented.It can will show at this time
Show that information is sent to display terminal, so that display terminal can be presented display information in display interface.
In some embodiments, display terminal includes multiple, and generation unit 305 specifically can be used for: being obtained multiple aobvious
Show the current show process of terminal, and determines indicating template corresponding with each show process;According to each indicating template and ginseng
Menaphtame breath generates display information, obtains the corresponding display information of each display terminal;By the corresponding display letter of each display terminal
Breath is sent respectively to each display terminal.
Generation unit 305 can generate different display information for different display terminals, for example, when display terminal includes
First display terminal and the second display terminal, it is available when display information includes the first display information and the second display information
The first current show process of first display terminal, and determine the first indicating template corresponding with the first show process;And it obtains
The second show process for taking the second display terminal current, and determine the second indicating template corresponding with the second show process;Then
The first display information is generated according to the first indicating template and competition information, and is generated according to the second indicating template and competition information
Second display information;First display information can be sent to the first display terminal at this time, and the second display information is sent
To the second display terminal.Data processing equipment is allowed to provide data analysis service to different platform, information shows not only office
It is limited to some platform (such as display terminal), but can be very easily presented in different platform, realizes cross-platform beat
It is logical, greatly improve the efficiency of data processing.In addition, user can also customize the data for oneself wanting to see, and pass through display
Button in terminal selects to present.
From the foregoing, it will be observed that the embodiment of the present invention can receive the carrying virtual role that display terminal is sent by receiving unit 301
Role identification information acquisition request, then by first acquisition unit 302 according to role identification obtain virtual role participate in it is pre-
If the data of simulated race on the line of type, obtain data on line;And it is obtained by second acquisition unit 303 according to role identification
The data that place is competed under the line of virtual role participation preset kind, obtain data under line;Analytical unit 304 can be to line at this time
Data are analyzed under upper data and line, obtain the competition information of virtual role;Secondly generation unit 305 obtains indicating template,
Display information is generated according to indicating template and competition information, finally display information can be sent to display terminal, to show
Terminal shows display information.The program can be analyzed to obtain competition information by data under data on line and line,
Only the competition data of actual place race under line is analyzed relative to existing, improve data are handled it is accurate
Property.
The embodiment of the present invention also provides a kind of server, and as shown in figure 11, it illustrates involved in the embodiment of the present invention
The structural schematic diagram of server, specifically:
The server may include one or processor 401, one or more meters of more than one processing core
The components such as memory 402, power supply 403 and the input unit 404 of calculation machine readable storage medium storing program for executing.Those skilled in the art can manage
It solves, server architecture shown in Figure 11 does not constitute the restriction to server, may include than illustrating more or fewer portions
Part perhaps combines certain components or different component layouts.Wherein:
Processor 401 is the control centre of the server, utilizes each of various interfaces and the entire server of connection
Part by running or execute the software program and/or module that are stored in memory 402, and calls and is stored in memory
Data in 402, the various functions and processing data of execute server, to carry out integral monitoring to server.Optionally, locate
Managing device 401 may include one or more processing cores;Preferably, processor 401 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 401.
Memory 402 can be used for storing software program and module, and processor 401 is stored in memory 402 by operation
Software program and module, thereby executing various function application and data processing.Memory 402 can mainly include storage journey
Sequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one function
Such as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created data according to server
Deng.In addition, memory 402 may include high-speed random access memory, it can also include nonvolatile memory, for example, at least
One disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 402 can also include
Memory Controller, to provide access of the processor 401 to memory 402.
Server further includes the power supply 403 powered to all parts, it is preferred that power supply 403 can pass through power management system
It unites logically contiguous with processor 401, to realize the function such as management charging, electric discharge and power managed by power-supply management system
Energy.Power supply 403 can also include one or more direct current or AC power source, recharging system, power failure monitor electricity
The random components such as road, power adapter or inverter, power supply status indicator.
The server may also include input unit 404, which can be used for receiving the number or character letter of input
Breath, and generation keyboard related with user setting and function control, mouse, operating stick, optics or trackball signal are defeated
Enter.
Although being not shown, server can also be including display unit etc., and details are not described herein.Specifically in the present embodiment,
Processor 401 in server can according to following instruction, by the process of one or more application program is corresponding can
It executes file to be loaded into memory 402, and runs the application program being stored in memory 402 by processor 401, thus
Realize various functions, as follows:
The information acquisition request that display terminal is sent is received, the role identification of virtual role is carried in information acquisition request;
The data that virtual role participates in simulated race on the line of preset kind are obtained according to role identification, obtain data on line;According to angle
Colour code knows the data that place is competed under the line for obtaining virtual role participation preset kind, obtains data under line;To data on line and
Data are analyzed under line, obtain the competition information of virtual role;Indicating template is obtained, it is raw according to indicating template and competition information
Display terminal is sent at display information, and by display information.
Optionally, the step of analyzing data under data on line and line, obtaining the competition information of virtual role can be with
It include: that data under data on line and line are screened according to preset algorithm, data after being screened;Data after screening are carried out
The statistical analysis of various dimensions obtains the competition information of virtual role.
Optionally, display terminal includes multiple, obtains indicating template, generates display letter according to indicating template and competition information
Breath, and will show that the step of information is sent to display terminal may include: the current show process of the multiple display terminals of acquisition, and
Determine indicating template corresponding with each show process;Display information is generated according to each indicating template and competition information, is obtained
The corresponding display information of each display terminal;The corresponding display information of each display terminal is sent respectively to each display eventually
End.
From the foregoing, it will be observed that the embodiment of the present invention can receive the letter of the role identification of the carrying virtual role of display terminal transmission
Acquisition request is ceased, the data that virtual role participates in simulated race on the line of preset kind are then obtained according to role identification, are obtained
Data on line;And the data that place is competed under the line of virtual role participation preset kind are obtained according to role identification, obtain line
Lower data;Data under data on line and line can be analyzed at this time, obtain the competition information of virtual role;Secondly it obtains aobvious
Show template, display information is generated according to indicating template and competition information, finally display information can be sent to display terminal, with
Just display terminal shows display information.The program can be analyzed by data under data on line and line and be taken in competition
Information only analyzes the competition data of actual place race under line relative to existing, improves and is handled data
Accuracy.
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 detailed description above with respect to data processing method, details are not described herein again.
It will appreciated by the skilled person that all or part of the steps in the various methods of above-described embodiment can be with
It is completed by instructing, or relevant hardware is controlled by instruction to complete, which can store computer-readable deposits in one
In storage media, and is loaded and executed by processor.
For this purpose, the embodiment of the present invention provides a kind of storage medium, wherein being stored with a plurality of instruction, which can be processed
Device is loaded, to execute the step in any data processing method provided by the embodiment of the present invention.For example, the instruction can
To execute following steps:
The information acquisition request that display terminal is sent is received, the role identification of virtual role is carried in information acquisition request;
The data that virtual role participates in simulated race on the line of preset kind are obtained according to role identification, obtain data on line;According to angle
Colour code knows the data that place is competed under the line for obtaining virtual role participation preset kind, obtains data under line;To data on line and
Data are analyzed under line, obtain the competition information of virtual role;Indicating template is obtained, it is raw according to indicating template and competition information
Display terminal is sent at display information, and by display information.
Optionally, the step of analyzing data under data on line and line, obtaining the competition information of virtual role can be with
It include: that data under data on line and line are screened according to preset algorithm, data after being screened;Data after screening are carried out
The statistical analysis of various dimensions obtains the competition information of virtual role.
Optionally, display terminal includes multiple, obtains indicating template, generates display letter according to indicating template and competition information
Breath, and will show that the step of information is sent to display terminal may include: the current show process of the multiple display terminals of acquisition, and
Determine indicating template corresponding with each show process;Display information is generated according to each indicating template and competition information, is obtained
The corresponding display information of each display terminal;The corresponding display information of each display terminal is sent respectively to each display eventually
End.
The specific implementation of above each operation can be found in the embodiment of front, and details are not described herein.
Wherein, which may include: read-only memory (ROM, Read Only Memory), random access memory
Body (RAM, Random Access Memory), disk or CD etc..
By the instruction stored in the storage medium, can execute at any data provided by the embodiment of the present invention
Step in reason method, it is thereby achieved that achieved by any data processing method provided by the embodiment of the present invention
Beneficial effect is detailed in the embodiment of front, and details are not described herein.
It is provided for the embodiments of the invention a kind of data processing method, device and storage medium above and has carried out detailed Jie
It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only
It is to be used to help understand method and its core concept of the invention;Meanwhile for those skilled in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as
Limitation of the present invention.