CN102739692A - Method and apparatus for uploading reports used in sports event information system - Google Patents

Method and apparatus for uploading reports used in sports event information system Download PDF

Info

Publication number
CN102739692A
CN102739692A CN2011100807411A CN201110080741A CN102739692A CN 102739692 A CN102739692 A CN 102739692A CN 2011100807411 A CN2011100807411 A CN 2011100807411A CN 201110080741 A CN201110080741 A CN 201110080741A CN 102739692 A CN102739692 A CN 102739692A
Authority
CN
China
Prior art keywords
uploading
task
uploaded
analysis module
module
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.)
Pending
Application number
CN2011100807411A
Other languages
Chinese (zh)
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 CN2011100807411A priority Critical patent/CN102739692A/en
Publication of CN102739692A publication Critical patent/CN102739692A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and an apparatus for uploading reports used in a sports event information system. The method comprises: monitoring generation or modification of the reports; generating an uploading task for the reports needed to upload; obtaining the generated reports or the modified reports according to the uploading task; and uploading the generated reports or the modified reports. The uploading apparatus comprises a monitoring analysis module (330) and a report sending module (250,350), wherein the monitoring analysis module (330) is used for monitoring the generation or modification of the reports, generates the uploading task for the reports needed to upload, and sends a trigger information to the report sending module (250,350). The report sending module (250,350) uploads the generated reports or the modified reports according to the trigger information from the monitoring analysis module (330).

Description

