CN105930577A - High-speed maglev traffic simulation-oriented data version control method - Google Patents

High-speed maglev traffic simulation-oriented data version control method Download PDF

Info

Publication number
CN105930577A
CN105930577A CN201610242893.XA CN201610242893A CN105930577A CN 105930577 A CN105930577 A CN 105930577A CN 201610242893 A CN201610242893 A CN 201610242893A CN 105930577 A CN105930577 A CN 105930577A
Authority
CN
China
Prior art keywords
data
version
version control
control table
database
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
CN201610242893.XA
Other languages
Chinese (zh)
Inventor
袁时金
林晔
穆斌
张旭彤
马骕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tongji University
Original Assignee
Tongji University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tongji University filed Critical Tongji University
Priority to CN201610242893.XA priority Critical patent/CN105930577A/en
Publication of CN105930577A publication Critical patent/CN105930577A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a high-speed maglev traffic simulation-oriented data version control method, which is used for data version control of a traffic simulation system. The method comprises the following steps of (1) designing a database version control table according to a working process; (2) designing a database operation interface; (3) designing an application server interface, wherein the application server interface is used for each subsystem to access a database in computation; and (4) loading the data version control table by a computer in the high-speed maglev traffic simulation-oriented system through the database operation interface, and calling the database version control table through the application server interface. Compared with the prior art, the method has the advantages of high reliability and the like.

Description

