CN107703921B - Train automatic monitoring system yard method for handover control - Google Patents

Train automatic monitoring system yard method for handover control Download PDF

Info

Publication number
CN107703921B
CN107703921B CN201711023331.7A CN201711023331A CN107703921B CN 107703921 B CN107703921 B CN 107703921B CN 201711023331 A CN201711023331 A CN 201711023331A CN 107703921 B CN107703921 B CN 107703921B
Authority
CN
China
Prior art keywords
data
station yard
memory
yard
hit rate
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
CN201711023331.7A
Other languages
Chinese (zh)
Other versions
CN107703921A (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.)
Traffic Control Technology TCT Co Ltd
Original Assignee
Traffic Control Technology TCT 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 Traffic Control Technology TCT Co Ltd filed Critical Traffic Control Technology TCT Co Ltd
Priority to CN201711023331.7A priority Critical patent/CN107703921B/en
Publication of CN107703921A publication Critical patent/CN107703921A/en
Application granted granted Critical
Publication of CN107703921B publication Critical patent/CN107703921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Train Traffic Observation, Control, And Security (AREA)

Abstract

The embodiment of the invention provides a kind of train automatic monitoring system yard method for handover control, station yard data in this method for being had shown that in memory, it imposes a condition if its data hit rate and data duration meet, then it is moved in caching, when needing to switch over, if judging data storage in the buffer, the station yard data is directly then loaded into memory display from caching, to when repeating to switch route picture, if knowing the data in the buffer, then without repeating the process for reading simultaneously format transformation from hard disk, directly it is loaded into memory from caching, and to lack from the time that the process for loading data in caching is spent more than the time loaded from local hard drive, therefore the rate of switching can be effectively improved, especially in frequent switching, it can effectively prevent the stuck situation of picture to occur, realize prison in real time The yard traffic-operating period of each route is controlled, guarantees safe train operation.

Description