A kind of form method for uploading and device that is applied in the competitive sports information system
Technical field
The present invention relates to competitive sports information systems technology field, relate more specifically in the competitive sports information system form in the report printing distributed architecture and upload apparatus and method.
Background technology
In the competitive sports information system, need the match form that is generally PDF that venue result processing system (VRS) generates be uploaded to form Distribution Center, to satisfy the needs of race information issue.
Fig. 1 shows in the prior art process that form is uploaded to form Distribution Center from VRS.After VRS had generated form, form is stored in earlier uploaded client, uploads client and again form is uploaded to form Distribution Center.
For uploading scheme, mainly contain in the prior art manually and automatic two kinds.In first kind of scheme, after the VRS of each venue generates form,, upload uploading the form that client chooses by user's manual operation; If upload failure then need the user to repeat upload operation.In second kind of scheme, after VRS generates form, send an internet message notice by VRS and upload client, upload client and after notified message, upload form; The form of uploading after the failure is recorded in the memory queue, and attempts resending.
Wherein, in first kind of scheme, VRS with upload client and do not need to can be described as loosely-coupled alternately.But real-time and automaticity are low, need manual operations.And for second kind of scheme, VRS need with upload client communication, be tightly coupled, each VRS need add and upload the module of client communication.And the accounting logging of uploading failure do not have permanent storage in internal memory, and program restarts the back data and will lose, and therefore the risk of this existence makes stability not to be guaranteed.
Because the real-time of race information issue in the competitive sports, therefore form is uploaded to form Distribution Center from VRS need satisfy real-time.And provide by how tame unit often as the VRS that produces the match form, so form upload be required to be between scheme and the VRS loosely-coupled.Yet, do not have a kind of existing form to upload scheme and can possess real-time, stability and loose couplings satisfied simultaneously and VRS.
Summary of the invention
The objective of the invention is to upload scheme in real-time, stability and the problem that can't satisfy simultaneously with the aspects such as loose couplings property of VRS to existing form; Provide a kind of real-time stabilization, with the form method for uploading and the device of VRS loose coupling, upload the problems referred to above that scheme exists to solve existing form.
According to one aspect of the invention, a kind of form method for uploading that is used for the competitive sports information system is provided, comprise the steps: 1) keep watch on the generation of form or revise; Task is uploaded in the report generation of 2) uploading as required; 3), obtain the form that is generated or the form of modification according to the said task of uploading; And 4) upload the form that is generated or the form of modification.
In said method, form said generation or that revise is stored in the memory location of appointment, and said step 1) comprises keeps watch on the report file in the memory location of said appointment.
In said method, said step 2) comprise according to the predetermined form that strategy confirms that needs are uploaded of uploading.
In said method, said step 2) also comprises the task of uploading that is generated is joined the task queue of uploading in the database.
In said method, said step 3) comprises from said uploading extracts the said task of uploading the task queue.
According to another aspect of the invention, provide a kind of form that is used for the competitive sports information system to upload device, comprising: keep watch on analysis module and form sending module; Wherein said supervision analysis module is used to keep watch on the generation of form or revise, and task is uploaded in the report generation that needs are uploaded, and sends trigger messages to the form sending module; And said form sending module, according to trigger messages, upload the form that is generated or the form of modification from said supervision analysis module.
In said apparatus, said supervision analysis module comprises the file monitor module and sends analysis module that the file monitor module is used to keep watch on the generation or the modification of form, and when monitoring report generation or revising, notice is sent analysis module; Said transmission analysis module is receiving when notifying from the file monitor module, generates the task of uploading of said form.
In said apparatus, said transmission analysis module generates the task of uploading according to the predetermined form that strategy confirms that needs are uploaded of uploading.
In said apparatus, said transmission analysis module joins the task queue of uploading in the database with the said task of uploading.
In said apparatus, said form sending module is uploaded task queue and is obtained the said task of uploading from said, uploads the form that is generated or the form of modification according to the said task of uploading.
In said apparatus, said form sending module is uploaded the form that is generated or the form of modification according to the trigger messages from said transmission analysis module.
According to form method for uploading of the present invention and device, possess real-time, stability and loose couplings satisfied simultaneously and VRS.
Description of drawings
Through following explanation and accompanying drawing can make much of of the present invention these with other characteristics:
Fig. 1 shows report printing distributed architecture figure of the prior art;
Fig. 2 uploads the structure chart of device for form according to an embodiment of the invention;
Fig. 3 uploads the structure chart of device for form according to another embodiment of the invention;
Fig. 4 is the example of uploading form of the XML form after encoding with Base64 according to an embodiment;
Fig. 5 is the flow chart of uploading according to an embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing, to method for uploading that is used for form and device further explain according to the embodiment of the invention.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Fig. 2 shows the process that form according to an embodiment of the invention is uploaded, and wherein, this form is uploaded device and comprised three modules: 1) the file monitoring module 230; 2) send analysis module 240; And 3) form sending module 250.To combine the workflow of each module that the present invention is carried out illustrated in detail below.
File monitoring module 230
As shown in Figure 2, the form that VRS generates is stored in the file of the appointment in the system.The method that VRS generates form is the known technology of this area, so need not among the application to be described in greater detail.In one embodiment of the invention, this document folder is the for example file 220 of path D:/Reports.For the person of ordinary skill of the art, obviously, this document can be any file in the system, and is not limited to above-mentioned path.Fig. 2 shows has two forms of preserving with filename AE0000000.C08.ENG.1.0.pdf and AEX201101.C51.ENG.1.0.pdf respectively in this document folder.Be that example is explained the implication that is comprised in the above-mentioned filename with file AEX201101.C51.ENG.1.0.pdf below, wherein:
AEX201101 is match/project code (RSC), and this AEX201101 for example is expressed as callisthenics match mixed pairs and grasps the finals form.
C51 is the file type (Type) of form, and wherein C51 representes that this form is the single form of appearance order (file type can also be schedule form-C08, etc.)
ENG is the language of form, and wherein ENG representes that this form is for English
1.0 be the version of form, wherein 1.0 these forms of expression are 1.0 editions
Pdf is the file of PDF for this form of expression
To those skilled in the art, the naming method of above-mentioned report file name only is an example, also can adopt other modes to name.
File monitor module 230 is kept watch on form place file path; File 220 D:/Reports for example; If under this path, there is newly-increased file (can be that new file produces or file modifying) to occur; When being called the report file of AEX201101.C51.ENG.1.0.pdf as increasing a file among Fig. 2 newly, file monitor module 230 sends message 235 to sending analysis module 240, and notice has generated certain form or renewal has taken place certain form.Fig. 2 file monitor module 230 exemplarily illustrates with 235 to the form of the message of sending the analysis module transmission.
Send analysis module (240)
Send analysis module 240 and cooperate file monitor module 230 to work together, be used to receive the message that file monitor module 230 is sent.Whether send analysis module 240 and analyze the content and the type of the form that is received, upload the strategy decision and the form that is received is uploaded according to predetermined: in the form that VRS generates, some need be uploaded, and some is not.Upload among the embodiment of scheme at form according to the present invention, through checking the Policy Table that uploads of wherein prior customization, whether the analytical statement file is to preestablish the form that need upload, realizes only uploading the purpose of predetermined form.For the form that needs are uploaded, transmission analysis module 240 is set up this and is uploaded task in database 280, and joins in the task queue, sends a triggering signal to form sending module 250 simultaneously.Fig. 2 shows in database, setting up behind new filename AEX201101.C51.ENG.1.0.pdf of appearance monitoring of task.Wherein file type is shown is C51 to this task, and match/project code is AEX201101 and file AEX201101.C51.ENG.1.0.pdf by name.
The form sending module
In one embodiment of the present of invention as shown in Figure 2; Shown in form sending module 250 receiving from after sending the triggering signal that analysis module 240 sends; Extract this that comprise this report file name in the task queue from database 280 and upload task; Uploading the information that comprises in the task according to this, like filename, is AEX201101.C51.ENG.1.0.pdf in this example; Find corresponding report file for 220 times from the file directory at form place, pack and upload to form Distribution Center 300.
The flow chart of uploading according to an embodiment of the invention shown in Fig. 4.In receiving Fig. 2, after the message, send analysis module and make the decision of whether uploading:, do not deal with if need not upload; Upload if desired, then in database, set up this and upload task, and this task is joined in the transmission queue of database.After the form sending module is received triggering signal, extract this from database and upload task, the form sending module extracts said file according to this task from file.From the transmission queue of database, remove the successful task of sending then.
Fig. 5 shows according to Fig. 2 and embodiment shown in Figure 3 when the form sending module sends report file, press the XML packet that the Base64 coding is packed, and the mode with TCP is sent to form Distribution Center with this packet then.For the person of ordinary skill of the art, obviously can adopt other coded format to transmit said report file.
Fig. 3 uploads the structure chart of device for form according to a further advantageous embodiment of the invention.Wherein, keep watch on the file that analysis module 330 is kept watch on path, report file place, for example file 320, and when having newly-increased file to occur, determine whether need it be uploaded.To the form that needs are uploaded, this supervision analysis module 330 is set up this and is uploaded task in database 380, and joins and upload in the task queue, sends a triggering signal to form sending module 350 simultaneously.
Embodiment through with accompanying drawing 2 compares; Can find; Keep watch on analysis module 330 and realized file monitoring module 210 and the major function of sending analysis module 230 among the embodiment of Fig. 2; This keeps watch on the transmission of being connected of miscellaneous part in analysis module 330 and this system and signal, with the content basically identical of accompanying drawing 2, so repeats no more here.
In the above embodiment of the present invention, because the report file that generates for VRS has adopted the mode of keeping watch on, the generation of VRS form and the transmission of form all can be operated independently, need not close-coupled together.In case the file monitoring module detects newly-increased file with regard to the notification analysis sending module, do not upload from uploading client again and need not receive the message that VRS sends.Form is uploaded scheme and is just kept apart with VRS like this, thereby has realized the loose couplings with VRS.Thereby not only avoided manually selecting the form that to upload in client; And avoided VRS that whole forms indiscriminately are sent to automatically and uploaded client and arrive form Distribution Center again, make system select to send which form according to certain strategy.
In addition, the transmission task is stored in the database,, thereby guaranteed the stability of this system works even program crashing can not lost the data of not sending yet.In addition, can trigger form transmission action in the very first time after report file produces, therefore guarantee the real-time that form is uploaded owing to send analysis module.
In the above embodiment of the present invention, the advantage that adopts the form sending module to send is: if network breaks off in process of transmitting, then sending module can attempt rebuliding connection automatically; And if sent failure, then will continue to attempt resending.Adopt this send mode can reduce the data volume of transmission on the one hand, can improve stability and fail safe that data transmit on the other hand again, even can be unattended duty, improved the automation performance of upload procedure greatly.
Should be noted that and understand, under the situation that does not break away from the desired the spirit and scope of the present invention of accompanying Claim, can make various modifications and improvement the present invention of above-mentioned detailed description.Therefore, the scope of the technical scheme of requirement protection does not receive the restriction of given any specific exemplary teachings.

Claims (11)

1. form method for uploading that is applied in the competitive sports information system comprises:
1) generation of keeping watch on form is perhaps revised;
Task is uploaded in the report generation of 2) uploading as required;
3), obtain the form that is generated or the form of modification according to the said task of uploading;
4) upload the form that is generated or the form of modification.
2. form method for uploading according to claim 1, form wherein said generation or that revise is stored in the memory location of appointment, and said step 1) comprises keeps watch on the report file in the memory location of said appointment.
3. form method for uploading according to claim 1 and 2 is wherein in step 2) in according to the predetermined form that strategy confirms that needs are uploaded of uploading.
4. according to the described form method for uploading of one of claim 1-3, wherein step 2) also comprise the task of uploading that is generated is joined the task queue of uploading in the database.
5. form method for uploading according to claim 4, wherein step 3) comprises from the said said task of uploading of extracting of uploading the task queue.
6. a form that is applied in the competitive sports information system is uploaded device, comprising: keep watch on analysis module (330) and form sending module (250,350); Wherein
Said supervision analysis module (330) is used to keep watch on the generation of form or revise, and task is uploaded in the report generation that needs are uploaded, and sends trigger messages to form sending module (250,350); Said form sending module (250,350) is uploaded the form that is generated or the form of modification according to the trigger messages from said supervision analysis module (330).
7. form according to claim 6 is uploaded device; Wherein said supervision analysis module comprises file monitor module (230) and sends analysis module (240); File monitor module (230) is used to keep watch on the generation or the modification of form; And when monitoring report generation or revising, notice is sent analysis module; Said transmission analysis module (240) is receiving when notifying from file monitor module (230), generates the task of uploading of said form.
8. upload device according to the arbitrary described form of claim 7, wherein said transmission analysis module (240) generates the task of uploading according to the predetermined form that strategy confirms that needs are uploaded of uploading,
9. form according to claim 8 is uploaded device, and wherein said transmission analysis module (240) joins the task queue of uploading in the database with the said task of uploading.
10. form according to claim 9 is uploaded device, and wherein said form sending module (250,350) is uploaded task queue and obtained the said task of uploading from said, uploads the form that is generated or the form of modification according to the said task of uploading.
11. form according to claim 7 is uploaded device, wherein form sending module module (250,350) is uploaded the form that is generated or the form of modification according to the trigger messages from said transmission analysis module (240).
CN2011100807411A 2011-03-31 2011-03-31 Method and apparatus for uploading reports used in sports event information system Pending CN102739692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100807411A CN102739692A (en) 2011-03-31 2011-03-31 Method and apparatus for uploading reports used in sports event information system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100807411A CN102739692A (en) 2011-03-31 2011-03-31 Method and apparatus for uploading reports used in sports event information system

