CN102096753B - Server and client for contest report generation - Google Patents

Server and client for contest report generation Download PDF

Info

Publication number
CN102096753B
CN102096753B CN200910242614.XA CN200910242614A CN102096753B CN 102096753 B CN102096753 B CN 102096753B CN 200910242614 A CN200910242614 A CN 200910242614A CN 102096753 B CN102096753 B CN 102096753B
Authority
CN
China
Prior art keywords
information
game
record
report
poised
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN200910242614.XA
Other languages
Chinese (zh)
Other versions
CN102096753A (en
Inventor
穆学峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN200910242614.XA priority Critical patent/CN102096753B/en
Publication of CN102096753A publication Critical patent/CN102096753A/en
Application granted granted Critical
Publication of CN102096753B publication Critical patent/CN102096753B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a server and a client. The server is connected with a plurality of clients in a communicating way, and comprises a first receiving module, a record generation module and a first transmission module, wherein the first receiving module is used for receiving a report data acquisition request transmitted from a client end; the request comprises match stage identifiers and grouping information; the record generation module is used for generating a record according to the match stage identifiers, the grouping information and data in a database; the record comprises a plurality of fields of which each field represents certain information of each match; and the first transmission module is used for returning the record to the client end. The server and the client are used for generating a flexible report and improving the report generating efficiency.

Description

A kind of server for report generation in competing and client computer
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of server for report generation in competing in data handling procedure and a kind of client computer for report generation in competing.
Background technology
One-cycle match, is that all teams taken part in game all can meet once, finally arranges the names by the integration of every team in total contest, goal average.If team participating in the contest is few, and the time and place all guaranteed, usually all adopt this contest method.
The computing formula of single robin play is: X=N (N-1)/2, and wherein, N is the quantity of team participating in the contest, if N is odd number, then often taking turns match has a troop to want bye.Such as: 6 teams take part in game, then each troop will play with other 5 troops, and total touts of namely competing is 15.
Owing to having the feature such as Data Dynamic, form variation, form is widely used in the issue of information for the game.It carrys out Dynamic Announce data with the form such as form, chart, can be formulated as: " form+dynamic data of form=various ", can realize being separated completely of report data and statement form.Under statement form, user can a Update Table, or only revises form.
Existing report form generation method, generally draws statement form at client-side.With reference to figure 1, show a kind of typical one-cycle match statement form, with reference to figure 2 show to result of the match carry out abstract after statement form, wherein, R represents result of the match, R -1representing by the result of the match of host and guest team relation, is the contrary score of R.
After drafting statement form, client-side generally adopts one_to_one corresponding method, obtains report data, such as, add power function f (x), in order to obtain the data as result of the match respectively from server end.With reference to figure 3, show the data representation signal of one_to_one corresponding method, it is relatively more directly perceived, also easily realizes, but has following defect:
1, because match total touts is 15, need client-server end interaction data continually, described 30 report datas could be obtained, like this, cause increasing server to the process of a large amount of mishap, not only increase the frequent use of network, and affect the arithmetic speed of data, cause the inefficiency of report generation;
2, adopt in this way, need to carry out in advance defining corresponding variable.The team participating in the contest often organized in this example is 6, define 30 variablees to represent the score relation of match, wherein 15 corresponding upper right corner, 15 corresponding lower left corners.If have two to form a team 5 in one page form, so also to define 30 variablees and come corresponding.In addition, when designing report style with Report Designer software (as FastReport), above-mentioned a large amount of variablees correspondence also can increase design and the maintenance work of form, and brings difficulty for later amendment and debugging work.With reference to figure 4, show the data variable that will define in FastReport Report Form Design software, therefore, this mode does not reach good flexibility.
Therefore, the technical problem needing those skilled in the art urgently to solve is exactly: how to solve inefficiency in existing report form generation method, and the problem that flexibility is bad.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of server for report generation in competing and a kind of client computer for report generation in competing, and in order to generate the form with flexibility, and improves the efficiency of report generation.
In order to solve the problem, the invention discloses a kind of server for report generation in competing, it connects into can communicate with multiple client computer, comprising:
First receiver module, the report data sent for subscribing client end obtains request, and described request comprises race phase identification and grouping information;
Record generation module, for according to described race phase identification and grouping information, and, the data in database, generate a record, described record comprises multiple field, wherein, certain information of each field references every game;
First sending module, for returning to client-side by described record.
Preferably, described record generation module comprises:
First determines submodule, and for according to described race phase identification and grouping information, by Query Database, determine situation poised for battle of competing, the information that situation comprises every game is poised for battle in described match;
First obtains generation submodule, for with host and guest's Relation Parameters and match identification parameter for function parameter, the information relevant with identification parameter to host and guest's Relation Parameters of every game is obtained by function, and using field that the described information relevant with identification parameter to host and guest's Relation Parameters of every game records as one.
Preferably, the information of described every game comprises play number, date, time, place, is poised for battle troop and result.
Preferably, team participating in the contest and object information acquisition mark is also comprised in described request;
Described record generation module comprises:
Second determines submodule, for obtaining mark according to described race phase identification, grouping information and team participating in the contest and object information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
Second obtains generation submodule, for with host and guest's Relation Parameters and match identification parameter for function parameter, the object information of every game is obtained by function, and respectively by the object information of described team participating in the contest information and every game, as two kinds of fields of a record.
Preferably, also comprise play number in described request and obtain mark with object information;
Described record generation module comprises:
3rd determines submodule, and for obtaining mark according to described race phase identification, grouping information and play number and object information, by Query Database, determine situation poised for battle of competing, the information that situation comprises every game is poised for battle in described match;
3rd obtains generation submodule, for with host and guest's Relation Parameters and match identification parameter for function parameter, play number and the object information of every game is obtained by function, and respectively by the play of described every game number and object information, as two kinds of fields of a record.
Preferably, gain and loss number of fields acquisition of information mark is also comprised in described request;
Described record generation module comprises:
4th determines submodule, and for identifying according to described race phase identification, grouping information and gain and loss number of fields acquisition of information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
4th obtains generation submodule, for for each team participating in the contest, according to the information of relative every game, calculates corresponding gain and loss number of fields information, and using the field of described gain and loss number of fields information as a record.
Preferably, goal average acquisition of information mark is also comprised in described request;
Described record generation module comprises:
5th determines submodule, and for identifying according to described race phase identification, grouping information and goal average acquisition of information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
5th obtains generation submodule, for for each team participating in the contest, according to the information of relative every game, calculates corresponding goal average information, and using the field of described goal average information as a record.
Preferably, also comprise integration information in described request and obtain mark;
Described record generation module comprises:
6th determines submodule, and for obtaining mark according to described race phase identification, grouping information and integration information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
6th obtains generation submodule, for each team participating in the contest, according to the information of relative every game, calculates corresponding integration information, and using the field of described integration information as a record.
The invention also discloses a kind of client computer for report generation in competing, itself and server connect into and can communicate, and comprising:
Creation module, for creating structure of report;
Second sending module, obtain request for sending report data to server end, described request comprises race phase identification and grouping information;
Second receiver module, for the record that reception server end returns, described record comprises multiple field, wherein, certain information of each field references every game;
Memory module, for by described multiple field store in structure of report, generating report forms.
Preferably, described creation module, for setting up multiple cell, and adds a control for each cell;
Described memory module, corresponds in the relevant control of structure of report for the field in the record that obtained by the second receiver module.
Compared with prior art, the present invention has the following advantages:
The process of report data and arithmetic operation are placed on server end by the present invention, specifically, are the first receiver module, record generation module and the first sending module, for described record is returned to client-side by server design.When the first receiver module receives the report data request of client-side, generate by record generation module the record including multiple fields of certain information representing every game, then return to client-side by the first sending module; And the structure of client computer comprises creation module, the second sending module, the second receiver module and memory module.Like this, client-side is while establishment structure of report, report data can be sent to server end and obtain request, then, after receiving the record that server end returns, only the field in described record and the control in structure of report one_to_one corresponding need be carried out, just report generation work can be completed; Therefore, relative to prior art, server end and client-side interaction data continually, the present invention completes a large amount of data processings and arithmetic operation by server, the amount of calculation of client can either be reduced, the Internet Transmission of data can be reduced again, thus the arithmetic speed of data can be improved;
Secondly, server end utilizes the storing process of database, the result of return recording form, can facilitate later amendment and maintenance work, and thus, report form generation method of the present invention has good flexibility;
Moreover because the process of report data and arithmetic operation are at server end, energy can be placed in the design of report style by the Report Form Design personnel of client, thus can reduce the workload of Report Form Design personnel.
Accompanying drawing explanation
Fig. 1 is a kind of typical round robin statement form of prior art;
Fig. 2 be to the result of the match in Fig. 1 carry out abstract after statement form;
Fig. 3 is the representation of one_to_one corresponding method in prior art;
Fig. 4 is the data variable that will define in FastReport Report Form Design software in prior art;
Fig. 5 is the structure chart of a kind of server example 1 for report generation in competing of the present invention;
Fig. 6 is that a kind of A group of the present invention has record during 6 teams participating in the contest to illustrate;
Fig. 7 is the structure chart of a kind of server example 2 for report generation in competing of the present invention;
Fig. 8 is a kind of structure of report example of the present invention;
Fig. 9 is the sample report increasing gain and loss number of fields information, goal average information, integration information on Fig. 6 basis;
Figure 10 is the structure chart of a kind of client computer embodiment for report generation in competing of the present invention;
Figure 11 is a kind of data source signal of the present invention;
Figure 12 is the signal of the client-side for report generation in the competing of the present invention record that will obtain as data source;
Figure 13 is the signal of the client-side for report generation in the competing of the present invention record that will obtain as data source.
Detailed description of the invention
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
C/S (Client/Server) structure, the client-server structure namely known.It is software system architecture, can be made full use of the advantage of two ends hardware environment by it, task is reasonably allocated to Client end and Server hold realize, reduce the communication-cost of system.
One of core idea of the present invention is, when processing the data under this structure of C/S, the advantage of server end if can bring into play, allow server to complete a large amount of data processings and arithmetic operation as far as possible, the amount of calculation of client-side can either be reduced, the Internet Transmission of data can be reduced again, and, improve the arithmetic speed of data.
With reference to Fig. 5, show the structure chart of a kind of server example 1 for report generation in competing of the present invention, this server connects into can communicate with multiple client computer, specifically can comprise:
First receiver module 501, the report data sent for subscribing client end obtains request, and described request comprises race phase identification and grouping information;
Record generation module 502, for according to described race phase identification and grouping information, and, the data in database, generate a record, described record comprises multiple field, wherein, certain information of each field references every game;
First sending module 503, for returning to client-side by described record.
First receiver module 501,
When client-side exists demand to report data, described report data can be sent to server end and obtain request.
Common big event, is generally first have a round robin, then carries out elimination series, finally obtains being preced with, sub-, third place.For Football World Championship, it comprises preselection competition and two stages of regulation game; Wherein, preselection competition comprises first stage qualifying match, second stage qualifying match and phase III match among the last ten further, and preselection competition is all carried out with the form of group round robin, can decide the Final 32 of world cup; Regulation game comprises 1/16 finals of group round robin form and later elimination series further.Like this, because the naming rule of group in group round robin is usually from A beginning, such as, 1/16 finals has 8 groups, is respectively A-H, and like this, the group round robin of every one-phase all may comprise A group and B group.Therefore, described report data obtains in request should comprise race phase identification, such as, is the second stage qualifying match etc. in upper example.In practice, the form of described race phase identification can be determined by agreement by client-side and the first receiver module 501, and the present invention is not limited this.
In addition, the grouping information in described request can comprise the information of a group, also can comprise the information of multiple groups.Such as, 1/16 finals in upper example has A-H8 group, and so, described grouping information can be single group in described 8 groups, as B group; Or be the combination of individual group of any N (1<N<9), during as N=3, the combinations such as ABC, ABD, ADE, the present invention is not limited the grouping information form sent.
Record generation module 502,
The major function of this module is, according to the request of client-side, carries out data processing and arithmetic operation.
In practice, described database is positioned at server end, for providing race data for server.This module can under database management language (as MS SQLSERVER2005) environment, and utilize storing process to process report data, and final data processed result is changed into a record, also, data processed result is the mode of one dimension table.
In specific implementation, the function of described record generation module 502 realizes by following submodule:
First determines submodule, and for according to described race phase identification and grouping information, by Query Database, determine situation poised for battle of competing, the information that situation comprises every game is poised for battle in described match;
In practice, the information of described every game can comprise: play number, date, time, place, be poised for battle troop and result.Such as, the match of 06 world cup former two is poised for battle situation and is respectively: 01 2006/6/10 Allianz Arena, 00:00 Munich Germany VS Costa Rica 4-2, and, 02 2006/6/10 03:00 Gelsenkirchens proud go to Sha Erke stadium-VS Ecuador of Poland 0-2.
First obtains generation submodule, for with host and guest's Relation Parameters and match identification parameter for function parameter, the information relevant with identification parameter to host and guest's Relation Parameters of every game is obtained by function, and using field that the described information relevant with identification parameter to host and guest's Relation Parameters of every game records as one.
To obtain the object information of every game, the parameter of described storing process is exactly grouping information and troop's number of match, and described first obtains the course of work generating submodule can be:
First, according to grouping information, determine situation poised for battle of competing;
Then, the result of an every game function is realized, wherein the parameter of function has host and guest's Relation Parameters (HostOrVisit) and match identification parameter (MatchID);
Finally, obtaining a record containing multiple field, is exactly the result of the match that this organizes all plays.With reference to figure 6, showing A group has record during 6 teams participating in the contest to illustrate, wherein, the record for result of the match of the 2nd behavior server end generation of form, the content of 2-6 cell of the 2nd row is also the field that sub-step A2 obtains.
In addition, for the competition sessions of not carrying out in group, field corresponding for its result can be set to NULL or other value, the present invention is not limited this.
For the play number of every game, date, time, place, be poised for battle the acquisition process of the information such as troop, similar with said process, therefore not to repeat here.
First sending module 503,
The major function of this module is, by the record that record generation module 502 generates, returns to client-side in the mode of one dimension table.
Because the first receiver module 501, first sending module 503 is all the module of carrying out with client-side communicating, so in practice, they can for the module worked alone, and also they can be integrated in a module, the present invention is not limited this.
Relative to prior art, server tool of the present invention has the following advantages:
1, carry out process and the computing of report data, can arithmetic speed be improved, reduce the amount of calculation of client-side and the Internet Transmission of report data;
2, utilize the storing process of database, with the form return data result of a record, be convenient to later amendment and maintenance.
With reference to Fig. 7, show the structure chart of a kind of server example 2 for report generation in competing of the present invention, this server connects into can communicate with multiple client computer, specifically can comprise:
First receiver module 701, the report data sent for subscribing client end obtains request, and described request comprises race phase identification, grouping information, and team participating in the contest and object information obtain mark;
Record generation module 702, can comprise:
Second determines submodule 721, for obtaining mark according to described race phase identification, grouping information and team participating in the contest and object information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
Second obtains generation submodule 722, for with host and guest's Relation Parameters and match identification parameter for function parameter, the object information of every game is obtained by function, and respectively by the object information of described team participating in the contest information and every game, as two kinds of fields of a record;
First sending module 703, for returning to client-side by described record.
In practice, the structure of report that client-side creates comprises a lot of data message, with reference to figure 8, show a kind of structure of report example of the present invention, it has team participating in the contest (1 " team "-6 " team ") and result of the match two kinds of data messages simultaneously.
Therefore, the difference of the present embodiment and embodiment 1 is, when increasing team participating in the contest and object information acquisition mark in the request of client-side, improves the structure of record generation module 702.
Suppose the field representing team participating in the contest's information with team (i), Result (j, k) represents the field of object information, 0<i, j, k<7, and j ≠ k so, the order of described two kinds of fields in a record can be, first team (i), then Result (j, k), also can be that team (i) Result (j, k) alternately stores, the present invention not be limited concrete order.
And for example, when client-side has demand to play number and object information, play number can also be comprised in its request sent and object information obtains mark;
Now, can be by the structural design of record generation module 702:
3rd determines submodule, and for obtaining mark according to described race phase identification, grouping information and play number and object information, by Query Database, determine situation poised for battle of competing, the information that situation comprises every game is poised for battle in described match;
3rd obtains generation submodule, for with host and guest's Relation Parameters and match identification parameter for function parameter, play number and the object information of every game is obtained by function, and respectively by the play of described every game number and object information, as two kinds of fields of a record.
Be appreciated that the present invention is to two kinds of fields representated by play number and object information, the storage order in a record is not also limited.
In addition, the any combination of the information of various every game can be comprised in the request of client-side, as combinations such as play number and date, play number, when and where, play number, date, place and results, the present invention is not limited to the combination in above-mentioned two kinds of examples.
The invention also discloses a kind of server example 3 for report generation in competing, this server connects into can communicate with multiple client computer, specifically can comprise:
First receiver module, the report data sent for subscribing client end obtains request, and described request comprises race phase identification, grouping information, and gain and loss number of fields acquisition of information identifies;
Record generation module, can comprise:
4th determines submodule, and for identifying according to described race phase identification, grouping information and gain and loss number of fields acquisition of information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
4th obtains generation submodule, for for each team participating in the contest, according to the information of relative every game, calculates corresponding gain and loss number of fields information, and using the field of described gain and loss number of fields information as a record;
First sending module, for returning to client-side by described record.
In sports tournament, after group round robin terminates, enter next round be called outlet, and whether certain troop in group can outlet, is determined by the rank of this troop, and rank foundation is the integration of this troop.Such as, the laws of the game of football are: win one and obtain 3 points, and negative one obtains 0 point, and flat one obtains 1 point, and therefore, in calculating group, the gain and loss number of fields of team participating in the contest is the steps necessary of calculated for rank.
Therefore, the difference of the present embodiment and embodiment 1 is, when adding gain and loss number of fields acquisition of information mark in the request that client-side sends, record generation module is designed to the 4th and determines that submodule and the 4th obtains generation submodule.Obtain by the 4th and generate the gain and loss number of fields that submodule calculates each team participating in the contest, and using the field of described gain and loss number of fields as a record, finally obtain a record, thus, relative to prior art, the Report Form Design personnel of client-side, according to the result of the every game of each team participating in the contest, calculate corresponding victory or defeat number of fields, described arithmetic operation is placed on server end by the present embodiment, thus can alleviate the operand of client-side end.
The design of described gain and loss number of fields can be determined according to concrete laws of the game, such as, football round robin has victory, negative, flat three kinds of situations, and shuttlecock is 3 innings of 2 victory system, vollyball is 5 innings of 3 victory system, basketball also can be decided the outcome by the added-time, and thus, the round robin of shuttlecock, vollyball, basketball only has victory, negative two kinds of situations.
The invention also discloses a kind of server example 4 for report generation in competing, this server connects into can communicate with multiple client computer, specifically can comprise:
First receiver module, the report data sent for subscribing client end obtains request, and described request comprises race phase identification, grouping information, and goal average acquisition of information identifies;
Record generation module, can comprise:
5th determines submodule, and for identifying according to described race phase identification, grouping information and goal average acquisition of information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
5th obtains generation submodule, for for each team participating in the contest, according to the information of relative every game, calculates corresponding goal average information, and using the field of described goal average information as a record;
First sending module, for returning to client-side by described record.
In practice, can also using the foundation of goal average as team participating in the contest's rank in group.
For Basketball Match, suppose that A team and B team result of the match be the match of 60:50, B team and C team are that 55:50, C team and A team compete as 58:55; So,
The goal average of A team is: score (60+55)/(50+58)=1.065 of losing points,
The goal average of B team is: score (50+55)/(60+50)=0.955 of losing points,
The goal average of C team is: score (50+58)/(55+55)=0.982 of losing points.
With the large person of goal average for victory, therefore, ranking result is team of team of A team the first, C the second, B the 3rd.
The difference of the present embodiment and embodiment 3 is, when adding goal average acquisition of information mark in the request that client-side sends, record generation module is designed to the 5th and determines that submodule and the 6th obtains generation submodule, to reduce the operand that client-side calculates goal average information.
Due to the foundation that integration information is group's rank, therefore, integration information can also be comprised in the request that client-side sends and obtain mark, now, can be by the structural design of record generation module:
6th determines submodule, and for obtaining mark according to described race phase identification, grouping information and integration information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
6th obtains generation submodule, for each team participating in the contest, according to the information of relative every game, calculates corresponding integration information, and using the field of described integration information as a record.
Be appreciated that, those skilled in the art can also as required, by described gain and loss number of fields information and/or goal average information and/or integration information, together with the information (as object information) of every game, be placed in same record, the present invention is not limited this.With reference to figure 9, show the sample report increasing gain and loss number of fields information, goal average information, integration information on Fig. 8 basis.
With reference to Figure 10, show the structure chart of a kind of client computer embodiment for report generation in competing of the present invention, this client computer and server connect into and can communicate, and specifically can comprise:
Creation module 1001, for creating structure of report;
Second sending module 1002, obtain request for sending report data to server end, described request comprises race phase identification and grouping information;
Second receiver module 1003, for the record that reception server end returns, described record comprises multiple field, wherein, certain information of each field references every game;
Memory module 1004, for by described multiple field store in structure of report, generating report forms.
In specific implementation, available Report Designer software (as FastReport) realizes the function of creation module 1001, and the structure of report of establishment can comprise gauge outfit, data and footnote region.Such as, the course of work of creation module 1001 can be set up multiple cell, and adds a control for each cell.In general, gauge outfit region is the first cell in form, or the first row, and the present invention is not limited concrete structure of report.
Client-side while establishment form, can send report data to server end and obtains request.Therefore, the second sending module 1002 and creation module 1001 can work asynchronously.Its work can SQL (SQL, the Structured Query Language) form of ordering be carried out.Such as, the SQL statements such as select, insert, update are sent; And for example, send sql procedure (Stored Procedure), specifically, compile one group in advance to complete the SQL statement collection of specific function, and store in a database after compiling completes, then, when sending request, perform this storing process by specifying the name of respective stored process and providing parameter (if this storing process is with parameter).
Due to when creating form, creation module 1001 can set up multiple cell, and adds a control for each cell.For described control for text control, so the data source of text control should be the respective field in the record that the second receiver module 1003 receives.
Now, the course of work of memory module 1004 can be, the field in the record obtain the second receiver module corresponds in the relevant control of structure of report.
With reference to Figure 11, show a kind of data source signal of the present invention.With reference to Figure 12 and Figure 13, show the signal of recording as data source that memory module 1004 will obtain, wherein, F_GroupName represents grouping information, as A group, F_MatchNum represents the play information of every game, F_MatchDate represents the date and time information of every game, F_Score represents the object information of every game, be appreciated that, described data source can also comprise the when and where information of team participating in the contest, every game, and the present invention is not limited to the data source shown in Figure 12 and Figure 13.
In addition, for the situation comprising two kinds of fields in a record simultaneously, result and the date and time information of every game is comprised for described two kinds of fields, the course of work of memory module 1004 can be, the result of the every game in this being recorded and two kinds of fields corresponding to date and time information, put into the control of same correspondence.
In actual applications, because the second sending module 1002, second receiver module 1003 is all the module of carrying out with server end communicating, so, in practice, they can for the module worked alone, and also they can be integrated in a module, the present invention is not limited this.
Client computer of the present invention can reduce workload for Report Form Design personnel, like this, energy just can be placed in the design of report style by Report Form Design personnel, because only have a record, as long as the field in record and control one_to_one corresponding just passable, and the correctness of data can be ensured by the storing process of server end.
C/S structure of the present invention can be, multiple stage client computer of the present invention and server connect into communication, also can be, a client computer of the present invention and other client computer together connect into communication with server, and the present invention is not limited this.
The present invention can be applied to the game situation statistics of various competitive sports, such as, be applied to the on-site score treatment system of the project such as shuttlecock, tennis, vollyball, beach volleyball, hockey in the 11 National Games holding in Shandong in 2009, in order to improve the efficiency of report form processing and generation, thus provide technical guarantee for the timely issue of information for the game.
Above to a kind of server for report generation in competing provided by the present invention and a kind of client computer for report generation in competing, be described in detail, apply specific case herein to set forth principle of the present invention and embodiment, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (9)

1., for a server for report generation in competing, connect into can communicate with multiple client computer, it is characterized in that, comprising:
First receiver module, the report data sent for subscribing client end obtains request, and described request comprises race phase identification and grouping information;
Record generation module, for according to described race phase identification and grouping information, and, the data in database, generate a record, described record comprises multiple field;
Wherein, described record generation module comprises:
First determines submodule, and for according to described race phase identification and grouping information, by Query Database, determine situation poised for battle of competing, the information that situation comprises every game is poised for battle in described match;
First obtains generation submodule, for taking host and guest's Relation Parameters and match identification parameter as the function parameter for representing every game result, the information relevant with identification parameter to host and guest's Relation Parameters of every game is obtained by function, and using field that the described information relevant with identification parameter to host and guest's Relation Parameters of every game records as one;
First sending module, for returning to client-side by described record.
2. as claimed in claim 1 for the server of report generation in competing, it is characterized in that, the information of described every game comprises play number, date, time, place, is poised for battle troop and result.
3. as claimed in claim 2 for the server of report generation in competing, it is characterized in that, also comprise team participating in the contest in described request and object information obtains mark;
Described record generation module comprises:
Second determines submodule, for obtaining mark according to described race phase identification, grouping information and team participating in the contest and object information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
Second obtains generation submodule, for taking host and guest's Relation Parameters and match identification parameter as the function parameter for representing every game result, the object information of every game is obtained by function, and respectively by the object information of described team participating in the contest information and every game, as two kinds of fields of a record.
4. as claimed in claim 2 for the server of report generation in competing, it is characterized in that, also comprise play number in described request and object information obtains mark;
Described record generation module comprises:
3rd determines submodule, and for obtaining mark according to described race phase identification, grouping information and play number and object information, by Query Database, determine situation poised for battle of competing, the information that situation comprises every game is poised for battle in described match;
3rd obtains generation submodule, for with host and guest's Relation Parameters and match identification parameter for function parameter, play number and the object information of every game is obtained by function, and respectively by the play of described every game number and object information, as two kinds of fields of a record.
5., as claimed in claim 1 for the server of report generation in competing, it is characterized in that, in described request, also comprise gain and loss number of fields acquisition of information mark;
Described record generation module comprises:
4th determines submodule, and for identifying according to described race phase identification, grouping information and gain and loss number of fields acquisition of information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
4th obtains generation submodule, for for each team participating in the contest, according to the information of relative every game, calculates corresponding gain and loss number of fields information, and using the field of described gain and loss number of fields information as a record.
6., as claimed in claim 1 for the server of report generation in competing, it is characterized in that, in described request, also comprise goal average acquisition of information mark;
Described record generation module comprises:
5th determines submodule, and for identifying according to described race phase identification, grouping information and goal average acquisition of information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
5th obtains generation submodule, for for each team participating in the contest, according to the information of relative every game, calculates corresponding goal average information, and using the field of described goal average information as a record.
7., as claimed in claim 1 for the server of report generation in competing, it is characterized in that, also comprise integration information in described request and obtain mark;
Described record generation module comprises:
6th determines submodule, and for obtaining mark according to described race phase identification, grouping information and integration information, by Query Database, determine compete situation poised for battle and team participating in the contest's information, the information that situation comprises every game is poised for battle in described match;
6th obtains generation submodule, for each team participating in the contest, according to the information of relative every game, calculates corresponding integration information, and using the field of described integration information as a record.
8., for a client computer for report generation in competing, connect into can communicate with server, it is characterized in that, comprising:
Creation module, for creating structure of report;
Second sending module, obtain request for sending report data to server end, described request comprises race phase identification and grouping information;
Second receiver module, for the record that reception server end returns, described record comprises multiple field, wherein, certain information of each field references every game; Wherein, server is recorded as by following CMOS macro cell described in: first determines submodule, and for according to described race phase identification and grouping information, by Query Database, determine situation poised for battle of competing, the information that situation comprises every game is poised for battle in described match; First obtains generation submodule, for taking host and guest's Relation Parameters and match identification parameter as the function parameter for representing every game result, the information relevant with identification parameter to host and guest's Relation Parameters of every game is obtained by function, and using field that the described information relevant with identification parameter to host and guest's Relation Parameters of every game records as one;
Memory module, for by described multiple field store in structure of report, generating report forms.
9., as claimed in claim 8 for the client computer of report generation in competing, it is characterized in that,
Described creation module, for setting up multiple cell, and adds a control for each cell;
Described memory module, corresponds in the relevant control of structure of report for the field in the record that obtained by the second receiver module.
CN200910242614.XA 2009-12-09 2009-12-09 Server and client for contest report generation Expired - Fee Related CN102096753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910242614.XA CN102096753B (en) 2009-12-09 2009-12-09 Server and client for contest report generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910242614.XA CN102096753B (en) 2009-12-09 2009-12-09 Server and client for contest report generation

Publications (2)

Publication Number Publication Date
CN102096753A CN102096753A (en) 2011-06-15
CN102096753B true CN102096753B (en) 2015-04-29

Family

ID=44129848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910242614.XA Expired - Fee Related CN102096753B (en) 2009-12-09 2009-12-09 Server and client for contest report generation

Country Status (1)

Country Link
CN (1) CN102096753B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724445A (en) * 2011-09-28 2012-10-10 新奥特(北京)视频技术有限公司 Method and system for instant generation of competitive game information
CN102760148A (en) * 2011-12-30 2012-10-31 新奥特(北京)视频技术有限公司 Data inquiry method for competition system
CN106530145A (en) * 2016-11-03 2017-03-22 球宝互动(北京)网络科技有限公司 Data publishing method and system for sports events
CN110354496B (en) * 2019-06-19 2023-11-21 腾讯科技(成都)有限公司 Electronic athletic event processing method and device, storage medium and electronic equipment
CN111202989A (en) * 2019-12-26 2020-05-29 杭州威佩网络科技有限公司 Electronic competition information map generation method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1438591A (en) * 2002-02-10 2003-08-27 华为技术有限公司 Method for realizing intelligent report forms
CN1862547A (en) * 2005-09-28 2006-11-15 华为技术有限公司 Internet game contest method and service system thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1438591A (en) * 2002-02-10 2003-08-27 华为技术有限公司 Method for realizing intelligent report forms
CN1862547A (en) * 2005-09-28 2006-11-15 华为技术有限公司 Internet game contest method and service system thereof

Also Published As

Publication number Publication date
CN102096753A (en) 2011-06-15

Similar Documents

Publication Publication Date Title
CN102096664B (en) Report generating method
CN102096753B (en) Server and client for contest report generation
US20090170584A1 (en) Interactive scenario exploration for tournament-style gaming
US20120283858A1 (en) Computerized system and method for managing fantasy sports team
US20120216115A1 (en) System of automated management of event information
CN110851542B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN106372101B (en) A kind of video recommendation method and device
CN109739903B (en) Ranking list data generation method and related device
CN111274151B (en) Game testing method, related device and storage medium
CN107115673A (en) A kind of behavior of Behavior-based control tree performs method and apparatus
US20140162786A1 (en) Online commodity competition
US10478722B2 (en) Server and program
CN104102800A (en) Method and system for displaying achievements of game users
CN109948062A (en) A kind of target matching method, device, server, system and storage medium
Chartier et al. Bracketology: How can math help?
CN112138409B (en) Game result prediction method, device and storage medium
US20140031110A1 (en) Method for ranking and comparing sports leagues
KR20170099505A (en) System and method for maching a sports contest
Gotzes et al. Bounds for the final ranks during a round robin tournament
US11872464B1 (en) Golf play outcome simulation modeling system
TWI773619B (en) Automatic race schedule system
Milani Production of the Final Score Tables of the Soccer Tournaments using Functional Programming
Damkhi et al. Determining the results of tournament games using complete graphs generation
US20140162790A1 (en) Method and system for fantasy recruiting game
CN116431868A (en) Data processing method, system and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150429

Termination date: 20161209