CN110069359B - Method for data interaction between control center and station end and subway integrated system - Google Patents

Method for data interaction between control center and station end and subway integrated system Download PDF

Info

Publication number
CN110069359B
CN110069359B CN201810060849.6A CN201810060849A CN110069359B CN 110069359 B CN110069359 B CN 110069359B CN 201810060849 A CN201810060849 A CN 201810060849A CN 110069359 B CN110069359 B CN 110069359B
Authority
CN
China
Prior art keywords
data
station
accessed
control center
data index
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.)
Active
Application number
CN201810060849.6A
Other languages
Chinese (zh)
Other versions
CN110069359A (en
Inventor
李义清
邱俊宏
窦中山
戚振伟
王兆庆
杨坤
卜银娜
韩勇
熊焰
崔丽艳
沈志广
李现伟
卓怀忠
陶颍军
张玉磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology Co Ltd
Original Assignee
Xuji Group Co Ltd
XJ Electric Co Ltd
Xuchang XJ Software Technology 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 Xuji Group Co Ltd, XJ Electric Co Ltd, Xuchang XJ Software Technology Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN201810060849.6A priority Critical patent/CN110069359B/en
Publication of CN110069359A publication Critical patent/CN110069359A/en
Application granted granted Critical
Publication of CN110069359B publication Critical patent/CN110069359B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention provides a method for data interaction between a control center and a station side and a subway integrated system, which are used for checking the validity of data requests and the validity of returned data at the station side and the control center respectively, realizing the real-time data interaction between the control center and the station side, ensuring the accuracy and the reliability of the real-time data interaction, and simultaneously ensuring that a new data request of the control center and the existing data request possibly acquire certain same data.

Description

Method for data interaction between control center and station end and subway integrated system
Technical Field
The invention belongs to the technical field of data interaction, and particularly relates to a method for data interaction between a control center and a station side and a subway integrated system.
Background
At present, urban traffic construction is popular, and along with the further promotion of comprehensive pipe galleries and sponge urban strategies in China, the large and medium cities in China must raise a new round of climax of underground engineering construction, subway construction is strongly promoted, subway operation lines in various places are more and more, mileage is longer and longer, and subways become the first choice of citizens for traveling. However, in urban traffic construction, the traditional subway network lines are invisible and various, so that management and maintenance are very difficult, and the operation of the subway brings about an increasing challenge to the construction of a ground station. For the construction of complicated subways, it is necessary to provide a monitoring system, wherein the monitoring system adopts an integrated software and hardware platform and a special communication network, adopts a plurality of professional real-time data and environment parameters such as a power supply system, an environment and equipment monitoring system, a fire alarm system, a signal system, a broadcasting system, a passenger information system and the like, and remotely controls the operation of each professional system, wherein the programming configuration, the structural organization and the logic application of thousands of operation equipment and hundreds of thousands of data measuring points are inevitably involved. Because in the subway monitoring system, a plurality of control center ends and station ends exist, each control center possibly needs to acquire data from the plurality of station ends, and because the data volume is huge and complex, the accuracy, reliability and rapidity of the subway monitoring system for real-time interaction data are required to be higher and higher, a series of solutions are provided for the problem, such as a Chinese patent with the publication number of CN106776854A, named as a data bonding structure and processing method suitable for the subway integrated monitoring system, the relational real-time database of the patent is constructed by adopting an object-oriented technology, each physical device is represented as a data object in the relational real-time database, the bonder is designed according to the application requirement, the data interested in application is rearranged into an ordered structure in a data correlation mode, and auxiliary information of a new structure is configured, and finally the data organization form with the highest accuracy is presented to the advanced application.
Disclosure of Invention
The invention aims to provide a method for data interaction between a control center and a station side and a subway integrated system, which are used for solving the problems of low accuracy and reliability of a subway data monitoring system in the prior art.
In order to achieve the above purpose, the present invention provides a method for data interaction between a control center and a station, which comprises the following technical schemes:
according to a first scheme, the method for data interaction between the control center and the station side comprises the following steps:
1) Each control center generates a data index according to the data access request, wherein the data index comprises a table name, a row ID value and a column subscription symbol; judging the station end to be accessed by the data request according to the data index, and organizing the data indexes accessed to the same station end together;
2) Each control center performs first CRC redundancy check on the data index of the station end to be accessed to obtain a check code corresponding to a single data index of each station end and a total check code of all the data indexes; acquiring a global subscription information table corresponding to the station to be accessed according to the data index of the station to be accessed, the check code of each data index and the name of the station to be accessed; transmitting the global subscription information table corresponding to each station to the corresponding station;
3) The method comprises the steps that a station end to be accessed checks a received global subscription information table, if the check is valid, a data index in the global subscription information table of the station end to be accessed is added to a release table, and data of the station end to be accessed is obtained according to the data index in the release table;
4) And the station terminal to be accessed sends the acquired data to each control center, and each control center distributes the data of the station terminal to be accessed.
According to the second scheme, after the data of the station end to be accessed is obtained according to the data index in the release table, each control center performs second CRC redundancy check on the data index in the release table to obtain a check code corresponding to a single data index of the station end to be accessed and a total check code of all the data indexes.
According to the third scheme, on the basis of the second scheme, each control center checks the obtained check code corresponding to the single data index of the station to be accessed and the total check code of all the data indexes, and if the check is effective, each control center issues the data of the station to be accessed.
According to the fourth method scheme, on the basis of the third method scheme, the data index generated according to the data access request exists in a set time, and if the data index is not subscribed for more than the set time, the data index is deleted.
According to the fifth method scheme, based on the fourth method scheme, the station end to be accessed issues data according to the data index in the issuing table after a set time interval.
The invention also provides a subway comprehensive system, which comprises the following technical scheme:
the first system scheme is that the subway comprehensive system comprises at least one control center and at least one station end, wherein each control center is respectively in communication connection with each station end, each control center is used for generating a data index according to a data access request, and the data index comprises a table name, a row ID value and a column subscription symbol; judging the station end to be accessed by the data request according to the data index, and organizing the data indexes accessed to the same station end together; performing first CRC (cyclic redundancy check) on the data indexes of the station ends to be accessed to obtain check codes corresponding to single data indexes of each station end and total check codes of all the data indexes; acquiring a global subscription information table corresponding to the station to be accessed according to the data index of the station to be accessed, the check code of each data index and the name of the station to be accessed; transmitting the global subscription information table corresponding to each station to the corresponding station; the method comprises the steps that a station end to be accessed checks a received global subscription information table, if the check is valid, a data index in the global subscription information table of the station end to be accessed is added to a release table, and data of the station end to be accessed is obtained according to the data index in the release table; and the station terminal to be accessed sends the acquired data to each control center, and each control center distributes the data of the station terminal to be accessed.
Based on the first system scheme, after acquiring the data of the station end to be accessed according to the data index in the release table, each control center performs second CRC redundancy check on the data index in the release table to obtain a check code corresponding to a single data index of the station end to be accessed and a total check code of all the data indexes.
And in the third system scheme, on the basis of the second system scheme, each control center checks the obtained check code corresponding to the single data index of the station to be accessed and the total check code of all the data indexes, and if the check is effective, each control center issues the data of the station to be accessed.
And in a fourth system scheme, on the basis of the third system scheme, the data index generated according to the data access request exists in a set time, and if the data index is not subscribed for more than the set time, the data index is deleted.
And in a system scheme five, on the basis of a system scheme four, the station end to be accessed issues data according to the data index in the issuing table after a set time interval.
The beneficial effects of the invention are as follows:
the invention checks the validity of the data request and the validity of the returned data at the station end and the control center respectively, realizes the real-time data interaction between the control center and the station end, ensures the accuracy and the reliability of the real-time data interaction, and simultaneously, the new data request of each control center and the existing data request can acquire certain identical data.
Drawings
FIG. 1 is a flow chart of a method for real-time data interaction between a control center and a station in an embodiment of the invention;
fig. 2 is a schematic diagram of a system structure of a method for performing real-time data interaction between a control center and a station in an embodiment of the present invention.
Detailed Description
The following describes the embodiments of the present invention further with reference to the accompanying drawings:
the invention provides a subway integrated system, which comprises at least one control center and at least one station end, wherein each control center is respectively in communication connection with each station end, as shown in figure 2, and comprises two control centers and N station ends. The system issues the subscription table through the control center, and the station returns the release table to realize real-time data interaction. In order to judge the consistency of the data transmitted and received between the control center and the station end, consistency check needs to be carried out on the data index Key in the subscription table and the release table. Based on the system, the invention provides a method for data interaction between a control center and a station end, and the data interaction method can be applied to other comprehensive monitoring systems outside a primary subway, and the specific method for data interaction between the control center and the station end is shown in fig. 1 and comprises the following steps:
1. and sending a station-side data access request. Each data in the subway integrated system has an id as a unique index, and each id corresponds to one line of data in one table, so that one id may correspond to many fields.
2. The control center is to acquire all data of one id, but data of one field or some fields of the id, and when a certain control center is to acquire the data from a plurality of station ends at a certain time, the control center firstly generates a data index Key, key= { table name, row id value, column subscription symbol }, according to a data request.
3. The control center judges which station end the data request needs to access through id, organizes keys accessing the same station end, and sets N data index keys accessing a certain station end, wherein N is an integer.
4. And performing first CRC cyclic redundancy check on the single data index Key accessed to the station end to respectively obtain check codes CC 1-CCN corresponding to the single data index.
5. And adding the check codes CC 1-CCN of the single data index to obtain the total check code CC of all keys of the time.
6. The control center organizes a subscription information table of the secondary access station according to the data index Key of the station to be accessed, CC 1-CCN corresponding to each data index, the number N of the stations to be accessed, the total check code CC of the data indexes and the name of the stations to be accessed.
7. The control center divides the subscription information table into M mutually independent parts, each part is a global subscription information table of the control center for one station, M is the number of station ends, M is an integer, namely, the control center adds the Key in the subscription information list of the time into the global subscription information table of the station, and generates verification information again according to the verification methods in the steps 4 and 5 to obtain the global subscription information table of the station end, wherein the structure of the global subscription information table is shown in the table 1:
table 1 subscription information table of station side to be accessed
CC Number of objects N Subscription Key1+CC1 …… Subscription KeyN+CCN Customer marking
The number of objects is the number of keys in subscription information, CC 1-CCN are check codes of single data indexes Key 1-Key N, CC is the total check code of Key 1-Key N, and clients are marked as station names of corresponding station ends.
8. The control center issues the global subscription information table of each station to be accessed to the message bus, and sends the global subscription information table to each station to be accessed through the message bus.
9. After receiving the subscription information, the corresponding station firstly carries out cyclic redundancy check according to the methods in the step 4 and the step 5, compares the obtained check code with the check code in the global subscription information table, and checks whether the subscription list is valid or not so as to judge whether the global subscription information table is damaged in the transmission process, and discards data if the check is inconsistent.
10. If the verification is valid, after each station side acquires the global subscription information table sent by the control center, the data index Key in the global subscription information table is not directly synchronized, but is added to the local release table, data is acquired locally according to the Key in the release table, and the second cyclic redundancy verification is carried out on the Key in the release table according to the methods of the step 4 and the step 5, so that verification codes SC 1-SCN and a total verification code SC of a single Key are obtained.
11. The published subscription table of the station end is organized according to the names of Key, SC 1-SCN, N, SC and the receiving control center as shown in table 2, and the format is as follows:
TABLE 2 publish-subscribe information Table at the site
Figure GDA0004054139800000051
The object number N is the number of keys in subscription information, the SCs 1-SCN are check codes of single data indexes Key 1-Key N, the SCs are total check codes of Key 1-Key N, and the clients are marked with names of corresponding control centers.
12. The station end sends the release data to each control center through the message bus, in order to verify that the data finally obtained by the control center are correct and complete, the control center judges whether the check code of the single data index in the release table, the total data index check code and the global subscription information are equal or not, namely, whether CC is equal to SC, CC 1-CCN are equal or not, if all the CC is equal to SC, the check passes the data to be available, and each control center releases the data of each station end, as shown in figure 2. If any check codes are not equal, the control center issues a synchronous instruction to forcedly synchronize the keys in the global subscription table of the corresponding station end and the station end of the control center.
13. And if the Key in the global subscription information table has a certain time and the data index Key is not continuously subscribed over time, deleting the Key in the subscription table, and then sending an instruction to delete the corresponding Key in the publishing table of the station by the control center.
14. The station end circularly distributes data through a data index Key in a table at fixed time intervals.
The method can realize real-time data interaction between the control center and the station end, and respectively checks the validity of the data request and the validity of the returned data at the station end and the control center end before using the data, thereby ensuring the accuracy and the reliability of the real-time data interaction.
Specific embodiments are given above, but the present invention is not limited to the above-described embodiments. The basic idea of the invention is that the above basic scheme, it is not necessary for a person skilled in the art to design various modified models, formulas, parameters according to the teaching of the invention to take creative effort. Variations, modifications, substitutions and alterations are also possible in the embodiments without departing from the principles and spirit of the present invention.

Claims (10)

1. The method for data interaction between the control center and the station end is characterized by comprising the following steps:
1) Each control center generates a data index according to the data access request, wherein the data index comprises a table name, a row ID value and a column subscription symbol; judging the station end to be accessed by the data request according to the data index, and organizing the data indexes accessed to the same station end together;
2) Each control center performs first CRC redundancy check on the data index of the station end to be accessed to obtain a check code corresponding to a single data index of each station end and a total check code of all the data indexes; acquiring a global subscription information table corresponding to the station to be accessed according to the data index of the station to be accessed, the check code of each data index and the name of the station to be accessed; transmitting the global subscription information table corresponding to each station to the corresponding station;
3) The method comprises the steps that a station end to be accessed checks a received global subscription information table, if the check is valid, a data index in the global subscription information table of the station end to be accessed is added to a release table, and data of the station end to be accessed is obtained according to the data index in the release table;
4) And the station terminal to be accessed sends the acquired data to each control center, and each control center distributes the data of the station terminal to be accessed.
2. The method for data interaction between a control center and a station according to claim 1, wherein after the data of the station to be accessed is obtained according to the data index in the release table, each control center performs a second CRC redundancy check on the data index in the release table to obtain a check code corresponding to a single data index of the station to be accessed and a total check code of all the data indexes.
3. The method for data interaction between control centers and a station according to claim 2, wherein each control center checks the check code corresponding to the obtained single data index of the station to be accessed and the total check code of all the data indexes, and if the check is valid, each control center issues the data of the station to be accessed.
4. A method for data interaction between a control center and a station according to claim 3, wherein a data index generated according to a data access request exists within a set time, and if the data index is not subscribed for more than the set time, the data index is deleted.
5. The method for data interaction between a control center and a station according to claim 4, wherein the station to be accessed issues data according to the data index in the issue table at a set time interval.
6. The subway comprehensive system is characterized by comprising at least one control center and at least one station, wherein each control center is respectively in communication connection with each station, and each control center is used for generating a data index according to a data access request, and the data index comprises a table name, a row ID value and a column subscription symbol; judging the station end to be accessed by the data request according to the data index, and organizing the data indexes accessed to the same station end together; performing first CRC (cyclic redundancy check) on the data indexes of the station ends to be accessed to obtain check codes corresponding to single data indexes of each station end and total check codes of all the data indexes; acquiring a global subscription information table corresponding to the station to be accessed according to the data index of the station to be accessed, the check code of each data index and the name of the station to be accessed; transmitting the global subscription information table corresponding to each station to the corresponding station; the method comprises the steps that a station end to be accessed checks a received global subscription information table, if the check is valid, a data index in the global subscription information table of the station end to be accessed is added to a release table, and data of the station end to be accessed is obtained according to the data index in the release table; and the station terminal to be accessed sends the acquired data to each control center, and each control center distributes the data of the station terminal to be accessed.
7. The subway integrated system according to claim 6, wherein after the data of the station to be accessed is obtained according to the data index in the release table, each control center performs a second CRC redundancy check on the data index in the release table to obtain a check code corresponding to the single data index of the station to be accessed and a check code of the total of all the data indexes.
8. The subway integrated system according to claim 7, wherein each control center checks the check code corresponding to the obtained single data index of the station to be accessed and the check code of all the data indexes, and if the check is valid, each control center issues the data of the station to be accessed.
9. The subway integrated system according to claim 8, wherein a data index generated according to a data access request exists for a set time, and if the data index is not subscribed for more than the set time, the data index is deleted.
10. The subway integrated system according to claim 9, wherein the station to be accessed issues data according to the data index in the issue table at a set time interval.
CN201810060849.6A 2018-01-22 2018-01-22 Method for data interaction between control center and station end and subway integrated system Active CN110069359B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810060849.6A CN110069359B (en) 2018-01-22 2018-01-22 Method for data interaction between control center and station end and subway integrated system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810060849.6A CN110069359B (en) 2018-01-22 2018-01-22 Method for data interaction between control center and station end and subway integrated system

Publications (2)

Publication Number Publication Date
CN110069359A CN110069359A (en) 2019-07-30
CN110069359B true CN110069359B (en) 2023-05-02

Family

ID=67364759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810060849.6A Active CN110069359B (en) 2018-01-22 2018-01-22 Method for data interaction between control center and station end and subway integrated system

Country Status (1)

Country Link
CN (1) CN110069359B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953417A (en) * 1996-09-04 2007-04-25 英特托拉斯技术公司 A method to distribute use data from user site to external site
CN103379577A (en) * 2012-04-30 2013-10-30 摩托罗拉解决方案公司 Method and apparatus for restricting radio access to a system
CN104599060A (en) * 2015-01-09 2015-05-06 国家电网公司 Secondary circuit file comparison based intelligent substation debugging scheme generation method
CN105282143A (en) * 2015-09-09 2016-01-27 民航局空管局技术中心 Message access control method, device and system
CN105740296A (en) * 2014-12-12 2016-07-06 国家电网公司 Intelligent substation data subscription method based on access model
CN106817689A (en) * 2017-01-22 2017-06-09 兴唐通信科技有限公司 The data subscription and dissemination method and system of a kind of high reliability

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8959162B2 (en) * 2011-02-23 2015-02-17 International Business Machines Corporation Publisher-based message data cashing in a publish-subscription environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1953417A (en) * 1996-09-04 2007-04-25 英特托拉斯技术公司 A method to distribute use data from user site to external site
CN103379577A (en) * 2012-04-30 2013-10-30 摩托罗拉解决方案公司 Method and apparatus for restricting radio access to a system
CN105740296A (en) * 2014-12-12 2016-07-06 国家电网公司 Intelligent substation data subscription method based on access model
CN104599060A (en) * 2015-01-09 2015-05-06 国家电网公司 Secondary circuit file comparison based intelligent substation debugging scheme generation method
CN105282143A (en) * 2015-09-09 2016-01-27 民航局空管局技术中心 Message access control method, device and system
CN106817689A (en) * 2017-01-22 2017-06-09 兴唐通信科技有限公司 The data subscription and dissemination method and system of a kind of high reliability

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
B/S模式下基于内容的发布/订阅系统的设计与实现;郝光星;《中国优秀硕士学位论文全文数据库 信息科技辑》;20131115(第11期);第I138-122页 *
Management through cross-layer design in mobile tactical networks;David Kidston 等;《2010 IEEE Network Operations and Management Symposium-NOMS 2010》;20100617;第890-893页 *

