CN102542015A - Method and system for efficiently transmitting state information of station equipment - Google Patents

Method and system for efficiently transmitting state information of station equipment Download PDF

Info

Publication number
CN102542015A
CN102542015A CN2011104246717A CN201110424671A CN102542015A CN 102542015 A CN102542015 A CN 102542015A CN 2011104246717 A CN2011104246717 A CN 2011104246717A CN 201110424671 A CN201110424671 A CN 201110424671A CN 102542015 A CN102542015 A CN 102542015A
Authority
CN
China
Prior art keywords
station
server
bivariate table
status information
station equipment
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
CN2011104246717A
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.)
Founder International Co Ltd
Founder International Beijing Co Ltd
Original Assignee
Founder International Co Ltd
Founder International Beijing Co 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 Founder International Co Ltd, Founder International Beijing Co Ltd filed Critical Founder International Co Ltd
Priority to CN2011104246717A priority Critical patent/CN102542015A/en
Publication of CN102542015A publication Critical patent/CN102542015A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and a system for efficiently transmitting state information of station equipment and relates to the technical field of rail transit. The method disclosed by the invention comprises the following steps that: (1) when a station central server is started, a two-dimensional table of state information of the station equipment is constructed; (2) the station central server updates and maintains the two-dimensional table of state information of the station equipment; (3) while establishing communication connection with a line central server, the station central server uploads the complete two-dimensional table of state information of the station equipment; and (4) after establishing the communication connection with the line central server, the station central server uploads an update table of the two-dimensional table of state information of the station equipment to the line central server at regular time. By utilizing the method and the system disclosed by the invention, the equipment state information data processing expenditure of a server end can be reduced, the state information processing service diary output of the server is reduced, the diary disk space is saved, and the diary analysis and error locating efficiency can be improved.

Description

A kind of method and system of high efficiency of transmission station equipment status information
Technical field
The present invention relates to the track traffic technical field, relate in particular to a kind of method and system of high efficiency of transmission station equipment status information.
Background technology
The station equipment status information network transmission efficiency that existing commercial systems for applications adopts is low.Because station equipment is numerous and equipment state changes frequently, cause each server end big in addition to status information of equipment data processing expense.Special when station centre simultaneously with stand in all devices can cause station centre's server to receive forwarding unit status data peak in short-term when establishing a communications link, and then influence the timely transmission of other business datum.
Below be the station equipment status information transmission solution that existing commercial systems for applications adopts:
1) when station centre's server and wire center server establish a communications link, station centre's server sends station equipment good working condition packet, packet of every equipment to the wire center server.
2) when equipment and station centre established a communications link, equipment sent to station centre's server with the good working condition of self.Station centre's server receives handles this equipment good working condition packet, and this packet is transmitted to the wire center server immediately.
3) when equipment state changes, equipment sends to station centre's server with the status data that changes.Station centre's server receives buffer memory equipment change status information.The every status information of equipment that will take place to change at a distance from N second (N is configurable) of station centre's server sends to the wire center server, packet of every Status Change equipment.
Table 1 is the status information of equipment data structure that station centre's server sends to the wire center server in the prior art:
Table 1
Figure BDA0000121384230000011
Figure BDA0000121384230000021
Wherein field 5,6 will circulate repeatedly, and cycle index is by field 4 definition.
There is following shortcoming in the station equipment status information transmission solution that aforesaid existing commercial systems for applications adopts:
(1) network transmission efficiency is low;
(2) station centre's server establishes a communications link with the wire center server and a large amount of station equipment is set up when communicating by letter with the station server simultaneously, and station centre's server transmitting apparatus state information data packet is too much, influences the timely transmission of other business datum;
(3) change when frequent when equipment state, station server transmitting apparatus state information data packet is too much, influences the timely transmission of other business datum;
(4) server end is big to status information of equipment data processing expense;
(5) server end produces the daily record of managing business of a large amount of status informations, takies a large amount of disk spaces, and makes log analysis and location of mistake become complicated.
Summary of the invention
To existing deficiency in the prior art, the object of the present invention is to provide a kind of method and system of high efficiency of transmission station equipment status information, to reduce server end to status information of equipment data processing expense; Going up the next central server establishes a communications link and device status data bag transmission peak no longer occurs in the process; Device status data bag transmission peak no longer appears when multiple devices frequently change state; Can reach newly-increased equipment state item by the newly-increased equipment of expansion very easily; Reduce the daily record output of managing business of server end status information, save the journal disk space, improve and make log analysis and location of mistake efficient.
The present invention solves the problems of the technologies described above the technical scheme that is adopted and describes as follows:
A kind of method of high efficiency of transmission station equipment status information may further comprise the steps:
(1) makes up this station equipment status information bivariate table during station centre's startup of server;
(2) station centre's server update is safeguarded this station equipment status information bivariate table;
Upload complete station equipment status information bivariate table when (3) station centre's server and wire center server establish a communications link;
(4) after station centre's server and wire center server established a communications link, station centre's server was regularly uploaded station equipment state bivariate table change tabulation to the wire center server.
Further, in the step (1), it is following to make up this station equipment status information bivariate table method:
1) system start-up is read the status items ID that the every kind equipment in this station is suitable for from database, forms " state ID " dimension of bivariate table;
2) from database, read this station equipment inventory, form " equipment " dimension of bivariate table;
3) all table elements of bivariate table are initialized as the default value of expression " the unknown ".
Further, in the step (2), the method for this station equipment of updating maintenance status information bivariate table is:
(a) station equipment sends the current whole status informations of this equipment to the station server when establishing a communications link with the station centre server;
When (b) state of station equipment generation after this changed, the status information of change took place to station centre's server transmitting section;
(c) after station centre's server receives the status information that station equipment sends, station equipment status information bivariate table is carried out updating maintenance.
Further; In the above-mentioned steps (c); The method of station equipment status information bivariate table being carried out updating maintenance is following: " equipment " dimension location subscript that at first calculates bivariate table according to device id; Calculate " state ID " dimension location subscript of bivariate table then according to the state ID in the device report status information, the last renewal with reference to the location subscript specified the table element data value in the bivariate table.
Further, in the step (4), the station centre's server regularly method to wire center server upload device state bivariate table change tabulation is following:
A) after station centre's server and wire center server establish a communications link; When station centre's server is received from the status report of station equipment again; Station centre's server also upgrades operation information with this bivariate table and is cached in the Status Change tabulation except that upgrading local device state bivariate table content;
B) station centre's server is every upgrades operation information at a distance from N second with the bivariate table of buffer memory and sends to the wire center server, and described N can be configured as required.
Further, in the step a), when being cached to this bivariate table renewal operation information in the Status Change tabulation, said bivariate table upgrades the operation information content and comprises that " equipment " dimension is located subscript, " state ID " tieed up location subscript, bivariate table element value.
A kind of system of high efficiency of transmission station equipment status information comprises with lower device:
Station equipment status information bivariate table construction device: be used for making up when central server starts AT STATION this station equipment status information bivariate table;
Station equipment status information bivariate table updating maintenance device: be used for station centre's server update and safeguard this station equipment status information bivariate table;
Station equipment status information bivariate table is uploaded device: be used for uploading when central server and wire center server establish a communications link AT STATION complete station equipment status information bivariate table;
Equipment state bivariate table change tabulation attending device: be used for after central server establishes a communications link with the wire center server AT STATION, station centre's server is regularly uploaded the change of station equipment state bivariate table to the wire center server and is tabulated.
Effect of the present invention is: adopt method and system of the present invention, can reduce server end to status information of equipment data processing expense; Going up the next central server establishes a communications link and device status data bag transmission peak no longer occurs in the process; Device status data bag transmission peak no longer appears when multiple devices frequently change state; Can reach newly-increased equipment state item by the newly-increased equipment of expansion very easily; Reduce the daily record output of managing business of server end status information, save the journal disk space, improve and make log analysis and location of mistake efficient.
Description of drawings
Fig. 1 is the structural drawing of the system of high efficiency of transmission station equipment status information according to the invention;
Fig. 2 is the process flow diagram of the method for high efficiency of transmission station equipment status information according to the invention;
Fig. 3 is the detail flowchart of embodiment.
Embodiment
Key of the present invention is that the status information of equipment bivariate table makes up and the treatment scheme of safeguarding treatment scheme and subordinate's server system and higher level's server system synchronizer status information bivariate table, is mainly used in high efficiency of transmission station equipment status information in rail traffic ticket automatic selling and checking system.
Describe the present invention below in conjunction with accompanying drawing and specific embodiment:
As shown in Figure 1, a kind of in rail traffic ticket automatic selling and checking system the system of high efficiency of transmission station equipment status information, comprise with lower device:
Station equipment status information bivariate table construction device 11: be used for making up when central server starts AT STATION this station equipment status information bivariate table;
Station equipment status information bivariate table updating maintenance device 12: be used for station centre's server update and safeguard this station equipment status information bivariate table;
Station equipment status information bivariate table is uploaded device 13: be used for uploading when central server and wire center server establish a communications link AT STATION complete station equipment status information bivariate table;
Equipment state bivariate table change tabulation attending device 14: be used for after central server establishes a communications link with the wire center server AT STATION, station centre's server is regularly uploaded the change of station equipment state bivariate table to the wire center server and is tabulated.
As shown in Figure 2, a kind of in rail traffic ticket automatic selling and checking system the method for high efficiency of transmission station equipment status information, may further comprise the steps:
(1) makes up this station equipment status information bivariate table, S21 during station centre's startup of server.
It is following to make up this station equipment status information bivariate table method:
1) system start-up is read the status items ID that the every kind equipment in this station is suitable for from database, forms " state ID " dimension of bivariate table;
2) from database, read this station equipment inventory, form " equipment " dimension of bivariate table;
3) all table elements of bivariate table are initialized as the default value of expression " the unknown ".
(2) station centre's server update is safeguarded this station equipment status information bivariate table, S22.
In the present embodiment, the method for this station equipment of updating maintenance status information bivariate table is:
(a) station equipment sends the current whole status informations of this equipment to the station server when establishing a communications link with the station centre server;
When (b) state of station equipment generation after this changed, the status information of change took place to station centre's server transmitting section;
(c) after station centre's server receives the status information that station equipment sends; At first calculate " equipment " dimension location subscript of bivariate table according to device id; Calculate " state ID " dimension location subscript of bivariate table then according to the state ID in the device report status information, the last renewal with reference to the location subscript specified the table element data value in the bivariate table.
Upload complete station equipment status information bivariate table when (3) station centre's server and wire center server establish a communications link, S23.
In the present embodiment, status information bivariate table data structure is as shown in table 2 to the station of wire center Server Transport:
Table 2
Figure BDA0000121384230000061
Wherein field 4 circulates repeatedly, and cycle index is by field 3 definition; Field 6 circulates repeatedly, and cycle index is by field 5 definition; Field 7 circulates repeatedly, and cycle index equals field 3 and multiply by field 5.
The wire center server is according to the status information bivariate table at station centre this station of server reported data structure, thereby it is consistent with content and station centre's server to reach the bivariate table structure.
(4) after station centre's server and wire center server established a communications link, station centre's server was regularly uploaded station equipment state bivariate table change tabulation, S24 to the wire center server.
A) after station centre's server and wire center server establish a communications link; When station centre's server is received from the status report of station equipment again; Station centre's server also upgrades operation information with this bivariate table and is cached in the Status Change tabulation except that upgrading local device state bivariate table content.Bivariate table upgrades the operation information content and comprises " equipment " dimension location subscript, " state ID " dimension location subscript, bivariate table element value.
B) station centre's server is every upgrades operation information at a distance from N second with the bivariate table of buffer memory and sends to the wire center server, and described N can be configured as required.
It is as shown in table 3 that bivariate table upgrades the operation information list data structure;
Table 3
Figure BDA0000121384230000071
Wherein field 4,5,6 circulates repeatedly, and cycle index is by field 3 definition.
The wire center server is according to the status information bivariate table at this station of station reported data renewal, thereby it is consistent with content and station centre's server to reach the bivariate table structure.
The detailed process of above-mentioned embodiment is as shown in Figure 3.
It should be noted that; Above-mentioned specific embodiment only is exemplary; Under above-mentioned instruction of the present invention, those skilled in the art can carry out various improvement and distortion on the basis of the foregoing description, and these improve or distortion drops in protection scope of the present invention.It will be understood by those skilled in the art that top specific descriptions just in order to explain the object of the invention, are not to be used to limit the present invention.Protection scope of the present invention is limited claim and equivalent thereof.

Claims (7)

1. the method for a high efficiency of transmission station equipment status information may further comprise the steps:
(1) makes up this station equipment status information bivariate table during station centre's startup of server;
(2) station centre's server update is safeguarded this station equipment status information bivariate table;
Upload complete station equipment status information bivariate table when (3) station centre's server and wire center server establish a communications link;
(4) after station centre's server and wire center server established a communications link, station centre's server was regularly uploaded station equipment state bivariate table change tabulation to the wire center server.
2. the method for a kind of high efficiency of transmission station equipment status information as claimed in claim 1 is characterized in that, in the step (1), it is following to make up this station equipment status information bivariate table method:
1) system start-up is read the status items ID that the every kind equipment in this station is suitable for from database, forms " state ID " dimension of bivariate table;
2) from database, read this station equipment inventory, form " equipment " dimension of bivariate table;
3) all table elements of bivariate table are initialized as the default value of expression " the unknown ".
3. according to claim 1 or claim 2 a kind of method of high efficiency of transmission station equipment status information is characterized in that in the step (2), the method for this station equipment of updating maintenance status information bivariate table is:
(a) station equipment sends the current whole status informations of this equipment to the station server when establishing a communications link with the station centre server;
When (b) state of station equipment generation after this changed, the status information of change took place to station centre's server transmitting section;
(c) after station centre's server receives the status information that station equipment sends, station equipment status information bivariate table is carried out updating maintenance.
4. the method for a kind of high efficiency of transmission station equipment status information as claimed in claim 3; It is characterized in that; In the step (c); The method of station equipment status information bivariate table being carried out updating maintenance is following: at first calculate " equipment " dimension location subscript of bivariate table according to device id, calculate " state ID " dimension location subscript of bivariate table then according to the state ID in the device report status information, the last renewal with reference to the location subscript specified the table element data value in the bivariate table.
5. the method for a kind of high efficiency of transmission station equipment status information as claimed in claim 4 is characterized in that, in the step (4), the method that station centre's server timing is uploaded station equipment state bivariate table change tabulation to the wire center server is following:
A) after station centre's server and wire center server establish a communications link; When station centre's server is received from the status report of station equipment again; Station centre's server also upgrades operation information with this bivariate table and is cached in the Status Change tabulation except that upgrading local device state bivariate table content;
B) station centre's server is every upgrades operation information at a distance from N second with the bivariate table of buffer memory and sends to the wire center server, and described N can be configured as required.
6. the method for a kind of high efficiency of transmission station equipment status information as claimed in claim 5; It is characterized in that; In the step a); When being cached to this bivariate table renewal operation information in the Status Change tabulation, said bivariate table upgrades the operation information content and comprises that " equipment " dimension is located subscript, " state ID " tieed up location subscript, bivariate table element value.
7. the system of a high efficiency of transmission station equipment status information comprises with lower device:
Station equipment status information bivariate table construction device: be used for making up when central server starts AT STATION this station equipment status information bivariate table;
Station equipment status information bivariate table updating maintenance device: be used for station centre's server update and safeguard this station equipment status information bivariate table;
Station equipment status information bivariate table is uploaded device: be used for uploading when central server and wire center server establish a communications link AT STATION complete station equipment status information bivariate table;
Equipment state bivariate table change tabulation attending device: be used for after central server establishes a communications link with the wire center server AT STATION, station centre's server is regularly uploaded the change of station equipment state bivariate table to the wire center server and is tabulated.
CN2011104246717A 2011-12-16 2011-12-16 Method and system for efficiently transmitting state information of station equipment Pending CN102542015A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104246717A CN102542015A (en) 2011-12-16 2011-12-16 Method and system for efficiently transmitting state information of station equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104246717A CN102542015A (en) 2011-12-16 2011-12-16 Method and system for efficiently transmitting state information of station equipment

Publications (1)

Publication Number Publication Date
CN102542015A true CN102542015A (en) 2012-07-04

Family

ID=46348902

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104246717A Pending CN102542015A (en) 2011-12-16 2011-12-16 Method and system for efficiently transmitting state information of station equipment

Country Status (1)

Country Link
CN (1) CN102542015A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355809A (en) * 2020-03-16 2020-06-30 北京和利时系统工程有限公司 Monitoring system, method and device
WO2020132870A1 (en) * 2018-12-25 2020-07-02 深圳辰锐软件开发有限公司 File update method, file update apparatus and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101102280A (en) * 2007-08-01 2008-01-09 中兴通讯股份有限公司 A method for optimizing communication transmission efficiency in IP multi-media sub-system
CN201049642Y (en) * 2007-06-15 2008-04-23 南京恩瑞特实业有限公司 Integrated monitoring system for train operation
US20080147257A1 (en) * 2005-03-07 2008-06-19 Klaus Kuhlgatz System and Method for Total Management of Ships

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080147257A1 (en) * 2005-03-07 2008-06-19 Klaus Kuhlgatz System and Method for Total Management of Ships
CN201049642Y (en) * 2007-06-15 2008-04-23 南京恩瑞特实业有限公司 Integrated monitoring system for train operation
CN101102280A (en) * 2007-08-01 2008-01-09 中兴通讯股份有限公司 A method for optimizing communication transmission efficiency in IP multi-media sub-system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020132870A1 (en) * 2018-12-25 2020-07-02 深圳辰锐软件开发有限公司 File update method, file update apparatus and terminal device
CN111355809A (en) * 2020-03-16 2020-06-30 北京和利时系统工程有限公司 Monitoring system, method and device

