CN102096753A - Server and client - Google Patents

Server and client Download PDF

Info

Publication number
CN102096753A
CN102096753A CN200910242614XA CN200910242614A CN102096753A CN 102096753 A CN102096753 A CN 102096753A CN 200910242614X A CN200910242614X A CN 200910242614XA CN 200910242614 A CN200910242614 A CN 200910242614A CN 102096753 A CN102096753 A CN 102096753A
Authority
CN
China
Prior art keywords
information
record
game
match
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.)
Granted
Application number
CN200910242614XA
Other languages
Chinese (zh)
Other versions
CN102096753B (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

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

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 and a kind of client computer
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of server and a kind of client computer in the data handling procedure.
Background technology
One-cycle match is that all teams that take part in game all can meet once, arranges the names by integration, the goal average of every team in total contest at last.If team participating in the contest is few, and time and place are all guaranteed, all adopt this contest method usually.
The computing formula of single cycle competition sessions is: X=N (N-1)/2, wherein, N is the quantity of team participating in the contest, if N is an odd number, then every take turns the match have a troop to want bye.For example: 6 teams take part in game, and then each troop will play with other 5 troops, and the total touts of promptly competing is 15.
Owing to have characteristics such as Data Dynamicization, form variation, form has obtained using widely in the issue of information for the game.It comes dynamic video data with forms such as form, charts, can be formulated as: " form=various form+dynamic data ", can realize separating fully of report data and statement form.Under statement form, the user can only revise data, perhaps only revises form.
Existing report form generation method is generally drawn statement form at client-side.With reference to figure 1, show a kind of typical one-cycle match statement form, show with reference to figure 2 result of the match is carried out statement form after abstract, wherein, R represents result of the match, R -1Representative is the opposite score of R by the result of the match of host and guest team relation.
After drawing statement form, client-side generally adopts correspondent method one by one, obtains report data from server end, for example, adds a power function f (x), in order to obtain the data as result of the match respectively.With reference to figure 3, show the data representation signal of correspondent method one by one, it is more directly perceived, also realizes easily, but has following defective:
1, because the match total touts is 15, need client-server end interaction data continually, just can obtain described 30 report datas, like this, cause increasing the processing of server to a large amount of mishaps, not only increase the frequent use of network, and influence operation of data speed, cause the inefficiency of report generation;
2, adopt this mode, need define corresponding variable in advance.Every group team participating in the contest in this example is 6, define the score relation that 30 variablees are represented to compete, 15 corresponding upper right corner wherein, 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, with Report Designer software (as FastReport) design report style the time, above-mentioned a large amount of variable correspondence also can increase the design and the maintenance work of form, and brings difficulty for later modification and debugging work.With reference to figure 4, show the data variable that will define in the FastReport Report Form Design software, therefore, this mode does not reach good dirigibility.
Therefore, need the urgent technical matters that solves of those skilled in the art to be exactly: how to solve inefficiency in the existing report form generation method, and the bad problem of dirigibility.
Summary of the invention
Technical matters to be solved by this invention provides a kind of server and a kind of client computer, has the form of dirigibility in order to generation, and improves the efficient of report generation.
In order to address the above problem, the invention discloses a kind of server, it connects into and can communicate by letter with a plurality of client computer, comprising:
First receiver module, the report data that is used for the transmission of subscribing client end obtains request, comprises race phase identification and grouping information in the described request;
The record generation module be used for according to described race phase identification and grouping information, and the data in the database generates a record, comprise a plurality of fields in the described record, and wherein, each field is represented certain information of every game;
First sending module is used for described record is returned to client-side.
Preferably, described record generation module comprises:
First determines submodule, is used for according to described race phase identification and grouping information, by Query Database, determines match situation poised for battle, and the information that comprises every game in the situation is poised for battle in described match;
First obtains the generation submodule, and being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtains certain information of every game by function, and with certain information of described every game field as a record.
Preferably, the information of described every game comprises play number, date, time, place, is poised for battle troop and result.
Preferably, comprise also in the described request that team participating in the contest and object information obtain sign;
Described record generation module comprises:
Second determines submodule, be used for obtaining sign according to described race phase identification, grouping information and team participating in the contest and object information, by Query Database, determine match situation poised for battle and team participating in the contest's information, the information that comprises every game in the situation is poised for battle in described match;
Second obtains the generation submodule, being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtain the object information of every game by function, and respectively with the object information of described team participating in the contest information and every game, as two kinds of fields of a record.
Preferably, comprise also in the described request that play number and object information obtain sign;
Described record generation module comprises:
The 3rd determines submodule, is used for obtaining sign according to described race phase identification, grouping information and play number and object information, by Query Database, determines that match is poised for battle situation, and the information that comprises every game in the situation is poised for battle in described match;
The 3rd obtains the generation submodule, being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtain the play number and the object information of every game by function, and respectively with the play of described every game number and object information, as two kinds of fields of a record.
Preferably, comprise also in the described request that gain and loss number of fields information obtains sign;
Described record generation module comprises:
The 4th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and gain and loss number of fields information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 4th obtains the generation submodule, is used at each team participating in the contest, according to the information of relative every game, calculates corresponding gain and loss number of fields information, and with the field of described gain and loss number of fields information as a record.
Preferably, comprise also in the described request that goal average information obtains sign;
Described record generation module comprises:
The 5th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and goal average information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 5th obtains the generation submodule, is used at each team participating in the contest, according to the information of relative every game, calculates corresponding goal average information, and with the field of described goal average information as a record.
Preferably, comprise also in the described request that integration information obtains sign;
Described record generation module comprises:
The 6th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and integration information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 6th obtains the generation submodule, at each team participating in the contest, according to the information of relative every game, calculates corresponding integration information, and with the field of described integration information as a record.
The invention also discloses a kind of client computer, it connects into and can communicate by letter with server, comprising:
Creation module is used to create structure of report;
Second sending module is used for sending report data to server end and obtains request, comprises race phase identification and grouping information in the described request;
Second receiver module is used for the record that the reception server end returns, and comprises a plurality of fields in the described record, and wherein, each field is represented certain information of every game;
Memory module is used for described a plurality of field store to structure of report, generates form.
Preferably, described creation module is used to set up a plurality of cells, and adds a control at each cell;
Described memory module, the field that is used for record that second receiver module is obtained corresponds in the relevant control of structure of report.
Compared with prior art, the present invention has the following advantages:
The present invention is placed on server end with the processing and the arithmetic operation of report data, particularly, is first receiver module, record generation module and first sending module with server design, is used for described record is returned to client-side.When first receiver module receives the report data request of client-side,, return to client-side by first sending module again by writing down the record that generation module generates a plurality of fields that comprised certain information of representing every game; And the structure of client computer comprises creation module, second sending module, second receiver module and memory module.Like this, client-side is when creating structure of report, can send report data to server end and obtain request, then, after receiving the record that server end returns, only need field in the described record and control in the structure of report are carried out corresponding one by one, just can finish report generation work; Therefore, with respect to prior art, server end and client-side be interaction data continually, the present invention finishes lot of data by server and handles and arithmetic operation, can either reduce the calculated amount of client, can reduce the Network Transmission of data again, thereby can improve operation of data speed;
Secondly, server end utilizes the storing process of database, and the result of return recording form can make things convenient for later modification and maintenance work, thereby report form generation method of the present invention has good dirigibility;
Moreover because the processing of report data and arithmetic operation be at server end, the Report Form Design personnel of client can be placed on energy in the design of report style, thereby can reduce Report Form Design personnel's workload.
Description of drawings
Fig. 1 is a kind of typical round robin statement form of prior art;
Fig. 2 carries out statement form after abstract to the result of the match among Fig. 1;
Fig. 3 is the data representation mode of correspondent method one by one in the prior art;
Fig. 4 is the data variable that will define in the FastReport Report Form Design software in the prior art;
Fig. 5 is the structural drawing of a kind of server implementation example 1 of the present invention;
Fig. 6 is that a kind of A of the present invention organizes the record signal when 6 teams participating in the contest are arranged;
Fig. 7 is the structural drawing of a kind of server implementation example 2 of the present invention;
Fig. 8 is a kind of structure of report example of the present invention;
Fig. 9 is the sample report that increases gain and loss number of fields information, goal average information, integration information on Fig. 6 basis;
Figure 10 is the structural drawing of a kind of client computer embodiment 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 of the present invention record that will obtain as data source;
Figure 13 is the signal of the client-side of the present invention record that will obtain as data source.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
C/S (Client/Server) structure, the client-server structure of promptly knowing.It is a software system architecture, can make full use of the advantage of two ends hardware environment by it, and the task reasonable distribution is brought in realization to Client end and Server, has reduced the communication-cost of system.
One of core idea of the present invention is, during data under handling this structure of C/S, the advantage of server end if can bring into play, allowing server finish lot of data as far as possible handles and arithmetic operation, can either reduce the calculated amount of client-side, can reduce the Network Transmission of data again, and, operation of data speed improved.
With reference to Fig. 5, show the structural drawing of a kind of server implementation example 1 of the present invention, this server connects into and can communicate by letter with a plurality of client computer, specifically can comprise:
First receiver module 501, the report data that is used for the transmission of subscribing client end obtains request, comprises race phase identification and grouping information in the described request;
Record generation module 502 be used for according to described race phase identification and grouping information, and the data in the database generates a record, comprise a plurality of fields in the described record, and wherein, each field is represented certain information of every game;
First sending module 503 is used for described record is returned to client-side.
First receiver module 501,
When there is demand in client-side to report data, can sends described report data to server end and obtain request.
Common big event generally is to carry out round robin earlier, carries out elimination series again, finally is preced with, inferior, third place.With the Football World Championship is example, and it comprises preselection competition and two stages of regulation game; Wherein, preselection competition further comprises phase one qualifying match, subordinate phase qualifying match and phase III match among the last ten, and preselection competition is all carried out with the form of group round robin, can decide the Final 32 of world cup; Regulation game further comprises 1/16 finals of group round robin form and later elimination series.Like this, because the naming rule of group is usually from the A beginning in the group round robin, for example, 1/16 finals has 8 groups, is respectively A-H, and like this, the group round robin in each stage all may comprise A group and B group.Therefore, described report data obtains in the request should comprise the race phase identification, for example, is subordinate phase qualifying match in the last example etc.In practice, the form of described race phase identification can determine that by agreement the present invention is not limited this by the client-side and first receiver module 501.
In addition, the grouping information in the described request can comprise the information of a group, also can comprise a plurality of groups information.For example, 1/16 finals in the last example has A-H8 group, and so, described grouping information can be organized as B for single group in described 8 groups; Perhaps, be the combination of individual group of any N (1<N<9), during as N=3, combinations such as ABC, ABD, ADE, the present invention is not limited the grouping information form that sends.
Record generation module 502,
This module functions is according to the request of client-side, to carry out data processing and arithmetic operation.
In practice, described database is positioned at server end, is used to server that the race data are provided.This module can be utilized storing process to handle report data, and the final data result is changed into a record under database management language (as MS SQLSERVER2005) environment, and also, data processed result is the mode of one dimension table.
In specific implementation, the function of described record generation module 502 can realize by following submodule:
First determines submodule, is used for according to described race phase identification and grouping information, by Query Database, determines match situation poised for battle, and the information that comprises every game in the situation 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.For example, the match of 06 world cup former two is poised for battle situation and is respectively: Allianz Arena, 01,200,6/6,/10 0 0:00 Munich Germany VS Costa Rica 4-2, and 022006/6/10 03:00 Gelsenkirchen is proud goes to Sha Erke stadium Poland-VS Ecuador 0-2.
First obtains the generation submodule, and being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtains certain information of every game by function, and with certain information of described every game field as a record.
With the object information that obtains every game is example, and the parameter of described storing process is exactly grouping information and troop's number of match, described first obtain generate submodule the course of work can for:
At first, according to grouping information, determine match situation poised for battle;
Then, the result of every game is realized with a function that wherein function parameters has host and guest's Relation Parameters (HostOrVisit) and match identification parameter (MatchID);
At last, obtaining containing a record of a plurality of fields, is exactly this result of the match of organizing all plays.With reference to figure 6, the record signal when showing A group 6 teams participating in the contest being arranged, wherein, and the record that the 2nd behavior server end of form generates at result of the match, the content of 2-6 cell of the 2nd row also is the field that substep A2 obtains.
In addition, for the competition sessions of not carrying out in the group, can with its as a result the field of correspondence be changed to NULL or other value, the present invention is not limited this.
For the play of every game number, date, time, place, be poised for battle the acquisition process of information such as troop, similar with said process, do not give unnecessary details at this.
First sending module 503,
This module functions is, the record that will record generation module 502 generates returns to client-side in the mode of one dimension table.
Because first receiver module 501, first sending module 503 all are the modules that communicates with client-side, so in practice, they can be the module that works alone, and also they can be integrated in the module, the present invention is not limited this.
With respect to prior art, server of the present invention has following advantage:
1, carries out the processing and the computing of report data, can improve arithmetic speed, reduce the calculated amount of client-side and the Network Transmission of report data;
2, utilize the storing process of database,, be convenient to later modification and maintenance with the form return data result of a record.
With reference to Fig. 7, show the structural drawing of a kind of server implementation example 2 of the present invention, this server connects into and can communicate by letter with a plurality of client computer, specifically can comprise:
First receiver module 701, the report data that is used for the transmission of subscribing client end obtains request, comprise race phase identification, grouping information in the described request, and team participating in the contest and object information obtains sign;
Record generation module 702 can comprise:
Second determines submodule 721, be used for obtaining sign according to described race phase identification, grouping information and team participating in the contest and object information, by Query Database, determine match situation poised for battle and team participating in the contest's information, the information that comprises every game in the situation is poised for battle in described match;
Second obtains generation submodule 722, being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtain the object information of every game by function, and respectively with 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 is used for described record is returned to client-side.
In practice, comprise a lot of data messages in the structure of report that client-side is created, 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 two kinds of data messages of result of the match simultaneously.
Therefore, the difference of present embodiment and embodiment 1 is, increases team participating in the contest and object information and obtain when identifying in the request of client-side, and the structure of record generation module 702 is improved.
Suppose to represent the field of team participating in the contest's information with team (i), (j k) represents the field of object information to Result, 0<i, j, k<7, and j ≠ k so, the order of described two kinds of fields in a record can for, at first team (i), Result (j then, k), can (the present invention not be limited concrete order for j, k) alternately storage for team (i) Result yet.
And for example, when client-side has demand to play number and object information, can also comprise in the request of its transmission that play number and object information obtain sign;
At this moment, can be with the structural design of record generation module 702:
The 3rd determines submodule, is used for obtaining sign according to described race phase identification, grouping information and play number and object information, by Query Database, determines that match is poised for battle situation, and the information that comprises every game in the situation is poised for battle in described match;
The 3rd obtains the generation submodule, being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtain the play number and the object information of every game by function, and respectively with the play of described every game number and object information, as two kinds of fields of a record.
Be appreciated that the two kind fields of the present invention to play number and object information representative, the storage order in a record is not limited yet.
In addition, the combination in any that can comprise the information of various every games 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 implementation example 3, this server connects into and can communicate by letter with a plurality of client computer, specifically can comprise:
First receiver module, the report data that is used for the transmission of subscribing client end obtains request, comprise race phase identification, grouping information in the described request, and gain and loss number of fields information is obtained sign;
The record generation module can comprise:
The 4th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and gain and loss number of fields information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 4th obtains the generation submodule, is used at each team participating in the contest, according to the information of relative every game, calculates corresponding gain and loss number of fields information, and with the field of described gain and loss number of fields information as a record;
First sending module is used for described record is returned to client-side.
In sports tournament, after group round robin finishes, enter next round and be called outlet, and whether certain troop group in can outlet, be that the rank by this troop determines, and an integration that foundation is this troop of rank.For example, the laws of the game of football are: win one and get 3 fens, negative one got 0 fen, and flat one got 1 fen, and therefore, the gain and loss number of fields of team participating in the contest is the steps necessary of calculated for rank in the calculating group.
Therefore, the difference of present embodiment and embodiment 1 is, when having increased gain and loss number of fields information obtaining sign in the request that client-side sends, will write down generation module and be designed to the 4th definite submodule and the 4th and obtain the generation submodule.Obtain the gain and loss number of fields that the generation submodule calculates each team participating in the contest by the 4th, and with the field of described gain and loss number of fields as a record, finally obtain a record, thereby, with respect to prior art, the Report Form Design personnel of client-side calculate corresponding victory or defeat number of fields according to the result of the every game of each team participating in the contest, present embodiment is placed on server end with described arithmetic operation, thereby 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, for example, the 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 decide the outcome by the added-time, thereby the round robin of shuttlecock, vollyball, basketball has only victory, negative two kinds of situations.
The invention also discloses a kind of server implementation example 4, this server connects into and can communicate by letter with a plurality of client computer, specifically can comprise:
First receiver module, the report data that is used for the transmission of subscribing client end obtains request, comprise race phase identification, grouping information in the described request, and goal average information is obtained sign;
The record generation module can comprise:
The 5th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and goal average information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 5th obtains the generation submodule, is used at each team participating in the contest, according to the information of relative every game, calculates corresponding goal average information, and with the field of described goal average information as a record;
First sending module is used for described record is returned to client-side.
In practice, can also be with the foundation of goal average as team participating in the contest's rank in the group.
With the Basketball Match is example, supposes that A team and B team result of the match are 60: 50, and the match of B team and C team is 55: 50, and C team and the match of A team are 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 big person of goal average is victory, and therefore, ranking result is an A team the first, C team the second, B team the 3rd.
The difference of present embodiment and embodiment 3 is, having increased goal average information in the request that client-side sends obtains when identifying, to write down generation module and be designed to the 5th and determine that submodule and the 6th obtains the generation submodule, to reduce the operand that client-side calculates goal average information.
Because integration information is a foundation of group's rank, therefore, can also comprise that integration information obtains sign in the request that client-side sends, at this moment, can be with the structural design of record generation module:
The 6th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and integration information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 6th obtains the generation submodule, at each team participating in the contest, according to the information of relative every game, calculates corresponding integration information, and with the field of described integration information as a record.
Be appreciated that, those skilled in the art can also be as required, with 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 the same record, the present invention is not limited this.With reference to figure 9, show the sample report that on Fig. 8 basis, increases gain and loss number of fields information, goal average information, integration information.
With reference to Figure 10, show the structural drawing of a kind of client computer embodiment of the present invention, this client computer connects into and can communicate by letter with server, specifically can comprise:
Creation module 1001 is used to create structure of report;
Second sending module 1002 is used for sending report data to server end and obtains request, comprises race phase identification and grouping information in the described request;
Second receiver module 1003 is used for the record that the reception server end returns, and comprises a plurality of fields in the described record, and wherein, each field is represented certain information of every game;
Memory module 1004 is used for described a plurality of field store to structure of report, generates form.
In specific implementation, available Report Designer software (as FastReport) is realized the function of creation module 1001, and the structure of report of establishment can comprise gauge outfit, data and footnote zone.For example, the course of work of creation module 1001 can for, set up a plurality of cells, and add a control at each cell.In general, the gauge outfit zone is the first cell in the form, perhaps first goes, and the present invention is not limited concrete structure of report.
Client-side can send report data to server end and obtain request when create form.Therefore, second sending module 1002 and creation module 1001 can synchronous workings.Its work can SQL (Structured Query Language (SQL), Structured Query Language) form of order carry out.For example, send SQL statement such as select, insert, update; And for example, send sql procedure (StoredProcedure), particularly, compile one group in advance in order to finish the SQL statement collection of specific function, and after compiling is finished, be stored in the database, then, when sending request, the name by specifying the respective stored process also provides parameter (if this storing process has parameter) and carries out this storing process and get final product.
Because when creating form, creation module 1001 can be set up a plurality of cells, and add a control at each cell.With described control is that text control is an example, and the data source of text control should be the respective field in the record that second receiver module 1003 receives so.
At this moment, the course of work of memory module 1004 can for, the field in the record that second receiver module is obtained 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 a record that memory module 1004 will obtain as data source, wherein, F_GroupName represents grouping information, organize as A, 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 Figure 12 and data source shown in Figure 13.
In addition, for the situation that comprises two kinds of fields in the record simultaneously, comprise that with described two kinds of fields the result of every game and date and time information are example, the course of work of memory module 1004 can for, with the result and the pairing two kinds of fields of date and time information of the every game in this record, put into same corresponding controls.
In actual applications, owing to second sending module 1002, second receiver module 1003 all are the modules that communicates with server end, so, in practice, they can be the module that works alone, and also they can be integrated in the module, and the present invention is not limited this.
Client computer of the present invention can reduce workload for the Report Form Design personnel, like this, Report Form Design personnel just can be placed on energy in the design of report style, because have only a record, if corresponding just passable one by one field in the record and control, and the correctness of data can be guaranteed by the storing process of server end.
C/S structure of the present invention can for, many client computer of the present invention connect into server communicates by letter, and also can be, a client computer of the present invention together connects into server with other client computer and communicates by letter, the present invention is not limited this.
The present invention can be applied to the game situation statistics of various competitive sports, for example, the on-site score disposal system of project such as shuttlecock, tennis, vollyball, beach volleyball, hockey in the 11 National Games that are applied to hold in Shandong in 2009, in order to improving the efficient of report form processing and generation, thereby provide technical guarantee for the timely issue of information for the game.
More than to a kind of server provided by the present invention and a kind of client computer, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a server connects into and can communicate by letter with a plurality of client computer, it is characterized in that, comprising:
First receiver module, the report data that is used for the transmission of subscribing client end obtains request, comprises race phase identification and grouping information in the described request;
The record generation module be used for according to described race phase identification and grouping information, and the data in the database generates a record, comprise a plurality of fields in the described record, and wherein, each field is represented certain information of every game;
First sending module is used for described record is returned to client-side.
2. server as claimed in claim 1 is characterized in that, described record generation module comprises:
First determines submodule, is used for according to described race phase identification and grouping information, by Query Database, determines match situation poised for battle, and the information that comprises every game in the situation is poised for battle in described match;
First obtains the generation submodule, and being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtains certain information of every game by function, and with certain information of described every game field as a record.
3. server as claimed in claim 2 is characterized in that, the information of described every game comprises play number, date, time, place, is poised for battle troop and result.
4. server as claimed in claim 3 is characterized in that, comprises also in the described request that team participating in the contest and object information obtain sign;
Described record generation module comprises:
Second determines submodule, be used for obtaining sign according to described race phase identification, grouping information and team participating in the contest and object information, by Query Database, determine match situation poised for battle and team participating in the contest's information, the information that comprises every game in the situation is poised for battle in described match;
Second obtains the generation submodule, being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtain the object information of every game by function, and respectively with the object information of described team participating in the contest information and every game, as two kinds of fields of a record.
5. server as claimed in claim 3 is characterized in that, comprises also in the described request that play number and object information obtain sign;
Described record generation module comprises:
The 3rd determines submodule, is used for obtaining sign according to described race phase identification, grouping information and play number and object information, by Query Database, determines that match is poised for battle situation, and the information that comprises every game in the situation is poised for battle in described match;
The 3rd obtains the generation submodule, being used for host and guest's Relation Parameters and match identification parameter is function parameter, obtain the play number and the object information of every game by function, and respectively with the play of described every game number and object information, as two kinds of fields of a record.
6. server as claimed in claim 1 is characterized in that, comprises also in the described request that gain and loss number of fields information obtains sign;
Described record generation module comprises:
The 4th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and gain and loss number of fields information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 4th obtains the generation submodule, is used at each team participating in the contest, according to the information of relative every game, calculates corresponding gain and loss number of fields information, and with the field of described gain and loss number of fields information as a record.
7. server as claimed in claim 1 is characterized in that, comprises also in the described request that goal average information obtains sign;
Described record generation module comprises:
The 5th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and goal average information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 5th obtains the generation submodule, is used at each team participating in the contest, according to the information of relative every game, calculates corresponding goal average information, and with the field of described goal average information as a record.
8. server as claimed in claim 1 is characterized in that, comprises also in the described request that integration information obtains sign;
Described record generation module comprises:
The 6th determines submodule, is used for obtaining sign according to described race phase identification, grouping information and integration information, by Query Database, determines match situation poised for battle and team participating in the contest's information, and the information that comprises every game in the situation is poised for battle in described match;
The 6th obtains the generation submodule, at each team participating in the contest, according to the information of relative every game, calculates corresponding integration information, and with the field of described integration information as a record.
9. a client computer connects into and can communicate by letter with server, it is characterized in that, comprising:
Creation module is used to create structure of report;
Second sending module is used for sending report data to server end and obtains request, comprises race phase identification and grouping information in the described request;
Second receiver module is used for the record that the reception server end returns, and comprises a plurality of fields in the described record, and wherein, each field is represented certain information of every game;
Memory module is used for described a plurality of field store to structure of report, generates form.
10. client computer as claimed in claim 9 is characterized in that,
Described creation module is used to set up a plurality of cells, and adds a control at each cell;
Described memory module, the field that is used for record that second receiver module is obtained corresponds in the relevant control of structure of report.
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 true CN102096753A (en) 2011-06-15
CN102096753B 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)

Cited By (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
CN110354496A (en) * 2019-06-19 2019-10-22 腾讯科技(成都)有限公司 The processing method and processing device of e-sports race, storage medium, electronic equipment
CN111202989A (en) * 2019-12-26 2020-05-29 杭州威佩网络科技有限公司 Electronic competition information map generation method and device and electronic equipment

Family Cites Families (2)

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

Cited By (6)

* 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
CN110354496A (en) * 2019-06-19 2019-10-22 腾讯科技(成都)有限公司 The processing method and processing device of e-sports race, storage medium, electronic equipment
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

Also Published As

Publication number Publication date
CN102096753B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN102096664B (en) Report generating method
CN102096753A (en) Server and client
CN105893561A (en) Ordering method and device
CN102201080A (en) Competition management system for supporting multiple sporting events
WO2009086466A2 (en) Interactive scenario exploration for tournament-style gaming
CN102012934A (en) Method and system for searching picture
KR102060000B1 (en) Information processing system, information processing method and program, server, and information processing terminal
CN104636349A (en) Method and equipment for compression and searching of index data
CN110851542A (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111701240B (en) Virtual article prompting method and device, storage medium and electronic device
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?
CN113255309B (en) Index calculation engine implementation method based on multi-dimensional model
JP7335739B2 (en) SYSTEM, METHOD AND PROGRAM FOR PROVIDING A GAME
CN102760148A (en) Data inquiry method for competition system
TWI773619B (en) Automatic race schedule system
CN106250565A (en) Querying method based on burst relevant database and system
Wang et al. Mining Experiential Patterns from Game‐Logs of Board Game
Gotzes et al. Bounds for the final ranks during a round robin tournament
CN117114953B (en) Method for dynamically evaluating and constructing chess deduction system, server and storage medium
CN116431868A (en) Data processing method, system and electronic equipment
Yan et al. Item bank system and the test paper generation algorithm
CN109213911A (en) A kind of network data acquisition system

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