CN105721264A - Competition data exchange system based on embedded technique - Google Patents

Competition data exchange system based on embedded technique Download PDF

Info

Publication number
CN105721264A
CN105721264A CN201610243417.XA CN201610243417A CN105721264A CN 105721264 A CN105721264 A CN 105721264A CN 201610243417 A CN201610243417 A CN 201610243417A CN 105721264 A CN105721264 A CN 105721264A
Authority
CN
China
Prior art keywords
message
module
service
subsystem
data
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
CN201610243417.XA
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.)
Changzhou Campus of Hohai University
Original Assignee
Changzhou Campus of Hohai University
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 Changzhou Campus of Hohai University filed Critical Changzhou Campus of Hohai University
Priority to CN201610243417.XA priority Critical patent/CN105721264A/en
Publication of CN105721264A publication Critical patent/CN105721264A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2858Access network architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/35Switches specially adapted for specific applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a competition data exchange system based on an embedded technique. The system comprises an embedded data distribution center subsystem, a monitoring and management subsystem and a service terminal access subsystem; the subsystems are interconnected and intercommunicated through a special competition network; wherein service terminals are connected with the embedded data distribution center subsystem by adopting a special competition stadium network according to the interface services provided by the terminal access subsystem; the embedded data distribution center subsystem keeps communicating with a central score system through a special switch access competition network in a stadium and is used for finishing a service of distributing competition data; the monitoring and management subsystem keeps communicating with the data distribution center subsystem through the special competition network and is used for monitoring the operation states and message events of the subsystems. According to the competition data exchange system based on the embedded technique provided by the invention, the real time, accurate and intelligent competition information exchange among the service subsystems of the stadium score system is realized.

Description