Similar Documents

Publication Publication Date Title
CN101488928B (en) Internet enterprise group communication device and internet enterprise group communication method
CN103002010B (en) A kind of data-updating method based on incremental data, device and system
CN103064731A (en) Device and method for improving message queue system performance
CN105897603B (en) Massive multi-protocol Internet of vehicles terminal access method
CN105184540A (en) Intelligent express delivery cabinet system control method
CN103326896B (en) The system and method for the information data that a kind of user of collection produces on the internet
WO2011061742A3 (en) Communication system and method for managing data transfer through a communication network
CN102821414A (en) System and method for managing CWSN (cloud wireless sensor network) communication data based on GUI (graphical user interface)
CN103312751A (en) Instant messaging method based on browser
CN101860890A (en) Maintenance management system of communication equipment
CN107508869A (en) Trace back data acquisition method and client
CN103780603B (en) Lightweight method for pushing in application
CN100452704C (en) Method and method for issuing blog articles
CN105162623A (en) Cloud processing method and cloud server
CN202068449U (en) Data exchange platform used for multistage data exchange
CN106407471A (en) Data processing method, device and system for graph code scanning
CN102916987A (en) Data acquisition and management system based on cloud computing framework
CN102542015A (en) Method and system for efficiently transmitting state information of station equipment
CN111538772B (en) Data exchange processing method and device, electronic equipment and storage medium
CN104270432B (en) Based on drilling well industry Real-time Data Service system and data interactive method
CN104660664B (en) Method and apparatus for managing storage system
CN202268912U (en) Data management system based on cloud computation structure
CN103825922A (en) Data updating method and web server
CN102316443A (en) Storage system for use information of mobile terminal and method
CN103458000A (en) Terminal data synchronizing system and method

Legal Events

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

Application publication date: 20120704