Publications (1)

Publication Number Publication Date
CN102739692A true CN102739692A (en) 2012-10-17

Family

ID=46994474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100807411A Pending CN102739692A (en) 2011-03-31 2011-03-31 Method and apparatus for uploading reports used in sports event information system

Country Status (1)

Country Link
CN (1) CN102739692A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823670A (en) * 2013-11-28 2014-05-28 云南电网公司文山供电局 Multi-task configurable automatic data statistics method based on database
CN113204687A (en) * 2020-11-10 2021-08-03 摩赛恩科技(苏州)有限公司 Automatic mass spectrum data uploading method and terminal equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1482766A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Method for automatic generating of net management report form
CN1975739A (en) * 2006-12-22 2007-06-06 中国建设银行股份有限公司 Report generating method, equipment and system
CN101216817A (en) * 2007-12-29 2008-07-09 中国建设银行股份有限公司 Heterogeneous report form integration and centralized management device and system
CN101520804A (en) * 2009-03-20 2009-09-02 深圳创维-Rgb电子有限公司 File searching system and method based on SQL database
CN101556463A (en) * 2009-05-26 2009-10-14 洛阳科瑞特科技有限公司 Device for automatically monitoring basic energy resource flow and management system thereof
CN101873226A (en) * 2010-06-21 2010-10-27 中兴通讯股份有限公司 Data storage method and device for statistical form system
CN101996235A (en) * 2010-09-21 2011-03-30 用友软件股份有限公司 Report submitting method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1482766A (en) * 2002-09-13 2004-03-17 华为技术有限公司 Method for automatic generating of net management report form
CN1975739A (en) * 2006-12-22 2007-06-06 中国建设银行股份有限公司 Report generating method, equipment and system
CN101216817A (en) * 2007-12-29 2008-07-09 中国建设银行股份有限公司 Heterogeneous report form integration and centralized management device and system
CN101520804A (en) * 2009-03-20 2009-09-02 深圳创维-Rgb电子有限公司 File searching system and method based on SQL database
CN101556463A (en) * 2009-05-26 2009-10-14 洛阳科瑞特科技有限公司 Device for automatically monitoring basic energy resource flow and management system thereof
CN101873226A (en) * 2010-06-21 2010-10-27 中兴通讯股份有限公司 Data storage method and device for statistical form system
CN101996235A (en) * 2010-09-21 2011-03-30 用友软件股份有限公司 Report submitting method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李宇: "基于分布式数据库和数据挖掘技术的统计报表系统的分析与设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103823670A (en) * 2013-11-28 2014-05-28 云南电网公司文山供电局 Multi-task configurable automatic data statistics method based on database
CN103823670B (en) * 2013-11-28 2017-02-22 云南电网公司文山供电局 Multi-task configurable automatic data statistics method based on database
CN113204687A (en) * 2020-11-10 2021-08-03 摩赛恩科技(苏州)有限公司 Automatic mass spectrum data uploading method and terminal equipment

Similar Documents

Publication Publication Date Title
CN107749840B (en) One-way data secure transmission and cooperative processing system and method based on one-way gatekeeper
CN110858850B (en) Comprehensive network management method, device and system for rail transit system
CN101848067B (en) Data transmission method and system for self-adaptive bandwidth
CN110418376A (en) Data transmission method and device
US20140143202A1 (en) Regulated Texting Solution for Mobile Devices
CN101179392B (en) Method and system for uploading document
CN103795762A (en) Reverse agent test system and method
CN102196373A (en) Short message alarm system and short message alarm method
CN103440142A (en) GPRS (General Packet Radio Service)-based remote upgrade and dynamic loading method
KR101809365B1 (en) Message Fragmentation Method using a MQTT Protocol in M2M/IoT Platforms
CN104598300A (en) Distributive business process customization method and system
CN103209115A (en) Message sending system
CN103634203A (en) Message asynchronous transmission method, device and system
CN101185070A (en) Device management system and method for setting configuration-value therein
CN103002049A (en) Network transmission system of large quantities of data
US9456325B2 (en) Transmission of a multimedia message doubled with the transmission of a text message
CN104869174A (en) File transmission method based on third party message-oriented middle-ware
CN102739692A (en) Method and apparatus for uploading reports used in sports event information system
CN102332989A (en) Method for sending configuration information and service boards
CN108614820A (en) The method and apparatus for realizing the parsing of streaming source data
CN106850153B (en) Data retransmission method and system
CN103092932A (en) Distributed document transcoding system
CN104022948A (en) Type X message transmission system and method
KR101374721B1 (en) Apparatus and method for data collection
WO2014065643A1 (en) A method for managing a software defined radio device installed on a small satellite

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20121017

RJ01 Rejection of invention patent application after publication