A kind of racing data exchange system based on embedded technology
Technical field
The present invention relates to a kind of racing data exchange system, particularly to a kind of racing data exchange system based on embedded technology.
Background technology
At present, sports level is being proposed " higher by all-around championships, faster, higher " require while, also racing competition is proposed " more accurate, faster, more steady, thinner " service request, venue result system is as the forward-based systems of racing competition and important component part, it is operate in competition gymnasiums and stadiums and is responsible for the general name of the coordination technique system that on-site score processes, its major function is to assist on-the-spot competition organization (to include layout contest plan with management, athlete register item management), achievement gathers and processes with achievement (as received the achievement of achievement collecting device or manual on-site score typing and carrying out ranking, promotions etc. process), field data exchange and information are issued and (are carried out data exchange with central result system, it it is big screen display system simultaneously, TV subtitling controls system, broadcaster's systems etc. provide Real-time Data Service).Visible venue result system also exists the exchange of a large amount of racing data when running, but the quantity of information of these racing data is very abundant, and the provider of information and party in request a lot, not only include the internal all of technological system of venue result system, also have and venue result system has the central result system of data exchange service, different systems is likely to have different suppliers and developer, causes the isomery of system.And these racing data of characteristic requirements of modern sport meeting contest can swap timely and effectively when network is unobstructed, this is accomplished by setting up a safety, in real time, stable, efficiently, cross-system, be capable of venue result system internal and and central authorities' result system between the platform racing data exchange system of information transparency exchange, information as venue result system exchanges maincenter, racing data exchange system provides complete communication solution for whole venue result system, realize the transmission of racing data, distribution, telecommunication management and the service functions such as control, whole racing competition has a very important role.But there is the risk of concentrating communication to cause in existing racing data exchange system, system implements inconvenience and service terminal accesses the deficiency of the aspects such as disunity.
Summary of the invention
Purpose: for above-mentioned deficiency, the present invention provides a kind of racing data exchange system based on embedded technology, it is achieved competition Information exchange real-time, accurate, intelligent between each service sub-system of venue result system.
Technical scheme is as follows:
A kind of racing data exchange system based on embedded technology, described system includes embedded data Distribution Center subsystem, monitoring management subsystem and service terminal access subsystem, realize interconnecting by contest dedicated network between each subsystem, wherein, the interface service that each service terminal is provided by service terminal access subsystem, competition venue dedicated network is adopted to be connected with embedded data Distribution Center subsystem, described embedded data Distribution Center subsystem, contest private network is accessed by the switch in venue, keep communicating with central result system, for completing the service of competition data distribution, described monitoring management subsystem is communicated with the maintenance of data Distribution Center subsystem by contest dedicated network, for monitoring running status and the message event of each subsystem, configure and manage the host parameter of each terminal, messaging parameter and distribution policy table.
Preferably, described embedded data Distribution Center is with android system for platform, to distribute the switch that each service terminal racing data is core missions, including message distribution module, monitoring service module and log management module, wherein,
Described message distribution module: include message and send submodule, distribution policy analyzing sub-module, message sink submodule and message cache sub-module, described message sink submodule receives message by initiation message receiving thread, the message subject received and message content data are read internal memory from local disk and resolve by described distribution policy analyzing sub-module, described message cache sub-module adopts message buffer formation communication mechanism, the data structure utilized is message buffer, for ensureing that in each subsystem off-line in the data transmission and network failure situation, data message is not lost, network service remains to effectively transmit data after recovering, described message sends submodule and starts one or more message transmission sub-line journey according to the online number receiving service terminal, completion message is transmitted;
Described monitoring service module: be responsible for connecting terminal quantity, state and message forward the monitoring of success or not, including registration service module, state detection module, monitoring parsing module and monitoring respond module, described registration service module is after data Distribution Center starts, udp broadcast mode is adopted to send data Distribution Center registration notification to all service terminals on venue LAN, after service terminal receives broadcast announcement, carry out resolving and responding, described state detection module creates a state-detection thread, for the state variable in repeating query service terminal registration table, read once every 3 seconds, the presence of service terminal is judged with this, described monitoring parsing module is for detecting and record the running status of data Distribution Center, each service terminal presence and message distribution event, and these states and event are mapped as memory object, monitoring respond module is after the service request resolving and having processed monitoring management subsystem, send response and inform monitoring management subsystem, represent the service request of treated complete monitoring management subsystem;
Described log pattern: be used for creating message distribution daily record and check for monitoring management Subsystem subscribers.
Preferably, monitoring management subsystem includes Configuration Manager and Surveillance center's service module, wherein,
Described Configuration Manager includes static data configuration module and Dynamic Data Processing module, described static data configuration module passes through configuration management interface to News Category after system initialization, terminal class and service terminal basic data and distribution policy configure, and it is saved in data base, the distribution policy configured is converted to XML format and is sent to data Distribution Center subsystem by described Dynamic Data Processing module, when there being new legal terminal registration, the information of this terminal is sent to monitoring management subsystem by data Distribution Center subsystem, after being resolved by Dynamic Data Processing module, the data set of current basal data and distribution policy is adjusted, more corresponding tables of data in new database;
Described Surveillance center service module keeps communicating with it by the monitoring service module in data Distribution Center subsystem, including connecting/disconnect module, request/response module and log management module, described connection/disconnection module is responsible for connection or the opening operation of monitoring management subsystem and data Distribution Center;Described request/response module is responsible in running sending the running status of real-time detector data Distribution Center subsystem and each service terminal, the instruction message of the event log of message distribution, and the parsing to the response received, monitoring information after parsing is submitted to monitoring interface for user's inquiry, and described log management module is for being saved in local disk by all message log data.
Preferably, described service terminal access subsystem includes starting/stop service module, presence detection module, message reception module, message caching module and message transmission module, wherein,
Described startup/stopping service module: for controlling the service state of service terminal, service terminal begins listening for the connection request of data Distribution Center subsystem after starting service, after receiving request, feedback response is set up with data Distribution Center subsystem and is connected and triggers state and change event, by the service state of this module stopping service terminal after end of match;
Described presence detection module: when receiving the presence detection request that data Distribution Center subsystem sends, send show online heartbeat signal to data Distribution Center as response;
Described message reception module: start the message that the data Distribution Center to be received subsystems such as independent worker thread are sent, by communication protocol, message is decoded after receiving, trigger message sink event, message is submitted to service terminal, confirms that service terminal has processed rear response data Distribution Center subsystem message correctly received;
Described message caching module: find message to be sent, puts into the message buffer queue in internal memory after first message being encoded according to communication protocol, and the sending module that waits for the arrival of news processes;
, there is message to be sent in described message transmission module: message to be sent in message transmission module continuous searching message buffer queue, starts transmission thread and send a message to data Distribution Center subsystem.
Preferably, described each service terminal includes result processing system, achievement acquisition system, television subtitling system, large-size screen monitors display control program, achievement data input system, commentator's system and Results Printing system.
Beneficial effects of the present invention: the present invention provides a kind of racing data exchange system based on embedded technology, propose that the kernel service that data exchange is transferred to competition gymnasiums and stadiums and carry out to disperse whole racing competition to concentrate the risk of communication, it is simultaneously introduced embedded technology to improve level of integrated system, it is easy to Function Extension, the small size of embedded product has been also convenient for the enforcement of system and has disposed, and adopts middleware Technology unification by transparent for terminal use access system in addition.
Accompanying drawing explanation
Fig. 1 is the system function module composition frame chart of the present invention.
Fig. 2 is the working-flow figure of the present invention;
Fig. 3 is the embedded data Distribution Center subsystem function module map of the present invention;
Fig. 4 is the monitoring management subsystem function modular structure of the present invention;
Fig. 5 is the functional module structure figure of the service terminal access subsystem of the present invention;
Fig. 6 is the startup service flow diagram of the embedded data Distribution Center subsystem of the present invention;
Fig. 7 is reception message and the distribution processor flow chart of the embedded data Distribution Center subsystem of the present invention;
Fig. 8 is the workflow diagram of the monitoring management subsystem of the present invention;
Fig. 9 is the workflow diagram of the service terminal access subsystem of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the technical scheme in the application, below in conjunction with the accompanying drawing in the embodiment of the present application, technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, all should belong to the scope of the application protection.
As shown in accompanying drawing 1-9, a kind of racing data exchange system based on embedded technology, described system includes embedded data Distribution Center subsystem, monitoring management subsystem and service terminal access subsystem, realize interconnecting by contest dedicated network between each subsystem, wherein, the interface service that each service terminal is provided by terminal access subsystem, competition venue dedicated network is adopted to be connected with embedded data Distribution Center subsystem, described embedded data Distribution Center subsystem, contest private network is accessed by the switch in venue, keep communicating with central result system, for completing the service of competition data distribution, described monitoring management subsystem is communicated with the maintenance of data Distribution Center subsystem by contest dedicated network, for monitoring running status and the message event of each subsystem, configure and manage the host parameter of each terminal, messaging parameter and distribution policy table.
Preferably, described embedded data Distribution Center is with android system for platform, to distribute the switch that each service terminal racing data is core missions, including message distribution module, monitoring service module and log management module, wherein,
Described message distribution module: including message and send submodule, distribution policy analyzing sub-module, message sink submodule and message cache sub-module, described message reception module receives message by initiation message receiving thread;The message subject received and message content data are read internal memory from local disk and resolve by described distribution policy analyzing sub-module, described message cache sub-module adopts message buffer formation communication mechanism, the data structure utilized is message buffer, for ensureing that in each subsystem off-line in the data transmission and network failure situation, data message is not lost, network service remains to effectively transmit data after recovering, described message sends submodule and starts one or more message transmission sub-line journey according to the online number receiving service terminal, message sequence to be sent in internal memory is turned to XML character string, calculate the byte number n that this character string accounts for, open the byte arrays space of a n+4, it is respectively intended to add message content and message length information, then successively by message bag opening flag, command code, message unique identity number, message subject size, message content size, message subject, message content converts byte arrays to, and copy in transmission array, then call transmission function to send.Completion message is transmitted;
Described monitoring service module: be responsible for connecting terminal quantity, state and message forward the monitoring of success or not, including registration service module, state detection module, monitoring parsing module and monitoring respond module, described registration service module is after data Distribution Center starts, udp broadcast mode is adopted to send data Distribution Center registration notification to all service terminals on venue LAN, after service terminal receives broadcast announcement, carry out resolving and responding, the number of registration of self is reported to data Distribution Center, IP address and port, after data Distribution Center receives the registration message of service terminal, create service terminal registration table, and log-on message is inserted in table accordingly, it is then back to endpoint registration response notice, show to load this service terminal.If registration service module notifies at the terminal log-down receiving service terminal, it is necessary to delete this endpoint registration information of service terminal registration table.Described state detection module creates a state-detection thread, for the state variable in repeating query service terminal registration table, read once every 3 seconds, the presence of service terminal is judged with this, described monitoring parsing module is for detecting and record the running status of data Distribution Center, each service terminal presence and message distribution event, and these states and event are mapped as memory object, when there being new service terminal registration, monitoring parsing module first judges that whether this terminal is legal, if it is illegal just by packet drop, if it is legal, then add new distribution policy table, then again this information is saved in local disk, monitoring respond module is after the service request resolving and having processed monitoring management subsystem, send response and inform monitoring management subsystem, represent the service request of treated complete monitoring management subsystem;
Described log pattern: be used for creating message distribution daily record and check for monitoring management Subsystem subscribers, resolve including daily record, journal queue and File Serving System, idiographic flow is as follows: forward instruction when the log pattern of embedded data Distribution Center receives one, just the information of this instruction is submitted to daily record analyzing sub-module, resolve to a message logging class object, address by the transmitting and receiving terminal of the known message of this object, port, message coding, message forwards the information such as the result of success or not and the time of record, this record is added journal queue by daily record analyzing sub-module, then proceed by the reception of record, a buffer queue retrieval thread is had in log analyzing module, this thread is in constantly retrieval log buffer queue, when having detected that data exist, then these data are taken out, content creating locating file path according to record, then pass through the I/O interface that java platform provides, daily record character string is stored to relevant position, complete the preservation work of a daily record, then proceed to retrieval buffer queue, if it find that be absent from message logging in queue, then this thread dormancy 100 milliseconds, cpu resource is conceded, improve CPU service efficiency.
Preferably, monitoring management subsystem includes Configuration Manager and Surveillance center's service module, wherein,
Described Configuration Manager includes static data configuration module and Dynamic Data Processing module, described static data configuration module passes through configuration management interface to News Category after system initialization, terminal class and service terminal basic data and distribution policy configure, and it is saved in data base, the distribution policy configured is converted to XML format and is sent to data Distribution Center subsystem by described Dynamic Data Processing module, when there being new legal terminal registration, the information of this terminal is sent to monitoring management subsystem by data Distribution Center subsystem, after being resolved by Dynamic Data Processing module, the data set of current basal data and distribution policy is adjusted, more corresponding tables of data in new database;
Described Surveillance center service module keeps communicating with it by the monitoring service module in data Distribution Center subsystem, including connecting/disconnect module, request/response module and log management module, described connection/disconnection module is responsible for connection or the opening operation of monitoring management subsystem and data Distribution Center;Described request/response module is responsible in running sending the running status of real-time detector data Distribution Center subsystem and each service terminal, the instruction message of the event log of message distribution, and the parsing to the response received, monitoring information after parsing is submitted to monitoring interface for user's inquiry, and the log management module of described Surveillance center service module is for being saved in local disk by all message log data.
The operation principle of described Surveillance center service module is as follows: time described Surveillance center service module is initialized, reads the relevant rudimentary data of monitored object from configuration management data base.Before same data Distribution Center carries out information exchange, Surveillance center's service module first sends connection request, if data Distribution Center thinks that this terminal is legal, then allow to connect, after successful connection, monitoring business will update interface, notify that operator normally connects with data Distribution Center and is shown on monitoring interface;After Surveillance center's service module receives the data that data Distribution Center sends, these data are mapped as memory object, Surveillance center's service module is by resolving the attribute of this object, demand according to interface configuration file, the attribute of memory object is filled into inside current data set, then update interface, notify that user has new data, be displayed simultaneously on monitoring interface.
As shown in Figure 8, the workflow diagram of described monitoring management subsystem is as follows: initiate connection request to data Distribution Center after system start-up, after being verified, enter configuration management interface and carry out basic data and distribution policy configuration, it is saved in configuration management data base, after data Distribution Center reaches the standard grade, or after request, distribution policy table is issued data Distribution Center.After configuring, system loads the information of service terminal from data base, the running status of Real-time Monitoring Data Distribution Center and service terminal and message distribution event, checking subsequently into monitoring interface, in monitoring process, system refreshes monitoring information in real time to data Distribution Center transmission control information, after data Distribution Center returns response, new state and log information according to feedback are updated, after end of match, preserve all daily record datas, log off.
Preferably, described service terminal access subsystem includes starting/stop service module, presence detection module, message reception module, message caching module and message transmission module, wherein,
Described startup/stopping service module: for controlling the service state of service terminal, service terminal begins listening for the connection request of data Distribution Center subsystem after starting service, after receiving request, feedback response is set up with data Distribution Center subsystem and is connected and triggers state and change event, by the service state of this module stopping service terminal after end of match;
Described presence detection module: when receiving the presence detection request that data Distribution Center subsystem sends, send show online heartbeat signal to data Distribution Center as response;
Described message reception module: start the message that the data Distribution Center to be received subsystems such as independent worker thread are sent, by communication protocol, message is decoded after receiving, trigger message sink event, message is submitted to service terminal, confirms that service terminal has processed rear response data Distribution Center subsystem message correctly received;
Described message caching module: find message to be sent, puts into the message buffer queue in internal memory after first message being encoded according to communication protocol, and the sending module that waits for the arrival of news processes;
, there is message to be sent in described message transmission module: message to be sent in message transmission module continuous searching message buffer queue, starts transmission thread and send a message to data Distribution Center subsystem.
As shown in Figure 9, the workflow of described service terminal access subsystem is as follows: service terminal middleware loads locally configured information and the power function of service terminal process event after opening service, complete to begin listening for after initializing the connection request of data Distribution Center subsystem, once listen to the connection request receiving data Distribution Center, the information sending local service terminal carries out legitimate verification to data Distribution Center, after being verified, set up and connect, trigger business terminal presence changes event simultaneously, after middleware enters duty, start the transmission sending thread and receiving thread each complete independently message and receive work, so far the work of main thread is completed.Then task is waited, if there being message to be sent, memory cache queue is put into after it being encoded, send thread and message to be sent is sent to data Distribution Center, response is replied, after receiving the response being properly received message, by the transmission logout of this message to local disk Deng pending data Distribution Center subsystem, if not receiving the response of data Distribution Center in time-out, message sends thread and again retransmits current message.Receiving thread monitors COM1 after starting in real time, first message is decoded according to protocol specification after receiving the message that data Distribution Center sends, message sink event is saved in local disk simultaneously, then pass through message sink event functions and the message of parsing is submitted to service terminal user process, data Distribution Center subsystem is responded after completing by process, then proceedes to monitor COM1.
Preferably, described each service terminal includes result processing system, achievement acquisition system, television subtitling system, large-size screen monitors display control program, achievement data input system, commentator's system and Results Printing system.
The competition venue dedicated network of the system of the present invention adopts wired ethernet networking model, be also based on the service terminal access subsystem of software platform whether based on Embedded data Distribution Center subsystem and monitoring management subsystem can adopt TCP/IP mode to be connected into venue Ethernet, it is achieved between data exchange system inside and its associate the interconnection between subsystem, intercommunication with outside.It addition, the communication of embedded data Distribution Center subsystem and central authorities' result system is to be realized by the switch in venue.Can not providing cable LAN in particular cases, system can be connected to venue Ethernet and contest private network by the wireless aps that switch in venue provides.
The design of the embedded data Distribution Center subsystem of native system includes embedded data Distribution Center hardware designs, Embedded A ndroid operating system transplantation and data Distribution Center Design Internet Applications three parts, and four layer architectures following embedded system are sequentially carried out from bottom to up, wherein
The hardware platform using the S5PV210 ARMCortex-A8 being microprocessor as data Distribution Center chosen by described embedded data Distribution Center hardware, and resource carries out peripheral module extension in bonding pad, including power module, memory module and communication module, memory module includes Flash, SDRAM and TF and blocks three kinds, and communication module includes USB and network interface;
Described Embedded A ndroid operating system transplantation includes two parts, one is the customization of device drives, two is customization and the transplanting of operating system, transplanting flow process is: customized by System guides UBoot, the specific function needed for data Distribution Center formulates structure and the driving of system software platform, completion system Custom Kernel and transplanting, and makes Android file system mirror, after three steps all complete, then can guide system android system by resetting processor;
Described data Distribution Center application software mainly completes the design of application layer, this part is based on Java platform exploitation, finally application program is transplanted on the embedded OS developed, as shown in Figure 6: the workflow of embedded data Distribution Center is as follows: described data Distribution Center subsystem loads service terminal and message distribution policy information after starting service from local disk, complete initial work, then actively set up with service terminal and be connected, receiving the connection response of service terminal, and after successful connection, it is carried out legitimate verification by the checking information extracting this terminal, after being verified, service terminal is provided response and to identify this service terminal online.Traveling through all service terminals, until after all service terminals have connected, data Distribution Center subsystem is that each service terminal is set up independent thread and realized message transmission and receive capabilities.If connection failure, continue to connect service terminal, finally judge whether to travel through all service terminals, if not having, continuing to connect service terminal, completing the startup service of Distribution Center.Connection event all recorded in journal file.If data Distribution Center connects service terminal not success, when not overtime, time delay a period of time continues foundation and connects, if connecting time-out, then with regard to identification service terminal off-line.After data Distribution Center startup service procedure terminates, data Distribution Center subsystem enters the flow process receiving message and distributing.As shown in Figure 7, data Distribution Center subsystem continues to judge that whether service terminal is online, if online, then receive the message that service terminal is sent, start to resolve messaging protocol after receiving packet and being verified and obtain terminal name and the News Category of sender, search message distribution strategy according to News Category and determine message sink terminal list, travel through all reception service terminals, if online, namely send message, otherwise buffered message, ends task after having traveled through.Finally by the message data that receives and send and Distribution Events be all saved in log recording.
The working-flow of the present invention is as follows:
Before match, monitoring management subsystem configure good news classification, terminal class, service terminal basic data and distribution policy table;
In match, embedded data Distribution Center actively sets up with each service terminal and is connected, and detect the connection status of each service terminal in real time, data Distribution Center receives after the message data that service terminal is sent according to message distribution strategy, automatically data are sent to one by one target service system, the distribution service of completion message data, and preserve all operations daily record;Monitoring management subsystem is connected with data Distribution Center subsystem by network, the connection status of each terminal of monitor in real time, message data and Distribution Events, fashionable when there being new service terminal to add, need to update basic data and distribution policy, play real-time management end host parameter, messaging parameter and distribution policy function.
After match, monitoring management subsystem can provide the overall process record of message distribution during the games.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses the present invention.The multiple amendment of these embodiments be will be apparent from for those skilled in the art, and generic principles defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is to fit to the widest scope consistent with principles disclosed herein and features of novelty.

Claims (5)

1. the racing data exchange system based on embedded technology, it is characterized in that, described system includes embedded data Distribution Center subsystem, monitoring management subsystem and service terminal access subsystem, realize interconnecting by contest dedicated network between each subsystem, wherein, the interface service that each service terminal is provided by service terminal access subsystem, competition venue dedicated network is adopted to be connected with embedded data Distribution Center subsystem, described embedded data Distribution Center subsystem, contest private network is accessed by the switch in venue, keep communicating with central result system, for completing the service of competition data distribution, described monitoring management subsystem is communicated with the maintenance of data Distribution Center subsystem by contest dedicated network, for monitoring running status and the message event of each subsystem, configure and manage the host parameter of each terminal, messaging parameter and distribution policy table.
2. a kind of racing data exchange system based on embedded technology according to claim 1, it is characterized in that, described embedded data Distribution Center subsystem is with android system for platform, to distribute the switch that each service terminal racing data is core missions, including message distribution module, monitoring service module and log management module, wherein
Described message distribution module: include message and send submodule, distribution policy analyzing sub-module, message sink submodule and message cache sub-module, described message sink submodule receives message by initiation message receiving thread, the message subject received and message content data are read internal memory from local disk and resolve by described distribution policy analyzing sub-module, described message cache sub-module adopts message buffer formation communication mechanism, the data structure utilized is message buffer, for ensureing that in each subsystem off-line in the data transmission and network failure situation, data message is not lost, network service remains to effectively transmit data after recovering, described message sends submodule and starts one or more message transmission sub-line journey according to the online number receiving service terminal, completion message is transmitted;
Described monitoring service module: be responsible for connecting terminal quantity, state and message forward the monitoring of success or not, including registration service module, state detection module, monitoring parsing module and monitoring respond module, described registration service module is after data Distribution Center starts, udp broadcast mode is adopted to send data Distribution Center registration notification to all service terminals on venue LAN, after service terminal receives broadcast announcement, carry out resolving and responding, described state detection module creates a state-detection thread, for the state variable in repeating query service terminal registration table, read once every 3 seconds, the presence of service terminal is judged with this, described monitoring parsing module is for detecting and record the running status of data Distribution Center, each service terminal presence and message distribution event, and these states and event are mapped as memory object, monitoring respond module is after the service request resolving and having processed monitoring management subsystem, send response and inform monitoring management subsystem, represent the service request of treated complete monitoring management subsystem;
Described log pattern: be used for creating message distribution daily record and check for monitoring management Subsystem subscribers, including daily record parsing, journal queue and File Serving System.
3. a kind of racing data exchange system based on embedded technology according to claim 2, it is characterised in that monitoring management subsystem includes Configuration Manager and Surveillance center's service module, wherein,
Described Configuration Manager includes static data configuration module and Dynamic Data Processing module, described static data configuration module passes through configuration management interface to News Category after system initialization, terminal class and service terminal basic data and distribution policy configure, and it is saved in data base, the distribution policy configured is converted to XML format and is sent to embedded data Distribution Center subsystem by described Dynamic Data Processing module, when there being new legal terminal registration, the information of this terminal is sent to monitoring management subsystem by embedded data Distribution Center subsystem, after being resolved by Dynamic Data Processing module, the data set of current basal data and distribution policy is adjusted, more corresponding tables of data in new database;
Described Surveillance center service module keeps communicating with it by the monitoring service module in data Distribution Center subsystem, including connecting/disconnect module, request/response module and log management module, described connection/disconnection module is responsible for connection or the opening operation of monitoring management subsystem and embedded data Distribution Center subsystem;Described request/response module is responsible in running to send the running status detecting embedded data Distribution Center subsystem and each service terminal in real time, the instruction message of the event log of message distribution, and the parsing to the response received, monitoring information after parsing is submitted to monitoring interface for user's inquiry, and described log management module is for being saved in local disk by all message log data.
4. a kind of racing data exchange system based on embedded technology according to claim 3, it is characterized in that, described service terminal access subsystem includes starting/stop service module, presence detection module, message reception module, message caching module and message transmission module, wherein
Described startup/stopping service module: for controlling the service state of service terminal, service terminal begins listening for the connection request of embedded data Distribution Center subsystem after starting service, after receiving request, feedback response is set up with embedded data Distribution Center subsystem and is connected and triggers state and change event, by the service state of this module stopping service terminal after end of match;
Described presence detection module: when receiving the presence detection request that embedded data Distribution Center subsystem sends, send show online heartbeat signal to embedded data Distribution Center subsystem as response;
Described message reception module: start the message that the embedded data Distribution Center to be received subsystems such as independent worker thread are sent, by communication protocol, message is decoded after receiving, trigger message sink event, message is submitted to service terminal, confirms that service terminal responds embedded data Distribution Center subsystem message after having processed correctly received;
Described message caching module: find message to be sent, puts into the message buffer queue in internal memory after first message being encoded according to communication protocol, and the sending module that waits for the arrival of news processes;
, there is message to be sent in described message transmission module: message to be sent in message transmission module continuous searching message buffer queue, starts transmission thread and send a message to embedded data Distribution Center subsystem.
5. a kind of racing data exchange system based on embedded technology according to claim 1, it is characterized in that, described each service terminal includes result processing system, achievement acquisition system, television subtitling system, large-size screen monitors display control program, achievement data input system, commentator's system and Results Printing system.
CN201610243417.XA 2016-04-19 2016-04-19 Competition data exchange system based on embedded technique Pending CN105721264A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610243417.XA CN105721264A (en) 2016-04-19 2016-04-19 Competition data exchange system based on embedded technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610243417.XA CN105721264A (en) 2016-04-19 2016-04-19 Competition data exchange system based on embedded technique

Publications (1)

Publication Number Publication Date
CN105721264A true CN105721264A (en) 2016-06-29

Family

ID=56160261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610243417.XA Pending CN105721264A (en) 2016-04-19 2016-04-19 Competition data exchange system based on embedded technique

Country Status (1)

Country Link
CN (1) CN105721264A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423526A (en) * 2017-08-21 2017-12-01 运城学院 Competition platform is put into practice in a kind of embedded electronic product design and fabrication networking
CN108415864A (en) * 2018-02-24 2018-08-17 广东文讯科技有限公司 A kind of shared software platform realized multisystem and cooperated of data exchange
CN108965385A (en) * 2018-06-06 2018-12-07 中建八局第二建设有限公司 A kind of wireless data acquisition system and acquisition method based on WSN
CN111353922A (en) * 2020-02-18 2020-06-30 资优教育咨询(江门)有限公司 Online competition learning system
CN112637173A (en) * 2020-12-16 2021-04-09 南京丹迪克科技开发有限公司 Upper computer control communication method for calibrating device of electric energy quality test analyzer
CN115037795A (en) * 2022-06-16 2022-09-09 上海睿赛德电子科技有限公司 Multi-machine communication method for embedded equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102836544A (en) * 2012-09-25 2012-12-26 河海大学常州校区 System and method for recording athletic contest performance in real time
CN102984239A (en) * 2012-11-21 2013-03-20 河海大学常州校区 System and method for distributing stadium match information automatically
CN103041569A (en) * 2012-12-20 2013-04-17 河海大学常州校区 System and method for scoring table tennis competition based on wireless electronic scoreboard

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102836544A (en) * 2012-09-25 2012-12-26 河海大学常州校区 System and method for recording athletic contest performance in real time
CN102984239A (en) * 2012-11-21 2013-03-20 河海大学常州校区 System and method for distributing stadium match information automatically
CN103041569A (en) * 2012-12-20 2013-04-17 河海大学常州校区 System and method for scoring table tennis competition based on wireless electronic scoreboard

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
许静 等: "竞赛数据交换平台的研究与实现", 《微处理机》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423526A (en) * 2017-08-21 2017-12-01 运城学院 Competition platform is put into practice in a kind of embedded electronic product design and fabrication networking
CN108415864A (en) * 2018-02-24 2018-08-17 广东文讯科技有限公司 A kind of shared software platform realized multisystem and cooperated of data exchange
CN108965385A (en) * 2018-06-06 2018-12-07 中建八局第二建设有限公司 A kind of wireless data acquisition system and acquisition method based on WSN
CN111353922A (en) * 2020-02-18 2020-06-30 资优教育咨询(江门)有限公司 Online competition learning system
CN112637173A (en) * 2020-12-16 2021-04-09 南京丹迪克科技开发有限公司 Upper computer control communication method for calibrating device of electric energy quality test analyzer
CN112637173B (en) * 2020-12-16 2024-02-27 南京丹迪克科技开发有限公司 Upper computer control communication method for calibrating device of electric energy quality test analyzer
CN115037795A (en) * 2022-06-16 2022-09-09 上海睿赛德电子科技有限公司 Multi-machine communication method for embedded equipment
CN115037795B (en) * 2022-06-16 2024-02-02 上海睿赛德电子科技有限公司 Multi-machine communication method for embedded equipment

Similar Documents

Publication Publication Date Title
CN105721264A (en) Competition data exchange system based on embedded technique
JP7058654B2 (en) Resource sharing methods, equipment and systems
CN109270850A (en) A kind of intelligent household management system and method based on Internet of Things
JP5726300B2 (en) Data card and data card networking method
US7865198B2 (en) Method for message exchanging service between residential device and mobile terminal
CN101442667B (en) Interworking system for operation class video monitoring system
CN100438435C (en) Method for limiting browser access network address
EP1135913B1 (en) Interactive media system
CN107483547A (en) Anti-loss method, server, mobile terminal and the storage medium of user terminal
CN101599982A (en) Cellphone information browsing apparatus, system and implementation method
CN106936604A (en) A kind of shared network traffics system and method for mobile device
WO2016202102A1 (en) Message transmission method and device
CN108694454A (en) A kind of sports buildings reservation system
CN109831523A (en) The method at game server framework and game server customer in response end
CN102025786A (en) Operation method and system for interactive control of three-network terminals
US20150140985A1 (en) Device and method of driving multi-PDP data communication for mobile broadband device
JP2004140775A (en) Integrated web browsing servicing device and its servicing method
CN108322536A (en) A kind of Internet of Things service platform based on M2M terminals
CN101912685A (en) Two-way set top box-based interactive game system
US20230050949A1 (en) Service processing method and device
CN105391615B (en) Instant messaging method, device and system based on business requirements
CN106941680A (en) Base station monitoring method, terminal, vpn server and system
CN102916865A (en) Monitoring service management method and device
CN114691364A (en) Future community digital twin engine flexible deployment system
CN101106575A (en) Novel wireless value-added service interaction mode based on WEP technology

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: 20160629

RJ01 Rejection of invention patent application after publication