A kind of data version control method towards high speed Maglev emulation
Technical field
The invention belongs to high speed Maglev design of Simulation field, especially relate to a kind of imitative towards high speed Maglev Genuine data version control method.
Background technology
A major issue in high speed Maglev simulation process is the management of versions of data, storage and maintenance problem. The unified entirety that synthetic simulation environment is made up of multiple subsystems, during system work, data stream runs through each subsystem The functional module of system, analogue system, by based on the interactive relation between subsystems, completes emulation according to set flow process Computing.If directly each versions of data is carried out storage will result in confusion, it is unfavorable for checking of versions of data. Past a lot of versions of data controls the storage that the time that is all based on carries out, but emulation based on high speed Maglev The versions of data of computing does not has specific time-dependent relation.
Summary of the invention
Defect that the purpose of the present invention is contemplated to overcome above-mentioned prior art to exist and tie by setting up a kind of tree-shaped Structure records this data input/output relation, it is provided that a kind of validity and reliability strengthening versions of data storage Data version control method towards high speed Maglev emulation.
The purpose of the present invention can be achieved through the following technical solutions: a kind of number towards high speed Maglev emulation According to edition control method, the versions of data for traffic simulating system controls, and the method comprises the following steps:
(1) according to workflow design database version control table, described database version control table uses The input/output relation of tree record data;
(2) interface is operated according to database version control table design database;
(3) designing application server interface according to database version control table, described application server interface is used Data base is accessed in the calculation in subsystems;
(4) loaded towards the computer in high speed Maglev analogue system by described database manipulation interface Versions of data control table, calls database version control table by application server interface.
Described workflow includes line track linear analysis and check system circuit is linear and comfort level verification stream The design of journey (ALS), traction power supply and analysis analogue system draw partition scheme design cycle (PPS) and transport group Knit design and analyze the analogue system table time of running and service chart design cycle (TOS).
In described database version control table, every data line represents certain calculating process, and each column data represents ginseng Computing module with computing exports the numbering of result.
The output result using the described computing module of calculation of the same race preserves with version, and forms version Set.
The result of calculation in the version set that calculation of the same race obtains is used to have no time dependence, and the most only Vertical.
Described database manipulation interface loads for data and data store, and data load alternative input data It is loaded in the submodule input treating computing by versions of data control table according to the key message obtained in UI.
Described step (3) particularly as follows:
(301) load the parameter needed for calculating: same to user interface interaction, obtain the calculating number that must load from terminal According to source, numbered by selected data or keyword, notify synthetic simulation environment, synthetic simulation environment by one or Multiple data numbers or keyword, obtain the data number that inquiry is relied on from versions of data control table.Data version After this control table obtains the numbering that data are relied on, number according to these, from project database, obtain the fortune of reality Count evidence, and is loaded into user interface;
(302) result of calculation is preserved: current result of calculation and data are saved in the corresponding table of global database, Then, provide it to complete to calculate involved input data number and output data number to synthetic simulation environment, and New record is increased in versions of data control table.
Dependence between simulation calculation of the present invention represents with tree.Whole single simulation calculation process is chain type, Calculate node on chain calculates the input result of calculation from previous node.The result of calculation of previous node can be divided into many Individual version, can produce multiple input branch, can carry out a set of independent simulation calculating for each branch.
Input data are loaded into the submodule treating computing by Version Control table, simultaneously when storage to data base, and Shi Gengxin version table.
Load for data and data storage separately designs two set functions to realize application server interface design.
Compared with prior art, the present invention records the input/output relation of data by setting up a kind of tree, To strengthen the validity and reliability of versions of data storage.
Accompanying drawing explanation
Fig. 1 is version management tree diagram.
Detailed description of the invention
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.
A kind of data version control method towards high speed Maglev emulation, for the data version of traffic simulating system This control, the method comprises the following steps:
(1) according to workflow design database version control table;Workflow includes line track linear analysis And check system circuit is linear and comfort level checking process (ALS), traction power supply design and analysis analogue system are led Draw partition scheme design cycle (PPS) and Transportation Organization design and analyze the analogue system table time of running and service chart Design cycle (TOS);Database version control table uses the input/output relation of tree record data;
(2) design database operation interface;
(3) design application server interface, described application server interface is for subsystems in the calculation Access data base;Particularly as follows: the parameter needed for (301) loading calculating: same to user interface interaction, obtains from terminal Take the calculating data source that must load, numbered by selected data or keyword, notify synthetic simulation environment, comprehensively imitate True system, by one or more data numbers or keyword, obtains what inquiry was relied on from versions of data control table Data number.After versions of data control table obtains the numbering that data are relied on, number according to these, from project data Storehouse obtains the operational data of reality, and is loaded into user interface;
(302) result of calculation is preserved: current result of calculation and data are saved in the corresponding table of global database, Then, provide it to complete to calculate involved input data number and output data number to synthetic simulation environment, and New record is increased in versions of data control table.
(4) loaded towards the computer in high speed Maglev analogue system by described database manipulation interface Versions of data control table, calls database version control table by application server interface.
In database version control table, every data line represents certain calculating process, and each column data represents participation computing Computing module output result numbering.
The output result using the computing module of calculation of the same race preserves with version, and forms version set.
The result of calculation in the version set that calculation of the same race obtains is used to have no time dependence, and the most only Vertical.
Database manipulation interface for data load and data store, data load by alternative input data according to The key message obtained in UI is loaded into by versions of data control table in the submodule input treating computing.
Dependence between simulation calculation of the present invention represents with tree.Whole single simulation calculation process is chain type, Calculate node on chain calculates the input result of calculation from previous node.The result of calculation of previous node can be divided into many Individual version, can produce multiple input branch, can carry out a set of independent simulation calculating for each branch.
Input data are loaded into the submodule treating computing by Version Control table, simultaneously when storage to data base, and Shi Gengxin version table.
Load for data and data storage separately designs two set functions to realize application server interface design.
It is designed as a example by ALS below:
1. database table design
1) design basis
Linear and comfort level checking process the workflow of ALS circuit is the design basis of versions of data control table, Being known by Specification, its workflow can be divided into 6 sub-calculating processes, respectively with in versions of data table 1 In 6 lists show, as follows:
Table 1
Every a line record in table is used to represent certain calculating process, for determining that relating to this time calculates the number of process According to stream, correspondence position in row is stored in its numbering calculating output result by the computing module participating in computing.
Based on this method, by checking the data record case often gone, both from column, whether can have data Obtain this time and calculate the progress of process, it is also possible to the data from row obtain each submodule during this time calculates and produce The data result of raw particular version.
2) it is described with reference to Figure of description
As it is shown in figure 1, rectangle frame represents an independent calculating branch, the circular node being connected in branch represents A result of calculation (a corresponding version) on current branch.Have no time between the result of calculation of each version Dependence, and do not rely on the result of calculation of other versions.The circular node table that in figure, 0 ', 2 ', 1,2 ' and 0 ' are residing Show that subsystem is committed to the result of calculation of total system, be available for other subsystems as design input.In figure, straight line institute Being shown as chain type and calculate process, after producing each version branch, whole version view launches with tree-shaped.
With reference to table 2, the present invention is further explained.
Table 2
For calculating process every time, represented by row independent in form, in representing below for often row information Appearance explains:
A) from 0 version of designing institute
B) from 1 version of designing institute
C) from 2 versions of designing institute
D) from 3 versions of designing institute
E) the ALS initial speed limit version 0 generated based on circuit version 0 and refinement version 0
F) the ALS initial speed limit version 1 generated based on circuit version 0 and refinement version 1
G) the OCS speed limit version 0 generated based on the refinement initial speed limit version 1 of circuit version 1 and ALS
H) the OCS speed limit version 1 generated based on the refinement initial speed limit version 1 of circuit version 1 and ALS
I) the OCS speed limit version 2 generated based on the refinement initial speed limit version 1 of circuit version 1 and ALS
J) PPS generated based on refinement circuit version 1, OCS speed limit version 2 and ALS initial speed limit version 1 Rate curve version 0
K) PPS generated based on refinement circuit version 1, OCS speed limit version 2 and ALS initial speed limit version 1 Rate curve version 1
L) PPS generated based on refinement circuit version 1, OCS speed limit version 2 and ALS initial speed limit version 1 Rate curve version 2
M) based on refinement circuit version 1, OCS speed limit version 2, ALS initial speed limit version 1 and PPS speed The speed limit that curve version 0 generates is checked and comfort level version 0.
The related data information of all of calculating process and procedural information all can be drawn by the data of often row record.
2. database manipulation Interface design
Data load and are mainly used according to the key message obtained in UI, alternative input data are passed through Version Control Table is loaded in the submodule input treating computing, is chosen suitably input data by user and count in Practical Calculation Calculating, the effect of Version Control table is to ensure that version concordance, forbids that data separate between load application version are for user Use.
When storage to data base, need the version table that upgrades in time.Therefore, the data of result of calculation store project After data base, need according to currently calculating the version information relied on, together with object information with the form of new record Add in Version Control table.
3.ALS application server interface designs
Application server interface is to be exposed to subsystems, has been used for that ALS circuit is linear and comfort level verification In flow process data load and data storage remote method, subsystems in the calculation for data base operation all Completed by these interfaces.
(1) calculating desired parameters is loaded
Each calculating process in and comfort level checking process linear for ALS circuit, data load can be divided into two Step operation, is completed by two set functions:
1) same to user interface interaction, from terminal obtain must load calculating data source, numbered by selected data or Keyword, notify synthetic simulation environment, synthetic simulation environment will by one or more data numbers or keyword, The data number that inquiry is relied on is obtained from Version Control table.The function, method and the query statement that relate to are by always Body completes.
2) after control table obtains the numbering that data are relied on, according to these numberings (inputting as function), in project Data base obtains the operational data of reality, and is loaded into user interface.The function related to and query statement are by each Subsystem responsible is write, and is totally responsible for integration.
(2) preserve calculating and complete result
Each calculating process in and comfort level checking process linear for ALS circuit, data storage also can be divided into two Step operation, is completed by two set functions:
1), after having calculated, current result of calculation and data are saved in the corresponding table of global database.Relate to Function, database manipulation is completed by subsystems, is totally responsible for integration.
2) after preserving results of calculation, it should be provided to complete to calculate involved input to synthetic simulation environment Data number, and output data number, and notification version control function.Version Control device will be compiled in conjunction with input data Number, complete the filling of predecessor information and add the data number of result of calculation, increasing new in Version Control table Record.

Claims (7)

1. towards a data version control method for high speed Maglev emulation, for the number of traffic simulating system According to Version Control, it is characterised in that the method comprises the following steps:
(1) according to workflow design database version control table, described database version control table uses The input/output relation of tree record data;
(2) interface is operated according to database version control table design database;
(3) designing application server interface according to database version control table, described application server interface is used In accessing data base in the calculation towards the subsystems in high speed Maglev analogue system;
(4) loaded towards the computer in high speed Maglev analogue system by described database manipulation interface Versions of data control table, calls database version control table by application server interface.
A kind of data version control method towards high speed Maglev emulation the most according to claim 1, It is characterized in that, described workflow includes line track linear analysis and check system circuit is linear and comfort level Checking process, traction power supply design and analyze analogue system traction partition scheme design cycle and Transportation Organization design and Analyze the analogue system table time of running and service chart design cycle.
A kind of data version control method towards high speed Maglev emulation the most according to claim 1, It is characterized in that, in described database version control table, every data line represents certain calculating process, each columns According to the numbering representing the computing module output result participating in computing.
A kind of data version control method towards high speed Maglev emulation the most according to claim 3, It is characterized in that, use the output result of the described computing module of calculation of the same race to preserve with version, and Composition version set.
A kind of data version control method towards high speed Maglev emulation the most according to claim 4, It is characterized in that, use the result of calculation in the version set that calculation of the same race obtains to have no time dependence, And it is separate.
A kind of data version control method towards high speed Maglev emulation the most according to claim 3, It is characterized in that, described database manipulation interface loads for data and data store, and data load alternative Input data are loaded into by versions of data control table according to the key message obtained in UI and treat that the submodule of computing is defeated In entering.
A kind of data version control method towards high speed Maglev emulation the most according to claim 3, It is characterized in that, described step (3) particularly as follows:
(301) load the parameter needed for calculating: same to user interface interaction, obtain the calculating number that must load from terminal According to source, numbered by selected data or keyword, notify synthetic simulation environment, synthetic simulation environment by one or Multiple data numbers or keyword, obtain the data number that inquiry is relied on, data version from versions of data control table After this control table obtains the numbering that data are relied on, number according to these, from project database, obtain the fortune of reality Count evidence, and is loaded into user interface;
(302) result of calculation is preserved: current result of calculation and data are saved in the corresponding table of global database, Then, provide it to complete to calculate involved input data number and output data number to synthetic simulation environment, and New record is increased in versions of data control table.
CN201610242893.XA 2016-04-19 2016-04-19 High-speed maglev traffic simulation-oriented data version control method Pending CN105930577A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610242893.XA CN105930577A (en) 2016-04-19 2016-04-19 High-speed maglev traffic simulation-oriented data version control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610242893.XA CN105930577A (en) 2016-04-19 2016-04-19 High-speed maglev traffic simulation-oriented data version control method

Publications (1)

Publication Number Publication Date
CN105930577A true CN105930577A (en) 2016-09-07

Family

ID=56838420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610242893.XA Pending CN105930577A (en) 2016-04-19 2016-04-19 High-speed maglev traffic simulation-oriented data version control method

Country Status (1)

Country Link
CN (1) CN105930577A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093486A1 (en) * 2009-10-15 2011-04-21 Institute For Information Industry Data query method, data query system and computer readable and writable recording medium
CN103870576A (en) * 2014-03-20 2014-06-18 中国空间技术研究院 Satellite basic data version control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110093486A1 (en) * 2009-10-15 2011-04-21 Institute For Information Industry Data query method, data query system and computer readable and writable recording medium
CN103870576A (en) * 2014-03-20 2014-06-18 中国空间技术研究院 Satellite basic data version control method

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
JAVIER RIOS等: "a web services discovery and automatic workflow composition tool", 《BMC BIOINFORMATICS》 *
刘文杰: "基于工作流的高速磁浮综合仿真系统", 《科技传播》 *
胡慧研: "基于工作流的协同项目管理系统", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Similar Documents

Publication Publication Date Title
US8943059B2 (en) Systems and methods for merging source records in accordance with survivorship rules
CN104123374B (en) The method and device of aggregate query in distributed data base
CN102982075B (en) Support to access the system and method for heterogeneous data source
CN104268428B (en) A kind of visual configuration method calculated for index
CN109118353B (en) Data processing method and device of wind control model
CN106649212A (en) Business data processing method and device
CN112115152B (en) Data increment updating and inquiring method and device, electronic equipment and storage medium
US9098630B2 (en) Data selection
CN108182063A (en) A kind of implementation method of big data analysis visual configuration
CN111078094B (en) Distributed machine learning visualization device
CN103903086A (en) Method and system for developing management information system based on service model driving
US20160154840A1 (en) Avoid double counting of mapped database data
JP7098327B2 (en) Information processing system, function creation method and function creation program
CN112883042A (en) Data updating and displaying method and device, electronic equipment and storage medium
CN106293891A (en) Multidimensional investment target measure of supervision
CN110019116A (en) Data traceability method, apparatus, data processing equipment and computer storage medium
CN105446952B (en) For handling the method and system of semantic segment
CN105183880A (en) Hash join method and device
CN103577431A (en) Method, device and system for performing system design through multiple databases
CN108664657A (en) A kind of big data method for scheduling task, electronic equipment, storage medium and platform
CN108255479A (en) Creation method, device, storage medium and the terminal of cube files
CN107391622A (en) A kind of data access method and equipment
SE0202593D0 (en) A Computer program product and associated methods for searching a database of objects, connecting objects in such a database, and exporting data from at least arbitrary database
CN104346378B (en) A kind of method, apparatus and system for realizing complex data processing
US11775564B2 (en) Method and apparatus for processing data

Legal Events

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

Application publication date: 20160907

RJ01 Rejection of invention patent application after publication