Train automatic monitoring system yard method for handover control
Technical field
The present embodiments relate to software technology fields, and in particular to a kind of train automatic monitoring system yard switching control Method.
Background technique
NATS (Network Automatic Train Supervision System) networking train monitors automatically and is System, as networking monitoring operation platform in urban track traffic, system obtains the train and signalling arrangement of each route in real time Status data, and pass through the instant playback of networking scheduling interface.
Yard interface provides signalling arrangement monitoring and train status function for monitoring, and yard interface obtains on-site signal and train The real time status information of operation, and these information are faithfully showed dispatcher, facilitate dispatcher according to field condition Carry out Train Detection and Identification.
On NATS dispatching workstations, multi-line yard interface can manually be switched over.Monitor the yard of each route in real time Traffic-operating period promotes the efficiency and service level of metro operation to mitigate running scheduling personnel's homework burden, guarantees train safety Operation.
Networking train automatic monitored control system can monitor the train of each route and the status data of signalling arrangement at present, Networking dispatching workstations uniformly show dispatcher.However, inventors have found that each line during realizing innovation and creation The status data on road is stored in local hard drive, if desired then needs the screen switching of monitoring system to a certain route The status data of the route stored in local hard drive is first read into memory, then by the data of reading according to specified number It is stored in memory after being converted according to structure and is finally shown, the status data can be discharged after display at once.If necessary to again It is secondary to switch to the route, then needing to repeat the above process.This reading and process time-consuming for carrying out data conversion is more, And then it is slower to will lead to yard switch speed.Especially when needing to carry out frequent switching, it is easy to since switch speed is slower The situation for causing yard interface seemingly-dead occurs.
Summary of the invention
The embodiment of the present invention provide it is a kind of for train automatic monitoring system yard method for handover control and device, for gram It takes existing switching method to need to repeat to read data from hard disk when repeating to switch, causes yard switching efficiency is low to lack It falls into.
In a first aspect, the embodiment of the present invention provides a kind of train automatic monitoring system yard method for handover control, comprising:
For the station yard data having shown that being stored in memory, if judging the data hit rate of the station yard data And data duration meets setting condition, then the station yard data is moved in caching and is stored;
It, will be described if judging to be switched station yard data storage in the buffer when needing to carry out yard changing interface Station yard data is loaded into memory from caching and is shown;
Wherein, the data hit rate is for describing the frequency that the station yard data is shown, the data duration is for retouching State the residence time of the last display of station yard data distance in memory;The setting condition includes: that data hit rate reaches To hit rate threshold value and data duration reaches the first duration or data hit rate is not up to hit rate threshold value and data duration reaches Second duration.
Optionally, the method also includes:
If judging, the data hit rate of the station yard data and data duration are unsatisfactory for the setting condition, will be described Station yard data is resident in memory.
Optionally, the method also includes:
When needing to carry out yard changing interface, if judging, to be switched station yard data is stored in memory, directly aobvious Show the station yard data;
If judging, to be switched station yard data is stored in local hard drive, the station yard data is loaded, by specified It is stored in memory and is shown after data structure conversion.
Optionally, it is stored with system data maintenance table in memory, is stored with each station in the system data maintenance table The data hit rate of field data, the display number of station yard data, data access times and display moment;The data time use Number is that station yard data shows that number and station yard data are loaded on the sum of number of memory;
The system data maintenance table further includes that the call number of each station yard data or station yard data title and data are deposited Storage state, the state data memory is for describing the currently stored position of the station yard data.
Optionally, judge the storage location of to be switched station yard data, comprising:
According to the call number of to be switched station yard data or station yard data title, carried out in the system data maintenance table It searches;
If record has the station yard data in the system data maintenance table, according to the corresponding data of the station yard data Storage state determines its storage location.
Optionally, the method also includes:
The station yard data in the system data maintenance table is updated after storage location change for each station yard data Corresponding state data memory.
Optionally, the method also includes:
After each station yard data is shown, when updating the corresponding data hit rate of the station yard data and the display It carves.
Optionally, the method also includes:
According to the state data memory of each station yard data in the system data maintenance table, if judgement is stored in memory Station yard data reach preset storage cap, then each station yard data being stored in memory is arranged by data hit rate The station yard data that hit rate is less than specified threshold is moved in caching and stores by sequence.
Optionally, the data hit rate is calculated by following formula:
Data hit rate=station yard data display number/(data access times+1).
Optionally, difference when data at the time of a length of current system with the display moment.
The embodiment of the invention provides a kind of train automatic monitoring system yard method for handover control, for interior in this method The station yard data having shown that in depositing imposes a condition if its data hit rate and data duration meet, is moved to In caching, when needing to switch over, if judging data storage in the buffer, directly the station yard data is loaded into from caching It is shown in memory, thus when repeating to switch route picture, if knowing the data in the buffer, without repeating from hard disk The process for reading simultaneously format transformation, is directly loaded into memory from caching, and the process flower of data is loaded from caching The time of expense will be lacked more than the time loaded from local hard drive, therefore can effectively improve the rate of switching, especially frequent When switching, it can effectively prevent the stuck situation of picture and occur, realize the yard traffic-operating period for monitoring each route in real time, guarantee train Safe operation.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of train automatic monitoring system yard method for handover control flow chart provided in an embodiment of the present invention;
Fig. 2 is a kind of data store organisation schematic diagram provided in an embodiment of the present invention;
Fig. 3 is the flow chart of a kind of pair of internal storage data storage processing provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart executed to switching provided in an embodiment of the present invention;
Fig. 5 is a kind of train automatic monitoring system yard switching control structural representation provided in an embodiment of the present invention Figure;
Fig. 6 is a kind of computer equipment example structure block diagram provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
In a first aspect, the embodiment of the invention provides a kind of train automatic monitoring system yard method for handover control, such as Fig. 1 It is shown, comprising:
S101, the station yard data having shown that for being stored in memory, if judging the data of the station yard data Hit rate and data duration, which meet, to impose a condition, then the station yard data is moved in caching and is stored;
Wherein, the data hit rate is for describing the frequency that the station yard data is shown, the data duration is for retouching State the residence time of the last display of station yard data distance in memory;The setting condition includes: that data hit rate reaches To hit rate threshold value and data duration reaches the first duration or data hit rate is not up to hit rate threshold value and data duration reaches Second duration.
S102, when needing to carry out yard changing interface, will if judging to be switched station yard data storage in the buffer The station yard data is loaded into memory from caching to be shown.
In method provided in an embodiment of the present invention, for the station yard data being had shown that in memory, if its data hit Rate and data duration, which meet, to impose a condition, then is moved in caching, and when needing to switch over, if judging, data are stored In the buffer, then the station yard data is directly loaded into memory display from caching, thus when repeating to switch route picture, if Know the data in the buffer, then without repeating the process for reading simultaneously format transformation from hard disk, is directly loaded from caching To in memory, and wanted from the time that the process for loading data in caching is spent more than the time loaded from local hard drive It is few, therefore the rate of switching can be effectively improved, especially in frequent switching, it can effectively prevent the stuck situation of picture and occur, It realizes the yard traffic-operating period for monitoring each route in real time, guarantees safe train operation.
Understandable to be, the embodiment of the present invention can be switched fast to realize, carry out mainly at two aspects It improves, first is the storage processing for data, and second and is can be realized when switching over for data loading processing A more important factor in terms of the two is the system data maintenance table for being stored with each station yard data state, below It is described in detail in conjunction with attached drawing for this 3 points.
(1) system data maintenance table
Referring to fig. 2, Fig. 2 shows storage organization figures provided in an embodiment of the present invention.Wherein yard initial data is yard The basic configuration data at interface is stored in local hard disk HDD (Hard comprising master datas such as semaphore, platform, sections Disk Drive) in;Internal storage data be yard initial data is read in Installed System Memory from local hard drive by computer, then According to what is obtained after the conversion of specified data structure;Data cached is that internal storage data is stored in this according to specified data structure The data of HDD on ground hard disk, that is to say, that caching here is specially to hew out to come on local hard drive for storage unit in fact Divide the disk space for the internal storage data being moved, the data structure stored in the buffer and the data structure stored in memory Can be it is identical, so as in the time of load time about data conversion.
System data maintenance table is mainly used for safeguarding the state of each station yard data.It can be specifically included in the table: yard Call number or station yard data title, state data memory, data hit rate, the display number of station yard data, the data of data make With number, (station yard data specially before this operation to data shows that number and station yard data are loaded on time of memory The sum of number) and the display moment.
Wherein, state data memory here can be indicated by some marks, for example, 0 can indicate data for original Beginning data are stored in local hard drive;1 can indicate data be internal storage data in memory;2 can indicate data for caching Data store in the buffer.
Based on system data maintenance table, the optional calculating side of the one of which of the data hit rate in above method embodiment Formula are as follows:
Data hit rate=station yard data display number/(data access times+1).
In addition, in above method embodiment data duration a kind of optional calculation are as follows:
At the time of data duration=current system-the display moment.
(2) storage of internal storage data is handled
A kind of detailed process flow for internal storage data is shown referring to Fig. 3, Fig. 3.
Method provided in an embodiment of the present invention is using system timer period according to the number of station yard data each in memory It determines that the data are resident according to hit rate and data duration to be also moved in buffering in memory.
When reaching the triggering period of system timer, scanning system data maintenance table one by one first, to what is wherein identified Internal storage data is handled.If state data memory is in 0 representative is stored in local hard drive, 1 representative is stored in Maintenance Table In depositing, 2 represent storage in the buffer, then process flow is as follows:
1) data hit rate of current station yard data reach hit rate threshold value (data are configurable, for example, 85%) when, If the data duration (namely difference of present system time and display moment) of the station yard data reaches the first duration (such as 2 Hour, the data are configurable), then it needs to store data into buffer area, state data memory is set to 2, updates system data Maintenance Table;Otherwise this data continues to reside in memory;
2) data hit rate of current station yard data be less than hit rate threshold value (configurable data, for example, 85%) when, If the difference of present system time and data duration reaches the second duration (such as 0.5 hour, the data are configurable), then need by Data storage is set to 2 to buffer area, by state data memory, updates system data maintenance table, otherwise this data continues to reside in Memory.
Namely above-mentioned steps are by hit rate is higher but the terminate-and-stay-resident time is longer or hit rate is not high but the terminate-and-stay-resident time Longer data are moved into caching, once these station yard datas need to show again, as long as adding again from caching Load.
It is understood that the memory capacity of memory is limited, once the data of storage are more than the maximum size of memory, The normal operation of memory certainly will also be will affect.Therefore method provided in an embodiment of the present invention can also include:
According to the state data memory of station yard data each in system data maintenance table, if the station that judgement is stored in memory Field data reaches preset storage cap, then is ranked up each station yard data being stored in memory by data hit rate, The station yard data that hit rate is less than specified threshold is moved in caching and is stored, and state data memory is set to 2, more new system Data maintenance table.So as to guarantee be not in as internal storage data it is excessive caused by memory spill-over phenomenon.
(3) when switching over for data loading processing
Referring to fig. 4, Fig. 4 shows a kind of detailed process for data loading processing when switching over.
Initialization system mode Maintenance Table first obtains the yard number when needing to carry out the switching at yard interface first According to call number or station yard data title.Matched note has been searched whether in system mode Maintenance Table according to call number or title Record.If judging, there are execute following steps:
The corresponding state data memory of the station yard data is obtained, can be had according to different state data memories following several Different processing modes.
1) if state data memory is 0, then it represents that data are initial data state, are stored in local hard drive.Then it is System can load from local hard drive record yard initial data, and by be stored in memory after designated data structure conversion into Row display.State data memory is set to 1 later, the display numbers 0 of data (because before this display the data also not into Went display, display number here does not include this display number), data access times are 0 (display number 0+ load time Number 0=0, because data access times here are this data access times before operating, the number before this operation According to carrying out display not yet or loading to operate, so 0) its data access times is, data hit rate is set to 0% (0/ (0+1) =0), station yard data shows that the moment is set to current time.It here is to reach and touch in system timer by current time record Send out the period when, can according to triggering when system time and this current time difference come determine from this time show after to Triggering this one piece of data of period resides in the duration in memory.
2) if state data memory is 1, then it represents that data in memory, then directly display yard interface content. It is assumed that data access times be 1 (because the data are at least once shown excessively before in memory, illustrate, vacation here If show once before, data access times here are the numbers for not including this display), after data access times add 1 It is 2, data hit rate is set to 1/2=50%, and station yard data shows that the moment is set to current time;
3) if state data memory is 2, then it represents that in the buffer, the data of caching are loaded into memory for data It is shown again.State data memory is set to 1 later, it is assumed that showed before the data and once moved later in memory Into caching, then data access times are set to 2 (display number 1+ is this time loaded 1=2), display number is also set to 1.Number According to hit rate=display number/(data access times+1)=1/3=33.3%.The display moment is then set to current time.
To complete load and the system data maintenance table for the data of different storage states through the above steps Update processing.
Second aspect, the embodiment of the invention provides a kind of train automatic monitoring system yard switching control, such as Fig. 5 It is shown, including, processing unit 201 is used for:
For the station yard data having shown that being stored in memory, if judging the data hit rate of the station yard data And data duration meets setting condition, then the station yard data is moved in caching and is stored;
It, will be described if judging to be switched station yard data storage in the buffer when needing to carry out yard changing interface Station yard data is loaded into memory from caching and is shown;
Wherein, the data hit rate is for describing the frequency that the station yard data is shown, the data duration is for retouching State the residence time of the last display of station yard data distance in memory;The setting condition includes: that data hit rate reaches To hit rate threshold value and data duration reaches the first duration or data hit rate is not up to hit rate threshold value and data duration reaches Second duration.
Optionally, the processing unit 201 is also used to:
If judging, the data hit rate of the station yard data and data duration are unsatisfactory for the setting condition, will be described Station yard data is resident in memory.
Optionally, the processing unit 201 is also used to:
When needing to carry out yard changing interface, if judging, to be switched station yard data is stored in memory, directly aobvious Show the station yard data;
If judging, to be switched station yard data is stored in local hard drive, the station yard data is loaded, by specified It is stored in memory and is shown after data structure conversion.
Optionally, it is stored with system data maintenance table in memory, is stored with each station in the system data maintenance table The data hit rate of field data, the display number of station yard data, data access times and display moment;The data time use Number is that station yard data shows that number and station yard data are loaded on the sum of number of memory;
The system data maintenance table further includes that the call number of each station yard data or station yard data title and data are deposited Storage state, the state data memory is for describing the currently stored position of the station yard data.
Optionally, it is based on above system data maintenance table, the processing unit 201 judges depositing for be switched station yard data Storage space is set, comprising:
According to the call number of to be switched station yard data or station yard data title, carried out in the system data maintenance table It searches;
If record has the station yard data in the system data maintenance table, according to the corresponding data of the station yard data Storage state determines its storage location.
Optionally, it is based on above system data maintenance table, the processing unit 201 is also used to:
The station yard data in the system data maintenance table is updated after storage location change for each station yard data Corresponding state data memory.
Optionally, it is based on above system data maintenance table, the processing unit 201 is also used to:
After each station yard data is shown, when updating the corresponding data hit rate of the station yard data and the display It carves.
Optionally, it is based on above system data maintenance table, the processing unit 201 is also used to:
According to the state data memory of each station yard data in the system data maintenance table, if judgement is stored in memory Station yard data reach preset storage cap, then each station yard data being stored in memory is arranged by data hit rate The station yard data that hit rate is less than specified threshold is moved in caching and stores by sequence.
Optionally, it is based on above system data maintenance table, the data hit rate is calculated by following formula:
Data hit rate=station yard data display number/(data access times+1).
Optionally, be based on above system data maintenance table, when the data at the time of a length of current system with the display The difference at moment.
Since the train automatic monitoring system yard switching control that the present embodiment is introduced is that can execute the present invention The device of train automatic monitoring system yard method for handover control in embodiment, so based on described in the embodiment of the present invention Train automatic monitoring system yard switching control method, those skilled in the art can understand the train of the present embodiment The specific embodiment of automatic monitored control system yard switching control and its various change form, so herein for the column How vehicle automatic monitored control system yard switching control realizes that the train automatic monitoring system yard in the embodiment of the present invention is cut Control method is changed no longer to be discussed in detail.As long as those skilled in the art implement train automatic monitoring system in the embodiment of the present invention Device used by system yard method for handover control, belongs to the range to be protected of the application.
Fig. 6 shows the structural block diagram of computer equipment provided in an embodiment of the present invention.
Referring to Fig. 6, the computer equipment, comprising: processor (processor) 301, memory (memory) 302 and Bus 303;
Wherein, the processor 301 and memory 302 complete mutual communication by the bus 303.
The processor 301 is used to call the program instruction in the memory 302, to execute above-mentioned each method embodiment Provided method.
A kind of computer program product is also disclosed in the embodiment of the present invention, and the computer program product is non-temporary including being stored in Computer program on state computer readable storage medium, the computer program include program instruction, when described program instructs When being computer-executed, computer is able to carry out method provided by above-mentioned each method embodiment.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, and the non-transient computer is readable to deposit Storage media stores computer instruction, and the computer instruction makes the computer execute side provided by above-mentioned each method embodiment Method.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Certain unit embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize gateway according to an embodiment of the present invention, proxy server, in system Some or all components some or all functions.The present invention is also implemented as executing side as described herein Some or all device or device programs (for example, computer program and computer program product) of method.It is such It realizes that program of the invention can store on a computer-readable medium, or can have the shape of one or more signal Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (8)

1. a kind of train automatic monitoring system yard method for handover control characterized by comprising
For the station yard data having shown that being stored in memory, if judge the station yard data data hit rate and Data duration, which meets, to impose a condition, then the station yard data is moved in caching and is stored;
When needing to carry out yard changing interface, if to be switched station yard data storage is judged in the buffer, by the yard Data are loaded into memory from caching and are shown;
Wherein, the data hit rate is for describing the frequency that the station yard data is shown, the data duration is for describing institute State the residence time of the last display of station yard data distance in memory;The setting condition includes: that data hit rate reaches life Middle rate threshold value and data duration reach the first duration or data hit rate is not up to hit rate threshold value and data duration reaches second Duration;
It is stored with system data maintenance table in memory, the data of each station yard data are stored in the system data maintenance table Hit rate, the display number of station yard data, data access times and display moment;The data access times are station yard data Display number and station yard data are loaded on the sum of number of memory;
The system data maintenance table further include each station yard data call number or station yard data title and data storage shape State, the state data memory is for describing the currently stored position of the station yard data;
Judge the storage location of to be switched station yard data, comprising:
According to the call number of to be switched station yard data or station yard data title, looked into the system data maintenance table It looks for;
If record has the station yard data in the system data maintenance table, stored according to the corresponding data of the station yard data State determines its storage location.
2. the method according to claim 1, wherein the method also includes:
If judging, the data hit rate of the station yard data and data duration are unsatisfactory for the setting condition, by the yard Data are resident in memory.
3. the method according to claim 1, wherein the method also includes:
When needing to carry out yard changing interface, if judging, to be switched station yard data is stored in memory, and directly displays institute State station yard data;
If judging, to be switched station yard data is stored in local hard drive, is loaded the station yard data, is passed through specified data It is stored in memory and is shown after structure conversion.
4. the method according to claim 1, wherein the method also includes:
For each station yard data, after storage location change, it is corresponding to update the station yard data in the system data maintenance table State data memory.
5. the method according to claim 1, wherein the method also includes:
After each station yard data is shown, the corresponding data hit rate of the station yard data and the display moment are updated.
6. the method according to claim 1, wherein the method also includes:
According to the state data memory of each station yard data in the system data maintenance table, if the station that judgement is stored in memory Field data reaches preset storage cap, then is ranked up each station yard data being stored in memory by data hit rate, The station yard data that hit rate is less than specified threshold is moved in caching and is stored.
7. the method according to claim 1, wherein the data hit rate is calculated by following formula:
Data hit rate=station yard data display number/(data access times+1).
8. the method according to claim 1, wherein being shown at the time of a length of current system with described when the data Show the difference at moment.
CN201711023331.7A 2017-10-27 2017-10-27 Train automatic monitoring system yard method for handover control Active CN107703921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711023331.7A CN107703921B (en) 2017-10-27 2017-10-27 Train automatic monitoring system yard method for handover control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711023331.7A CN107703921B (en) 2017-10-27 2017-10-27 Train automatic monitoring system yard method for handover control

Publications (2)

Publication Number Publication Date
CN107703921A CN107703921A (en) 2018-02-16
CN107703921B true CN107703921B (en) 2019-09-24

Family

ID=61183218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711023331.7A Active CN107703921B (en) 2017-10-27 2017-10-27 Train automatic monitoring system yard method for handover control

Country Status (1)

Country Link
CN (1) CN107703921B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541602A (en) * 2011-12-28 2012-07-04 用友软件股份有限公司 Interface preloading device and interface preloading method
CN102663096A (en) * 2012-04-11 2012-09-12 北京像素软件科技股份有限公司 Method for reading data based on data cache technology
CN103177005A (en) * 2011-12-21 2013-06-26 深圳市腾讯计算机***有限公司 Processing method and system of data access
CN105335520A (en) * 2015-11-24 2016-02-17 北京交控科技有限公司 Data processing method based on subway integrated automation system and processor
CN106982388A (en) * 2017-04-06 2017-07-25 深圳创维-Rgb电子有限公司 The display methods and device of a kind of picture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103177005A (en) * 2011-12-21 2013-06-26 深圳市腾讯计算机***有限公司 Processing method and system of data access
CN102541602A (en) * 2011-12-28 2012-07-04 用友软件股份有限公司 Interface preloading device and interface preloading method
CN102663096A (en) * 2012-04-11 2012-09-12 北京像素软件科技股份有限公司 Method for reading data based on data cache technology
CN105335520A (en) * 2015-11-24 2016-02-17 北京交控科技有限公司 Data processing method based on subway integrated automation system and processor
CN106982388A (en) * 2017-04-06 2017-07-25 深圳创维-Rgb电子有限公司 The display methods and device of a kind of picture

Also Published As

Publication number Publication date
CN107703921A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN103927261B (en) For the efficiently distribution simplifying supply storage and the method and system reclaimed
CN105338078B (en) Date storage method and device for storage system
CN104516678B (en) Method and apparatus for data storage
CN104881333A (en) Storage system and method for using same
CN105430478B (en) A kind of network video buffered play method, apparatus and television set
CN104756094B (en) The communication that message signal interrupts
CN105207947A (en) rogressive flow scheduling method and system capable of filtering vibration
CN107016014A (en) The method of data synchronization and device of heterogeneous database
CN104092748A (en) Method and device for APP operation control
CN103677878A (en) Method and device for patching
KR20130065019A (en) System and method of resource management of centralized base station in mobile communication network
CN106919471A (en) For the method and system that snapshot is set up
CN109783468A (en) Database switching method and system, medium and computer system
CN105577408A (en) Method of VNFM disaster recovery protection, apparatus and NFVO thereof
CN102064962A (en) Method for implementing input and output assemblies of ATS (Automatic Train Supervision) system based on named pipeline communication
CN106649146A (en) Memory release method and apparatus
CN105302830A (en) Map tile caching method and apparatus
CN102982182A (en) Data storage planning method and device
CN106960054A (en) The access method and device of data file
CN102291309B (en) Token ring based network flow control method and system and node
WO2021248785A1 (en) Memory clean-up method, smart terminal, and readable storage medium
CN102230804A (en) Method for updating and displaying navigation route of real-time traffic status and navigation server
CN107703921B (en) Train automatic monitoring system yard method for handover control
CN111124808A (en) Distributed storage monitoring method, system, equipment and computer storage medium
CN105760251B (en) A kind of method and apparatus of Backup Data

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