Also Published As

Publication number Publication date
CN110069359A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
CN103164721B (en) A kind of car networking trackside information data sampling and processing method
CN111400734A (en) Intelligent logistics system based on block chain
CN103530825A (en) Building energy consumption monitoring software system and realization method
CN103366411B (en) For the method and apparatus by wireless network transmissions vehicle position data residual error
CN103337191A (en) Public transportation information real-time sharing and query system and method
CN104951623A (en) Avionics system interface management system based on models
CN104992022A (en) Aeronautics electronic system interface management method based on models
CN104104146B (en) A kind of bulk power grid converting equipment online monitoring data method for establishing model
CN103699555A (en) Multisource data real-time database data generation method applicable to scheduling and transformer substation integrated system
CN110069359B (en) Method for data interaction between control center and station end and subway integrated system
CN103473173B (en) A kind of method and device iOS system being carried out to assembly level dynamic debugging
CN102982723A (en) Positioning method based on geocoding
CN110555129A (en) space image data interaction method and device based on alliance chain
CN105702005A (en) Remote meter reading system and method
CN110807619A (en) Method for supporting business handling in government affair service field
CN103413190A (en) Real-time auditing system of operation ticket and method
Peng et al. Message oriented middleware data processing model in Internet of things
CN110113379A (en) A kind of micro-capacitance sensor monitoring system and its implementation based on OneNet platform
CN105678502A (en) Land registration supervision method and system based on mixed number allocation mechanism
CN101901211A (en) Processing method of report form
CN105447154B (en) A kind of update method and more new system of entropy pool
CN104486296A (en) Identity recognition device and identity recognition method
CN111797166B (en) Method and device for synchronizing quasi-real-time resume data, electronic equipment and medium
CN111415154B (en) Method for realizing accounting management of company-level gas station by using blockchain technology
CN103078775A (en) Method and system on basis of information interaction among multiple stages of ESB (Enterprise Service Buses)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant