WO2023280140A1 - Global-based inventory management system and method - Google Patents

Global-based inventory management system and method Download PDF

Info

Publication number
WO2023280140A1
WO2023280140A1 PCT/CN2022/103810 CN2022103810W WO2023280140A1 WO 2023280140 A1 WO2023280140 A1 WO 2023280140A1 CN 2022103810 W CN2022103810 W CN 2022103810W WO 2023280140 A1 WO2023280140 A1 WO 2023280140A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
existing vehicle
service layer
layer
management system
Prior art date
Application number
PCT/CN2022/103810
Other languages
French (fr)
Chinese (zh)
Inventor
谢飞
苏斌
刘永壮
燕翔
龙昭
Original Assignee
北京全路通信信号研究设计院集团有限公司
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 北京全路通信信号研究设计院集团有限公司 filed Critical 北京全路通信信号研究设计院集团有限公司
Publication of WO2023280140A1 publication Critical patent/WO2023280140A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations

Definitions

  • the invention belongs to the field of railway management systems, and in particular relates to a global-based existing vehicle management system and a method thereof.
  • the railway vehicle management system is used to manage the information of railway freight vehicles, including the location tracking information of each carriage, cargo loading and unloading information, vehicle operation status information, etc.
  • the information systems with the function of existing vehicle management system on the market mainly include CIPS system (Comprehensive Integrated Automation System for Marshalling Station), SMIS system (Station Integrated Management Information System), centralized existing vehicle system, and whole-process transportation system.
  • CIPS system Comprehensive Integrated Automation System for Marshalling Station
  • SMIS system Stimulation Integrated Management Information System
  • centralized existing vehicle system and whole-process transportation system.
  • the number of stations managed can be divided into single-station existing vehicle management system and multi-station existing vehicle management system.
  • the CIPS system is representative and has a large market share.
  • CIPS was developed by Beijing Quanlu Communication Signal Research and Design Institute Co., Ltd., and the system has been widely promoted in new and existing marshalling stations and factories and mines.
  • the CIPS system is connected with the control system, sends end-to-end commands to the interlocking system and receives processing feedback information, and automatically adjusts decisions according to the feedback information, thereby realizing comprehensive informationization and automation in the marshalling station.
  • CIPS information system adopts C/S structure, that is, client/server structure.
  • the client program sends commands to the server, and the server receives the client commands, processes the corresponding business logic and returns the processing results to the client, and at the same time broadcasts the latest data and saves it in the database.
  • Other clients in the local area network receive the latest broadcast data and update the interface, so that the data of all clients can be updated synchronously.
  • the position and state changes of the existing vehicle are estimated through the vehicle operation process, and the actual existing vehicle and the planned existing vehicle are calculated in real time according to the vehicle operation process that has completed the operation and the vehicle operation process that has not completed the operation.
  • Each station needs to deploy a set of independent servers, databases, and clients. Data sharing between stations cannot be realized, and vehicle information cannot be tracked across the entire line or even globally. At the same time, client programs need to be installed and deployed on each machine. And it only supports the Windows operating system, which increases the complexity of the installation, deployment and maintenance of the entire system.
  • SMIS single-station existing vehicle management systems
  • SMIS was developed by the Academy of Railway Sciences, and the system has been widely promoted in the technical operation stations of the railway Bureau.
  • SMIS organically combines the five major items of transportation management, dispatching supervision, vehicle number identification, wireless shunting order transmission, and locomotive positioning to realize parallel management of existing vehicles at multiple stations.
  • SMIS system adopts B/S structure, that is, browser/server structure. The user accesses through the browser, the parallel service sends the access request, the server receives the browser request, processes the corresponding business logic and returns the processing result to the browser, and at the same time broadcasts the latest data and saves it in the database.
  • the state of the current vehicle is changed by receiving the modification request, and the position of the current vehicle is estimated by the confirmation report of the vehicle receiving and dispatching and the shunting plan.
  • SMIS is widely used in railway dispatching and supports multi-station management, but the number of stations that can be managed at the same time is limited. Limited by the traditional B/S architecture that restricts its large data volume parallel computing, the SMIS system only supports the calculation of a single shunting plan. Station dispatchers cannot pre-program multiple shunting plans in advance, and cannot realize advanced planning and current train calculations.
  • the existing railway vehicle management system mainly has the following shortcomings:
  • the single-station existing vehicle management system cannot realize multi-station existing vehicle data sharing.
  • the single-station existing vehicle management system needs to be equipped with its own server, database, and client, and the equipment and system operation and maintenance costs are relatively high.
  • the multi-station existing vehicle management system is limited by the system architecture, and the number of stations that can be supported at the same time is limited. With the increase in the number of stations and the amount of data calculations, it is difficult to ensure the real-time and accuracy of existing vehicle data.
  • the present invention discloses a global-based existing vehicle management system, which includes a client, an application aggregation service layer, an application kernel service layer and a database layer;
  • the client is used for human-computer interaction work on the global-based existing vehicle management system
  • the application kernel service layer is used to implement core business logic and provide external services through the application aggregation service layer;
  • the application aggregation service layer is used for all microservices of the application kernel service layer, decoupling the client, the kernel service layer and external systems;
  • the database layer communicates with the application kernel service layer to provide data storage and data call for the application kernel service layer.
  • the client is implemented based on a browser and adopts a WebUI framework.
  • the client includes the current vehicle distribution interface, the shunting plan management interface, the technical operation chart, the receiving and dispatching table, the statistical analysis interface and the system maintenance interface.
  • the application aggregation service layer includes a Web application aggregation service and an interface micro-service platform;
  • the Web application aggregation service is used to provide a unified service API for all PCs and APPs;
  • the interface micro-service platform is used to abstract the interface part of the external system into a separate interface layer, which is separated from the business layer.
  • the external system includes planning and dispatching information system, locomotive depot information system, vehicle dispatching information system, freight dispatching information system, vehicle number identification system and construction management information system.
  • the application kernel service layer includes multiple kernel services, each kernel service is relatively independent, the kernel services are loosely coupled to each other, and communicate through RESful and/or message middleware.
  • the multiple core service layers include existing vehicle service, driving service, statistical decision analysis, rights management service, basic data management and log management.
  • the core service adopts the form of a single program based on the SpringBoot framework, independently publishes the service interface to the outside, and obtains the services of other single core programs by calling the service interface.
  • the service interface is managed in a document-agreed manner; when the service scale is higher than the first set value, the number of interfaces is greater than In the second setting value, deployment service discovery is used to realize automatic service registration and discovery functions and simplify calls between microservices.
  • application kernel service layer is connected with public components, and the public components are used for multiplexing of common functions among business components.
  • public components include authentication and authorization modules, user operation records, general entity objects, and general tool classes.
  • the global-based existing vehicle management system adopts SOA B/S micro-service architecture.
  • the present invention also discloses a global-based existing vehicle management method, which includes the following steps:
  • S1 Use the application kernel service layer to implement core business logic, and provide external services through the application aggregation service layer;
  • S2 Use the application aggregation service layer to aggregate all the microservices of the application kernel service layer, and decouple the client, kernel service layer and external systems;
  • S3 use the database layer to communicate with the application kernel service layer, and provide data storage and data call for the application kernel service layer;
  • S4 Use the client to perform human-computer interaction on the global-based existing vehicle management system.
  • step S1 adopts the form of a single program based on the SpringBoot framework, independently publishes service interfaces externally, and obtains services of other single core programs through service interface calls.
  • the application aggregation service layer in the step S2 includes a web application aggregation service and an interface microservice platform;
  • the Web application aggregation service is used to provide a unified service API for all PCs and APPs;
  • the interface micro-service platform is used to abstract the interface part of the external system into a separate interface layer, which is separated from the business layer.
  • the service interface is managed in a document-agreed manner; when the service scale is higher than the first set value, the number of interfaces is greater than In the second setting value, deployment service discovery is used to realize automatic service registration and discovery functions and simplify calls between microservices.
  • step S4 is implemented based on a browser, using a WebUI framework.
  • the invention has the advantages of realizing real-time sharing of existing vehicle data of multi-station data and realizing collaborative management of multi-station existing vehicles.
  • Fig. 1 shows a technical architecture diagram of an existing vehicle management system according to an embodiment of the present invention
  • Fig. 2 shows the data model according to the CIPS system in the prior art
  • Fig. 3 shows the data model diagram according to the data model in the embodiment of the present invention
  • Fig. 4 shows the flow chart of the present vehicle distribution estimation method according to the embodiment of the present invention
  • FIG. 5 shows a schematic diagram of a shunting plan list according to an embodiment of the present invention
  • Fig. 6 shows a schematic diagram of derivation of an existing vehicle distribution section according to an embodiment of the present invention
  • Fig. 7 shows a flow chart of calculating the tangent plane of the planned existing vehicle distribution when a new shunting plan is created according to an embodiment of the present invention
  • Fig. 8 shows a schematic flow diagram of calculating the tangential plane of the planned existing vehicle distribution when a new shunting plan is newly established according to an embodiment of the present invention
  • Fig. 9 shows a schematic flow chart of the calculation of the cut plane of the distribution of actual existing vehicles according to the shunting plan according to the embodiment of the present invention.
  • Fig. 10 shows a schematic flow chart of the calculation of the cut plane of the actual existing vehicle distribution when the points are not reported according to the shunting plan list according to the embodiment of the present invention
  • Fig. 11 shows a schematic diagram of car No. 0001 moving between lanes according to the shunting plan according to the embodiment of the present invention.
  • Fig. 1 shows a technical framework diagram of the existing vehicle management system.
  • the existing vehicle management system includes a client, an application aggregation service layer, an application kernel service layer and a database layer.
  • the existing vehicle management system adopts the B/S microservice framework based on SOA
  • the installation, deployment and system maintenance work of the human-computer interaction terminal can be simplified by adopting the B/S microservice framework based on SOA, and various business
  • the logic processing is dispersed in each micro-service to improve the parallel computing capability and data throughput of the existing vehicle management system.
  • the communication between the client and the application aggregation service layer and the application kernel service layer adopts a RESTful style lightweight API.
  • the existing vehicle management system can be used across platforms, for example, it can provide web pages, ios, android at the same time; in addition, the existing vehicle management system can effectively decouple the front and back.
  • the general status code can judge the return result. For example, the status code returned by the traditional webpage API is only 200, requiring developers to customize the communication status between the server and the client.
  • different status codes can be returned, such as the most commonly used 200 for success, 500 for internal server errors, and 403 for Bad Requests.
  • the client is used for man-machine interaction with the existing vehicle management system.
  • the client is a mobile phone APP and/or a PC.
  • the client is implemented based on a browser and uses a WebUI framework.
  • Browser-based implementation can simplify the installation and deployment of the client and system maintenance work, and the use of the WebUI framework can ensure a friendly user interface style and the convenience of subsequent software iterative upgrades.
  • the user interface is used to display an existing vehicle distribution interface, a shunting plan management interface, a technical operation chart, a dispatch table, a statistical analysis interface and a system maintenance interface.
  • Real-time viewing of the existing vehicle distribution can be realized through the client, the technical operation chart and statistical analysis model generated by the existing vehicle management system can be presented through the client, and all the existing vehicles can be analyzed through the client.
  • the above existing vehicle management system sends the vehicle shunting plan, and the system maintenance of the above existing vehicle management system can also be performed through the client.
  • the application aggregation service layer is used to aggregate all microservices of the application kernel service layer, and provide a unified access interface for external systems; it is also used to decouple the client, interface layer, application kernel service layer and external systems; the application kernel The service layer is used to provide external services through the application aggregation service layer.
  • the application aggregation service layer includes a Web application aggregation service and an interface micro-service platform.
  • the Web application aggregation service is used to provide a unified service API for all PC terminals and APP terminals, so that the existing vehicle management system only needs to develop a version of the service program, which can be applied to web pages and Android. There is no need to develop the Android version and the web version separately; the interface micro-service platform abstracts the interface part of the external system into a separate interface layer, which is separated from the business layer and avoids coupling with business logic. When there is a problem in the interaction process, it will not affect the business function of the system.
  • the application aggregation service layer undertakes the function of the service gateway, but does not have state persistence processing, so as to facilitate the loading and improve the throughput.
  • the application aggregation service layer is not only used to assume the function of the service gateway, but also used for load balancing. Load balancing refers to the even distribution of a large number of user access requirements to each server.
  • the existing vehicle management system is connected to the external system through the interface micro-service platform, and each interface service of the interface micro-service platform is an independent micro-service, and interacts with the external system through the application aggregation service layer .
  • the external systems include planning and dispatching information system, locomotive depot information system, vehicle dispatching information system, freight dispatching information system, vehicle number identification system and construction management information system.
  • the application core service layer is used to implement core business logic and provide external services through the application aggregation service layer.
  • the application kernel service layer includes multiple kernel services, each kernel service is independent of each other, and the kernel services are loosely coupled with each other, and communicate through RESTful or message queue.
  • the RESTful communication method is to send a request, wait for feedback, get feedback and process the feedback information. That is to say, kernel service A requests data from kernel service B and then waits for the return of kernel service B, and the communication is not completed until the return value of kernel service B is obtained.
  • kernel service A is performing calculations. During the calculation process, certain data of kernel service B must be used to complete the calculation. Therefore, it is necessary to use RESTful communication to request kernel service B. Kernel service A can get the data returned by kernel service B to complete the calculation. Continue to operate.
  • the advantage of this method is that if kernel service A wants certain data, it can obtain it from other services in real time, and the implementation method is simple.
  • the disadvantage is that the coupling with other services is too strong. Once the data of other services cannot be obtained, the kernel service A can only wait.
  • the message queue communication method is to directly throw messages into the message queue, and the information in the message queue is visible to other kernel services, and other kernel services take the message from the message queue to perform related calculations. Therefore, the coupling is low and there is no need to wait for each other, but it is not suitable for situations such as web page access.
  • the core service layer includes existing car service, driving service, statistical decision analysis, authority management service, basic data management and log management.
  • Each kernel service adopts the single program form of the SpringBoot framework, independently publishes the service interface externally, and obtains the services of other single kernel programs through the service interface calling method.
  • the document reading method is used to manage the interface.
  • the scale of the service expands, the number of interfaces of the kernel service layer increases, and service automatic registration and discovery functions can be implemented by deploying service discovery to simplify calls between microservices.
  • location information of the service needs to be provided externally, and the location information is usually an IP address and port information.
  • the location of the kernel service can be fixedly generated on the use side through configuration files or codes.
  • the document reading method is used to manage the interface, and information such as service address connection parameters is written into the document, and each kernel service is connected according to the preset connection method in the document.
  • the management method of document reading is more convenient.
  • Automatic service registration means that when a certain microservice expands the new service address or changes the address, it automatically registers the new address to the registration center. When a certain service address becomes invalid due to machine failure or other reasons, it automatically cancels the address to the registration center.
  • Service discovery means that when a client accesses a service, it automatically obtains an available access address through the registration center. Therefore, applications developed using the microservice architecture must solve this problem through service registration and discovery technologies.
  • the application kernel service layer is connected with public components, and the public components are used for multiplexing of communication functions among business components.
  • the public components include authorization modules, user operation records, general entity objects and general tool classes.
  • the authorization module can provide authorization functions for each microservice.
  • the database layer communicates with the application kernel service layer to provide data storage and data call for the application kernel service layer.
  • the present invention also discloses a global-based existing vehicle management method, which includes the following steps:
  • S1 Use the application kernel service layer to implement core business logic, and provide external services through the application aggregation service layer;
  • S2 Use the application aggregation service layer to aggregate all the microservices of the application kernel service layer, and decouple the client, kernel service layer and external systems;
  • S3 use the database layer to communicate with the application kernel service layer, and provide data storage and data call for the application kernel service layer;
  • S4 Use the client to perform human-computer interaction on the global-based existing vehicle management system.
  • step S1 adopts the form of a single program based on the SpringBoot framework, independently publishes service interfaces externally, and obtains services of other single core programs through service interface calls.
  • the application aggregation service layer in the step S2 includes a web application aggregation service and an interface microservice platform;
  • the Web application aggregation service is used to provide a unified service API for all PCs and APPs;
  • the interface micro-service platform is used to abstract the interface part of the external system into a separate interface layer, which is separated from the business layer.
  • the kernel service layer manages the service interfaces in a document-agreed manner; when the service scale is higher than the first set value, the number of interfaces is greater than the second set value.
  • the client in step S4 is implemented based on a browser, using a WebUI framework.
  • the client includes a current vehicle distribution interface, a shunting plan management interface, a technical operation chart, a dispatch table, a statistical analysis interface, and a system maintenance interface.
  • the invention also discloses a data model based on the global existing vehicle management system, and Fig. 3 shows a data model diagram of the data model.
  • the data model includes a station vehicle data set, a station data set and an in-transit vehicle data set, the station vehicle data set is used to store detailed information on vehicles staying in the station, and the station data set is used for Store the shunting plan and the current vehicle distribution data of the stock lane, the stock track current vehicle distribution data records the vehicle data pointers arranged in order in the stock track, the vehicle data pointer points to the vehicle detailed information in the station vehicle data set, the The Vehicles in Transit dataset is used to store detailed information about vehicles traveling en route.
  • the station vehicle data set stores vehicle detailed information in a hash table structure
  • the Key value in the hash table stores the car number of each train, which is required to be non-repeatable
  • the Value value stores other vehicle information.
  • the vehicle detailed information includes information such as vehicle number, model, cargo, load, and vehicle status.
  • the detailed information of the vehicle is stored through the hash table structure.
  • the vehicle data can be obtained directly from the hash table only according to the vehicle number.
  • the algorithm complexity is 0(1), which greatly saves the system
  • the calculation process saves system computing power.
  • the station data set includes actual existing vehicle data, planned existing vehicle data and shunting plan data.
  • Both the actual existing vehicle data and the planned existing vehicle data include a collection of lanes and vehicle relationships. What is stored in this collection is not real data, but an ordered list of data pointers.
  • the data pointers point to the station vehicle data set vehicle details. When the vehicle detailed information in the station vehicle data set is changed, the actual existing vehicle data and planned existing vehicle data will also be changed in time through the data pointer, without recalculating the actual existing vehicle data and planned existing vehicle data.
  • the shunting plan data is used to store the shunting plan sheet, and the actual existing vehicle data is deduced according to the shunting plan data to obtain the planned existing vehicle data.
  • the data model also includes an in-transit data set model, and the in-transit vehicle data set model is used to store train formation information.
  • the train formation information includes train formation catalog information and train formation content information.
  • the train formation directory records train numbers, train running lines, train arrival and departure types, train arrival and departure stations, and the like.
  • the train formation catalog points to the train formation content information, and the train formation content information includes the detailed information of all the vehicles carried by the current train and the sequence of the vehicles.
  • the arrangement order refers to the arrangement order of all the vehicles carried in the train. Exemplarily, the current station has three lanes, and vehicles are parked on each lane.
  • the vehicle data set of the station records the relationship data between the three lanes and vehicles, and the vehicle data pointer is stored in the relationship data between each lane and vehicles. an ordered list of .
  • a train formation information catalog and a train formation content will be generated in the vehicle data set in transit.
  • the train formation catalog information records the train number, train arrival type, train departure lane, Information such as the train departure track, the train formation content records the detailed information and arrangement order of all vehicles on the departure track.
  • the station vehicle data set deletes the vehicle data that has been sent away on the lane, and clears the relationship data between the lane and the vehicle in the station data set.
  • the train enters the next station add vehicle information to the vehicle data set at the station according to the train marshalling information and the receiving track, and add the receiving track and vehicle relationship data to the actual existing vehicle data of the corresponding station at the same time, according to the The shunting plan recalculates the planned current vehicle data.
  • the data model based on the global existing vehicle management system of the present invention runs faster, saves the calculation process of the system, and saves the computing power of the system.
  • the present invention also discloses a construction method of a data model based on the global existing vehicle management system.
  • the data model construction method includes the following steps:
  • S1 Construction of station vehicle data collection station data set.
  • S2 Store the vehicle detailed information in the station vehicle data set.
  • the vehicle detailed information includes vehicle number, model, cargo, load and vehicle status.
  • the vehicle detailed information in step S2 is stored in the station vehicle data set in a hash table structure, wherein the Key value in the hash table stores the vehicle number and cannot be repeated, and the Value value stores other information of the vehicle.
  • the station data set includes actual existing vehicle data and planned existing vehicle data; what is stored in the actual existing vehicle data and planned existing vehicle data is a set of relationship between lanes and vehicles, and in the set of relationship between lanes and vehicles What is stored is the vehicle data pointer.
  • S4 Use the client to perform human-computer interaction on the global-based existing vehicle management system.
  • the data model also includes an in-transit vehicle data set model
  • the vehicle data set model in transit is used to store train formation information, and the train formation information includes train formation catalog and train formation content;
  • the content of the train formation pointed to by the train formation directory records the detailed information and sequence of all vehicles carried in the train.
  • the data operation process based on the data model of the global existing vehicle management system includes the following steps:
  • the station data model stores the data of actual existing vehicles, planned existing vehicles and shunting plans.
  • the actual existing vehicle and the planned existing vehicle store a relationship table of stock lane and vehicle data pointers.
  • the vehicle data pointer points to the station vehicle data set.
  • the station vehicle data center stores all the information of the vehicles parked in the station.
  • the train formation data includes the train formation directory and the train formation content, and the train formation data is stored in the vehicle data set in transit.
  • the deletion of the current vehicle data of the departure lane at the departure station means that the actual existing vehicle in the departure station data set stores the ordered list data of the departure lane and vehicle data pointers, find the data and clear it, and the actual existing vehicle departure unit after clearing Existing vehicles on the road were removed. According to the shunting plan set and the actual existing vehicle calculation, the new planned existing vehicle is obtained. Through the calculation, the existing vehicle on the starting lane of the new planned existing vehicle is deleted.
  • S3 The train arrives at the pick-up station, extracts the train marshalling data, adds the connected vehicle data to the station vehicle data set, and adds the current vehicle data to the station data set of the pick-up station.
  • the extracting train formation data and adding the accessed vehicle data to the station vehicle data set refers to extracting the train formation information to the in-transit vehicle data set according to the arriving train information, and adding the train formation information to the station vehicle data set according to the formation content in the train formation information.
  • Detailed data of the vehicle Detailed data of the vehicle.
  • Adding the current train data to the station data set of the receiving station refers to, according to the receiving train lane of the arriving train entering the station, find the receiving train lane in the actual existing train of the station data set of the receiving station, and add the data to the train according to the content of the arriving train marshalling
  • the list of vehicle data pointers is added to the pick-up lane, and after the addition, the current vehicle information is added to the pick-up lane of the actual existing vehicle.
  • the new planned existing vehicle of this station is calculated, and the received current vehicle information appears on the pick-up lane of the calculated planned existing vehicle.
  • the invention also discloses a method for calculating the distribution of existing vehicles.
  • Figure 4 shows the flow chart of calculating the cut plane of the actual existing vehicle distribution, and the steps are as follows:
  • the actual current vehicle section refers to the distribution of vehicles on each lane in the current station at this moment, and each lane displays different order of vehicles, each vehicle has a unique number, and also displays the vehicle The model and cargo information loaded.
  • the shunting plan list refers to the work plan list prepared by station dispatchers for the shunting machine to drop, hook and move vehicles. At the freight station, it is necessary to load and unload trucks and vehicles, transfer vehicles between different lanes, and adjust the order of vehicles in the same lane. In order to complete this series of operations, the station dispatcher will prepare multiple shunting plans in sequence in advance, and the multiple shunting plans will be arranged into a list of shunting plans according to the order of compilation, as shown in Figure 5, the upper part is prepared by the station dispatcher
  • the shunting plan list there are 3 shunting plans in the list. The following shows the specific content of the selected first shunting plan.
  • the operation content is divided into two steps: (1) the shunting machine hangs 64 vehicles from the east of No. I-1 Stock Road (2) the shunting machine connects -IIA No. 1 stock road owner dropped 64 vehicles. Thereby realize that 64 cars in the I-1 No. stock track are moved to the I-IIA No. stock track.
  • the shunting plan includes an unreported shunting plan and a reported shunting plan.
  • the unreported shunting plan refers to the shunting plan that has not started operations at the station site, and the actual on-site vehicles in the lane have not yet moved.
  • the reported shunting plan refers to the shunting plan that has completed operations on the station site.
  • the outdoor on-site shunting operators shunting chief, picker, locomotive driver, etc.
  • the outdoor on-site shunting operators first obtain the unreported shunting plan, according to The content of the shunting plan is carried out on-site.
  • the completion time of the shunting plan will be reported.
  • the unreported shunting plan becomes the reported shunting plan.
  • the planned current vehicle section refers to the distribution of vehicles on each lane in the future calculated by the system based on the unreported shunting plan.
  • the station dispatcher will prepare a series of shunting plans in advance according to the on-site operation situation, and the system will calculate the unreported shunting plans in sequence according to the order of the shunting plan list according to the actual current vehicle sections, and obtain the planned current vehicle sections.
  • P 1 ⁇ P n is the shunting plan that has been reported
  • P n+1 ⁇ P n+m is the shunting plan that has not been reported
  • realTracks is the actual current vehicle section
  • planTracks is the planned existing vehicle section .
  • the system calculates and plans the section of existing vehicles, which can help station dispatchers to grasp the distribution of existing vehicles in the station after the implementation of the future shunting plan in advance, and continue to prepare subsequent shunting plans according to the planned section of existing vehicles.
  • the shunting plan list is composed of P 1 , P 2 to P n , P n+1 , and P n+2 to P n+m .
  • the shunting plan before the shunting plan P n has all been reported, and the actual distribution section of existing vehicles is P n .
  • the actual distribution section of existing vehicles is P n .
  • the actual distribution section of the current vehicle is the same as the following, and will not be explained again.
  • a new actual existing vehicle distribution section P n+ 1 is derived. It is necessary to recalculate and verify the distribution of planned existing vehicles in order to ensure the accuracy of the reporting point.
  • the unreported shunting plans P n+1 , P n+2 to P n+m are sequentially calculated according to the actual existing vehicle section to obtain a new planned existing vehicle section. If the new planned existing vehicle can be successfully calculated If the section is cut, it is judged that the reporting point is successful.
  • step S1 the specific steps of the actual existing vehicle distribution section and the shunting plan list data read in step S1 are as follows:
  • the database is used to persist the actual current vehicle section and shunting plan data.
  • the data in the database is loaded into the system memory and the calculated and planned current vehicle section data is stored in the memory. Therefore, when the system is running, the system memory stores the actual data.
  • the memory data is calculated and updated in real time according to user operations, and the actual vehicle distribution and shunting plan data in the memory are updated and synchronized to the database in real time.
  • the unreported shunting plan in the shunting plan list is sequentially deduced, and the planned existing vehicle distribution section is obtained and stored in the system memory.
  • the shunting plan list in step S1 is a process of continuous updating, and a shunting plan will be added at the same time as the point is reported.
  • Figure 7 shows the flow chart of calculating the existing vehicle distribution when creating a new shunting plan, and the steps are as follows:
  • planTracks1 is the current vehicle section of the original plan
  • the new plan can be calculated according to the current vehicle section of the original plan Existing car section planTracks2.
  • the criterion for successful calculation is that the system searches the lanes for corresponding vehicles according to the content of the shunting plan, and the order of the vehicles must be consistent with the order of vehicles specified in the shunting plan.
  • the operator does not carry out on-site operations step by step according to the shunting plan list, and may skip a shunting plan and execute the next shunting plan first Plan, and then skip the shunting plan, that is, report the points in sequence according to the shunting plan list.
  • the new actual existing vehicle section is calculated according to the original actual existing vehicle section and the reported reporting point shunting plan, and then according to the new actual According to the sequence of the shunting plans in the shunting plan list, the current vehicle distribution section calculates the unreported shunting plan in turn to obtain a new planned existing vehicle distribution section.
  • the current actual vehicle distribution section is P n
  • the shunting plan P n+1 is skipped, and the shunting plan P n+2 is reported first.
  • the original actual current vehicle section is derived according to the shunting plan P n+2 , and the shunting plan P n+1 is ignored to obtain a new actual current vehicle section.
  • the necessity of calculating the new planned current vehicle section according to the new actual current vehicle section to verify the correctness of the vehicle shunting plan report point is exemplified.
  • the current actual current vehicle section, car No. 0001 is at 1G, and the station dispatcher sequentially compiles three shunting plans P 1 , P 2 , and P 3 that have not been reported.
  • the shunting plan is as follows:
  • P 1 moves the vehicle from 1G to 2G.
  • vehicle No. 0001 was finally moved to 3G. Work on site according to the shunting plan and complete P 1 . If the on-site staff reports point P 1 correctly. At this time, on the new actual vehicle section, vehicle No. 0001 was moved to 2G. The new actual existing vehicle section continues to calculate P 2 and P 3 , and the planned existing vehicle section can be calculated normally. If the on-site staff makes a mistake and reports P 3 instead of P 1 , the system first calculates the new actual section to move the vehicle to 3G, and then calculates P 1 and P 2 sequentially based on the new actual section , when calculating P 1 , it is found that No. 0001 car does not exist in 1G on the new actual current vehicle cut plane (the vehicle is at 3G at this time), so the calculation is wrong, and the system judges that the on-site operator reports a wrong point, thus effectively preventing the on-site personnel from misoperation.
  • the invention also discloses an existing vehicle distribution calculation system, which includes an access module and a calculation module.
  • the access module is used to read the actual vehicle distribution section and the list of shunting plans.
  • the calculation module is used to derive a new actual existing vehicle distribution section in order from the actual existing vehicle distribution section according to the shunting plan in the shunting plan list, and continue to obtain a new actual existing vehicle distribution section according to all unreported shunting plans. Cut planes are deduced to obtain planned current vehicle cut planes.
  • the access module includes a database and system memory.
  • the database is used to save the actual vehicle distribution section and shunting plan list data, and the data can be persisted.
  • the data can be loaded from the database into the system memory; the system memory stores the actual vehicle distribution section and shunting plan list data, so
  • the derivation module calculates the planned distribution section according to the actual existing vehicle distribution section and the tram plan list, and stores it in the system memory. Due to the fast reading speed of the memory data, the updated data can be estimated and updated in real time according to user operations to ensure the real-time performance of the system.
  • the calculation module is used to calculate and update the actual existing vehicle distribution section according to the data of the shunting plan in the shunting plan list.
  • the list of shunting plans includes unreported shunting plans and reported shunting plans.
  • the calculation module is used to put the new shunting plan into the last position of the shunting plan list; calculate the new plan according to the original planned existing vehicle section and the newly created shunting plan Existing vehicle section; if the calculation is successful, update the planned existing vehicle section to the new planned existing vehicle section; if the calculation fails, do not update the planned existing vehicle distribution, and delete the newly created shunting plan from the shunting plan list.
  • Calculation of the new actual vehicle distribution section when the shunting plan is reported includes: setting the corresponding shunting plan in the shunting plan list as the report status; calculating the new section according to the original actual current vehicle section and the reported shunting plan Actual existing vehicle section; Calculate the planned existing vehicle section according to the new actual existing vehicle section and all unreported shunting plans; if the calculation of the planned existing vehicle section fails, cancel the reporting status of the return plan. If the calculation of the planned existing vehicle section is successful, the actual existing vehicle section is updated, and the planned existing vehicle section is updated. If the calculation of the actual existing vehicle section fails, the report point status of the return vehicle plan is withdrawn; if the calculation of the actual existing vehicle section is successful, the new planned existing vehicle distribution section is further calculated.
  • the specific derivation steps include the following: Calculate the new actual existing vehicle section according to the original actual existing vehicle section and the reported shunting plan; according to the new actual existing vehicle distribution section in order Calculating the unreported shunting plan to obtain a new planned distribution section of existing vehicles.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Human Computer Interaction (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to the field of railway management systems, and in particular, to a global-based inventory management system and method. The global-based inventory management system comprises a client, an application aggregation service layer, an application kernel service layer, and a database layer. The client is used for human-computer interaction of the global-based inventory management system. The application kernel service layer is used for implementing core business logic, and providing external services by means of the application aggregation service layer. The application aggregation service layer is used for all micro-services of the application kernel service layer, and decoupling the client, the kernel service layer and external systems. The database layer communicates with the application kernel service layer to provide data storage and data invocation for the application kernel service layer. By means of the present invention, inventory data sharing and collaborative management of multiple stations can be realized.

Description

一种基于全局的现车管理系统及其方法A global-based existing vehicle management system and its method 技术领域technical field
本发明属于铁路管理系统领域,特别涉及一种基于全局的现车管理系统及其方法。The invention belongs to the field of railway management systems, and in particular relates to a global-based existing vehicle management system and a method thereof.
背景技术Background technique
铁路现车管理系统用于管理铁路货运车辆信息,包括每节车厢的位置追踪信息,货物装卸信息,车辆运行状态信息等。The railway vehicle management system is used to manage the information of railway freight vehicles, including the location tracking information of each carriage, cargo loading and unloading information, vehicle operation status information, etc.
目前市面上具备现车管理系统功能的信息系统主要有CIPS系统(编组站综合集成自动化系统),SMIS系统(车站综合管理信息系统),集中式现在车系统,运输全过程系统等,按照可同时管理的车站数量可分为单站现车管理系统与多站现车管理系统。At present, the information systems with the function of existing vehicle management system on the market mainly include CIPS system (Comprehensive Integrated Automation System for Marshalling Station), SMIS system (Station Integrated Management Information System), centralized existing vehicle system, and whole-process transportation system. The number of stations managed can be divided into single-station existing vehicle management system and multi-station existing vehicle management system.
单站类型现车管理系统中具有代表性且市场占有量较大的是CIPS系统。CIPS由北京全路通信信号研究设计院有限公司研发,该系统已经在新建和既有编组站以及厂矿企业站开始大面积推广。CIPS系统与控制系统相连接,给联锁系统发送始终端命令并接受处理反馈信息,并且根据反馈信息自动调整决策,从而实现了编组站内的全面信息化与自动化。Among the single-station existing vehicle management systems, the CIPS system is representative and has a large market share. CIPS was developed by Beijing Quanlu Communication Signal Research and Design Institute Co., Ltd., and the system has been widely promoted in new and existing marshalling stations and factories and mines. The CIPS system is connected with the control system, sends end-to-end commands to the interlocking system and receives processing feedback information, and automatically adjusts decisions according to the feedback information, thereby realizing comprehensive informationization and automation in the marshalling station.
CIPS信息系统采用C/S结构,即客户端/服务器结构。客户端程序向服务器发送命令,服务器接收客户端命令,处理相应的业务逻辑并将处理结果返回给客户端,同时将最新的数据进行广播并保存数据库。在该局域网内的其他客户端接收到最新的广播数据,更新界面,从而实现所有客户端的数据同步更新。CIPS系统中现车位置及状态变化通过车辆操作流程进行推算,根据已经完成作业的车辆操作流程和为完成作业的车辆操作流程实时推算实际现车与计划现车。当前虽然CIPS在编组站上取得了成功,但局限于单个编组站。每个车站需要部署一套独立的服务器、数据库、客户端,各车站之间无法实现数据共享,无法对车辆进行全线乃至全局的车辆信息全程追踪,同时需要对每台机器安装部署客户端程序,且仅支持Windows操作系统,增加了整个系统的安装、部署与维护的复杂度。CIPS information system adopts C/S structure, that is, client/server structure. The client program sends commands to the server, and the server receives the client commands, processes the corresponding business logic and returns the processing results to the client, and at the same time broadcasts the latest data and saves it in the database. Other clients in the local area network receive the latest broadcast data and update the interface, so that the data of all clients can be updated synchronously. In the CIPS system, the position and state changes of the existing vehicle are estimated through the vehicle operation process, and the actual existing vehicle and the planned existing vehicle are calculated in real time according to the vehicle operation process that has completed the operation and the vehicle operation process that has not completed the operation. Although CIPS has achieved success in marshalling yards at present, it is limited to a single marshalling yard. Each station needs to deploy a set of independent servers, databases, and clients. Data sharing between stations cannot be realized, and vehicle information cannot be tracked across the entire line or even globally. At the same time, client programs need to be installed and deployed on each machine. And it only supports the Windows operating system, which increases the complexity of the installation, deployment and maintenance of the entire system.
多站类型现车管理系统中具有代表性且市场占有量较大的是SMIS系统。SMIS由铁科院研发,该系统已经在铁路局技术作业站大面积推广。SMIS将运输管理、调度监督、车号识别、无线调车单传送、机车定位五大项有机结合,实现多站现车并行管理。SMIS系统采用B/S结构,即浏览器/服务器结构。用户通过浏览器进行访问,并行服务发送访问请求,服务器接收浏览器请求,处理相应的业务逻辑并将处理结果返回给浏览器,同时将最新的数据进行广播并保存数据库。SMIS系统中现车状态通过接收修改请求进行变更,现车位置通过接发车确报及调车计划进行推算。当前SMIS在铁路调度层面应用广泛且支持多站管理,但可同时管理的车站数量有限,受限于传统B/S架构制约其大数据量的并行运算,SMIS系统仅支持推算单个调车计划,车站调度人员无法提前预编多个调车计划,无法实现超前的计划现车推算。Among the multi-station existing vehicle management systems, the SMIS system is representative and has a large market share. SMIS was developed by the Academy of Railway Sciences, and the system has been widely promoted in the technical operation stations of the Railway Bureau. SMIS organically combines the five major items of transportation management, dispatching supervision, vehicle number identification, wireless shunting order transmission, and locomotive positioning to realize parallel management of existing vehicles at multiple stations. SMIS system adopts B/S structure, that is, browser/server structure. The user accesses through the browser, the parallel service sends the access request, the server receives the browser request, processes the corresponding business logic and returns the processing result to the browser, and at the same time broadcasts the latest data and saves it in the database. In the SMIS system, the state of the current vehicle is changed by receiving the modification request, and the position of the current vehicle is estimated by the confirmation report of the vehicle receiving and dispatching and the shunting plan. At present, SMIS is widely used in railway dispatching and supports multi-station management, but the number of stations that can be managed at the same time is limited. Limited by the traditional B/S architecture that restricts its large data volume parallel computing, the SMIS system only supports the calculation of a single shunting plan. Station dispatchers cannot pre-program multiple shunting plans in advance, and cannot realize advanced planning and current train calculations.
综上所述,现有铁路现车管理系统主要存在以下缺点:To sum up, the existing railway vehicle management system mainly has the following shortcomings:
1.单站现车管理系统无法实现多站现车数据共享。1. The single-station existing vehicle management system cannot realize multi-station existing vehicle data sharing.
2.单站现车管理系统需要配备各自服务器、数据库、客户端,设备及系统运维成本较高。2. The single-station existing vehicle management system needs to be equipped with its own server, database, and client, and the equipment and system operation and maintenance costs are relatively high.
3.多站现车管理系统受限于系统架构,可同时支持的车站数量有限。随着车站数量与数据运算量的增大,较难保证现车数据的实时性及准确性。3. The multi-station existing vehicle management system is limited by the system architecture, and the number of stations that can be supported at the same time is limited. With the increase in the number of stations and the amount of data calculations, it is difficult to ensure the real-time and accuracy of existing vehicle data.
因此现在迫切的需要一种基于全局的现车管理系统来解决上述问题。Therefore, there is an urgent need for a global existing vehicle management system to solve the above problems.
发明内容Contents of the invention
针对上述问题,本发明公开了一种基于全局的现车管理系统,所述基于全局的现车管理系统包括客户端、应用聚合服务层、应用内核服务层和数据库层;In view of the above problems, the present invention discloses a global-based existing vehicle management system, which includes a client, an application aggregation service layer, an application kernel service layer and a database layer;
所述客户端用于对所述基于全局的现车管理系统的人机交互工作;The client is used for human-computer interaction work on the global-based existing vehicle management system;
所述应用内核服务层用于实现核心业务逻辑,并通过应用聚合服务层对外提供服务;The application kernel service layer is used to implement core business logic and provide external services through the application aggregation service layer;
所述应用聚合服务层用于所述应用内核服务层的所有微服务,解耦客户端、内核服务层和外部系统;The application aggregation service layer is used for all microservices of the application kernel service layer, decoupling the client, the kernel service layer and external systems;
所述数据库层与所述应用内核服务层进行通信,为所述应用内核服务层提供数据存储和数据调用。The database layer communicates with the application kernel service layer to provide data storage and data call for the application kernel service layer.
进一步的,所述客户端基于浏览器实现,采用WebUI框架。Further, the client is implemented based on a browser and adopts a WebUI framework.
进一步的,所述客户端包括现在车分布界面、调车计划管理界面、技术作业图表、接发车表、统计分析界面和系统维护界面。Further, the client includes the current vehicle distribution interface, the shunting plan management interface, the technical operation chart, the receiving and dispatching table, the statistical analysis interface and the system maintenance interface.
进一步的,所述应用聚合服务层包括Web应用聚合服务和接口微服务平台;Further, the application aggregation service layer includes a Web application aggregation service and an interface micro-service platform;
所述Web应用聚合服务用于为所有PC端和APP端提供统一的服务API;The Web application aggregation service is used to provide a unified service API for all PCs and APPs;
所述接口微服务平台用于将外部系统的接口部分抽象为单独的接口层,与业务层分离。The interface micro-service platform is used to abstract the interface part of the external system into a separate interface layer, which is separated from the business layer.
进一步的,所述外部系统包括计划调度信息系统、机务段信息系统、车辆调度信息系统、货运调度信息系统、车号识别系统和施工管理信息系统。Further, the external system includes planning and dispatching information system, locomotive depot information system, vehicle dispatching information system, freight dispatching information system, vehicle number identification system and construction management information system.
进一步的,所述应用内核服务层包括多个内核服务,每个所述内核服务之间相对独立,内核服务相互之间松耦合,通过RESful和/或消息中间件的方式进行通信。Further, the application kernel service layer includes multiple kernel services, each kernel service is relatively independent, the kernel services are loosely coupled to each other, and communicate through RESful and/or message middleware.
进一步的,多个所述内核服务层包括现车服务、行车服务、统计决策分析、权限管理服务、基础数据管理和日志管理。Further, the multiple core service layers include existing vehicle service, driving service, statistical decision analysis, rights management service, basic data management and log management.
进一步的,所述内核服务采用基于SpringBoot框架的单体程序形式,对外独立发布服务接口,并通过服务接口调用方式获取其他单体内核程序的服务。Further, the core service adopts the form of a single program based on the SpringBoot framework, independently publishes the service interface to the outside, and obtains the services of other single core programs by calling the service interface.
进一步的,所述内核服务层在服务规模低于第一设定值,未采用分布式部署的情况下,采用文档约定方式管理服务接口;在服务规模高于第一设定值,接口数量大于第二设定值时,采用部署服务发现实现服务自动注册和发现功能并简化微服务之间的调用。Further, when the service scale of the kernel service layer is lower than the first set value and distributed deployment is not adopted, the service interface is managed in a document-agreed manner; when the service scale is higher than the first set value, the number of interfaces is greater than In the second setting value, deployment service discovery is used to realize automatic service registration and discovery functions and simplify calls between microservices.
进一步的,所述应用内核服务层与公共组件连接,所述公共组件用于通用功能在业务组件间的复用。Further, the application kernel service layer is connected with public components, and the public components are used for multiplexing of common functions among business components.
进一步的,所述公共组件包括认证授权模块、用户操作记录、通用实体对象、通用工具类。Further, the public components include authentication and authorization modules, user operation records, general entity objects, and general tool classes.
进一步的,所述基于全局的现车管理系统采用SOA的B/S微服务架构。Further, the global-based existing vehicle management system adopts SOA B/S micro-service architecture.
本发明还公开了一种基于全局的现车管理方法,所述现车管理方法包括以下步骤:The present invention also discloses a global-based existing vehicle management method, which includes the following steps:
S1:使用应用内核服务层实现核心业务逻辑,并通过应用聚合服务层对外提供服务;S1: Use the application kernel service layer to implement core business logic, and provide external services through the application aggregation service layer;
S2:使用应用聚合服务层聚合所述应用内核服务层所有的微服务,并解耦客户端、内核服务层和外部系统;S2: Use the application aggregation service layer to aggregate all the microservices of the application kernel service layer, and decouple the client, kernel service layer and external systems;
S3:使用数据库层与所述应用内核服务层进行通信,为所述应用内核服务层提供数据存储和数据调用;S3: use the database layer to communicate with the application kernel service layer, and provide data storage and data call for the application kernel service layer;
S4:使用客户端对所述基于全局的现车管理系统进行人机交互操作。S4: Use the client to perform human-computer interaction on the global-based existing vehicle management system.
进一步的,步骤S1中所述内核服务采用基于SpringBoot框架的单体程序形式,对外独立发布服务接口,并通过服务接口调用方式获取其他单体内核程序的服务。Further, the core service described in step S1 adopts the form of a single program based on the SpringBoot framework, independently publishes service interfaces externally, and obtains services of other single core programs through service interface calls.
进一步的,所述步骤S2中所述应用聚合服务层包括Web应用聚合服务和接口微服务平台;Further, the application aggregation service layer in the step S2 includes a web application aggregation service and an interface microservice platform;
所述Web应用聚合服务用于为所有PC端和APP端提供统一的服务API;The Web application aggregation service is used to provide a unified service API for all PCs and APPs;
所述接口微服务平台用于将外部系统的接口部分抽象为单独的接口层,与业务层分离。The interface micro-service platform is used to abstract the interface part of the external system into a separate interface layer, which is separated from the business layer.
进一步的,所述内核服务层在服务规模低于第一设定值,未采用分布式部署的情况下,采用文档约定方式管理服务接口;在服务规模高于第一设定值,接口数量大于第二设定值时,采用部署服务发现实现服务自动注册和发现功能并简化微服务之间的调用。Further, when the service scale of the kernel service layer is lower than the first set value and distributed deployment is not adopted, the service interface is managed in a document-agreed manner; when the service scale is higher than the first set value, the number of interfaces is greater than In the second setting value, deployment service discovery is used to realize automatic service registration and discovery functions and simplify calls between microservices.
进一步的,步骤S4中所述客户端基于浏览器实现,采用WebUI框架。Further, the client in step S4 is implemented based on a browser, using a WebUI framework.
本发明的优点是可以实现多车站数据的现车数据实时共享,实现多车站现车协同管理。The invention has the advantages of realizing real-time sharing of existing vehicle data of multi-station data and realizing collaborative management of multi-station existing vehicles.
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure pointed out in the written description, claims hereof as well as the appended drawings.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1示出了根据本发明实施例中现车管理系统的技术架构图;Fig. 1 shows a technical architecture diagram of an existing vehicle management system according to an embodiment of the present invention;
图2示出了根据现有技术中CIPS系统的数据模型;Fig. 2 shows the data model according to the CIPS system in the prior art;
图3示出了根据本发明实施例中数据模型的数据模型图;Fig. 3 shows the data model diagram according to the data model in the embodiment of the present invention;
图4示出了根据本发明实施例中现车分布推算方法的流程图;Fig. 4 shows the flow chart of the present vehicle distribution estimation method according to the embodiment of the present invention;
图5示出了根据本发明实施例中调车计划列表的示意图;FIG. 5 shows a schematic diagram of a shunting plan list according to an embodiment of the present invention;
图6示出了根据本发明实施例中现车分布切面的推导示意图;Fig. 6 shows a schematic diagram of derivation of an existing vehicle distribution section according to an embodiment of the present invention;
图7示出了根据本发明实施例中新建调车计划时,计划现车分布切面推算的流程图;Fig. 7 shows a flow chart of calculating the tangent plane of the planned existing vehicle distribution when a new shunting plan is created according to an embodiment of the present invention;
图8示出了根据本发明实施例中新建调车计划时,计划现车分布切面推算的流程示意图;Fig. 8 shows a schematic flow diagram of calculating the tangential plane of the planned existing vehicle distribution when a new shunting plan is newly established according to an embodiment of the present invention;
图9示出了根据本发明实施例中调车计划报点时实际现车分布切面推算的流程示意图;Fig. 9 shows a schematic flow chart of the calculation of the cut plane of the distribution of actual existing vehicles according to the shunting plan according to the embodiment of the present invention;
图10示出了根据本发明实施例中不按照调车计划列表报点时,实际现车分布切面推算的流程示意图;Fig. 10 shows a schematic flow chart of the calculation of the cut plane of the actual existing vehicle distribution when the points are not reported according to the shunting plan list according to the embodiment of the present invention;
图11示出了根据本发明实施例中0001号车根据调车计划在股道间移动示意图。Fig. 11 shows a schematic diagram of car No. 0001 moving between lanes according to the shunting plan according to the embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地说明,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明公开了一种现车管理系统,图1示出了所述现车管理系统的技术架构图。如图1所示,所述现车管理系统包括客户端、应用聚合服务层、应用内核服务层和数据库层。The invention discloses an existing vehicle management system, and Fig. 1 shows a technical framework diagram of the existing vehicle management system. As shown in FIG. 1 , the existing vehicle management system includes a client, an application aggregation service layer, an application kernel service layer and a database layer.
示例性的,所述现车管理系统采用基于SOA的B/S微服务框架,通过采用基于SOA的B/S微服务架构可以简化人机交互端的安装部署和系统维护工作,也可以将各业务逻辑处理分散于各微服务中,提高所述现车管理系统的并行计算能力以及数据吞吐量。Exemplarily, the existing vehicle management system adopts the B/S microservice framework based on SOA, and the installation, deployment and system maintenance work of the human-computer interaction terminal can be simplified by adopting the B/S microservice framework based on SOA, and various business The logic processing is dispersed in each micro-service to improve the parallel computing capability and data throughput of the existing vehicle management system.
进一步的,所述客户端与应用聚合服务层以及应用内核服务层之间通信采用RESTful风格的轻量级API。通过RESTful风格的轻量级API可以使得所述现车管理系统可以跨平台使用,例如可以同时提供网页,ios,android使用;另外所述现车管理系统可有效解耦前后台,前台只需要根据通用的状态码便可判断返回结果。例如传统的网页API返回的状态码只有200,需要开发人员定制服务器与客户端之间的通信状态。而使用RESTful风格的接口,可以返回不同的状态码,如比如最常用的200表示成功,500表示Server内部错误,403表示Bad Request等。Further, the communication between the client and the application aggregation service layer and the application kernel service layer adopts a RESTful style lightweight API. Through the RESTful-style lightweight API, the existing vehicle management system can be used across platforms, for example, it can provide web pages, ios, android at the same time; in addition, the existing vehicle management system can effectively decouple the front and back. The general status code can judge the return result. For example, the status code returned by the traditional webpage API is only 200, requiring developers to customize the communication status between the server and the client. Using the RESTful interface, different status codes can be returned, such as the most commonly used 200 for success, 500 for internal server errors, and 403 for Bad Requests.
所述客户端用于对所述现车管理系统的人机交互工作。示例性的,所述客户端为手机APP端和/或PC端。优选的,所述客户端基于浏览器实现,并且采用WebUI框架。基于浏览器实现能够简化客户端的安装部署和系统维护工作,采用WebUI框架能够保障用户界面风格的友好以及后续软件迭代升级的便利。所述用户界面用于显示现车分布界面、调车计划管理界面、技术作业图表、接发车表、统计分析界面和系统维护界面。通过所述客户端可以实现对现车分布进行实时查 看,所述现车管理系统所生成的技术作业图表和统计分析模型都能够通过所述客户端进行呈现,并且能够通过所述客户端对所述现车管理系统发送调车计划,也可以通过所述客户端对所述现车管理系统进行系统维护。The client is used for man-machine interaction with the existing vehicle management system. Exemplarily, the client is a mobile phone APP and/or a PC. Preferably, the client is implemented based on a browser and uses a WebUI framework. Browser-based implementation can simplify the installation and deployment of the client and system maintenance work, and the use of the WebUI framework can ensure a friendly user interface style and the convenience of subsequent software iterative upgrades. The user interface is used to display an existing vehicle distribution interface, a shunting plan management interface, a technical operation chart, a dispatch table, a statistical analysis interface and a system maintenance interface. Real-time viewing of the existing vehicle distribution can be realized through the client, the technical operation chart and statistical analysis model generated by the existing vehicle management system can be presented through the client, and all the existing vehicles can be analyzed through the client The above existing vehicle management system sends the vehicle shunting plan, and the system maintenance of the above existing vehicle management system can also be performed through the client.
所述应用聚合服务层用于聚合应用内核服务层的所有微服务,为外部系统提供统一的访问接口;还用于解耦客户端、接口层、应用内核服务层与外部系统;所述应用内核服务层用于通过应用聚合服务层对外提供服务。The application aggregation service layer is used to aggregate all microservices of the application kernel service layer, and provide a unified access interface for external systems; it is also used to decouple the client, interface layer, application kernel service layer and external systems; the application kernel The service layer is used to provide external services through the application aggregation service layer.
具体的,所述应用聚合服务层包括Web应用聚合服务和接口微服务平台。所述Web应用聚合服务用于为所有PC端和APP端提供统一的服务API,使得所述现车管理系统仅需开发一版服务程序,便可适用于网页,安卓。无需单独开发安卓版、网页版;所述接口微服务平台将外部系统的接口部分抽象为单独的接口层,与业务层分离,避免与业务逻辑耦合,在所述应用聚合服务层与外部系统的交互过程中出现问题时不会影响系统业务功能。Specifically, the application aggregation service layer includes a Web application aggregation service and an interface micro-service platform. The Web application aggregation service is used to provide a unified service API for all PC terminals and APP terminals, so that the existing vehicle management system only needs to develop a version of the service program, which can be applied to web pages and Android. There is no need to develop the Android version and the web version separately; the interface micro-service platform abstracts the interface part of the external system into a separate interface layer, which is separated from the business layer and avoids coupling with business logic. When there is a problem in the interaction process, it will not affect the business function of the system.
所述应用聚合服务层承担服务网关的功能,但是无状态持久化处理,以方便做负载提高吞吐能力。所述应用聚合服务层不仅用于承担服务网关的功能,还用于负载均衡。负载均衡指的是将大量用户访问需求平均分摊到各个服务器上。The application aggregation service layer undertakes the function of the service gateway, but does not have state persistence processing, so as to facilitate the loading and improve the throughput. The application aggregation service layer is not only used to assume the function of the service gateway, but also used for load balancing. Load balancing refers to the even distribution of a large number of user access requirements to each server.
所述现车管理系统通过所述接口微服务平台与所述外部系统对接,所述接口微服务平台的每一个接口服务均为独立的微服务,通过所述应用聚合服务层与外部系统进行交互。The existing vehicle management system is connected to the external system through the interface micro-service platform, and each interface service of the interface micro-service platform is an independent micro-service, and interacts with the external system through the application aggregation service layer .
示例性的,所述外部系统包括计划调度信息系统、机务段信息系统、车辆调度信息系统、货运调度信息系统、车号识别系统和施工管理信息系统。Exemplarily, the external systems include planning and dispatching information system, locomotive depot information system, vehicle dispatching information system, freight dispatching information system, vehicle number identification system and construction management information system.
所述应用内核服务层用于实现核心业务逻辑,并通过所述应用聚合服务层对外提供服务。具体的,所述应用内核服务层包括多个内核服务,每个内核服务之间相互独立,内核服务与内核服务之间松耦合,并通过RESTful或消息队列的方式进行通信。The application core service layer is used to implement core business logic and provide external services through the application aggregation service layer. Specifically, the application kernel service layer includes multiple kernel services, each kernel service is independent of each other, and the kernel services are loosely coupled with each other, and communicate through RESTful or message queue.
两种通信方式的应用场景不同。The application scenarios of the two communication methods are different.
具体的,RESTful通信方式是发送请求,等待反馈,得到反馈并处理反馈信息。也就是说内核服务A向内核服务B请求数据然后等待内核服务B的返回,直到得到内核服务B的返回值才算完成一次通信。这种场景适用于用户访问网页,等待服务器将网页信息返回才行。或者内核服务A在进行运算,在运算过程中必须要用到内核服务B的某个数据才能完成计算,因此需要用RESTful通信方式请求内核服务B,内核服务A得到内核服务B返回的数据,才能继续运算。这种方式的好处是,内核服务A想要某个数据,可以实时向其他服务获取,实现方式简单。缺点是与其他服务的耦合性太强,一旦无法获取其他服务的数据,则内核服务A只能等待。Specifically, the RESTful communication method is to send a request, wait for feedback, get feedback and process the feedback information. That is to say, kernel service A requests data from kernel service B and then waits for the return of kernel service B, and the communication is not completed until the return value of kernel service B is obtained. This scenario applies to users who visit web pages and wait for the server to return the web page information. Or kernel service A is performing calculations. During the calculation process, certain data of kernel service B must be used to complete the calculation. Therefore, it is necessary to use RESTful communication to request kernel service B. Kernel service A can get the data returned by kernel service B to complete the calculation. Continue to operate. The advantage of this method is that if kernel service A wants certain data, it can obtain it from other services in real time, and the implementation method is simple. The disadvantage is that the coupling with other services is too strong. Once the data of other services cannot be obtained, the kernel service A can only wait.
具体的,消息队列通信方式是,直接将消息抛入消息队列中,消息队列中的信息对其他内核服务可见,其他内核服务从该消息队列中将该消息取走进行相关计算。因此耦合性低,无需互相等待,但是不适用于网页访问等情况。Specifically, the message queue communication method is to directly throw messages into the message queue, and the information in the message queue is visible to other kernel services, and other kernel services take the message from the message queue to perform related calculations. Therefore, the coupling is low and there is no need to wait for each other, but it is not suitable for situations such as web page access.
示例性的,所述内核服务层包括现车服务、行车服务、统计决策分析、权限管理服务、基础数据管理和日志管理。每一个内核服务均采用SpringBoot框架 的单体程序形式,对外独立发布服务接口,并通过服务接口调用方式获取其他单体内核程序的服务。进一步的,在服务规模较低,未采用分布式部署的情况下,采用文档阅读方式管理接口。优选的,所述内核服务层随着服务规模扩大,接口数量增加,可以通过部署服务发现实现服务自动注册和发现功能来简化微服务之间的调用。Exemplarily, the core service layer includes existing car service, driving service, statistical decision analysis, authority management service, basic data management and log management. Each kernel service adopts the single program form of the SpringBoot framework, independently publishes the service interface externally, and obtains the services of other single kernel programs through the service interface calling method. Furthermore, when the service scale is low and distributed deployment is not adopted, the document reading method is used to manage the interface. Preferably, as the scale of the service expands, the number of interfaces of the kernel service layer increases, and service automatic registration and discovery functions can be implemented by deploying service discovery to simplify calls between microservices.
具体的,内核服务要被使用,需要对外提供服务的位置信息,所述位置信息通常是一个IP地址和端口信息。在内核服务只有单个使用并且地址不会动态变化的情况下,内核服务的位置在使用端可以通过配置文件或代码等方式固定生成。这种情况下采用文档阅读方式管理接口,将服务地址连接参数等信息写入文档,各个内核服务按照文档中预设的连接方式去连接。在服务规模较低、未采用分布式部署时,采用文档阅读的管理方式更加便捷。Specifically, to use the kernel service, location information of the service needs to be provided externally, and the location information is usually an IP address and port information. In the case that the kernel service has only one use and the address does not change dynamically, the location of the kernel service can be fixedly generated on the use side through configuration files or codes. In this case, the document reading method is used to manage the interface, and information such as service address connection parameters is written into the document, and each kernel service is connected according to the preset connection method in the document. When the service scale is low and distributed deployment is not adopted, the management method of document reading is more convenient.
具体的,当内核服务为多台服务器同时提供服务时,会出现不同的访问地址及访问参数,所述访问地址和访问参数甚至会出现变化。服务自动注册就是当某一个微服务扩容新的服务地址或者变更地址,自动将新地址注册到注册中心,当某一个服务地址因机器故障等原因导致服务地址失效,自动向注册中心注销该地址。服务发现是指客户端在访问某个服务时,通过注册中心,自动获取可用的访问地址。因此使用微服务架构开发的应用,必须通过服务注册和发现技术解决此问题。Specifically, when the kernel service provides services for multiple servers at the same time, different access addresses and access parameters will appear, and the access addresses and access parameters may even change. Automatic service registration means that when a certain microservice expands the new service address or changes the address, it automatically registers the new address to the registration center. When a certain service address becomes invalid due to machine failure or other reasons, it automatically cancels the address to the registration center. Service discovery means that when a client accesses a service, it automatically obtains an available access address through the registration center. Therefore, applications developed using the microservice architecture must solve this problem through service registration and discovery technologies.
所述应用内核服务层与公共组件连接,所述公共组件用于通信功能在业务组件间的复用。具体的,所述公共组件包括授权模块、用户操作记录、通用实体对象和通用工具类。示例性的,所述授权模块可以为各个微服务提供授权功能。The application kernel service layer is connected with public components, and the public components are used for multiplexing of communication functions among business components. Specifically, the public components include authorization modules, user operation records, general entity objects and general tool classes. Exemplarily, the authorization module can provide authorization functions for each microservice.
所述数据库层与所述应用内核服务层通信,为所述用于内核服务层提供数据存储和数据调用。The database layer communicates with the application kernel service layer to provide data storage and data call for the application kernel service layer.
本发明还公开了一种基于全局的现车管理方法,所述现车管理方法包括以下步骤:The present invention also discloses a global-based existing vehicle management method, which includes the following steps:
S1:使用应用内核服务层实现核心业务逻辑,并通过应用聚合服务层对外提供服务;S1: Use the application kernel service layer to implement core business logic, and provide external services through the application aggregation service layer;
S2:使用应用聚合服务层聚合所述应用内核服务层所有的微服务,并解耦客户端、内核服务层和外部系统;S2: Use the application aggregation service layer to aggregate all the microservices of the application kernel service layer, and decouple the client, kernel service layer and external systems;
S3:使用数据库层与所述应用内核服务层进行通信,为所述应用内核服务层提供数据存储和数据调用;S3: use the database layer to communicate with the application kernel service layer, and provide data storage and data call for the application kernel service layer;
S4:使用客户端对所述基于全局的现车管理系统进行人机交互操作。S4: Use the client to perform human-computer interaction on the global-based existing vehicle management system.
进一步的,步骤S1中所述内核服务采用基于SpringBoot框架的单体程序形式,对外独立发布服务接口,并通过服务接口调用方式获取其他单体内核程序的服务。Further, the core service described in step S1 adopts the form of a single program based on the SpringBoot framework, independently publishes service interfaces externally, and obtains services of other single core programs through service interface calls.
进一步的,所述步骤S2中所述应用聚合服务层包括Web应用聚合服务和接口微服务平台;Further, the application aggregation service layer in the step S2 includes a web application aggregation service and an interface microservice platform;
所述Web应用聚合服务用于为所有PC端和APP端提供统一的服务API;The Web application aggregation service is used to provide a unified service API for all PCs and APPs;
所述接口微服务平台用于将外部系统的接口部分抽象为单独的接口层,与业 务层分离。The interface micro-service platform is used to abstract the interface part of the external system into a separate interface layer, which is separated from the business layer.
所述内核服务层在服务规模低于第一设定值,未采用分布式部署的情况下,采用文档约定方式管理服务接口;在服务规模高于第一设定值,接口数量大于第二设定值时,采用部署服务发现实现服务自动注册和发现功能并简化微服务之间的调用。When the service scale is lower than the first set value and the distributed deployment is not adopted, the kernel service layer manages the service interfaces in a document-agreed manner; when the service scale is higher than the first set value, the number of interfaces is greater than the second set value When setting the value, use deployment service discovery to realize automatic service registration and discovery functions and simplify calls between microservices.
进一步的,步骤S4中所述客户端基于浏览器实现,采用WebUI框架。所述客户端包括现在车分布界面、调车计划管理界面、技术作业图表、接发车表、统计分析界面和系统维护界面。Further, the client in step S4 is implemented based on a browser, using a WebUI framework. The client includes a current vehicle distribution interface, a shunting plan management interface, a technical operation chart, a dispatch table, a statistical analysis interface, and a system maintenance interface.
本发明还公开了一种基于全局现车管理系统的数据模型,图3示出了所述数据模型的数据模型图。如图3所示,所述数据模型包括车站车辆数据集、车站数据集和在途车辆数据集,所述车站车辆数据集用于存储停留在车站内的车辆详细信息,所述车站数据集用于存储调车计划和股道现车分布数据,所述股道现车分布数据记录股道内按照顺序排列的车辆数据指针,所述车辆数据指针指向所述车站车辆数据集中的车辆详细信息,所述在途车辆数据集用于存储在途中开行的车辆详细信息。The invention also discloses a data model based on the global existing vehicle management system, and Fig. 3 shows a data model diagram of the data model. As shown in Figure 3, the data model includes a station vehicle data set, a station data set and an in-transit vehicle data set, the station vehicle data set is used to store detailed information on vehicles staying in the station, and the station data set is used for Store the shunting plan and the current vehicle distribution data of the stock lane, the stock track current vehicle distribution data records the vehicle data pointers arranged in order in the stock track, the vehicle data pointer points to the vehicle detailed information in the station vehicle data set, the The Vehicles in Transit dataset is used to store detailed information about vehicles traveling en route.
具体的,所述车站车辆数据集以哈希表结构存储车辆详细信息,哈希表中Key值存储每辆列车的车号,并且要求不可重复,Value值存储车辆其他信息。具体的,所述车辆详细信息包括车号、车型、货物、载重和车辆状态等信息。通过哈希表结构存储车辆详细信息,当需要对车辆信息进行修改时,仅需根据车号便可直接从哈希表中直接获取车辆数据,算法复杂度为0(1),大大节约了系统的运算过程,节约了系统算力。Specifically, the station vehicle data set stores vehicle detailed information in a hash table structure, and the Key value in the hash table stores the car number of each train, which is required to be non-repeatable, and the Value value stores other vehicle information. Specifically, the vehicle detailed information includes information such as vehicle number, model, cargo, load, and vehicle status. The detailed information of the vehicle is stored through the hash table structure. When the vehicle information needs to be modified, the vehicle data can be obtained directly from the hash table only according to the vehicle number. The algorithm complexity is 0(1), which greatly saves the system The calculation process saves system computing power.
所述车站数据集中包括实际现车数据、计划现车数据和调车计划数据。所述实际现车数据和计划现车数据中均包括了股道与车辆关系集合,该集合中存储的并不是真实的数据,而是数据指针有序列表,所述数据指针指向车站车辆数据集中的车辆详细信息。当所述车站车辆数据集中的车辆详细信息发送改变时,通过所述数据指针所述实际现车数据和计划现车数据也会及时发生改变,无需重新推算实际现车数据与计划现车数据。所述调车计划数据用于存储调车计划单,实际现车数据根据调车计划数据进行推导得出计划现车数据。The station data set includes actual existing vehicle data, planned existing vehicle data and shunting plan data. Both the actual existing vehicle data and the planned existing vehicle data include a collection of lanes and vehicle relationships. What is stored in this collection is not real data, but an ordered list of data pointers. The data pointers point to the station vehicle data set vehicle details. When the vehicle detailed information in the station vehicle data set is changed, the actual existing vehicle data and planned existing vehicle data will also be changed in time through the data pointer, without recalculating the actual existing vehicle data and planned existing vehicle data. The shunting plan data is used to store the shunting plan sheet, and the actual existing vehicle data is deduced according to the shunting plan data to obtain the planned existing vehicle data.
进一步的,所述数据模型还包括在途数据集模型,所述在途车辆数据集模型用于存储列车编组信息。具体的,所述列车编组信息包括列车编组目录信息和列车编组内容信息。所述列车编组目录记录了列车车次、列车运行线、列车到发类型和列车到发站等。所述列车编组目录指向列车编组内容信息,所述列车编组内容信息包括了当前列车所携带的所有车辆详细信息以及车辆排列顺序。所述排列顺序指的是该列车中所携带的所有车辆的排列顺序。示例性的,当前车站有三条股道,每条股道上都停留有车辆,所述车站车辆数据集中记录了三条股道与车辆关系数据,每条股道与车辆关系数据中存放了车辆数据指针的有序列表。当其中提条股道的车辆发车时,所述在途车辆数据集中将生成一条列车编组信息目录及一份列车编组内容,列车编组目录信息记录了列车车次、列车到发类型、列车发车股道、列车发车股道等信息,列车编组内容记录了发车股道上的所有车辆详细 信息及排列顺序。同时车站车辆数据集中删除该股道上已经发走的车辆数据,清空车站数据集中该股道与车辆关系数据。当列车进入下一个车站时,根据列车编组信息及接车股道,向所述车站车辆数据集中添加车辆信息,同时向对应车站实际现车数据中添加接车轨道与车辆关系数据,根据所述调车计划重新推算计划现车数据。本发明的基于全局现车管理系统的数据模型相比较起图2中示出的CIPS系统的数据模块运行速度更快,节约了系统的运算过程,节约了系统算力。Further, the data model also includes an in-transit data set model, and the in-transit vehicle data set model is used to store train formation information. Specifically, the train formation information includes train formation catalog information and train formation content information. The train formation directory records train numbers, train running lines, train arrival and departure types, train arrival and departure stations, and the like. The train formation catalog points to the train formation content information, and the train formation content information includes the detailed information of all the vehicles carried by the current train and the sequence of the vehicles. The arrangement order refers to the arrangement order of all the vehicles carried in the train. Exemplarily, the current station has three lanes, and vehicles are parked on each lane. The vehicle data set of the station records the relationship data between the three lanes and vehicles, and the vehicle data pointer is stored in the relationship data between each lane and vehicles. an ordered list of . When the vehicle of which the track is mentioned departs, a train formation information catalog and a train formation content will be generated in the vehicle data set in transit. The train formation catalog information records the train number, train arrival type, train departure lane, Information such as the train departure track, the train formation content records the detailed information and arrangement order of all vehicles on the departure track. At the same time, the station vehicle data set deletes the vehicle data that has been sent away on the lane, and clears the relationship data between the lane and the vehicle in the station data set. When the train enters the next station, add vehicle information to the vehicle data set at the station according to the train marshalling information and the receiving track, and add the receiving track and vehicle relationship data to the actual existing vehicle data of the corresponding station at the same time, according to the The shunting plan recalculates the planned current vehicle data. Compared with the data module of the CIPS system shown in Fig. 2, the data model based on the global existing vehicle management system of the present invention runs faster, saves the calculation process of the system, and saves the computing power of the system.
基于上述基于全局现车管理系统的数据模型,本发明还公开了一种基于全局现车管理系统的数据模型的建设方法,所述数据模型建设方法包括以下步骤:Based on the above-mentioned data model based on the global existing vehicle management system, the present invention also discloses a construction method of a data model based on the global existing vehicle management system. The data model construction method includes the following steps:
S1:建设车站车辆数据集合车站数据集。S1: Construction of station vehicle data collection station data set.
S2:将车辆详细信息存储于车站车辆数据集中。S2: Store the vehicle detailed information in the station vehicle data set.
具体的,所述车辆详细信息包括车号、车型、货物、载重和车辆状态。Specifically, the vehicle detailed information includes vehicle number, model, cargo, load and vehicle status.
优选的,步骤S2中所述车辆详细信息以哈希表结构存储于所述车站车辆数据集中,其中哈希表中Key值存储车号,并且不可重复,Value值存储车辆其他信息。Preferably, the vehicle detailed information in step S2 is stored in the station vehicle data set in a hash table structure, wherein the Key value in the hash table stores the vehicle number and cannot be repeated, and the Value value stores other information of the vehicle.
S3:将车辆数据指针存储于车站数据集中,所述车辆数据指针指向所述车站车辆数据集中的车辆详细信息。具体的,所述车站数据集包括实际现车数据和计划现车数据;所述实际现车数据和计划现车数据中存储的是股道与车辆关系集合,所述股道与车辆关系集合中存储的是车辆数据指针。S3: Store the vehicle data pointer in the station data set, the vehicle data pointer pointing to the vehicle detailed information in the station vehicle data set. Specifically, the station data set includes actual existing vehicle data and planned existing vehicle data; what is stored in the actual existing vehicle data and planned existing vehicle data is a set of relationship between lanes and vehicles, and in the set of relationship between lanes and vehicles What is stored is the vehicle data pointer.
S4:使用客户端对所述基于全局的现车管理系统进行人机交互操作。S4: Use the client to perform human-computer interaction on the global-based existing vehicle management system.
进一步的,所述数据模型还包括在途车辆数据集模型;Further, the data model also includes an in-transit vehicle data set model;
所述在途车辆数据集模型用于存储列车编组信息,所述列车编组信息包括列车编组目录和列车编组内容;The vehicle data set model in transit is used to store train formation information, and the train formation information includes train formation catalog and train formation content;
所述列车编组目录指向的列车编组内容记录了该列车中携带的所有车辆详细信息和排列顺序。The content of the train formation pointed to by the train formation directory records the detailed information and sequence of all vehicles carried in the train.
基于全局现车管理系统的数据模型的数据运转过程包括以下步骤:The data operation process based on the data model of the global existing vehicle management system includes the following steps:
S1:车站数据模型中存放有实际现车、计划现车以及调车计划数据。S1: The station data model stores the data of actual existing vehicles, planned existing vehicles and shunting plans.
所述实际现车与计划现车中存放的是股道与车辆数据指针关系表。车辆数据指针指向车站车辆数据集。车站车辆数据集中存放所有停靠在车站内的车辆信息。The actual existing vehicle and the planned existing vehicle store a relationship table of stock lane and vehicle data pointers. The vehicle data pointer points to the station vehicle data set. The station vehicle data center stores all the information of the vehicles parked in the station.
S2:发车站发车时,生成列车编数据存入在途车辆数据集,删除发车站发车股道现车数据,删除车站车辆数据集中发走的车辆数据。S2: When the departure station departs, generate train number data and store it in the in-transit vehicle data set, delete the existing train data at the departure station, and delete the vehicle data sent out from the station vehicle data set.
根据发车股道,发车车次信息生成列车编组数据。列车编组数据包括列车编组目录及列车编组内容,将列车编组数据存放入在途车辆数据集。Generate train marshalling data according to departure track and departure number information. The train formation data includes the train formation directory and the train formation content, and the train formation data is stored in the vehicle data set in transit.
所述删除发车站发车股道现车数据是指,发车站车站数据集中的实际现车存放了发车股道与车辆数据指针有序列表数据,找到该数据并清空,清空后实际现车发车股道上现车被删除。根据调车计划集合与实际现车推算得到新的计划现车,通过推算,新的计划现车中发车股道上现车被删除。The deletion of the current vehicle data of the departure lane at the departure station means that the actual existing vehicle in the departure station data set stores the ordered list data of the departure lane and vehicle data pointers, find the data and clear it, and the actual existing vehicle departure unit after clearing Existing vehicles on the road were removed. According to the shunting plan set and the actual existing vehicle calculation, the new planned existing vehicle is obtained. Through the calculation, the existing vehicle on the starting lane of the new planned existing vehicle is deleted.
到车站车辆数据集中找到发走的车辆数据并删除。Go to the station vehicle data set to find the sent vehicle data and delete it.
S3:列车到达接车站,提取列车编组数据,向车站车辆数据集添加接入的车辆数据,向接车站的车站数据集添加现车数据。S3: The train arrives at the pick-up station, extracts the train marshalling data, adds the connected vehicle data to the station vehicle data set, and adds the current vehicle data to the station data set of the pick-up station.
所述提取列车编组数据向车站车辆数据集添加接入的车辆数据是指,根据到达列车信息,向在途车辆数据集中提取列车编组信息,根据列车编组信息中的编组内容,向车站车辆数据集中添加车辆的详细数据。The extracting train formation data and adding the accessed vehicle data to the station vehicle data set refers to extracting the train formation information to the in-transit vehicle data set according to the arriving train information, and adding the train formation information to the station vehicle data set according to the formation content in the train formation information. Detailed data of the vehicle.
所述向接车站的车站数据集添加现车数据是指,根据到达列车进入车站的接车股道,找到接车站车站数据集实际现车中的接车股道,根据到达列车编组内容向该接车股道添加车辆数据指针列表,添加后实际现车的接车股道上添加了现车信息。根据实际现车与调车计划推算得到本站新的计划现车,推算出的计划现车的接车股道上出现了接入的现车信息。Adding the current train data to the station data set of the receiving station refers to, according to the receiving train lane of the arriving train entering the station, find the receiving train lane in the actual existing train of the station data set of the receiving station, and add the data to the train according to the content of the arriving train marshalling The list of vehicle data pointers is added to the pick-up lane, and after the addition, the current vehicle information is added to the pick-up lane of the actual existing vehicle. According to the actual existing vehicle and shunting plan, the new planned existing vehicle of this station is calculated, and the received current vehicle information appears on the pick-up lane of the calculated planned existing vehicle.
综上所述,通过本数据模型的数据运转过程推理,实现了车辆在各个车站间的运转。To sum up, through the reasoning of the data operation process of this data model, the operation of vehicles between various stations is realized.
本发明还公开了一种现车分布推算方法。图4中示出了实际现车分布切面推算的流程图,步骤如下所示:The invention also discloses a method for calculating the distribution of existing vehicles. Figure 4 shows the flow chart of calculating the cut plane of the actual existing vehicle distribution, and the steps are as follows:
S1:读取实际现车分布切面及调车计划列表数据;S1: Read the actual vehicle distribution section and shunting plan list data;
S2:将调车计划列表中对应的调车计划设置为报点状态;S2: Set the corresponding shunting plan in the shunting plan list as the reporting state;
S3:根据原实际现车切面及报点的调车计划推算新的实际现车切面;S3: Calculate the new actual vehicle section according to the original actual vehicle section and the shunting plan reported;
S4:如果实际现车切面推算失败,撤回调车计划报点状态;S4: If the calculation of the section of the actual existing vehicle fails, cancel the report point status of the vehicle return plan;
如果实际现车切面推算成功,根据新的实际现车切面及所有未报点的调车计划推算新的计划现车切面;If the calculation of the actual existing vehicle section is successful, calculate the new planned existing vehicle section according to the new actual existing vehicle section and all unreported shunting plans;
S5:如果计划现车切面推算失败,撤回调车计划报点状态;如果计划现车切面推算成功,更新实际现车切面,更新计划现车切面,即报点成功。S5: If the calculation of the planned existing vehicle section fails, withdraw the reporting status of the planned vehicle section; if the planned existing vehicle section calculation is successful, update the actual existing vehicle section and update the planned existing vehicle section, that is, the report is successful.
具体的,所述实际现车切面指的是当前车站内在此时刻车辆在各个股道上的分布情况,每个股道上显示不同车辆排列顺序,每个车辆都有唯一车号,同时还会显示车辆的型号及装载的货物信息。Specifically, the actual current vehicle section refers to the distribution of vehicles on each lane in the current station at this moment, and each lane displays different order of vehicles, each vehicle has a unique number, and also displays the vehicle The model and cargo information loaded.
所述调车计划列表指的是车站调度人员编制的调车机甩挂并移动车辆的工作计划列表。在货运站时由于需要对货车车辆进行上下货、将车辆进行不同股道间转移以及同一股道内车辆顺序调整等一系列的操作。为完成这一系列的操作,车站调度人员会提前按照顺序编制多个调车计划,多个调车计划按照编制的顺序排列成调车计划列表,如图5所示,上方为车站调度员编制的调车计划列表,列表里面有3个调车计划。下方显示的是选中的第1个调车计划的具体内容,作业内容分为两步:(1)调车机从I-1号股道的东边挂64辆车(2)调车机在I-IIA号股道东头甩下64辆车。从而实现将I-1号股道内的64辆车移动至I-IIA号股道。The shunting plan list refers to the work plan list prepared by station dispatchers for the shunting machine to drop, hook and move vehicles. At the freight station, it is necessary to load and unload trucks and vehicles, transfer vehicles between different lanes, and adjust the order of vehicles in the same lane. In order to complete this series of operations, the station dispatcher will prepare multiple shunting plans in sequence in advance, and the multiple shunting plans will be arranged into a list of shunting plans according to the order of compilation, as shown in Figure 5, the upper part is prepared by the station dispatcher The shunting plan list, there are 3 shunting plans in the list. The following shows the specific content of the selected first shunting plan. The operation content is divided into two steps: (1) the shunting machine hangs 64 vehicles from the east of No. I-1 Stock Road (2) the shunting machine connects -IIA No. 1 stock road owner dropped 64 vehicles. Thereby realize that 64 cars in the I-1 No. stock track are moved to the I-IIA No. stock track.
具体的,所述调车计划包括未报点调车计划和已报点调车计划。未报点调车计划指的是车站现场未开始作业的调车计划,实际现场股道内车辆还未发生移动。已报点调车计划指的是车站现场已经完成作业的调车计划,户外现场调车作业人员(调车长,摘勾员,机车司机等人员)首先获取到未报点调车计划,根据该调车计划内容进行现场作业,当完成调车作业后会上报该调车计划的作业完成时间点,此时未报点调车计划变为已报点调车计划。Specifically, the shunting plan includes an unreported shunting plan and a reported shunting plan. The unreported shunting plan refers to the shunting plan that has not started operations at the station site, and the actual on-site vehicles in the lane have not yet moved. The reported shunting plan refers to the shunting plan that has completed operations on the station site. The outdoor on-site shunting operators (shunting chief, picker, locomotive driver, etc.) first obtain the unreported shunting plan, according to The content of the shunting plan is carried out on-site. When the shunting operation is completed, the completion time of the shunting plan will be reported. At this time, the unreported shunting plan becomes the reported shunting plan.
具体的,所述计划现车切面指的是系统根据未报点的调车计划推算的未来时 刻车辆在各个股道上的分布情况。通常车站调度员会根据现场作业情况提前编制好一系列调车计划,系统根据实际现车切面按照调车计划列表顺序依次推算未报点的调车计划,获得计划现车切面。如图6所示,P 1~P n为已经报点的调车计划,P n+1~P n+m为未报点调车计划,realTracks为实际现车切面,planTracks为计划现车切面。系统推算计划现车切面,可帮助车站调度员提前掌握未来调车计划执行后的车站内现车分布情况,并根据计划现车切面继续编制后续的调车计划。 Specifically, the planned current vehicle section refers to the distribution of vehicles on each lane in the future calculated by the system based on the unreported shunting plan. Usually, the station dispatcher will prepare a series of shunting plans in advance according to the on-site operation situation, and the system will calculate the unreported shunting plans in sequence according to the order of the shunting plan list according to the actual current vehicle sections, and obtain the planned current vehicle sections. As shown in Figure 6, P 1 ~ P n is the shunting plan that has been reported, P n+1 ~ P n+m is the shunting plan that has not been reported, realTracks is the actual current vehicle section, and planTracks is the planned existing vehicle section . The system calculates and plans the section of existing vehicles, which can help station dispatchers to grasp the distribution of existing vehicles in the station after the implementation of the future shunting plan in advance, and continue to prepare subsequent shunting plans according to the planned section of existing vehicles.
示例性的,如图9所示,所述调车计划列表由P 1、P 2至P n、P n+1、P n+2至P n+m组成。此时调车计划P n之前的调车计划已经全部完成报点,实际现车分布切面为P n,值得解释的是实际现车分布切面为P n指的是完成调车计划P n后的现车实际分布切面,下文中同理,不再解释。此时需要对调车计划P n+1进行报点。根据调车计划P n+1得到推导新的实际现车分布切面P n+1。需要对计划现车分布切面重新推算并验证,才能保证报点的准确性。 Exemplarily, as shown in FIG. 9 , the shunting plan list is composed of P 1 , P 2 to P n , P n+1 , and P n+2 to P n+m . At this time, the shunting plan before the shunting plan P n has all been reported, and the actual distribution section of existing vehicles is P n . It is worth explaining that the actual distribution section of existing vehicles is P n . The actual distribution section of the current vehicle is the same as the following, and will not be explained again. At this time, it is necessary to report the shunting plan P n+1 . According to the shunting plan P n+1 , a new actual existing vehicle distribution section P n+ 1 is derived. It is necessary to recalculate and verify the distribution of planned existing vehicles in order to ensure the accuracy of the reporting point.
示例性的,根据实际现车切面依次推算未报点的调车计划P n+1、P n+2至P n+m得到新的计划现车切面,如果能够成功推算出新的计划现车切面,则判定报点成功。 Exemplarily, the unreported shunting plans P n+1 , P n+2 to P n+m are sequentially calculated according to the actual existing vehicle section to obtain a new planned existing vehicle section. If the new planned existing vehicle can be successfully calculated If the section is cut, it is judged that the reporting point is successful.
进一步的,步骤S1中读取的实际现车分布切面以及调车计划列表数据的具体步骤如下:Further, the specific steps of the actual existing vehicle distribution section and the shunting plan list data read in step S1 are as follows:
从数据库读取实际现车切面及调车计划列表数据,将数据加载入系统内存;Read the actual vehicle section and shunting plan list data from the database, and load the data into the system memory;
具体的,数据库用于持久化实际现车切面及调车计划数据,系统初始化启动时将数据库中数据加载入系统内存并推算计划现车切面数据存入内存,因此系统运行时系统内存中存放实际现车切面、计划现车切面以及调车计划列表数据。内存数据根据用户操作实时推算更新,内存中实际现车分布与调车计划数据更新后实时同步到数据库。Specifically, the database is used to persist the actual current vehicle section and shunting plan data. When the system is initialized, the data in the database is loaded into the system memory and the calculated and planned current vehicle section data is stored in the memory. Therefore, when the system is running, the system memory stores the actual data. Existing vehicle section, planned existing vehicle section and shunting plan list data. The memory data is calculated and updated in real time according to user operations, and the actual vehicle distribution and shunting plan data in the memory are updated and synchronized to the database in real time.
在系统内存中,根据实际现车分布切面按照调车计划列表中未报点调车计划依次推导,得到计划现车分布切面并存放入系统内存。In the system memory, according to the actual existing vehicle distribution section, the unreported shunting plan in the shunting plan list is sequentially deduced, and the planned existing vehicle distribution section is obtained and stored in the system memory.
在实际工作过程中,步骤S1中调车计划列表为不断更新的过程,在报点的同时会新增调车计划。图7中示出了新建调车计划时现车分布推算流程图,步骤如下所示:In the actual work process, the shunting plan list in step S1 is a process of continuous updating, and a shunting plan will be added at the same time as the point is reported. Figure 7 shows the flow chart of calculating the existing vehicle distribution when creating a new shunting plan, and the steps are as follows:
S11:将新建调车计划放入调车计划列表末位。S11: Put the new shunting plan at the end of the shunting plan list.
S12:根据原计划现车切面及新建的调车计划推算新的计划现车切面。S12: Calculating the new planned current vehicle section according to the original planned existing vehicle section and the new shunting plan.
示例性的,如图8所示,P n+m+1为新增的调车计划,planTracks1为原计划现车切面,原计划现车切面根据P n+m+1可推算出新的计划现车切面planTracks2。 Exemplarily, as shown in Figure 8, P n +m+1 is the newly added shunting plan, planTracks1 is the current vehicle section of the original plan, and the new plan can be calculated according to the current vehicle section of the original plan Existing car section planTracks2.
S13:如果推算成功,将计划现车切面更新为新的计划现车切面;如果推算失败,不更新计划现车分布,同时将新建的调车计划从调车计划列表中删除。S13: If the calculation is successful, update the planned existing vehicle section to a new planned existing vehicle section; if the calculation fails, do not update the planned existing vehicle distribution, and delete the newly created shunting plan from the shunting plan list.
具体的,推算成功的标准是系统根据调车计划内容去股道中查找是否存在对应的车辆,且车辆的排序必须与调车计划中指定的车辆排序一致。Specifically, the criterion for successful calculation is that the system searches the lanes for corresponding vehicles according to the content of the shunting plan, and the order of the vehicles must be consistent with the order of vehicles specified in the shunting plan.
进一步的,操作人员根据现场实际情况为了操作方便和节省时间,有时候不会按照调车计划列表一步一步的进行现场作业,可能会跳过某一项调车计划,先执行下一项调车计划,再进行跳过的调车计划,即不严格的按照调车计划列表按 顺序进行报点。Further, in order to facilitate operation and save time according to the actual situation on the site, sometimes the operator does not carry out on-site operations step by step according to the shunting plan list, and may skip a shunting plan and execute the next shunting plan first Plan, and then skip the shunting plan, that is, report the points in sequence according to the shunting plan list.
示例性的,当未严格按照调车计划列表顺序进行报点时,推算步骤同上,首先根据原实际现车切面及上报的报点调车计划推算新的实际现车切面,然后根据新的实际现车分布切面按照调车计划列表中调车计划排列顺序,依次推算未报点的调车计划得到新的计划现车分布切面。Exemplarily, when the reporting points are not strictly followed in the order of the shunting plan list, the calculation steps are the same as above. First, the new actual existing vehicle section is calculated according to the original actual existing vehicle section and the reported reporting point shunting plan, and then according to the new actual According to the sequence of the shunting plans in the shunting plan list, the current vehicle distribution section calculates the unreported shunting plan in turn to obtain a new planned existing vehicle distribution section.
示例性的,如图10所示。当前的实际现车分布切面为P n,跳过调车计划P n+1,先对调车计划P n+2进行报点。此时,原实际现车切面依据调车计划P n+2进行推导,忽略调车计划P n+1,得到新的实际现车切面。接着根据新的实际现车切面及调车计划列表中所有未报点的调车计划,按照计划排列顺序依次推算P n+1、P n+3至P n+m到新的计划现车切面,如果能够成功推算出计划现车切面,则判定报点成功,更新实际现车分布切面,更新计划现车切面,反之则判定报点失败。 Exemplarily, as shown in FIG. 10 . The current actual vehicle distribution section is P n , the shunting plan P n+1 is skipped, and the shunting plan P n+2 is reported first. At this time, the original actual current vehicle section is derived according to the shunting plan P n+2 , and the shunting plan P n+1 is ignored to obtain a new actual current vehicle section. Then, according to the new actual existing vehicle section and all unreported shunting plans in the shunting plan list, calculate P n+1 , P n+3 to P n+m to the new planned existing vehicle section according to the sequence of the plan , if the planned existing vehicle section can be successfully calculated, then it is judged that the reporting point is successful, the actual existing vehicle distribution section is updated, and the planned existing vehicle section is updated, otherwise, it is judged that the reporting point fails.
示例性的,例举调车报点时根据新的实际现车切面推算新的计划现车切面来校验调车计划报点是否正确的必要性。如图11所示,当前实际现车切面,0001号车在1G,车站调度员依次编制3个未报点的调车计划P 1、P 2、P 3。调车计划内容如下: Exemplarily, the necessity of calculating the new planned current vehicle section according to the new actual current vehicle section to verify the correctness of the vehicle shunting plan report point is exemplified. As shown in Figure 11, the current actual current vehicle section, car No. 0001 is at 1G, and the station dispatcher sequentially compiles three shunting plans P 1 , P 2 , and P 3 that have not been reported. The shunting plan is as follows:
(1)P 1将车辆从1G移动至2G。 (1) P 1 moves the vehicle from 1G to 2G.
(2)P 2将车辆从2G移动回1G。 (2) P 2 moves the vehicle from 2G back to 1G.
(3)P 3将车辆从1G移动至3G。 (3) P 3 moves the vehicle from 1G to 3G.
经过推算P 1、P 2、P 3,计划现车切面上,0001号车辆最终被移动至3G。现场根据调车计划进行作业,完成P 1。如果现场工作人员正确报点P 1。此时新的实际现车切面上,0001号车辆被移动至2G。新的实际现车切面继续推算P 2、P 3可正常推算出计划现车切面。如果现场工作人员操作失误,没有报点P 1,而是错误报点了P 3,系统首先推算新的实际切面将车辆移动至3G,然后根据新的实际切面按照顺序依次推算P 1、P 2,当推算P 1时发现新的实际现车切面上1G不存在0001号车(此时车辆在3G),因此推算错,系统判断现场操作人员报点错误,从而有效防止现场人员误操作。 After calculating P 1 , P 2 , and P 3 , on the planned current vehicle section, vehicle No. 0001 was finally moved to 3G. Work on site according to the shunting plan and complete P 1 . If the on-site staff reports point P 1 correctly. At this time, on the new actual vehicle section, vehicle No. 0001 was moved to 2G. The new actual existing vehicle section continues to calculate P 2 and P 3 , and the planned existing vehicle section can be calculated normally. If the on-site staff makes a mistake and reports P 3 instead of P 1 , the system first calculates the new actual section to move the vehicle to 3G, and then calculates P 1 and P 2 sequentially based on the new actual section , when calculating P 1 , it is found that No. 0001 car does not exist in 1G on the new actual current vehicle cut plane (the vehicle is at 3G at this time), so the calculation is wrong, and the system judges that the on-site operator reports a wrong point, thus effectively preventing the on-site personnel from misoperation.
本发明还公开了一种现车分布推算系统,所述现车分布推算系统包括存取模块和推算模块。所述存取模块用于读取实际现车分布切面和调车计划列表。所述推算模块用于根据调车计划列表中调车计划从实际现车分布切面按顺序推导得到新的实际现车分布切面,并继续根据所有未报点的调车计划从新的实际现车分布切面推导得到计划现车切面。The invention also discloses an existing vehicle distribution calculation system, which includes an access module and a calculation module. The access module is used to read the actual vehicle distribution section and the list of shunting plans. The calculation module is used to derive a new actual existing vehicle distribution section in order from the actual existing vehicle distribution section according to the shunting plan in the shunting plan list, and continue to obtain a new actual existing vehicle distribution section according to all unreported shunting plans. Cut planes are deduced to obtain planned current vehicle cut planes.
具体的,所述存取模块包括数据库及系统内存。数据库用于保存实际现车分布切面及调车计划列表数据,可持久化数据,系统初始化启动时可从数据库加载数据进入系统内存;系统内存存放实际现车分布切面和调车计划列表数据,所述推导模块根据所述实际现车分布切面和电车计划列表推算出计划分布切面,并存储到系统内存中。由于内存数据读取速度快,可根据用户操作实时推算更新数据,保证系统实时性,当内存中实际现车分布切面与调车计划数据更新后同步到数据库,保证系统内存数据与数据库数据的一致性。所述推算模块用于根据调车计划列表中调车计划数据推算并更新实际现车分布切面。Specifically, the access module includes a database and system memory. The database is used to save the actual vehicle distribution section and shunting plan list data, and the data can be persisted. When the system is initialized and started, the data can be loaded from the database into the system memory; the system memory stores the actual vehicle distribution section and shunting plan list data, so The derivation module calculates the planned distribution section according to the actual existing vehicle distribution section and the tram plan list, and stores it in the system memory. Due to the fast reading speed of the memory data, the updated data can be estimated and updated in real time according to user operations to ensure the real-time performance of the system. When the actual vehicle distribution section in the memory and the shunting plan data are updated, they are synchronized to the database to ensure the consistency between the system memory data and the database data. sex. The calculation module is used to calculate and update the actual existing vehicle distribution section according to the data of the shunting plan in the shunting plan list.
具体的,所述调车计划列表包括未报点调车计划和已报点调车计划。Specifically, the list of shunting plans includes unreported shunting plans and reported shunting plans.
新增调车计划需要更新计划现车分布切面时,所述推算模块用于将新建调车计划放入调车计划列表末位;根据原计划现车切面及新建的调车计划推算新的计划现车切面;如果推算成功,将计划现车切面更新为新的计划现车切面;如果推算失败,不更新计划现车分布,同时将新建的调车计划从调车计划列表中删除。When the newly added shunting plan needs to update the planned existing vehicle distribution section, the calculation module is used to put the new shunting plan into the last position of the shunting plan list; calculate the new plan according to the original planned existing vehicle section and the newly created shunting plan Existing vehicle section; if the calculation is successful, update the planned existing vehicle section to the new planned existing vehicle section; if the calculation fails, do not update the planned existing vehicle distribution, and delete the newly created shunting plan from the shunting plan list.
调车计划报点时推算新的实际现车分布切面具体包括:将调车计划列表中对应的调车计划设置为报点状态;根据原实际现车切面及报点的调车计划推算新的实际现车切面;根据新的实际现车切面及所有未报点的调车计划推算计划现车切面;如果计划现车切面推算失败,撤回调车计划报点状态。如果计划现车切面推算成功,更新实际现车切面,更新计划现车切面。如果实际现车切面推算失败,撤回调车计划报点状态;如果实际现车切面推算成功,则进一步推算新的计划现车分布切面。Calculation of the new actual vehicle distribution section when the shunting plan is reported includes: setting the corresponding shunting plan in the shunting plan list as the report status; calculating the new section according to the original actual current vehicle section and the reported shunting plan Actual existing vehicle section; Calculate the planned existing vehicle section according to the new actual existing vehicle section and all unreported shunting plans; if the calculation of the planned existing vehicle section fails, cancel the reporting status of the return plan. If the calculation of the planned existing vehicle section is successful, the actual existing vehicle section is updated, and the planned existing vehicle section is updated. If the calculation of the actual existing vehicle section fails, the report point status of the return vehicle plan is withdrawn; if the calculation of the actual existing vehicle section is successful, the new planned existing vehicle distribution section is further calculated.
当未按照调车计划列表顺序进行报点时,具体推导步骤包括如下:根据原实际现车切面及上报的报点调车计划推算新的实际现车切面;根据新的实际现车分布切面依次推算未报点的调车计划得到新的计划现车分布切面。When reporting points are not carried out in accordance with the order of the shunting plan list, the specific derivation steps include the following: Calculate the new actual existing vehicle section according to the original actual existing vehicle section and the reported shunting plan; according to the new actual existing vehicle distribution section in order Calculating the unreported shunting plan to obtain a new planned distribution section of existing vehicles.
尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: they can still modify the technical solutions described in the aforementioned embodiments, or perform equivalent replacements for some of the technical features; and these The modification or replacement does not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims (17)

  1. 一种基于全局的现车管理系统,其特征在于,A global-based existing vehicle management system is characterized in that,
    所述基于全局的现车管理系统包括客户端、应用聚合服务层、应用内核服务层和数据库层;The overall-based existing vehicle management system includes a client, an application aggregation service layer, an application kernel service layer and a database layer;
    所述客户端用于对所述基于全局的现车管理系统的人机交互工作;The client is used for human-computer interaction work on the global-based existing vehicle management system;
    所述应用内核服务层用于实现核心业务逻辑,并通过应用聚合服务层对外提供服务;The application kernel service layer is used to implement core business logic and provide external services through the application aggregation service layer;
    所述应用聚合服务层用于所述应用内核服务层的所有微服务,解耦客户端、内核服务层和外部系统;The application aggregation service layer is used for all microservices of the application kernel service layer, decoupling the client, the kernel service layer and external systems;
    所述数据库层与所述应用内核服务层进行通信,为所述应用内核服务层提供数据存储和数据调用。The database layer communicates with the application kernel service layer to provide data storage and data call for the application kernel service layer.
  2. 根据权利要求1所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on overall situation according to claim 1, characterized in that,
    所述客户端基于浏览器实现,采用WebUI框架。The client is implemented based on a browser and uses a WebUI framework.
  3. 根据权利要求2所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on overall situation according to claim 2, wherein,
    所述客户端包括现在车分布界面、调车计划管理界面、技术作业图表、接发车表、统计分析界面和系统维护界面。The client includes a current vehicle distribution interface, a shunting plan management interface, a technical operation chart, a dispatch table, a statistical analysis interface, and a system maintenance interface.
  4. 根据权利要求1所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on overall situation according to claim 1, characterized in that,
    所述应用聚合服务层包括Web应用聚合服务和接口微服务平台;The application aggregation service layer includes a Web application aggregation service and an interface micro-service platform;
    所述Web应用聚合服务用于为所有PC端和APP端提供统一的服务API;The Web application aggregation service is used to provide a unified service API for all PCs and APPs;
    所述接口微服务平台用于将外部系统的接口部分抽象为单独的接口层,与业务层分离。The interface micro-service platform is used to abstract the interface part of the external system into a separate interface layer, which is separated from the business layer.
  5. 根据权利要求4所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on overall situation according to claim 4, characterized in that,
    所述外部系统包括计划调度信息系统、机务段信息系统、车辆调度信息系统、货运调度信息系统、车号识别系统和施工管理信息系统。The external systems include planning dispatching information system, locomotive depot information system, vehicle dispatching information system, freight dispatching information system, vehicle number identification system and construction management information system.
  6. 根据权利要求1所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on overall situation according to claim 1, characterized in that,
    所述应用内核服务层包括多个内核服务,每个所述内核服务之间相对独立,内核服务相互之间松耦合,通过RESful和/或消息中间件的方式进行通信。The application kernel service layer includes a plurality of kernel services, each of which is relatively independent, loosely coupled with each other, and communicates through RESful and/or message middleware.
  7. 根据权利要求6所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on the overall situation according to claim 6, wherein,
    多个所述内核服务层包括现车服务、行车服务、统计决策分析、权限管理服务、基础数据管理和日志管理。The multiple core service layers include existing vehicle service, driving service, statistical decision analysis, authority management service, basic data management and log management.
  8. 根据权利要求6所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on the overall situation according to claim 6, wherein,
    所述内核服务采用基于SpringBoot框架的单体程序形式,对外独立发布服务接口,并通过服务接口调用方式获取其他单体内核程序的服务。The core service adopts the form of a single program based on the SpringBoot framework, independently publishes service interfaces externally, and obtains services of other single core programs through service interface calls.
  9. 根据权利要求8所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on the overall situation according to claim 8, wherein,
    所述内核服务层在服务规模低于第一设定值,未采用分布式部署的情况下,采用文档约定方式管理服务接口;在服务规模高于第一设定值,接口数量大于第二设定值时,采用部署服务发现实现服务自动注册和发现功能并简化微服务之间的调用。When the service scale is lower than the first set value and the distributed deployment is not adopted, the kernel service layer manages the service interfaces in a document-agreed manner; when the service scale is higher than the first set value, the number of interfaces is greater than the second set value When setting the value, use deployment service discovery to realize automatic service registration and discovery functions and simplify calls between microservices.
  10. 根据权利要求1所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on overall situation according to claim 1, characterized in that,
    所述应用内核服务层与公共组件连接,所述公共组件用于通用功能在业务组件间的复用。The application core service layer is connected with public components, and the public components are used for multiplexing of common functions among business components.
  11. 根据权利要求10所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on the overall situation according to claim 10, wherein,
    所述公共组件包括认证授权模块、用户操作记录、通用实体对象、通用工具类。The public components include authentication and authorization modules, user operation records, general entity objects, and general tool classes.
  12. 根据权利要求1所述的基于全局的现车管理系统,其特征在于,The existing vehicle management system based on overall situation according to claim 1, characterized in that,
    所述基于全局的现车管理系统采用SOA的B/S微服务架构。The global-based existing vehicle management system adopts the SOA B/S micro-service architecture.
  13. 一种基于全局的现车管理方法,其特征在于,A kind of existing vehicle management method based on overall situation, it is characterized in that,
    所述现车管理方法包括以下步骤:The vehicle management method includes the following steps:
    S1:使用应用内核服务层实现核心业务逻辑,并通过应用聚合服务层对外提供服务;S1: Use the application kernel service layer to implement core business logic, and provide external services through the application aggregation service layer;
    S2:使用应用聚合服务层聚合所述应用内核服务层所有的微服务,并解耦客户端、内核服务层和外部系统;S2: Use the application aggregation service layer to aggregate all the microservices of the application kernel service layer, and decouple the client, kernel service layer and external systems;
    S3:使用数据库层与所述应用内核服务层进行通信,为所述应用内核服务层提供数据存储和数据调用;S3: use the database layer to communicate with the application kernel service layer, and provide data storage and data call for the application kernel service layer;
    S4:使用客户端对所述基于全局的现车管理系统进行人机交互操作。S4: Use the client to perform human-computer interaction on the global-based existing vehicle management system.
  14. 根据权利要求13所述的基于全局的现车管理方法,其特征在于,The existing vehicle management method based on overall situation according to claim 13, characterized in that,
    步骤S1中所述内核服务采用基于SpringBoot框架的单体程序形式,对外独立发布服务接口,并通过服务接口调用方式获取其他单体内核程序的服务。The core service described in step S1 adopts the form of a single program based on the SpringBoot framework, independently publishes the service interface externally, and obtains the services of other single core programs through the service interface call.
  15. 根据权利要求13所述的基于全局的现车管理方法,其特征在于,The existing vehicle management method based on overall situation according to claim 13, characterized in that,
    步骤S2中所述应用聚合服务层包括Web应用聚合服务和接口微服务平台;The application aggregation service layer described in step S2 includes a Web application aggregation service and an interface microservice platform;
    所述Web应用聚合服务用于为所有PC端和APP端提供统一的服务API;The Web application aggregation service is used to provide a unified service API for all PCs and APPs;
    所述接口微服务平台用于将外部系统的接口部分抽象为单独的接口层,与业务层分离。The interface micro-service platform is used to abstract the interface part of the external system into a separate interface layer, which is separated from the business layer.
  16. 根据权利要求13所述的基于全局的现车管理方法,其特征在于,The existing vehicle management method based on overall situation according to claim 13, characterized in that,
    所述内核服务层在服务规模低于第一设定值,未采用分布式部署的情况下,采用文档约定方式管理服务接口;在服务规模高于第一设定值,接口数量大于第二设定值时,采用部署服务发现实现服务自动注册和发现功能并简化微服务之间的调用。When the service scale is lower than the first set value and the distributed deployment is not adopted, the kernel service layer manages the service interfaces in a document-agreed manner; when the service scale is higher than the first set value, the number of interfaces is greater than the second set value When setting the value, use deployment service discovery to realize automatic service registration and discovery functions and simplify calls between microservices.
  17. 根据权利要求13所述的基于全局的现车管理方法,其特征在于,The existing vehicle management method based on overall situation according to claim 13, characterized in that,
    步骤S4中所述客户端基于浏览器实现,采用WebUI框架。The client in step S4 is implemented based on a browser, using a WebUI framework.
PCT/CN2022/103810 2021-07-06 2022-07-05 Global-based inventory management system and method WO2023280140A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110759928.8A CN113204444B (en) 2021-07-06 2021-07-06 Present vehicle management system based on global situation and method thereof
CN202110759928.8 2021-07-06

Publications (1)

Publication Number Publication Date
WO2023280140A1 true WO2023280140A1 (en) 2023-01-12

Family

ID=77022750

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/103810 WO2023280140A1 (en) 2021-07-06 2022-07-05 Global-based inventory management system and method

Country Status (2)

Country Link
CN (1) CN113204444B (en)
WO (1) WO2023280140A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116142268A (en) * 2023-04-24 2023-05-23 中国铁道科学研究院集团有限公司通信信号研究所 Train control equipment dynamic monitoring system based on middle platform architecture

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204444B (en) * 2021-07-06 2022-04-26 北京全路通信信号研究设计院集团有限公司 Present vehicle management system based on global situation and method thereof
CN114379621B (en) * 2022-01-04 2023-06-27 北京全路通信信号研究设计院集团有限公司 Method, system, device, equipment and medium for processing confirmed report information
CN114454925B (en) * 2022-01-06 2023-10-27 北京全路通信信号研究设计院集团有限公司 Global-based technical operation chart generation and communication method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160232721A1 (en) * 2015-02-11 2016-08-11 Accenture Global Services Limited Integrated fleet vehicle management system
CN109278811A (en) * 2018-09-27 2019-01-29 北京全路通信信号研究设计院集团有限公司 A kind of comprehensive automation realization system and method for railway passenger station Transportation Organization
CN109995713A (en) * 2017-12-30 2019-07-09 华为技术有限公司 Service processing method and relevant device in a kind of micro services frame
CN112215550A (en) * 2020-10-20 2021-01-12 东方钢铁电子商务有限公司 Railway freight data processing system and method
CN113204444A (en) * 2021-07-06 2021-08-03 北京全路通信信号研究设计院集团有限公司 Present vehicle management system based on global situation and method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200419413A (en) * 2003-01-13 2004-10-01 I2 Technologies Inc Master data management system for centrally managing core reference data associated with an enterprise
CN107291759B (en) * 2016-04-01 2020-08-11 腾讯科技(深圳)有限公司 Method and device for processing browser page resources
CN110222990B (en) * 2019-06-11 2021-07-20 中国铁道科学研究院集团有限公司电子计算技术研究所 Train whole-course scheduling method and system based on traffic flow calculation
CN111488143A (en) * 2020-04-15 2020-08-04 南京及物智能技术有限公司 Automatic code generation device and method based on Springboot2
CN112149169A (en) * 2020-10-12 2020-12-29 Oppo广东移动通信有限公司 Application access method and device and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160232721A1 (en) * 2015-02-11 2016-08-11 Accenture Global Services Limited Integrated fleet vehicle management system
CN109995713A (en) * 2017-12-30 2019-07-09 华为技术有限公司 Service processing method and relevant device in a kind of micro services frame
CN109278811A (en) * 2018-09-27 2019-01-29 北京全路通信信号研究设计院集团有限公司 A kind of comprehensive automation realization system and method for railway passenger station Transportation Organization
CN112215550A (en) * 2020-10-20 2021-01-12 东方钢铁电子商务有限公司 Railway freight data processing system and method
CN113204444A (en) * 2021-07-06 2021-08-03 北京全路通信信号研究设计院集团有限公司 Present vehicle management system based on global situation and method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116142268A (en) * 2023-04-24 2023-05-23 中国铁道科学研究院集团有限公司通信信号研究所 Train control equipment dynamic monitoring system based on middle platform architecture
CN116142268B (en) * 2023-04-24 2023-09-22 中国铁道科学研究院集团有限公司通信信号研究所 Train control equipment dynamic monitoring system based on middle platform architecture

Also Published As

Publication number Publication date
CN113204444B (en) 2022-04-26
CN113204444A (en) 2021-08-03

Similar Documents

Publication Publication Date Title
WO2023280140A1 (en) Global-based inventory management system and method
CN107341595B (en) Public service platform for vehicle dynamic information
CN101315731B (en) System for implementing vehicle monitoring scheduling by GPS intelligent vehicle mounted terminal
CN102867243B (en) Computerized mine production system
CN102625339A (en) Monitoring system for using state of integrated wireless communication equipment of railway locomotive
CN103713603B (en) A kind of mine vehicle scheduling and logistics information supervisory system
CN108860223B (en) Data processing system and method
CN102881154B (en) Vehicle scheduling equipment, vehicular terminals, vehicle scheduling system and vehicle scheduling method
CN114493154A (en) Fault maintenance work order distribution method and device based on rail transit
CN107563686B (en) Method and system for verifying eighteen statistical data of railway transportation and storage medium
CN115049325A (en) Intelligent scheduling method, system, equipment and storage medium for container port transshipment
CN113247057B (en) Data system based on global present vehicle management system and data processing method thereof
CN106354863A (en) System and method for managing rail-transit electronic map
JP4498262B2 (en) Information sharing method in distributed system
CN112584356A (en) Wireless configuration method and device for vehicle-mounted terminal, server and storage medium
CN113256177B (en) Existing vehicle distribution calculation method and system
CN103218701A (en) Logistics cargo allocation information interactive method
CN109657813A (en) A kind of provincial auto repair Electronic Health Record management system and method
CN202870906U (en) Station-level safety production command center system
CN110185937A (en) A kind of pipeline inspection monitoring method, server and system
CN114379621A (en) Confirmed information processing method, system, device, equipment and medium
CN102194166A (en) Passenger transport information processing system based on in-depth data integration
OA21013A (en) Present car global management system and method thereof.
CN113127592B (en) Distributed storage system
CN115366954B (en) TACS and CBTC compatible operation system and method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22836891

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE