WO2017124858A1 - Method and system for on-line traffic simulation - Google Patents

Method and system for on-line traffic simulation Download PDF

Info

Publication number
WO2017124858A1
WO2017124858A1 PCT/CN2016/109713 CN2016109713W WO2017124858A1 WO 2017124858 A1 WO2017124858 A1 WO 2017124858A1 CN 2016109713 W CN2016109713 W CN 2016109713W WO 2017124858 A1 WO2017124858 A1 WO 2017124858A1
Authority
WO
WIPO (PCT)
Prior art keywords
simulation
user
traffic simulation
traffic
data
Prior art date
Application number
PCT/CN2016/109713
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 WO2017124858A1 publication Critical patent/WO2017124858A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/30Circuit design
    • G06F30/36Circuit design at the analogue level
    • G06F30/367Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/02CAD in a network environment, e.g. collaborative CAD or distributed simulation

Definitions

  • the invention relates to the field of traffic simulation, and in particular to an online traffic simulation method and system.
  • Traffic simulation system is one of the effective means of traffic analysis. Its purpose is to use computer technology to reproduce complex traffic phenomena, explain and analyze these phenomena, find out the problems and crux, and finally carry out the traffic system under study. optimization.
  • the domestic and international mature commercial traffic simulation software mainly includes: AIMSUN in Spain, VlSSIM in Germany, and FLOWSIM in China.
  • the traffic simulation software of the stand-alone version can simulate the traffic.
  • the number of intersections is limited. If there are a large number of traffic intersections to be simulated, it is necessary to purchase multiple servers to form a cluster to install traffic simulation software, which further increases the cost of using the software, and the user maintains the cluster.
  • each traffic simulation system has its own advantages, each has its own strengths; and the user's focus on each simulation is different, which leads to the selection of different and optimal traffic simulation software for each simulation, which further increases the user's use.
  • the cost of traffic simulation software Therefore, how to reduce the use cost of the traffic simulation system has become an urgent problem to be solved.
  • the present invention provides an online traffic simulation method and system, which allows multiple users to simultaneously perform online traffic simulation. Compared with traditional simulation software, it can not only reduce the user's payment costs, but also eliminate the related The cost of hardware and operation and maintenance is more practical, simple and flexible.
  • the present invention provides an online traffic simulation method, comprising the steps of: receiving a traffic simulation request of a user; selecting an simulation mode according to the user information and the traffic simulation request; performing traffic simulation according to the simulation mode; The data of the traffic simulation is fed back to the user.
  • the step of selecting an emulation mode according to the information of the user and the traffic simulation request comprises: reading required data from a data table structure separately established for the user according to the information of the user; The user's information is read from the simulation mode table structure separately established for the user in advance; the corresponding simulation mode information is determined according to the required data, the required simulation mode information, and the traffic simulation request. Simulation mode.
  • the simulation mode comprises: selecting an optimal server terminal by using a load balancing algorithm.
  • the step of performing traffic simulation according to the simulation mode comprises: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model at the location The traffic simulation is completed on the server terminal of the simulation mode selection.
  • the data of the traffic simulation is data including a modeling, operation, result display, etc. showing the entire traffic simulation process.
  • the optimal server terminal is: a server terminal with the fastest network speed and the largest remaining computing resources between the users.
  • the invention provides an online traffic simulation system, comprising the following modules: a user interface module, configured to receive a traffic simulation request of a user; and a processing mode selection module, configured to select an simulation mode according to the information of the user and the traffic simulation request a traffic simulation execution module, configured to perform traffic simulation according to the simulation mode; and a data feedback module, configured to feed back data of the traffic simulation to the user.
  • a user interface module configured to receive a traffic simulation request of a user
  • a processing mode selection module configured to select an simulation mode according to the information of the user and the traffic simulation request
  • a traffic simulation execution module configured to perform traffic simulation according to the simulation mode
  • a data feedback module configured to feed back data of the traffic simulation to the user.
  • the processing mode selection module includes: a data table structure reading module, configured to read required data from a data table structure separately established for the user according to the information of the user; the simulation information reading module For separately generating a copy for the user in advance according to the information of the user Reading the required simulation mode information in the real mode table structure; the simulation mode determining module is configured to determine a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request.
  • a data table structure reading module configured to read required data from a data table structure separately established for the user according to the information of the user
  • the simulation information reading module For separately generating a copy for the user in advance according to the information of the user Reading the required simulation mode information in the real mode table structure
  • the simulation mode determining module is configured to determine a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request.
  • the simulation mode comprises: selecting an optimal server terminal by using a load balancing algorithm.
  • the step of the traffic simulation execution module comprises: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model to be selected by the simulation mode The traffic simulation is completed on the server terminal.
  • the data of the traffic simulation is data including a modeling, operation, result display, etc. showing the entire traffic simulation process.
  • the optimal server terminal is: a server terminal with the fastest network speed and the largest remaining computing resources between the users.
  • the invention provides a web-based traffic simulation system, comprising the following modules: a user interface module, configured to receive a traffic simulation request of a user; and a processing mode selection module, configured to select according to the user information and the traffic simulation request a simulation mode; a traffic simulation execution module, configured to perform traffic simulation according to the simulation mode; and a data feedback module, configured to feed back data of the traffic simulation to the user.
  • the processing mode selection module includes: a data table structure reading module, configured to read required data from a data table structure separately established for the user according to the information of the user; the simulation information reading module And for reading, according to the information of the user, the required simulation mode information from a simulation mode table structure separately established for the user in advance; the simulation mode determining module, configured to: according to the required data, the required simulation The mode information and the traffic simulation request determine their corresponding simulation modes.
  • a data table structure reading module configured to read required data from a data table structure separately established for the user according to the information of the user
  • the simulation information reading module And for reading, according to the information of the user, the required simulation mode information from a simulation mode table structure separately established for the user in advance
  • the simulation mode determining module configured to: according to the required data, the required simulation The mode information and the traffic simulation request determine their corresponding simulation modes.
  • the simulation mode comprises: selecting an optimal server terminal by using a load balancing algorithm.
  • the step of the traffic simulation execution module comprises: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model to be selected by the simulation mode The traffic simulation is completed on the server terminal.
  • the data of the traffic simulation is web page data including modeling, operation, result display, etc. showing the entire traffic simulation process.
  • the server terminal with the fastest network and the most computing resources remaining between the users and the user.
  • the present invention has the following advantages:
  • the present invention provides an online traffic simulation method and system, the method comprising: receiving a traffic simulation request of a user; selecting an simulation mode according to the information of the user and the traffic simulation request; performing traffic simulation according to the simulation mode; The data of the traffic simulation is fed back to the user.
  • the traffic simulation software if the user wants to use the traffic simulation software, it usually needs to purchase the traffic simulation software at a full cost at a high cost; meanwhile, due to the limitation of the machine performance, the traffic simulation software of the stand-alone version can simulate the traffic of the traffic scene.
  • the number and complexity of intersections are limited, so if the number of traffic intersections of the traffic scene to be simulated is large or the complexity is high, it is necessary to purchase multiple machines to form a cluster to install the traffic simulation software, which further increases The cost of the user using traffic simulation software.
  • the online traffic simulation method and system according to the present invention uniformly deploys the traffic simulation system on the online simulation system, thereby realizing the whole process of online simulation, and the user does not need to purchase the traffic simulation software at full price, and does not need to purchase the machine.
  • the installation of the traffic simulation software only needs to pay according to the usage; and the user does not need to participate in the later system maintenance and upgrade, which further saves the cost of the user for traffic simulation, and is also convenient.
  • An online traffic simulation method and system comprising a plurality of server terminals, which are respectively located at different positions of the network, and they are capable of performing traffic simulation separately, and an optimal one can be selected therefrom.
  • the server terminal serves the user, so that the user can be better served.
  • the other server terminals can continue to provide services, thereby improving the stability of the entire system.
  • the online traffic simulation method and system according to the present invention selecting an optimal traffic simulation model for the simulation mode, acquiring data required for the traffic simulation request, and calling the traffic simulation model in the The traffic simulation is completed on the server terminal selected by the simulation mode.
  • different traffic simulation softwares have their own advantages and advantages, and the focus of each simulation of the user is different, so that each simulation preferably selects different, optimal traffic simulation software, which The traffic simulation cost of the user is increased, and the online traffic simulation method and system according to the present invention can directly select an optimal traffic simulation model for traffic simulation according to the user's traffic simulation request, which is convenient for the user to use and also reduces The cost of traffic simulation for users is low.
  • the online traffic simulation method and system according to the present invention wherein the data required for the traffic simulation request includes modeling, operation, and result display, and can display data of the entire traffic simulation process.
  • the entire traffic simulation process can be presented to the user in real time, so that the user feels that there is no difference between the online traffic simulation and the local use of the traffic simulation software, thereby making it easier for the user to use the online simulation system. Reduced user training costs.
  • the online traffic simulation method and system according to the present invention uses a load balancing algorithm to select an optimal server terminal, and the online simulation method and system according to the present invention are used to facilitate users in different locations of the network to use the traffic simulation system.
  • the network speed between users and different server terminals is often different, and the same server terminal provides services for multiple users at the same time. Therefore, when a user needs to carry out traffic simulation, he can choose a server terminal with the fastest network and the most remaining resources between them, so that the user can complete his traffic simulation task more conveniently, quickly and smoothly, and increase User satisfaction.
  • FIG. 1 is a flowchart of an online traffic simulation method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic diagram of an online traffic simulation system according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic diagram of a Web-based traffic simulation system according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic diagram of a Web-based traffic simulation system according to Embodiment 3 of the present invention.
  • the invention provides an online traffic simulation method.
  • traffic simulation refers to: using computer simulation technology to realistically and dynamically simulate road traffic flow and reproduce the time and space of traffic flow. Changes, traffic accidents, traffic control and other traffic phenomena, in-depth analysis of the various relationships and characteristics of people, vehicles, roads, the use of simulation to analyze the crux of the problem, and can optimize the existing transportation system or transformation program.
  • traffic simulation software to carry out related research, with low cost, low risk, repeatability and many other advantages, and is not subject to field test conditions, simulation technology has become an important means to analyze traffic flow characteristics and engineering optimization, and also internationally.
  • One of the hot spots in the transportation field One of the hot spots in the transportation field.
  • the more mature commercial traffic simulation softwares in the world mainly include: AIMSUN in Spain, VlSSIM in Germany, and FLOWSIM in China.
  • FLOWSIM software can be selected.
  • the simulation software is set in the traffic simulation server system, and various types of traffic simulations can be performed according to the needs of the user.
  • the prior traffic simulation prevention in this embodiment includes the following steps:
  • Step S1 receiving a traffic simulation request of the user.
  • the client used by the user may be a PC or various mobile devices; a client software may be installed on the client, and the user connects the online simulation system providing the online simulation service and sends a simulation request through the client software; The user can also connect to the online simulation system via a browser and send a simulation request on the client.
  • the data transmitted between the user and the online simulation system often has high commercial value. Therefore, the security of the transmitted data can be ensured by means of encryption (for example, SSL encryption, etc.)
  • the received user's traffic simulation request may be encrypted.
  • the online simulation system can provide online traffic simulation services for multiple users at the same time.
  • the user and the online emulation system can be located in the same local area network or in different locations on the network.
  • the user accesses the Internet through a client computer or other terminal device, and accesses the web version of FLOWSIM; the FLOWSIM web service version is established in the FLOWSIM private network, and the private network is based on the existing software
  • the local area network established by the FLOWSIM server has an external access interface; all kinds of service requests of the user on the Web version of FLOWSIM are completed by the FLOWSIM software in the server and stored in the database.
  • Step S2 Select an emulation mode according to the information of the user and the traffic simulation request.
  • the server system stores related information of the user, and the user needs to log in to the server system. In order to use the online service, you can get the information of the logged in user.
  • the traffic simulation software FLOWSIM's service mode is mainly based on product as its core, and FLOWSIM has broad development prospects.
  • the core component of the simulation software FLOWSIM is a set of microscopic traffic simulation model established by the applicant based on fuzzy mathematics theory at the Transportation Research Institute of Southampton University in the United Kingdom. The model is established by using fuzzy mathematics theory and a large number of data acquisition foundations. A follow-up model, a lane change model, and a merge model that embody the driver's inherent driving behavior.
  • FLOWSIM simulation can accurately simulate the road network operation state, traffic flow characteristics and signal timing, and use traffic simulation results to provide more accurate decision support for real-time path planning.
  • the FLOWSIM model has been widely used in China and has been developed to version 3.0. Beginning in 2000, the characteristics of mixed traffic flow in China have been studied. At present, the calibration and verification of the model in China has been completed, and the micro-behavior model of bicycles and pedestrians under mixed traffic flow conditions has been established, making FLOWSIM the only basis.
  • China's road condition data is established by the system of mixed traffic popular as a model of traffic simulation software.
  • the simulation mode may be selected to serve the user, for example, obtaining the user's tariff information, and when the remaining fee in the user's account is insufficient to pay for the traffic simulation, The user will be prompted to recharge and the user is prohibited from performing the traffic simulation; sometimes, in order to attract users to use the online traffic simulation service, some users can use it for free, but the scale, complexity and support of the traffic scene that can be simulated are supported. The features will be limited and so on.
  • the size and complexity of the traffic scenarios to be simulated by different traffic simulation requests will be different. Therefore, in order to perform this traffic simulation, the resources required for the online simulation system will generally be different. Therefore, when the remaining resources of the online simulation system are insufficient to complete the traffic simulation, the traffic simulation may be rejected, or the traffic simulation may be performed when the resources are sufficient.
  • the online simulation system may include a cluster, and then may select a suitable number of machines from the cluster according to the size, complexity, and the like of the traffic scenario to be simulated by the traffic simulation request.
  • the operation that the user can request on the client is reduced compared to the stand-alone version of FLOWSIM.
  • its supported functions include: establishing road network geometry model, establishing road network data model, establishing traffic control plan and running traffic simulation and returning simulation operation results.
  • the Web version of FLOWSIM has certain restrictions on the size of the road network to ensure software operation and data transmission speed.
  • FLOWSIM serves multiple units across the country, and there will be multiple users sharing, so multi-user management is required.
  • the stand-alone database solution has the highest isolation level and the lowest level of sharing.
  • this solution usually increases the cost of equipment maintenance and tenant data backup, and the hardware cost is higher than other solutions. Therefore, FLOWSIM's SaaS service mainly uses a shared database but isolated data architecture scheme. All users use a database together, but each has its own set of different data table structures and is stored in a separate mode. This solution not only saves a certain cost, but also ensures that each user is isolated from each other to ensure data security.
  • the step of selecting an emulation mode according to the information of the user and the traffic simulation request includes:
  • Step S21 Read the required data from the data table structure separately established for the user in advance according to the information of the user.
  • the online simulation system needs to serve different users. In order to prevent these users from interfering with each other, it is necessary to establish a separate data table structure for each user to store the information of each user. For example: tariff information, user type information, network speed information between the user and the server terminal, user location information, past traffic simulation data information, etc., can be read from when needed.
  • Step S22 Read required simulation mode information from a simulation mode table structure separately established for the user in advance according to the information of the user;
  • a separate simulation mode table structure can be preset on the online simulation system, and information about the simulation mode is stored in the simulation mode table structure, and can be read from when needed.
  • Step S23 Determine a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request.
  • a separate database can be set up for each user, that is, the data table structures of different users are stored in different databases respectively; a database can also be shared, but each user has a separate set of different data table structures and stores. In a separate mode.
  • Step S3 Perform traffic simulation according to the simulation mode.
  • traffic simulation can be performed after the simulation mode is selected. Selecting a traffic simulation model optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model to complete the traffic simulation on a server terminal selected by the simulation mode.
  • the traffic simulation data is data showing the entire traffic simulation process including modeling, operation, and result display.
  • the online simulation system also reduces the cost of training for users.
  • the server terminal providing the online traffic simulation service may include the traffic simulation model provided by each different traffic simulation software in the prior art, so that the optimal traffic simulation model for the traffic simulation request may be invoked for traffic.
  • the simulation facilitates the user's use and reduces the cost of the user's traffic simulation.
  • a plurality of server terminals may be included, and a suitable server terminal is selected by the simulation mode, and then the traffic simulation module is invoked on the server terminal to complete the traffic simulation.
  • FLOWSIM can further strengthen the relationship between the operator and the user, through long-term service maintenance User relationship; can reduce user risk, avoid the satisfaction caused by one sale can not reach the expected situation; promote the integration of FLOWSIM simulation software with the Internet, accelerate the introduction speed of cloud computing in FLOWSIM, the current FLOWSIM functions are To improve, the number of users has gradually accumulated, it is necessary to carry out relevant cloud services to meet the needs of customers for convenience and online services; solve the problem of piracy, and compress the use of pirated FLOWSIM through online services.
  • Step S4 feeding back the data of the traffic simulation to the user.
  • the online simulation system completes the traffic simulation, the user needs to be prompted with relevant information, for example, the result of the traffic simulation is fed back to the user.
  • relevant information for example, the result of the traffic simulation is fed back to the user.
  • the process of traffic simulation can also be presented to the user.
  • the traffic simulation software of the stand-alone version can simulate the traffic of the traffic scene.
  • the number and complexity of intersections are limited, so if the number of traffic intersections of the traffic scene to be simulated is large or the complexity is high, it is necessary to purchase multiple machines to form a cluster to install the traffic simulation software, which further increases The cost of the user using traffic simulation software.
  • the online traffic simulation method provided by the invention uniformly deploys the traffic simulation system on the online simulation system, thereby realizing the whole process of online simulation, and the user does not need to purchase the traffic simulation software at full price, and does not need to purchase the machine to install the network.
  • the traffic simulation software only needs to pay according to the usage; and the user does not need to participate in the later system maintenance and upgrade, which further saves the cost of the user for traffic simulation, and is also convenient.
  • the method can simultaneously accept simulation requests of different users, and can provide services for different users at different times, thereby improving the usage rate of the system, which further reduces the cost of the user to perform traffic simulation; and uses the online traffic provided by the present invention.
  • the simulation method can rewrite various traffic simulation software into the corresponding online version, so that when the user needs to carry out traffic simulation, the online version of the most suitable traffic simulation software can be selected according to the requirements of the traffic simulation, so that It enriches the user's choice and reduces the cost of traffic simulation for users.
  • the online traffic simulation method in this embodiment can select a traffic simulation mode according to data and simulation mode information required for traffic simulation stored by the user in advance, thereby providing an optimal simulation service for the user, which can better accomplish the Traffic simulation.
  • the emulation mode includes selecting an optimal server terminal using a load balancing algorithm.
  • the user may be located anywhere on the network, resulting in a slower network between users in some locations and the online emulation system; the distribution of users is often uneven, for example, the number of users in universities and universities in the institute is usually More. Therefore, in order to better serve the user, the online simulation system may include multiple server terminals, which are respectively located at different locations on the network, and these server terminals are capable of providing online traffic simulation services separately, for example, in southern China. Server terminals are deployed in North China, East China, and the Midwest; server terminals can also be added in areas with a large number of customers. Therefore, it is necessary to select an optimal server terminal from among a plurality of server terminals to provide services for users. Therefore, it is more convenient for users to use and improve the quality of service.
  • the online simulation method in this embodiment includes multiple server terminals, which are respectively located at different locations of the network, and they are all capable of performing traffic simulation separately. Therefore, it is necessary to select an optimal server terminal to serve the user; One server terminal fails, and other server terminals can continue to provide services, thus improving the stability of the entire system.
  • the optimal server terminal is: a server terminal that has the fastest network speed and the largest remaining computing resources among users.
  • the operation that the user can request on the client may be appropriately reduced, for example, only supporting the establishment of the path.
  • the network geometry model, the road network data model, the traffic control scheme and the traffic simulation are simulated and the simulation results are returned. At the same time, certain limits can be set for the scale of the road network that can be simulated.
  • a plurality of server terminals distributed in the network are included, and the network speed between the user and the different server terminals is often different, because the same server terminal provides services for multiple users at the same time.
  • a user needs to carry out traffic simulation, he can choose a server terminal with the fastest network and the most remaining resources between the users, which can make the traffic simulation task more convenient, fast and smooth, and increase the number of users. User satisfaction.
  • the online traffic simulation method further includes a charging step
  • the traditional simulation software charging method is a one-time software authorization charging method
  • the customer obtains the software used by paying the full amount. Can and lifetime or the right to use this version.
  • the charging methods mainly include: time charging method based on access time, parity charging method based on consumer information consumption, time-based subscription method and mixed charging method based on centralized charging method.
  • FLOWSIM mainly adopts the time-based charging method based on access time, and its cost mainly needs to consider two parts: fixed cost and variable cost.
  • Fixed costs mainly include: 1) development cost of traffic simulation software FLOWSIM, including human resources such as module structure, function, interface and implementation method of software system; 2) hardware cost, including host, server, router and other facilities, and in the process Manpower and time costs incurred.
  • the variable cost mainly includes: 1) customized cost, mainly personalized functions developed according to different user requirements, including interface settings, function modules, etc.; 2) maintenance costs, FLOWSIM operators need to be in the software service process, according to The software is modified, improved, maintained, and added to the infrastructure, and the part also includes training costs for users.
  • FLOWSIM needs to consider the dynamic pricing strategy, and determine different prices according to the user's actual economic situation, time space and other different situations. For example, for education system users such as schools, consider reducing the fees appropriately.
  • the dynamic pricing mechanism helps FLOWSIM find prices in an uncertain environment, enabling buyers and sellers to achieve higher market efficiency.
  • the invention provides an online traffic simulation system, which can be a prior traffic simulation based on a web or APP manner, as shown in FIG. 2, and includes the following modules:
  • a user interface module configured to receive a traffic simulation request of the user
  • a mode selection module configured to select an emulation mode according to the information of the user and the traffic simulation request
  • a traffic simulation execution module configured to perform traffic simulation according to the simulation mode
  • a data feedback module is configured to feed back data of the traffic simulation to the user.
  • the traffic simulation software of the stand-alone version can simulate the traffic of the traffic scene.
  • the number and complexity of intersections is limited, so if you want to simulate the intersection When the number of traffic intersections in the scene is large or the complexity is high, it is necessary to purchase a plurality of machines to form a cluster to install the traffic simulation software, which further increases the cost of the user using the traffic simulation software.
  • the online traffic simulation system uniformly deploys the traffic simulation system on the online simulation system, thereby realizing the whole process of online simulation, and the user does not need to purchase the traffic simulation software at full price, and does not need to purchase the machine to install the network.
  • the traffic simulation software only needs to pay according to the usage; and the user does not need to participate in the later system maintenance and upgrade, which further saves the cost of the user for traffic simulation, and is also convenient.
  • the system can accept simulation requests of different users at the same time, and can provide services for different users at different times, thereby improving the utilization rate of the system, which further reduces the cost of traffic simulation for users; and uses the online traffic provided by the present invention.
  • the simulation system can rewrite various traffic simulation software into corresponding online versions, so that when the user needs to carry out traffic simulation, the online version of the most suitable traffic simulation software can be selected according to the requirements of the traffic simulation. It enriches the user's choice and reduces the cost of traffic simulation for users.
  • the processing mode selection module comprises:
  • a data table structure reading module configured to read required data from a data table structure separately established for the user according to the user information
  • a simulation information reading module configured to read, according to the information of the user, the required simulation mode information from a simulation mode table structure that is separately established for the user in advance;
  • a simulation mode determining module configured to determine a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request.
  • the online traffic simulation system in this embodiment can select a traffic simulation mode according to the data and simulation mode information required for the traffic simulation stored by the user in advance, thereby providing an optimal simulation service for the user, which can better accomplish the Traffic simulation.
  • the emulation mode includes selecting an optimal server terminal using a load balancing algorithm.
  • the online simulation system in this embodiment includes a plurality of server terminals, which are respectively located at different locations of the network, and they are all capable of performing traffic simulation separately. Therefore, an optimal server terminal needs to be selected to serve the user; One server terminal has failed, other services The server terminal can continue to provide services, thus improving the stability of the entire system.
  • the step of the traffic simulation execution module includes: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model The traffic simulation is completed on the server terminal selected by the simulation mode.
  • the data of the traffic simulation is data including a modeling, operation, result display, etc. showing the entire traffic simulation process.
  • the entire traffic simulation process is presented to the user in real time, so that when using the online traffic simulation system, the user feels that there is no difference between using the traffic simulation software locally, thereby making the user more easy to use.
  • the online simulation system also reduces the cost of training for users.
  • the optimal server terminal is: a server terminal that has the fastest network speed and the largest remaining computing resources among users.
  • the traffic simulation software FLOWSIM is used, which has the following layers to implement the above process, as follows:
  • the main task of the Web FLOWSIM presentation layer is to submit the client's request to the FLOWSIM business layer and present the data returned by the control layer to the client browser layer.
  • the FLOWSIM presentation layer does not need to consider the implementation of various functions of the software and the details of various services.
  • This layer can serve as a gateway for various user login management, session management and other services.
  • the role played by the Web FLOWSIM control layer is an intermediate bridge between the presentation layer and the business logic layer. By receiving the response of the presentation layer, it searches for the corresponding business process, and then feeds back the result information obtained by the operation of the business logic layer to the presentation layer.
  • the Web FLOWSIM business logic layer is mainly used to implement the business logic processing of various functions of FLOWSIM, mainly processing the data of the simulation software program and the business rules for accessing, controlling and modifying the data.
  • the task of the Web FLOWSIM database is to store and manage various types of data of users. This layer is for multi-tenant usage. Each FLOWSIM tenant may have different requirements for software interface style and function customization. Therefore, this layer is responsible for multi-tenant data expansion and different function selection.
  • the online traffic simulation system in this embodiment includes a plurality of server terminals distributed in the network, and the network speed between the user and the different server terminals is often different, because the same server terminal provides services for multiple users at the same time, when one When users need to carry out traffic simulation, they can choose a server terminal with the fastest network and the most remaining resources between users, which can make the traffic simulation task more convenient, fast and smooth, and increase the user's Satisfaction.
  • the solution can be applied to the following occasions:
  • Government department procurement such as the Municipal Public Security Bureau Transportation Administration procurement online service version FLOWSIM for the optimization of the local intersection transformation and program evaluation. Its business needs are: the interface is simple and easy to operate, the basic functions are complete, and only a small-scale road network simulation is needed.
  • FLOWSIM online account password is provided, an independent database is established to ensure the security of government information, and training services are provided, with a high total charge.
  • the interface is as simple as possible, and it can carry out bus simulation of a large-scale road network, and it is necessary to output simulation results of more parameters, and the process is complicated.
  • the FLOWSIM online version of the account password of the expansion board is provided, and an independent database is established to ensure the security of the enterprise data, and detailed training services are provided, and the total charge is high.
  • the traffic simulation system in this embodiment includes a plurality of server terminals, which are respectively located at different locations of the network, and they are all capable of performing traffic simulation separately. Therefore, it is necessary to select an optimal server terminal to serve the user; One server terminal fails, and other server terminals can continue to provide services, thus improving the stability of the entire system.
  • the step of the traffic simulation execution module includes: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model The traffic simulation is completed on the server terminal selected by the simulation mode.
  • the data of the traffic simulation is web page data including modeling, operation, result display, etc. showing the entire traffic simulation process.
  • the entire traffic simulation process is presented to the user in real time, so that when using the web-based traffic simulation system, the user feels that there is no difference between using the traffic simulation software locally, so that the user can be made It is easier to use the web-based traffic simulation system, while also reducing the user's training costs.
  • the optimal server terminal is: a server terminal with the fastest network speed and the largest remaining computing resources between the users.
  • the Web-based traffic simulation system in this embodiment includes a plurality of server terminals distributed in the network, and the network speed between the user and the different server terminals is often different, because the same server terminal provides services for multiple users at the same time.
  • a user needs to perform traffic simulation, they can choose A server terminal with the fastest network and the most remaining resources between the users and the user serves it, which enables the user to complete its traffic simulation task more conveniently, quickly and smoothly, and increases user satisfaction.
  • FIG. 3 shows a basic architecture diagram of a Web-based traffic simulation system, which includes: a client, an Internet, an emulation service software, and a database.
  • the user accesses the Internet through the computer or other terminal device at the user end, and accesses the Web-based traffic simulation system;
  • the simulation service software in the Web-based traffic simulation system is established in a dedicated local area network, and the dedicated local area network is software operation Based on the local area network established by the existing simulation service software, it has an external access interface; all kinds of service requests of users on the Web-based traffic simulation system are completed by the simulation service software and stored in the database.
  • the task of the database is to store and manage various types of data of users.
  • This layer is for multi-user use. Each user may have different requirements for software interface style and function customization. Therefore, this layer is responsible for multi-user data expansion and different function selection.
  • a separate database can be set up for each user, that is, different users' data are stored in different databases respectively; a database can also be shared, but each user has a separate set of different data table structures and is stored separately. Among the patterns.
  • the simulation server software includes:
  • the user mainly uses a web-based browser on the client side, and the user performs various operations of the web-based traffic simulation system through the Internet, and reads and saves data through the Internet.
  • Software presentation layer the main task of the software presentation layer is to submit the client's request to the software control layer, and present the data returned by the software control layer to the client browser layer.
  • the software presentation layer does not need to consider the implementation of various functions of the software and the details of various services.
  • This layer can serve as a gateway for various user login management, session management and other services.
  • the software control layer the role played by the software control layer is an intermediate bridge between the software presentation layer and the software business logic layer. It receives the corresponding business process by receiving the response of the software presentation layer, and then feedbacks the result information obtained by the software business logic layer operation. To the software presentation layer.
  • the software business logic layer is mainly used to implement the business logic processing of various functions of traffic simulation, mainly processing the data of the simulation software program and the business rules for accessing, controlling and modifying the data.
  • the web-based traffic simulation system further includes a pricing module.
  • the charging methods mainly include: time charging method based on access time, parity charging method based on consumer information consumption, time-based subscription method and mixed charging method based on centralized charging method.
  • the web-based traffic simulation system mainly adopts a time-based charging method based on access time, and the cost mainly needs to consider two parts: fixed cost and variable cost.
  • the fixed cost mainly includes: 1) the development cost of the Web-based traffic simulation software, including the labor cost of the module structure, function, interface and implementation method of the software system; 2) the hardware cost, including the host, the server, the router, etc., and the Manpower and time costs incurred in the process.
  • variable cost mainly includes: 1) customized cost, mainly personalized functions developed according to different user requirements, including interface settings, function modules, etc.; 2) maintenance cost, traffic simulation software operators need to be in the software service process According to the corresponding situation, the software is modified, improved, maintained, and the infrastructure is added. At the same time, this part also includes the training cost for the user.
  • the traffic simulation software needs to consider the dynamic pricing strategy, and determine different prices according to the user's actual economic situation, time space and other different situations. For example, for education system users such as schools, consider reducing the fees appropriately.
  • the dynamic pricing mechanism helps Web-based traffic simulation systems find prices in uncertain environments, enabling buyers and sellers to achieve higher market efficiency.

Abstract

Disclosed are a method and system for on-line traffic simulation based on the simulation software FLOWSIM. The method comprises receiving a traffic simulation request of a user (S1); selecting a simulation mode according to information of the user and the traffic simulation request (S2); performing traffic simulation according to the simulation mode (S3); and feeding data of the traffic simulation back to the user (S4). The system can be used by many users simultaneously at the same moment, and the users are required to participate in the operation and maintenance of the system, facilitating use by the users. In the prior art, when a user needs to perform traffic simulation, the user needs to purchase a traffic simulation software at a high price, increasing the cost of performing traffic simulation to the user, but the system only requires the user to pay according to actual use, lowering the cost. The system has a plurality of internet server terminals distributed at different geographical locations, enabling an optimal server terminal to be selected for serving the user, and achieving high stability for the whole system. Therefore, the method and system can lower the cost of traffic simulation for users and facilitate use, and has high system stability.

Description

一种在线交通仿真方法及系统Online traffic simulation method and system 技术领域Technical field
本发明涉及交通仿真领域,具体涉及一种在线交通仿真方法及系统。The invention relates to the field of traffic simulation, and in particular to an online traffic simulation method and system.
背景技术Background technique
随着我国社会经济的持续快速发展,城镇化脚步的加快,全国多数大、中型城市普遍出现了严重的交通堵塞,这对城市居民的生活质量、环境等都造成了重大影响。在改进现有交通路网时,就需要找出现有交通路网的问题和症结所在。交通仿真系统是交通分析的有效手段之一,其目的就是运用计算机技术再现复杂的交通现象,并对这些现象进行解释、分析,找出其中的问题和症结所在,最终对所研究的交通系统进行优化。目前国内国际较成熟的商用交通仿真软件主要包括:西班牙的AIMSUN、德国的VlSSIM、我国的FLOWSIM等,这些系统各有优点,各有所长。With the sustained and rapid development of China's social economy and the acceleration of urbanization, most of the large and medium-sized cities in the country have experienced serious traffic jams, which have had a major impact on the quality of life and environment of urban residents. When improving the existing traffic network, it is necessary to find out the problems and sticking points of the existing traffic network. Traffic simulation system is one of the effective means of traffic analysis. Its purpose is to use computer technology to reproduce complex traffic phenomena, explain and analyze these phenomena, find out the problems and crux, and finally carry out the traffic system under study. optimization. At present, the domestic and international mature commercial traffic simulation software mainly includes: AIMSUN in Spain, VlSSIM in Germany, and FLOWSIM in China. These systems have their own advantages and advantages.
在现阶段,如果用户想要使用交通仿真软件,就必须购买该软件,但通常该类型软件的价格都比较昂贵,影响了该软件的推广;同时,单机版的交通仿真软件所能仿真的交通路口数目是有限的,如果要仿真的交通路口数目较多时,就需要购买多台服务器以组成集群来安装交通仿真软件,这就进一步增加了用户使用该软件的成本,同时用户维护该集群,从而存在运维较难的缺点;此外,当只有一个用户使用一套交通仿真软件的时候,该软件的使用率会偏低,这也就无形中增加了用户的使用成本。由于各个交通仿真系统各有优点,各有所长;而用户每次仿真的侧重点有所不同,导致每次仿真最好选择不同的,最优的交通仿真软件,这就进一步增加了用户使用交通仿真软件的成本。于是,如何降低交通仿真系统的使用成本,成为一个急需解决的问题。At this stage, if the user wants to use the traffic simulation software, they must purchase the software, but usually the price of the type of software is relatively expensive, which affects the promotion of the software; at the same time, the traffic simulation software of the stand-alone version can simulate the traffic. The number of intersections is limited. If there are a large number of traffic intersections to be simulated, it is necessary to purchase multiple servers to form a cluster to install traffic simulation software, which further increases the cost of using the software, and the user maintains the cluster. There are disadvantages of difficult operation and maintenance; in addition, when only one user uses a set of traffic simulation software, the usage rate of the software will be low, which inevitably increases the user's use cost. Because each traffic simulation system has its own advantages, each has its own strengths; and the user's focus on each simulation is different, which leads to the selection of different and optimal traffic simulation software for each simulation, which further increases the user's use. The cost of traffic simulation software. Therefore, how to reduce the use cost of the traffic simulation system has become an urgent problem to be solved.
发明内容 Summary of the invention
为此,本发明提供了一种在线交通仿真方法及系统,该方法和系统允许多个用户同时进行在线交通仿真,相比传统仿真软件,其不仅能够降低用户的支付费用,并且可以免除其相关硬件和运维的成本,更加实用、简单、灵活。To this end, the present invention provides an online traffic simulation method and system, which allows multiple users to simultaneously perform online traffic simulation. Compared with traditional simulation software, it can not only reduce the user's payment costs, but also eliminate the related The cost of hardware and operation and maintenance is more practical, simple and flexible.
本发明提供了一种在线交通仿真方法,包括如下步骤:接收用户的交通仿真请求;根据所述用户的信息和所述交通仿真请求选择仿真模式;根据所述仿真模式进行交通仿真;将所述交通仿真的数据反馈给所述用户。The present invention provides an online traffic simulation method, comprising the steps of: receiving a traffic simulation request of a user; selecting an simulation mode according to the user information and the traffic simulation request; performing traffic simulation according to the simulation mode; The data of the traffic simulation is fed back to the user.
优选地,所述根据所述用户的信息和所述交通仿真请求选择仿真模式的步骤包括:根据所述用户的信息从预先针对所述用户单独建立的数据表结构中读取所需数据;根据所述用户的信息从预先针对所述用户单独建立的仿真模式表结构中读取所需仿真模式信息;根据所述所需数据、所述所需仿真模式信息和所述交通仿真请求确定其对应的仿真模式。Preferably, the step of selecting an emulation mode according to the information of the user and the traffic simulation request comprises: reading required data from a data table structure separately established for the user according to the information of the user; The user's information is read from the simulation mode table structure separately established for the user in advance; the corresponding simulation mode information is determined according to the required data, the required simulation mode information, and the traffic simulation request. Simulation mode.
优选地,所述仿真模式包括:使用负载均衡算法选择出最优服务器终端。Preferably, the simulation mode comprises: selecting an optimal server terminal by using a load balancing algorithm.
优选地,所述根据所述仿真模式进行交通仿真的步骤包括:选择针对所述交通仿真请求最优的交通仿真模型,获取所述交通仿真所需的数据,调用所述交通仿真模型在由所述仿真模式选择的服务器终端上完成所述交通仿真。Preferably, the step of performing traffic simulation according to the simulation mode comprises: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model at the location The traffic simulation is completed on the server terminal of the simulation mode selection.
优选地,所述交通仿真的数据为包括建模、运行、结果显示等展示整个交通仿真过程的数据。Preferably, the data of the traffic simulation is data including a modeling, operation, result display, etc. showing the entire traffic simulation process.
优选地,所述最优服务器终端为:与用户之间网络速度最快、剩余计算资源最多的服务器终端。Preferably, the optimal server terminal is: a server terminal with the fastest network speed and the largest remaining computing resources between the users.
本发明提供了一种在线交通仿真系统,包括如下模块:用户接口模块,用于接收用户的交通仿真请求;处理模式选择模块,用于根据所述用户的信息和所述交通仿真请求选择仿真模式;交通仿真执行模块,用于根据所述仿真模式进行交通仿真;数据反馈模块,用于将所述交通仿真的数据反馈给所述用户。The invention provides an online traffic simulation system, comprising the following modules: a user interface module, configured to receive a traffic simulation request of a user; and a processing mode selection module, configured to select an simulation mode according to the information of the user and the traffic simulation request a traffic simulation execution module, configured to perform traffic simulation according to the simulation mode; and a data feedback module, configured to feed back data of the traffic simulation to the user.
优选地,所述处理模式选择模块包括:数据表结构读取模块,用于根据所述用户的信息从预先针对所述用户单独建立的数据表结构中读取所需数据;仿真信息读取模块,用于根据所述用户的信息从预先针对所述用户单独建立的仿 真模式表结构中读取所需仿真模式信息;仿真模式确定模块,用于根据所述所需数据、所述所需仿真模式信息和所述交通仿真请求确定其对应的仿真模式。Preferably, the processing mode selection module includes: a data table structure reading module, configured to read required data from a data table structure separately established for the user according to the information of the user; the simulation information reading module For separately generating a copy for the user in advance according to the information of the user Reading the required simulation mode information in the real mode table structure; the simulation mode determining module is configured to determine a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request.
优选地,所述仿真模式包括:使用负载均衡算法选择出最优服务器终端。Preferably, the simulation mode comprises: selecting an optimal server terminal by using a load balancing algorithm.
优选地,所述交通仿真执行模块的步骤包括:选择针对所述交通仿真请求最优的交通仿真模型,获取所述交通仿真所需的数据,调用所述交通仿真模型在由所述仿真模式选择的服务器终端上完成所述交通仿真。Preferably, the step of the traffic simulation execution module comprises: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model to be selected by the simulation mode The traffic simulation is completed on the server terminal.
优选地,所述交通仿真的数据为包括建模、运行、结果显示等展示整个交通仿真过程的数据。Preferably, the data of the traffic simulation is data including a modeling, operation, result display, etc. showing the entire traffic simulation process.
优选地,所述最优服务器终端为:与用户之间网络速度最快、剩余计算资源最多的服务器终端。Preferably, the optimal server terminal is: a server terminal with the fastest network speed and the largest remaining computing resources between the users.
本发明提供了一种基于Web的交通仿真系统,包括如下模块:用户接口模块,用于接收用户的交通仿真请求;处理模式选择模块,用于根据所述用户的信息和所述交通仿真请求选择仿真模式;交通仿真执行模块,用于根据所述仿真模式进行交通仿真;数据反馈模块,用于将所述交通仿真的数据反馈给所述用户。The invention provides a web-based traffic simulation system, comprising the following modules: a user interface module, configured to receive a traffic simulation request of a user; and a processing mode selection module, configured to select according to the user information and the traffic simulation request a simulation mode; a traffic simulation execution module, configured to perform traffic simulation according to the simulation mode; and a data feedback module, configured to feed back data of the traffic simulation to the user.
优选地,所述处理模式选择模块包括:数据表结构读取模块,用于根据所述用户的信息从预先针对所述用户单独建立的数据表结构中读取所需数据;仿真信息读取模块,用于根据所述用户的信息从预先针对所述用户单独建立的仿真模式表结构中读取所需仿真模式信息;仿真模式确定模块,用于根据所述所需数据、所述所需仿真模式信息和所述交通仿真请求确定其对应的仿真模式。Preferably, the processing mode selection module includes: a data table structure reading module, configured to read required data from a data table structure separately established for the user according to the information of the user; the simulation information reading module And for reading, according to the information of the user, the required simulation mode information from a simulation mode table structure separately established for the user in advance; the simulation mode determining module, configured to: according to the required data, the required simulation The mode information and the traffic simulation request determine their corresponding simulation modes.
优选地,所述仿真模式包括:使用负载均衡算法选择出最优服务器终端。Preferably, the simulation mode comprises: selecting an optimal server terminal by using a load balancing algorithm.
优选地,所述交通仿真执行模块的步骤包括:选择针对所述交通仿真请求最优的交通仿真模型,获取所述交通仿真所需的数据,调用所述交通仿真模型在由所述仿真模式选择的服务器终端上完成所述交通仿真。Preferably, the step of the traffic simulation execution module comprises: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model to be selected by the simulation mode The traffic simulation is completed on the server terminal.
优选地,所述交通仿真的数据为包括建模、运行、结果显示等展示整个交通仿真过程的Web页面数据。 Preferably, the data of the traffic simulation is web page data including modeling, operation, result display, etc. showing the entire traffic simulation process.
优选地,与用户之间网络速度最快、剩余计算资源最多的服务器终端。Preferably, the server terminal with the fastest network and the most computing resources remaining between the users and the user.
与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:
(1)本发明提供一种在线交通仿真方法及系统,该方法包括接收用户的交通仿真请求;根据所述用户的信息和所述交通仿真请求选择仿真模式;根据所述仿真模式进行交通仿真;将所述交通仿真的数据反馈给所述用户。在现有技术中,如果用户想要使用交通仿真软件,通常都需要以高成本全价购买该交通仿真软件;同时,由于机器性能的限制,单机版的交通仿真软件所能仿真交通场景的交通路口数目和复杂度是有限的,因此如果所要仿真的交通场景的交通路口数目较大或复杂度较高时,就需要购买多台机器以组成集群来安装该交通仿真软件,这就进一步增加了用户使用交通仿真软件的成本。而本发明所述的在线交通仿真方法及系统,将交通仿真系统统一部署在在线仿真系统上,从而实现了在线仿真的全过程,用户不需要全价购买交通仿真软件,也不需要购买机器来安装该交通仿真软件,只需要按照使用情况付费;且用户不需要参与后期的系统维护和升级,这就进一步节约了用户进行交通仿真的成本,同时也比较方便。(1) The present invention provides an online traffic simulation method and system, the method comprising: receiving a traffic simulation request of a user; selecting an simulation mode according to the information of the user and the traffic simulation request; performing traffic simulation according to the simulation mode; The data of the traffic simulation is fed back to the user. In the prior art, if the user wants to use the traffic simulation software, it usually needs to purchase the traffic simulation software at a full cost at a high cost; meanwhile, due to the limitation of the machine performance, the traffic simulation software of the stand-alone version can simulate the traffic of the traffic scene. The number and complexity of intersections are limited, so if the number of traffic intersections of the traffic scene to be simulated is large or the complexity is high, it is necessary to purchase multiple machines to form a cluster to install the traffic simulation software, which further increases The cost of the user using traffic simulation software. The online traffic simulation method and system according to the present invention uniformly deploys the traffic simulation system on the online simulation system, thereby realizing the whole process of online simulation, and the user does not need to purchase the traffic simulation software at full price, and does not need to purchase the machine. The installation of the traffic simulation software only needs to pay according to the usage; and the user does not need to participate in the later system maintenance and upgrade, which further saves the cost of the user for traffic simulation, and is also convenient.
(2)本发明所述的一种在线交通仿真方法及系统,其包含多个服务器终端,这些服务器终端分别位于网络的不同位置,而且它们都能够单独完成交通仿真,可以从中选择一个最优的服务器终端为用户服务,从而能够更好的为用户服务;而当其中某一个服务器终端发生故障时,其他的服务器终端可以继续提供服务,因此,提高了整个系统的稳定性。(2) An online traffic simulation method and system according to the present invention, comprising a plurality of server terminals, which are respectively located at different positions of the network, and they are capable of performing traffic simulation separately, and an optimal one can be selected therefrom. The server terminal serves the user, so that the user can be better served. When one of the server terminals fails, the other server terminals can continue to provide services, thereby improving the stability of the entire system.
(3)本发明所述的在线交通仿真方法及系统,选择针对所述仿真模式选择最优的交通仿真模型,获取所述交通仿真请求所需的数据,调用所述交通仿真模型在由所述仿真模式选择的服务器终端上完成所述交通仿真。在现有技术中,不同的交通仿真软件各有优点、各有所长,而用户每次仿真的侧重点有所不同,导致每次仿真最好选择不同的,最优的交通仿真软件,这就增加了用户的交通仿真成本,而本发明所述的在线交通仿真方法及系统能够根据用户的交通仿真请求直接选择最优的交通仿真模型进行交通仿真,既方便了用户的使用,也降 低了用户进行交通仿真的成本。(3) The online traffic simulation method and system according to the present invention, selecting an optimal traffic simulation model for the simulation mode, acquiring data required for the traffic simulation request, and calling the traffic simulation model in the The traffic simulation is completed on the server terminal selected by the simulation mode. In the prior art, different traffic simulation softwares have their own advantages and advantages, and the focus of each simulation of the user is different, so that each simulation preferably selects different, optimal traffic simulation software, which The traffic simulation cost of the user is increased, and the online traffic simulation method and system according to the present invention can directly select an optimal traffic simulation model for traffic simulation according to the user's traffic simulation request, which is convenient for the user to use and also reduces The cost of traffic simulation for users is low.
(4)本发明所述的在线交通仿真方法及系统,所述交通仿真请求所需的数据包括建模、运行、结果显示,能够展示整个交通仿真过程的数据。可以将整个交通仿真的过程都实时的展现给用户,从而让用户在进行在线交通仿真时,感觉其与在本地使用交通仿真软件没有任何差异,从而可以让用户更加容易的使用该在线仿真系统,降低了用户的培训成本。(4) The online traffic simulation method and system according to the present invention, wherein the data required for the traffic simulation request includes modeling, operation, and result display, and can display data of the entire traffic simulation process. The entire traffic simulation process can be presented to the user in real time, so that the user feels that there is no difference between the online traffic simulation and the local use of the traffic simulation software, thereby making it easier for the user to use the online simulation system. Reduced user training costs.
(5)本发明所述的在线交通仿真方法及系统,使用负载均衡算法选择出最优服务器终端,为了方便处于网络不同位置的用户使用该交通仿真系统,本发明所述的在线仿真方法和系统含有多个服务器终端。而用户与不同服务器终端之间的网络速度往往不一样,且同一个服务器终端会同时为多个用户提供服务。因此,当一个用户需要进行交通仿真时,可以选择一个与其之间网络速度最快、剩余资源最多的服务器终端为其服务,这样可以使用户更加方便、快速、顺畅的完成其交通仿真任务,增加了用户的满意度。(5) The online traffic simulation method and system according to the present invention uses a load balancing algorithm to select an optimal server terminal, and the online simulation method and system according to the present invention are used to facilitate users in different locations of the network to use the traffic simulation system. Contains multiple server terminals. The network speed between users and different server terminals is often different, and the same server terminal provides services for multiple users at the same time. Therefore, when a user needs to carry out traffic simulation, he can choose a server terminal with the fastest network and the most remaining resources between them, so that the user can complete his traffic simulation task more conveniently, quickly and smoothly, and increase User satisfaction.
附图说明DRAWINGS
为了使本发明的内容更容易被清楚的理解,下面根据本发明的具体实施例并结合附图,对本发明作进一步详细的说明,其中In order to make the content of the present invention easier to understand, the present invention will be further described in detail below with reference to the accompanying drawings
图1是本发明实施例1提供的在线交通仿真方法的流程图;1 is a flowchart of an online traffic simulation method according to Embodiment 1 of the present invention;
图2是本发明实施例2提供的在线交通仿真系统的原理图;2 is a schematic diagram of an online traffic simulation system according to Embodiment 2 of the present invention;
图3是本发明实施例3提供的基于Web的交通仿真系统的原理图;3 is a schematic diagram of a Web-based traffic simulation system according to Embodiment 3 of the present invention;
图4是本发明实施例3提供的基于Web的交通仿真系统的原理图。4 is a schematic diagram of a Web-based traffic simulation system according to Embodiment 3 of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be further described in detail below.
实施例1Example 1
本发明提供了一种在线交通仿真方法,基于交通仿真软件,交通仿真指的是:利用计算机模拟技术逼真地、动态地仿真道路交通流,再现交通流的时空 变化以及交通事故、交通管制等各种交通现象,深入分析人、车、路的各种关系和特征,利用模拟分析出问题的症结,并可以对现有交通系统或改造方案进行优化。利用交通仿真软件开展相关研究,具有低成本、低风险、可重复等诸多优点,并且不受现场试验条件的约束,仿真技术己成为分析交通流特性和工程优化等研究的重要手段,也是国际上交通领域的热点之一。The invention provides an online traffic simulation method. Based on traffic simulation software, traffic simulation refers to: using computer simulation technology to realistically and dynamically simulate road traffic flow and reproduce the time and space of traffic flow. Changes, traffic accidents, traffic control and other traffic phenomena, in-depth analysis of the various relationships and characteristics of people, vehicles, roads, the use of simulation to analyze the crux of the problem, and can optimize the existing transportation system or transformation program. Using traffic simulation software to carry out related research, with low cost, low risk, repeatability and many other advantages, and is not subject to field test conditions, simulation technology has become an important means to analyze traffic flow characteristics and engineering optimization, and also internationally. One of the hot spots in the transportation field.
目前国际上较成熟的商用交通仿真软件主要包括:西班牙的AIMSUN、德国的VlSSIM、我国的FLOWSIM等。本实施例中,可选用FLOWSIM软件。在交通仿真服务器系统中设置有该仿真软件,可以根据用户的需求进行多种类型的交通仿真。At present, the more mature commercial traffic simulation softwares in the world mainly include: AIMSUN in Spain, VlSSIM in Germany, and FLOWSIM in China. In this embodiment, FLOWSIM software can be selected. The simulation software is set in the traffic simulation server system, and various types of traffic simulations can be performed according to the needs of the user.
本实施例中的在先交通仿真防范,如图1所示,包括如下步骤:The prior traffic simulation prevention in this embodiment, as shown in FIG. 1, includes the following steps:
步骤S1:接收用户的交通仿真请求。Step S1: receiving a traffic simulation request of the user.
用户所使用的客户端可以是PC机或各种移动设备;在该客户端上可以安装有一个客户端软件,用户通过该客户端软件连接该提供在线仿真服务的在线仿真系统并发送仿真请求;用户也可以在该客户端上通过浏览器连接该在线仿真系统并发送仿真请求。在用户进行交通仿真时,用户与该在线仿真系统之间传输的数据往往具有很高的商业价值,因此,可以通过加密(例如:SSL加密等)等手段来保证所传输数据的安全性,即所接收的用户的交通仿真请求可以是加密过的。与此同时,该在线仿真系统可以同时为多个用户提供在线交通仿真服务。用户和该在线仿真系统可以位于同一个局域网内,也可以位于网络的不同位置。The client used by the user may be a PC or various mobile devices; a client software may be installed on the client, and the user connects the online simulation system providing the online simulation service and sends a simulation request through the client software; The user can also connect to the online simulation system via a browser and send a simulation request on the client. When the user performs traffic simulation, the data transmitted between the user and the online simulation system often has high commercial value. Therefore, the security of the transmitted data can be ensured by means of encryption (for example, SSL encryption, etc.) The received user's traffic simulation request may be encrypted. At the same time, the online simulation system can provide online traffic simulation services for multiple users at the same time. The user and the online emulation system can be located in the same local area network or in different locations on the network.
本实施例中,用户通过客户端电脑或其他终端设备接入互联网,并访问FLOWSIM的Web版本;所述FLOWSIM的Web服务版本建立在FLOWSIM专网内,该专网是软件运营方基于已有的FLOWSIM服务器所建立的局域网,其拥有外部访问接口;用户在Web版FLOWSIM上的各类服务请求均由服务器内的FLOWSIM软件完成,并保存在数据库中。In this embodiment, the user accesses the Internet through a client computer or other terminal device, and accesses the web version of FLOWSIM; the FLOWSIM web service version is established in the FLOWSIM private network, and the private network is based on the existing software The local area network established by the FLOWSIM server has an external access interface; all kinds of service requests of the user on the Web version of FLOWSIM are completed by the FLOWSIM software in the server and stored in the database.
步骤S2:根据所述用户的信息和所述交通仿真请求选择仿真模式。Step S2: Select an emulation mode according to the information of the user and the traffic simulation request.
通常,服务器系统中存储有用户的相关信息,且用户需要登录该服务器系 统,才能使用该在线服务,这就可以获取所登录用户的信息。在服务器中具有交通仿真软件FLOWSIM,该交通仿真软件FLOWSIM的服务模式主要为以产品为核心进行自主运营,FLOWSIM等具有广泛发展前景。所述仿真软件FLOWSIM的核心组成部分是申请人在英国南安普顿大学运输研究所基于模糊数学理论建立的一套微观交通仿真模型,该模型利用模糊数学理论和大量的数据采集基础分部建立了能体现各种驾驶员固有驾驶行为的跟车模型、换道模型和并道模型。利用FLOWSIM仿真可以准确模拟路网运行状态、交通流特征和信号配时,利用交通仿真结果可以更准确地为实时路径规划提供决策支撑。目前FLOWSIM模型已经在中国广泛使用,并开发至3.0版本。2000年开始,对中国的混合交通流特性进行了研究,目前已完成在我国的模型标定和校验,并建立了混合交通流条件下的自行车和行人的微观行为模型,使FLOWSIM成为唯一的基于我国的路况数据建立的拥有系统的混合交通流行为模型的交通仿真软件。Usually, the server system stores related information of the user, and the user needs to log in to the server system. In order to use the online service, you can get the information of the logged in user. In the server, there is traffic simulation software FLOWSIM. The traffic simulation software FLOWSIM's service mode is mainly based on product as its core, and FLOWSIM has broad development prospects. The core component of the simulation software FLOWSIM is a set of microscopic traffic simulation model established by the applicant based on fuzzy mathematics theory at the Transportation Research Institute of Southampton University in the United Kingdom. The model is established by using fuzzy mathematics theory and a large number of data acquisition foundations. A follow-up model, a lane change model, and a merge model that embody the driver's inherent driving behavior. Using FLOWSIM simulation can accurately simulate the road network operation state, traffic flow characteristics and signal timing, and use traffic simulation results to provide more accurate decision support for real-time path planning. The FLOWSIM model has been widely used in China and has been developed to version 3.0. Beginning in 2000, the characteristics of mixed traffic flow in China have been studied. At present, the calibration and verification of the model in China has been completed, and the micro-behavior model of bicycles and pedestrians under mixed traffic flow conditions has been established, making FLOWSIM the only basis. China's road condition data is established by the system of mixed traffic popular as a model of traffic simulation software.
此时,可以根据该用户的信息来选择采取何种仿真模式来服务该用户,例如:获取用户的资费信息,当用户的账号里剩余的资费不足以支付此次交通仿真所需费用时,就会提示用户进行充值,同时禁止该用户进行此次交通仿真;有时,为了吸引用户使用该在线交通仿真服务,可以让一些用户免费使用,但所能仿真的交通场景的规模、复杂度和所支持的功能会有所限制等等。At this time, according to the information of the user, the simulation mode may be selected to serve the user, for example, obtaining the user's tariff information, and when the remaining fee in the user's account is insufficient to pay for the traffic simulation, The user will be prompted to recharge and the user is prohibited from performing the traffic simulation; sometimes, in order to attract users to use the online traffic simulation service, some users can use it for free, but the scale, complexity and support of the traffic scene that can be simulated are supported. The features will be limited and so on.
通常,不同的交通仿真请求所要仿真的交通场景的规模、复杂度会不同。因此,为了执行此次交通仿真,该在线仿真系统所需消耗的资源一般会不同。于是,当该在线仿真系统剩余的资源不足以完成此次交通仿真时,可以拒绝此次交通仿真,或者等待资源充足时再执行此次交通仿真等等。通常,为了提高该在线仿真系统的性能,该在线仿真系统可以包含一个集群,进而可以根据该交通仿真请求所要仿真的交通场景的规模、复杂度等信息从集群中选择数量合适的机器来执行此次交通仿真;特别当该交通仿真请求的规模、复杂度都比较大的时候,为了能够更好的完成此次交通仿真,则可以在集群中选择一定数量的机器专门用来执行此次交通仿真。因此,需要结合用户的信息和该交通仿真请求来选择一个合适仿真模式,从而可以更好的完成此次交通仿真任务。Generally, the size and complexity of the traffic scenarios to be simulated by different traffic simulation requests will be different. Therefore, in order to perform this traffic simulation, the resources required for the online simulation system will generally be different. Therefore, when the remaining resources of the online simulation system are insufficient to complete the traffic simulation, the traffic simulation may be rejected, or the traffic simulation may be performed when the resources are sufficient. Generally, in order to improve the performance of the online simulation system, the online simulation system may include a cluster, and then may select a suitable number of machines from the cluster according to the size, complexity, and the like of the traffic scenario to be simulated by the traffic simulation request. Secondary traffic simulation; especially when the size and complexity of the traffic simulation request are relatively large, in order to better complete the traffic simulation, a certain number of machines can be selected in the cluster to perform the traffic simulation. . Therefore, it is necessary to select a suitable simulation mode in combination with the user information and the traffic simulation request, so that the traffic simulation task can be better completed.
了保证带宽速度,用户在客户端可以请求的操作较单机版FLOWSIM有所减 少,其支持的功能主要包括:建立路网几何模型、建立路网数据模型、建立交通控制方案和运行交通仿真并返回仿真运行结果。同时Web版FLOWSIM对路网规模存在一定限制,以保障软件运行和数据传输速度。To ensure the bandwidth speed, the operation that the user can request on the client is reduced compared to the stand-alone version of FLOWSIM. Less, its supported functions include: establishing road network geometry model, establishing road network data model, establishing traffic control plan and running traffic simulation and returning simulation operation results. At the same time, the Web version of FLOWSIM has certain restrictions on the size of the road network to ensure software operation and data transmission speed.
FLOWSIM服务全国多个单位,会出现多用户共用的情况,因此需要进行多用户管理。数据库方面,独立数据库方案的隔离级别最高,共享级别最低,但是,这种方案通常会加大设备维护和租户数据备份的成本,硬件成本也高于采用其他方案的情况。因此FLOWSIM的SaaS服务主要采用共享数据库但隔离数据架构方案,所有的用户共同使用一个数据库,但是各自有各自的一套不同的数据表结构,并且存储在单独的模式当中。该方案既能够节约一定成本,也能保证各用户之间相互隔离以保证数据安全。FLOWSIM serves multiple units across the country, and there will be multiple users sharing, so multi-user management is required. On the database side, the stand-alone database solution has the highest isolation level and the lowest level of sharing. However, this solution usually increases the cost of equipment maintenance and tenant data backup, and the hardware cost is higher than other solutions. Therefore, FLOWSIM's SaaS service mainly uses a shared database but isolated data architecture scheme. All users use a database together, but each has its own set of different data table structures and is stored in a separate mode. This solution not only saves a certain cost, but also ensures that each user is isolated from each other to ensure data security.
本实施例中,所述根据所述用户的信息和所述交通仿真请求选择仿真模式的步骤包括:In this embodiment, the step of selecting an emulation mode according to the information of the user and the traffic simulation request includes:
步骤S21:根据所述用户的信息从预先针对所述用户单独建立的数据表结构中读取所需数据。Step S21: Read the required data from the data table structure separately established for the user in advance according to the information of the user.
在线仿真系统需要服务不同的用户,为了让这些用户互不干扰,需要为每一个用户单独建立一个数据表结构,用来存储每个用户的信息。例如:资费信息、用户的类型信息、用户与服务器终端之间的网速信息,用户的位置信息、以往交通仿真的数据信息等等,当需要时可以从中读取。The online simulation system needs to serve different users. In order to prevent these users from interfering with each other, it is necessary to establish a separate data table structure for each user to store the information of each user. For example: tariff information, user type information, network speed information between the user and the server terminal, user location information, past traffic simulation data information, etc., can be read from when needed.
步骤S22:根据所述用户的信息从预先针对所述用户单独建立的仿真模式表结构中读取所需仿真模式信息;Step S22: Read required simulation mode information from a simulation mode table structure separately established for the user in advance according to the information of the user;
通常,一个在线仿真系统的用户通常都会使用一些固定的交通仿真模式信息,例如:相似的路网几何模型、相似的路网数据模型、相似的交通控制方案,相似的计算资源消耗量、用户的IP地址和地理位置一般都一样等。因此,可以在在线仿真系统上预先设定一个单独的仿真模式表结构,在该仿真模式表结构中存储有关仿真模式的信息,在需要时可以从中读取。Typically, users of an online simulation system typically use some fixed traffic simulation mode information, such as similar road network geometry models, similar road network data models, similar traffic control schemes, similar computing resource consumption, and user IP addresses and geographic locations are generally the same. Therefore, a separate simulation mode table structure can be preset on the online simulation system, and information about the simulation mode is stored in the simulation mode table structure, and can be read from when needed.
步骤S23:根据所述所需数据、所述所需仿真模式信息和所述交通仿真请求确定其对应的仿真模式。 Step S23: Determine a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request.
可以为每一个用户单独设立一个数据库,即不同的用户的数据表结构分别存储在不同的数据库中;也可以共用一个数据库,但是每个用户拥有各自独立的一套不同的数据表结构,并且存储在单独的模式当中。A separate database can be set up for each user, that is, the data table structures of different users are stored in different databases respectively; a database can also be shared, but each user has a separate set of different data table structures and stores. In a separate mode.
步骤S3:根据所述仿真模式进行交通仿真。Step S3: Perform traffic simulation according to the simulation mode.
由于将交通仿真软件统一部署在运营方的服务器上,在选定了仿真模式后,就可以进行交通仿真。选择针对所述交通仿真请求最优的交通仿真模型,获取所述交通仿真所需的数据,调用所述交通仿真模型在由所述仿真模式选择的服务器终端上完成所述交通仿真。Since the traffic simulation software is uniformly deployed on the operator's server, traffic simulation can be performed after the simulation mode is selected. Selecting a traffic simulation model optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model to complete the traffic simulation on a server terminal selected by the simulation mode.
交通仿真的数据为包括建模、运行、结果显示等展示整个交通仿真过程的数据。当用户进行在线交通仿真时,将整个交通仿真的过程实时的展现给用户,让用户在使用在线交通仿真时,感觉与在本地使用交通仿真软件没有任何差异,从而可以让用户更加容易的使用该在线仿真系统,同时也降低了用户的培训成本。The traffic simulation data is data showing the entire traffic simulation process including modeling, operation, and result display. When the user conducts online traffic simulation, the entire traffic simulation process is presented to the user in real time, so that when using the online traffic simulation, the user feels that there is no difference between using the traffic simulation software locally, thereby making it easier for the user to use the The online simulation system also reduces the cost of training for users.
在现有技术中,各个交通仿真软件各有优点、各有所长。因此,提供在线交通仿真服务的服务器终端可以包含现有技术中的各个不同的交通仿真软件所提供的交通仿真模型,这样,就可以调用针对此次交通仿真请求的最优的交通仿真模型进行交通仿真,从而方便了用户的使用,也降低了用户进行交通仿真的成本。同时,可以包含多个服务器终端,由该仿真模式选择合适的服务器终端,然后在该服务器终端上调用交通仿真模块完成该交通仿真。In the prior art, each traffic simulation software has its own advantages and advantages. Therefore, the server terminal providing the online traffic simulation service may include the traffic simulation model provided by each different traffic simulation software in the prior art, so that the optimal traffic simulation model for the traffic simulation request may be invoked for traffic. The simulation facilitates the user's use and reduces the cost of the user's traffic simulation. At the same time, a plurality of server terminals may be included, and a suitable server terminal is selected by the simulation mode, and then the traffic simulation module is invoked on the server terminal to complete the traffic simulation.
在现有技术中,不同的交通仿真软件各有优点、各有所长,而用户每次仿真的侧重点有所不同,导致每次仿真最好选择不同的,最优的交通仿真软件,这就增加了用户的交通仿真成本,而本实施例中的在线交通仿真方法能够根据用户的交通仿真请求直接选择最优的交通仿真模型进行交通仿真,既方便了用户的使用,也降低了用户进行交通仿真的成本。In the prior art, different traffic simulation softwares have their own advantages and advantages, and the focus of each simulation of the user is different, so that each simulation preferably selects different, optimal traffic simulation software, which The traffic simulation cost of the user is increased, and the online traffic simulation method in this embodiment can directly select the optimal traffic simulation model for traffic simulation according to the user's traffic simulation request, which is convenient for the user to use and reduces the user's operation. The cost of traffic simulation.
由于将交通仿真软件统一部署在运营方的服务器上,统一进行升级服务,同时能够确保多租户数据库之间安全隔离,保证了信息安全。具有在线即服务之后,FLOWSIM能够进一步加强运营方同用户之间的联系,通过长期服务维护 用户关系;能够降低用户风险,避免一次售卖造成的满意度无法达到预期的情况;促进了FLOWSIM仿真软件同互联网之间的整合,加速了云计算在FLOWSIM中的引进速度,目前FLOWSIM各项功能均趋于完善,用户量也逐渐积累,非常有必要开展相关云服务以满足广大客户对便捷性、在线服务的需求;解决了盗版问题,通过在线服务压缩盗版FLOWSIM的使用空间。Because the traffic simulation software is uniformly deployed on the operator's server, the upgrade service is unified, and the multi-tenant database can be securely isolated to ensure information security. With online as a service, FLOWSIM can further strengthen the relationship between the operator and the user, through long-term service maintenance User relationship; can reduce user risk, avoid the satisfaction caused by one sale can not reach the expected situation; promote the integration of FLOWSIM simulation software with the Internet, accelerate the introduction speed of cloud computing in FLOWSIM, the current FLOWSIM functions are To improve, the number of users has gradually accumulated, it is necessary to carry out relevant cloud services to meet the needs of customers for convenience and online services; solve the problem of piracy, and compress the use of pirated FLOWSIM through online services.
步骤S4:将所述交通仿真的数据反馈给所述用户。Step S4: feeding back the data of the traffic simulation to the user.
在该在线仿真系统完成此次交通仿真时,需要提示用户相关信息,例如:将此次交通仿真的结果反馈给用户。有时,为了让用户更加方便的使用在线交通仿真服务,也可以将该交通仿真的过程也展示给用户。When the online simulation system completes the traffic simulation, the user needs to be prompted with relevant information, for example, the result of the traffic simulation is fed back to the user. Sometimes, in order to make it easier for users to use the online traffic simulation service, the process of traffic simulation can also be presented to the user.
在现有技术中,如果用户想要使用交通仿真软件,通常都需要以高成本全价购买该交通仿真软件;同时,由于机器性能的限制,单机版的交通仿真软件所能仿真交通场景的交通路口数目和复杂度是有限的,因此如果所要仿真的交通场景的交通路口数目较大或复杂度较高时,就需要购买多台机器以组成集群来安装该交通仿真软件,这就进一步增加了用户使用交通仿真软件的成本。而本发明所提供的在线交通仿真方法,将交通仿真系统统一部署在在线仿真系统上,从而实现了在线仿真的全过程,用户不需要全价购买交通仿真软件,也不需要购买机器来安装该交通仿真软件,只需要按照使用情况付费;且用户不需要参与后期的系统维护和升级,这就进一步节约了用户进行交通仿真的成本,同时也比较方便。且该方法可以同时接受不同用户的仿真请求,也可以在不同时刻为不同用户提供服务,提高了系统的使用率,这就进一步降低了用户进行交通仿真的成本;利用本发明所提供的在线交通仿真方法,可以将多种交通仿真软件改写成相对应的在线版本,这样,当用户需要进行交通仿真时,就可以根据此次交通仿真的要求选择最合适的交通仿真软件的在线版本,这样既丰富了用户的选择,也降低了用户进行交通仿真的成本。In the prior art, if the user wants to use the traffic simulation software, it usually needs to purchase the traffic simulation software at a full cost at a high cost; meanwhile, due to the limitation of the machine performance, the traffic simulation software of the stand-alone version can simulate the traffic of the traffic scene. The number and complexity of intersections are limited, so if the number of traffic intersections of the traffic scene to be simulated is large or the complexity is high, it is necessary to purchase multiple machines to form a cluster to install the traffic simulation software, which further increases The cost of the user using traffic simulation software. The online traffic simulation method provided by the invention uniformly deploys the traffic simulation system on the online simulation system, thereby realizing the whole process of online simulation, and the user does not need to purchase the traffic simulation software at full price, and does not need to purchase the machine to install the network. The traffic simulation software only needs to pay according to the usage; and the user does not need to participate in the later system maintenance and upgrade, which further saves the cost of the user for traffic simulation, and is also convenient. Moreover, the method can simultaneously accept simulation requests of different users, and can provide services for different users at different times, thereby improving the usage rate of the system, which further reduces the cost of the user to perform traffic simulation; and uses the online traffic provided by the present invention. The simulation method can rewrite various traffic simulation software into the corresponding online version, so that when the user needs to carry out traffic simulation, the online version of the most suitable traffic simulation software can be selected according to the requirements of the traffic simulation, so that It enriches the user's choice and reduces the cost of traffic simulation for users.
本实施例中的在线交通仿真方法,可以根据预先针对用户存储的交通仿真所需的数据和仿真模式信息选择一个交通仿真模式,从而为用户提供一个最优的仿真服务,可以更好的完成该交通仿真。 The online traffic simulation method in this embodiment can select a traffic simulation mode according to data and simulation mode information required for traffic simulation stored by the user in advance, thereby providing an optimal simulation service for the user, which can better accomplish the Traffic simulation.
在其他的一些实施方案中,所述仿真模式包括:使用负载均衡算法选择出最优服务器终端。In some other implementations, the emulation mode includes selecting an optimal server terminal using a load balancing algorithm.
用户可能位于网络上的任何位置,从而导致某些位置的用户与在线仿真系统之间的网络速度较慢;用户的分布往往也不均匀,例如:大学,研究所多的城市的用户数量通常会比较多。因此,为了能够更好的为用户服务,在线仿真系统可以包含多个服务器终端,这些服务器终端分别位于网络上的不同位置,且这些服务器终端都能够单独提供在线交通仿真服务,例如:在华南,华北,华东,中西部都部署有服务器终端;在客户比较多的地区也可以增加服务器终端。因此,就需要从众多服务器终端中选择一个最优的服务器终端为用户提供服务。从而更加方便用户的使用,提高了服务质量。The user may be located anywhere on the network, resulting in a slower network between users in some locations and the online emulation system; the distribution of users is often uneven, for example, the number of users in universities and universities in the institute is usually More. Therefore, in order to better serve the user, the online simulation system may include multiple server terminals, which are respectively located at different locations on the network, and these server terminals are capable of providing online traffic simulation services separately, for example, in southern China. Server terminals are deployed in North China, East China, and the Midwest; server terminals can also be added in areas with a large number of customers. Therefore, it is necessary to select an optimal server terminal from among a plurality of server terminals to provide services for users. Therefore, it is more convenient for users to use and improve the quality of service.
本实施例中的在线仿真方法包含多个服务器终端,这些服务器终端分别位于网络的不同位置,而且它们都能够单独完成交通仿真,因此,需要选择一个最优的服务器终端为用户服务;当其中某一个服务器终端发生故障,其他的服务器终端可以继续提供服务,因此,提高了整个系统的稳定性。The online simulation method in this embodiment includes multiple server terminals, which are respectively located at different locations of the network, and they are all capable of performing traffic simulation separately. Therefore, it is necessary to select an optimal server terminal to serve the user; One server terminal fails, and other server terminals can continue to provide services, thus improving the stability of the entire system.
作为一种优选地实施方案,所述最优服务器终端为:与用户之间网络速度最快、剩余计算资源最多的服务器终端。当所选的最优服务器终端的网络速度、剩余计算资源仍不足以满足此次交通仿真需求时,作为一个可选的方案,用户在客户端可以请求的操作可以适当减少,比如仅仅支持建立路网几何模型、建立路网数据模型、建立交通控制方案和运行交通仿真并返回仿真运行结果,同时可以对所能仿真的路网规模设置一定的限制。As a preferred implementation manner, the optimal server terminal is: a server terminal that has the fastest network speed and the largest remaining computing resources among users. When the network speed and remaining computing resources of the selected optimal server terminal are still insufficient to meet the traffic simulation requirement, as an optional solution, the operation that the user can request on the client may be appropriately reduced, for example, only supporting the establishment of the path. The network geometry model, the road network data model, the traffic control scheme and the traffic simulation are simulated and the simulation results are returned. At the same time, certain limits can be set for the scale of the road network that can be simulated.
在本实施例中的在线交通仿真方法中,含有在网络分布的多个服务器终端,用户与不同服务器终端之间的网络速度往往不一样,由于同一个服务器终端会同时为多个用户提供服务,当一个用户需要进行交通仿真时,可以选择一个与用户之间网络速度最快、剩余资源最多的服务器终端为其服务,这样可以使用户更加方便、快速、顺畅的完成其交通仿真任务,增加了用户的满意度。In the online traffic simulation method in this embodiment, a plurality of server terminals distributed in the network are included, and the network speed between the user and the different server terminals is often different, because the same server terminal provides services for multiple users at the same time. When a user needs to carry out traffic simulation, he can choose a server terminal with the fastest network and the most remaining resources between the users, which can make the traffic simulation task more convenient, fast and smooth, and increase the number of users. User satisfaction.
此外,该在线交通仿真方法中,还包括收费的步骤,传统仿真软件的计费方法是一次性的软件授权收费方式,客户通过缴纳全款,获得软件所用使用功 能和终身或该版本的使用权。而SaaS方式下,收费方法主要有:基于接入时间的时间收费法、基于消费者信息消费量的平价收费法、基于时间段的订阅法和集中收费方式综合的混合收费法。In addition, the online traffic simulation method further includes a charging step, and the traditional simulation software charging method is a one-time software authorization charging method, and the customer obtains the software used by paying the full amount. Can and lifetime or the right to use this version. In the SaaS mode, the charging methods mainly include: time charging method based on access time, parity charging method based on consumer information consumption, time-based subscription method and mixed charging method based on centralized charging method.
FLOWSIM主要采用基于接入时间的时间收费法,其费用主要需考虑两部分:固定成本和可变成本。固定成本主要包括:1)交通仿真软件FLOWSIM的开发成本,包括软件系统的模块结构、功能、接口和实现方法等人力成本;2)硬件成本,包括主机、服务器、路由器等设施,以及该过程中产生的人力和时间成本。可变成本主要包括:1)定制化成本,主要是根据不同用户需求所开发的个性化功能,包括界面设置、功能模块等;2)维护成本,FLOWSIM运营商需要在软件服务过程中,根据相应情况进行软件的修改、完善、维护、增加基础设施等,同时该部分也包括对用户的培训成本。FLOWSIM mainly adopts the time-based charging method based on access time, and its cost mainly needs to consider two parts: fixed cost and variable cost. Fixed costs mainly include: 1) development cost of traffic simulation software FLOWSIM, including human resources such as module structure, function, interface and implementation method of software system; 2) hardware cost, including host, server, router and other facilities, and in the process Manpower and time costs incurred. The variable cost mainly includes: 1) customized cost, mainly personalized functions developed according to different user requirements, including interface settings, function modules, etc.; 2) maintenance costs, FLOWSIM operators need to be in the software service process, according to The software is modified, improved, maintained, and added to the infrastructure, and the part also includes training costs for users.
同时FLOWSIM需要考虑动态定价策略,根据用户的实际经济情况、时间空间等不同情况而确定不同价格。例如针对学校等教育系统用户,可以考虑适当降低收费。动态定价机制有助于FLOWSIM在不确定的环境下找到价格,使得买卖双方达到更高的市场效率。At the same time, FLOWSIM needs to consider the dynamic pricing strategy, and determine different prices according to the user's actual economic situation, time space and other different situations. For example, for education system users such as schools, consider reducing the fees appropriately. The dynamic pricing mechanism helps FLOWSIM find prices in an uncertain environment, enabling buyers and sellers to achieve higher market efficiency.
实施例2Example 2
本发明提供了一种在线交通仿真系统,可以是基于web或者APP的方式进行的在先交通仿真,如图2所示,包括如下模块:The invention provides an online traffic simulation system, which can be a prior traffic simulation based on a web or APP manner, as shown in FIG. 2, and includes the following modules:
用户接口模块,用于接收用户的交通仿真请求;a user interface module, configured to receive a traffic simulation request of the user;
处理模式选择模块,用于根据所述用户的信息和所述交通仿真请求选择仿真模式;Processing a mode selection module, configured to select an emulation mode according to the information of the user and the traffic simulation request;
交通仿真执行模块,用于根据所述仿真模式进行交通仿真;a traffic simulation execution module, configured to perform traffic simulation according to the simulation mode;
数据反馈模块,用于将所述交通仿真的数据反馈给所述用户。A data feedback module is configured to feed back data of the traffic simulation to the user.
在现有技术中,如果用户想要使用交通仿真软件,通常都需要以高成本全价购买该交通仿真软件;同时,由于机器性能的限制,单机版的交通仿真软件所能仿真交通场景的交通路口数目和复杂度是有限的,因此如果所要仿真的交 通场景的交通路口数目较大或复杂度较高时,就需要购买多台机器以组成集群来安装该交通仿真软件,这就进一步增加了用户使用交通仿真软件的成本。而本发明所提供的在线交通仿真系统,将交通仿真系统统一部署在在线仿真系统上,从而实现了在线仿真的全过程,用户不需要全价购买交通仿真软件,也不需要购买机器来安装该交通仿真软件,只需要按照使用情况付费;且用户不需要参与后期的系统维护和升级,这就进一步节约了用户进行交通仿真的成本,同时也比较方便。且该系统可以同时接受不同用户的仿真请求,也可以在不同时刻为不同用户提供服务,提高了系统的使用率,这就进一步降低了用户进行交通仿真的成本;利用本发明所提供的在线交通仿真系统,可以将多种交通仿真软件改写成相对应的在线版本,这样,当用户需要进行交通仿真时,就可以根据此次交通仿真的要求选择最合适的交通仿真软件的在线版本,这样既丰富了用户的选择,也降低了用户进行交通仿真的成本。In the prior art, if the user wants to use the traffic simulation software, it usually needs to purchase the traffic simulation software at a full cost at a high cost; meanwhile, due to the limitation of the machine performance, the traffic simulation software of the stand-alone version can simulate the traffic of the traffic scene. The number and complexity of intersections is limited, so if you want to simulate the intersection When the number of traffic intersections in the scene is large or the complexity is high, it is necessary to purchase a plurality of machines to form a cluster to install the traffic simulation software, which further increases the cost of the user using the traffic simulation software. The online traffic simulation system provided by the invention uniformly deploys the traffic simulation system on the online simulation system, thereby realizing the whole process of online simulation, and the user does not need to purchase the traffic simulation software at full price, and does not need to purchase the machine to install the network. The traffic simulation software only needs to pay according to the usage; and the user does not need to participate in the later system maintenance and upgrade, which further saves the cost of the user for traffic simulation, and is also convenient. Moreover, the system can accept simulation requests of different users at the same time, and can provide services for different users at different times, thereby improving the utilization rate of the system, which further reduces the cost of traffic simulation for users; and uses the online traffic provided by the present invention. The simulation system can rewrite various traffic simulation software into corresponding online versions, so that when the user needs to carry out traffic simulation, the online version of the most suitable traffic simulation software can be selected according to the requirements of the traffic simulation. It enriches the user's choice and reduces the cost of traffic simulation for users.
优选地,所述处理模式选择模块包括:Preferably, the processing mode selection module comprises:
数据表结构读取模块,用于根据所述用户的信息从预先针对所述用户单独建立的数据表结构中读取所需数据;a data table structure reading module, configured to read required data from a data table structure separately established for the user according to the user information;
仿真信息读取模块,用于根据所述用户的信息从预先针对所述用户单独建立的仿真模式表结构中读取所需仿真模式信息;And a simulation information reading module, configured to read, according to the information of the user, the required simulation mode information from a simulation mode table structure that is separately established for the user in advance;
仿真模式确定模块,用于根据所述所需数据、所述所需仿真模式信息和所述交通仿真请求确定其对应的仿真模式。And a simulation mode determining module, configured to determine a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request.
本实施例中的在线交通仿真系统,可以根据预先针对用户存储的交通仿真所需的数据和仿真模式信息选择一个交通仿真模式,从而为用户提供一个最优的仿真服务,可以更好的完成该交通仿真。The online traffic simulation system in this embodiment can select a traffic simulation mode according to the data and simulation mode information required for the traffic simulation stored by the user in advance, thereby providing an optimal simulation service for the user, which can better accomplish the Traffic simulation.
在其他的一些实施方案中,所述仿真模式包括:使用负载均衡算法选择出最优服务器终端。In some other implementations, the emulation mode includes selecting an optimal server terminal using a load balancing algorithm.
本实施例中的在线仿真系统包含多个服务器终端,这些服务器终端分别位于网络的不同位置,而且它们都能够单独完成交通仿真,因此,需要选择一个最优的服务器终端为用户服务;当其中某一个服务器终端发生故障,其他的服 务器终端可以继续提供服务,因此,提高了整个系统的稳定性。The online simulation system in this embodiment includes a plurality of server terminals, which are respectively located at different locations of the network, and they are all capable of performing traffic simulation separately. Therefore, an optimal server terminal needs to be selected to serve the user; One server terminal has failed, other services The server terminal can continue to provide services, thus improving the stability of the entire system.
作为一种优选地实施方案,所述交通仿真执行模块的步骤包括:选择针对所述交通仿真请求最优的交通仿真模型,获取所述交通仿真所需的数据,调用所述交通仿真模型在由所述仿真模式选择的服务器终端上完成所述交通仿真。As a preferred implementation, the step of the traffic simulation execution module includes: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model The traffic simulation is completed on the server terminal selected by the simulation mode.
在现有技术中,不同的交通仿真软件各有优点、各有所长,而用户每次仿真的侧重点有所不同,导致每次仿真最好选择不同的,最优的交通仿真软件,这就增加了用户的交通仿真成本,而本实施例中的在线交通仿真系统能够根据用户的交通仿真请求直接选择最优的交通仿真模型进行交通仿真,既方便了用户的使用,也降低了用户进行交通仿真的成本。In the prior art, different traffic simulation softwares have their own advantages and advantages, and the focus of each simulation of the user is different, so that each simulation preferably selects different, optimal traffic simulation software, which The traffic simulation cost of the user is increased, and the online traffic simulation system in this embodiment can directly select the optimal traffic simulation model for traffic simulation according to the user's traffic simulation request, which is convenient for the user to use and reduces the user's operation. The cost of traffic simulation.
优选地,所述交通仿真的数据为包括建模、运行、结果显示等展示整个交通仿真过程的数据。Preferably, the data of the traffic simulation is data including a modeling, operation, result display, etc. showing the entire traffic simulation process.
当用户进行在线交通仿真时,将整个交通仿真的过程实时的展现给用户,让用户在使用在线交通仿真系统时,感觉与在本地使用交通仿真软件没有任何差异,从而可以让用户更加容易的使用该在线仿真系统,同时也降低了用户的培训成本。When the user conducts online traffic simulation, the entire traffic simulation process is presented to the user in real time, so that when using the online traffic simulation system, the user feels that there is no difference between using the traffic simulation software locally, thereby making the user more easy to use. The online simulation system also reduces the cost of training for users.
作为一种优选地实施方案,所述最优服务器终端为:与用户之间网络速度最快、剩余计算资源最多的服务器终端。As a preferred implementation manner, the optimal server terminal is: a server terminal that has the fastest network speed and the largest remaining computing resources among users.
本实施例中采用交通仿真软件FLOWSIM,具有以下分层,用以实现上述过程,具体如下:In this embodiment, the traffic simulation software FLOWSIM is used, which has the following layers to implement the above process, as follows:
1)Web FLOWSIM表现层的主要任务是将客户端的请求提交到FLOWSIM业务层,以及将控制层返回的数据展现给客户端浏览器层。FLOWSIM表现层并不需要考虑软件各项功能的实现和各种业务的细节,该层可以作为各类用户登陆管理、会话管理等服务的网关。1) The main task of the Web FLOWSIM presentation layer is to submit the client's request to the FLOWSIM business layer and present the data returned by the control layer to the client browser layer. The FLOWSIM presentation layer does not need to consider the implementation of various functions of the software and the details of various services. This layer can serve as a gateway for various user login management, session management and other services.
2)Web FLOWSIM控制层充当的角色是表现层与业务逻辑层交互的一个中间桥梁,通过接受表现层的响应寻找相应的业务处理,再将业务逻辑层操作得到的结果信息反馈到表现层。 2) The role played by the Web FLOWSIM control layer is an intermediate bridge between the presentation layer and the business logic layer. By receiving the response of the presentation layer, it searches for the corresponding business process, and then feeds back the result information obtained by the operation of the business logic layer to the presentation layer.
3)Web FLOWSIM业务逻辑层主要用于实现FLOWSIM各种功能的业务逻辑处理,主要是处理仿真软件程序的数据以及用于访问、控制和修改这些数据的业务规则。3) The Web FLOWSIM business logic layer is mainly used to implement the business logic processing of various functions of FLOWSIM, mainly processing the data of the simulation software program and the business rules for accessing, controlling and modifying the data.
4)Web FLOWSIM数据库的任务是存放和管理用户的各类数据。该层是针对于多租户使用情况的,每个FLOWSIM租户都可能对软件界面风格、功能定制等方面有着不同的要求,因而该层负责多租户的数据扩展以及不同功能的选择。4) The task of the Web FLOWSIM database is to store and manage various types of data of users. This layer is for multi-tenant usage. Each FLOWSIM tenant may have different requirements for software interface style and function customization. Therefore, this layer is responsible for multi-tenant data expansion and different function selection.
本实施例中的在线交通仿真系统包含有在网络分布的多个服务器终端,用户与不同服务器终端之间的网络速度往往不一样,由于同一个服务器终端会同时为多个用户提供服务,当一个用户需要进行交通仿真时,可以选择一个与用户之间网络速度最快、剩余资源最多的服务器终端为其服务,这样可以使用户更加方便、快速、顺畅的完成其交通仿真任务,增加了用户的满意度。The online traffic simulation system in this embodiment includes a plurality of server terminals distributed in the network, and the network speed between the user and the different server terminals is often different, because the same server terminal provides services for multiple users at the same time, when one When users need to carry out traffic simulation, they can choose a server terminal with the fastest network and the most remaining resources between users, which can make the traffic simulation task more convenient, fast and smooth, and increase the user's Satisfaction.
作为一些具体的应用方式,该方案可以应用在以下场合:As a specific application method, the solution can be applied to the following occasions:
场景1scene 1
政府部门采购,例如某市公安局交通管理局采购在线即服务版本FLOWSIM用于当地交叉口改造的优化仿真和方案评价。其业务需求为:界面简单易操作,基本功能完整,只需要进行小范围路网的仿真。针对该需求,提供简化版的FLOWSIM在线版账号密码,建立独立数据库以保证政府信息的安全,并提供培训服务,总计收费较高。Government department procurement, such as the Municipal Public Security Bureau Transportation Administration procurement online service version FLOWSIM for the optimization of the local intersection transformation and program evaluation. Its business needs are: the interface is simple and easy to operate, the basic functions are complete, and only a small-scale road network simulation is needed. In response to this demand, a simplified version of the FLOWSIM online account password is provided, an independent database is established to ensure the security of government information, and training services are provided, with a high total charge.
场景2Scene 2
教育部门采购,例如某学校交通运输专业实验室采购用于教学示范和项目研究。其业务需求为:可切换英文界面,所有功能齐全,要求保证带宽,主要用于小范围路网仿真模拟,要求优惠价格。针对该需求,提供完整版的FLOWSIM在线版账号密码,提供隔离数据架构的共享数据库,提供部分培训服务,总计收费较低。Education department procurement, such as a school transportation professional laboratory procurement for teaching demonstration and project research. Its business needs are: switchable English interface, all functions are complete, and the required bandwidth is guaranteed. It is mainly used for small-scale road network simulation and simulation, and requires preferential price. In response to this demand, the full version of the FLOWSIM online account password is provided, a shared database of isolated data structures is provided, and some training services are provided, with a lower total charge.
场景3Scene 3
企业部门采购,例如某市公交公司采购用于研究改善既有公交线路服务水 平同时研究新设线路和发车频率等问题。其业务需求为:界面尽量简洁,能够进行大范围路网的公交仿真,需要输出较多参数的模拟计算结果,过程较为复杂。针对该需求,提供扩展板的FLOWSIM在线版账号密码,建立独立数据库以保证企业数据的安全,并提供详细培训服务,总计收费较高。Enterprise department procurement, such as the procurement of a city bus company to study and improve the existing bus line service water At the same time, I will study the issues of new lines and frequency of departure. The business needs are as follows: the interface is as simple as possible, and it can carry out bus simulation of a large-scale road network, and it is necessary to output simulation results of more parameters, and the process is complicated. In response to this demand, the FLOWSIM online version of the account password of the expansion board is provided, and an independent database is established to ensure the security of the enterprise data, and detailed training services are provided, and the total charge is high.
本实施例中的交通仿真系统包含多个服务器终端,这些服务器终端分别位于网络的不同位置,而且它们都能够单独完成交通仿真,因此,需要选择一个最优的服务器终端为用户服务;当其中某一个服务器终端发生故障,其他的服务器终端可以继续提供服务,因此,提高了整个系统的稳定性。The traffic simulation system in this embodiment includes a plurality of server terminals, which are respectively located at different locations of the network, and they are all capable of performing traffic simulation separately. Therefore, it is necessary to select an optimal server terminal to serve the user; One server terminal fails, and other server terminals can continue to provide services, thus improving the stability of the entire system.
作为一种优选地实施方案,所述交通仿真执行模块的步骤包括:选择针对所述交通仿真请求最优的交通仿真模型,获取所述交通仿真所需的数据,调用所述交通仿真模型在由所述仿真模式选择的服务器终端上完成所述交通仿真。As a preferred implementation, the step of the traffic simulation execution module includes: selecting a traffic simulation model that is optimal for the traffic simulation request, acquiring data required by the traffic simulation, and calling the traffic simulation model The traffic simulation is completed on the server terminal selected by the simulation mode.
在现有技术中,不同的交通仿真软件各有优点、各有所长,而用户每次仿真的侧重点有所不同,导致每次仿真最好选择不同的,最优的交通仿真软件,这就增加了用户的交通仿真成本,而本实施例中的基于Web的交通仿真系统能够根据用户的交通仿真请求直接选择最优的交通仿真模型进行交通仿真,既方便了用户的使用,也降低了用户进行交通仿真的成本。In the prior art, different traffic simulation softwares have their own advantages and advantages, and the focus of each simulation of the user is different, so that each simulation preferably selects different, optimal traffic simulation software, which The traffic simulation cost of the user is increased, and the Web-based traffic simulation system in this embodiment can directly select the optimal traffic simulation model for traffic simulation according to the user's traffic simulation request, which is convenient for the user to use and also reduces the user's use. The cost of the user performing traffic simulation.
优选地,所述交通仿真的数据为包括建模、运行、结果显示等展示整个交通仿真过程的Web页面数据。Preferably, the data of the traffic simulation is web page data including modeling, operation, result display, etc. showing the entire traffic simulation process.
当用户进行基于Web的交通仿真时,将整个交通仿真的过程实时的展现给用户,让用户在使用基于Web的交通仿真系统时,感觉与在本地使用交通仿真软件没有任何差异,从而可以让用户更加容易的使用该基于Web的交通仿真系统,同时也降低了用户的培训成本。When the user conducts web-based traffic simulation, the entire traffic simulation process is presented to the user in real time, so that when using the web-based traffic simulation system, the user feels that there is no difference between using the traffic simulation software locally, so that the user can be made It is easier to use the web-based traffic simulation system, while also reducing the user's training costs.
优选地,所述最优服务器终端为:与用户之间网络速度最快、剩余计算资源最多的服务器终端。Preferably, the optimal server terminal is: a server terminal with the fastest network speed and the largest remaining computing resources between the users.
在本实施例中的基于Web的交通仿真系统包含有在网络分布的多个服务器终端,用户与不同服务器终端之间的网络速度往往不一样,由于同一个服务器终端会同时为多个用户提供服务,当一个用户需要进行交通仿真时,可以选择 一个与用户之间网络速度最快、剩余资源最多的服务器终端为其服务,这样可以使用户更加方便、快速、顺畅的完成其交通仿真任务,增加了用户的满意度。The Web-based traffic simulation system in this embodiment includes a plurality of server terminals distributed in the network, and the network speed between the user and the different server terminals is often different, because the same server terminal provides services for multiple users at the same time. When a user needs to perform traffic simulation, they can choose A server terminal with the fastest network and the most remaining resources between the users and the user serves it, which enables the user to complete its traffic simulation task more conveniently, quickly and smoothly, and increases user satisfaction.
实施例3Example 3
图3示出了一种基于Web的交通仿真系统的基本架构图,其包含:用户端、互联网、仿真服务软件、数据库。其中,用户在用户端通过电脑或其他终端设备接入互联网,并访问基于Web的交通仿真系统;所述基于Web的交通仿真系统中的仿真服务软件建立在专用局域网内,该专用局域网是软件运营方基于已有的仿真服务软件所建立的局域网,其拥有外部访问接口;用户在基于Web的交通仿真系统上的各类服务请求均由仿真服务软件完成,并保存在数据库中。FIG. 3 shows a basic architecture diagram of a Web-based traffic simulation system, which includes: a client, an Internet, an emulation service software, and a database. The user accesses the Internet through the computer or other terminal device at the user end, and accesses the Web-based traffic simulation system; the simulation service software in the Web-based traffic simulation system is established in a dedicated local area network, and the dedicated local area network is software operation Based on the local area network established by the existing simulation service software, it has an external access interface; all kinds of service requests of users on the Web-based traffic simulation system are completed by the simulation service software and stored in the database.
其中,数据库的任务是存放和管理用户的各类数据。该层是针对于多用户使用情况的,每个用户都可能对软件界面风格、功能定制等方面有着不同的要求,因而该层负责多用户的数据扩展以及不同功能的选择。可以为每一个用户单独设立一个数据库,即不同的用户的数据分别存储在不同的数据库中;也可以共用一个数据库,但是每个用户拥有各自独立的一套不同的数据表结构,并且存储在单独的模式当中。Among them, the task of the database is to store and manage various types of data of users. This layer is for multi-user use. Each user may have different requirements for software interface style and function customization. Therefore, this layer is responsible for multi-user data expansion and different function selection. A separate database can be set up for each user, that is, different users' data are stored in different databases respectively; a database can also be shared, but each user has a separate set of different data table structures and is stored separately. Among the patterns.
优选地,如图4所示,所述仿真服务器软件包括:Preferably, as shown in FIG. 4, the simulation server software includes:
客户端浏览器层,用户在客户端主要使用基于Web的浏览器,用户通过互联网进行基于Web的交通仿真系统的各项操作,并通过互联网进行数据的读取和保存。In the client browser layer, the user mainly uses a web-based browser on the client side, and the user performs various operations of the web-based traffic simulation system through the Internet, and reads and saves data through the Internet.
软件表现层,软件表现层的主要任务是将客户端的请求提交到软件控制层,以及将软件控制层返回的数据展现给客户端浏览器层。软件表现层并不需要考虑软件各项功能的实现和各种业务的细节,该层可以作为各类用户登陆管理、会话管理等服务的网关。Software presentation layer, the main task of the software presentation layer is to submit the client's request to the software control layer, and present the data returned by the software control layer to the client browser layer. The software presentation layer does not need to consider the implementation of various functions of the software and the details of various services. This layer can serve as a gateway for various user login management, session management and other services.
软件控制层,软件控制层充当的角色是软件表现层与软件业务逻辑层交互的一个中间桥梁,通过接收软件表现层的响应寻找相应的业务处理,再将软件业务逻辑层操作得到的结果信息反馈到软件表现层。 The software control layer, the role played by the software control layer is an intermediate bridge between the software presentation layer and the software business logic layer. It receives the corresponding business process by receiving the response of the software presentation layer, and then feedbacks the result information obtained by the software business logic layer operation. To the software presentation layer.
软件业务逻辑层,软件业务逻辑层主要用于实现交通仿真各种功能的业务逻辑处理,主要是处理仿真软件程序的数据以及用于访问、控制和修改这些数据的业务规则。The software business logic layer, the software business logic layer is mainly used to implement the business logic processing of various functions of traffic simulation, mainly processing the data of the simulation software program and the business rules for accessing, controlling and modifying the data.
优选地,所述的基于Web的交通仿真系统还包含一个定价模块。其收费方法主要有:基于接入时间的时间收费法、基于消费者信息消费量的平价收费法、基于时间段的订阅法和集中收费方式综合的混合收费法。所述的基于Web的交通仿真系统主要采用基于接入时间的时间收费法,其费用主要需考虑两部分:固定成本和可变成本。固定成本主要包括:1)基于Web的交通仿真软件的开发成本,包括软件系统的模块结构、功能、接口和实现方法等人力成本;2)硬件成本,包括主机、服务器、路由器等设施,以及该过程中产生的人力和时间成本。可变成本主要包括:1)定制化成本,主要是根据不同用户需求所开发的个性化功能,包括界面设置、功能模块等;2)维护成本,交通仿真软件运营商需要在软件服务过程中,根据相应情况进行软件的修改、完善、维护、增加基础设施等,同时该部分也包括对用户的培训成本。Preferably, the web-based traffic simulation system further includes a pricing module. The charging methods mainly include: time charging method based on access time, parity charging method based on consumer information consumption, time-based subscription method and mixed charging method based on centralized charging method. The web-based traffic simulation system mainly adopts a time-based charging method based on access time, and the cost mainly needs to consider two parts: fixed cost and variable cost. The fixed cost mainly includes: 1) the development cost of the Web-based traffic simulation software, including the labor cost of the module structure, function, interface and implementation method of the software system; 2) the hardware cost, including the host, the server, the router, etc., and the Manpower and time costs incurred in the process. The variable cost mainly includes: 1) customized cost, mainly personalized functions developed according to different user requirements, including interface settings, function modules, etc.; 2) maintenance cost, traffic simulation software operators need to be in the software service process According to the corresponding situation, the software is modified, improved, maintained, and the infrastructure is added. At the same time, this part also includes the training cost for the user.
同时交通仿真软件需要考虑动态定价策略,根据用户的实际经济情况、时间空间等不同情况而确定不同价格。例如针对学校等教育系统用户,可以考虑适当降低收费。动态定价机制有助于基于Web的交通仿真系统在不确定的环境下找到价格,使得买卖双方达到更高的市场效率。At the same time, the traffic simulation software needs to consider the dynamic pricing strategy, and determine different prices according to the user's actual economic situation, time space and other different situations. For example, for education system users such as schools, consider reducing the fees appropriately. The dynamic pricing mechanism helps Web-based traffic simulation systems find prices in uncertain environments, enabling buyers and sellers to achieve higher market efficiency.
显然,上述实施例仅仅是为清楚地说明所作的举例,而并非对实施方式的限定。对于所属领域的普通技术人员来说,在上述说明的基础上还可以做出其它不同形式的变化或变动。这里无需也无法对所有的实施方式予以穷举。而由此所引伸出的显而易见的变化或变动仍处于本发明创造的保护范围之中。 It is apparent that the above-described embodiments are merely illustrative of the examples, and are not intended to limit the embodiments. Other variations or modifications of the various forms may be made by those skilled in the art in light of the above description. There is no need and no way to exhaust all of the implementations. Obvious changes or variations resulting therefrom are still within the scope of the invention.

Claims (8)

  1. 一种在线交通仿真方法,其特征在于,包括如下步骤:An online traffic simulation method, comprising the steps of:
    接收用户的交通仿真请求;Receiving a traffic simulation request of the user;
    根据所述用户的信息从预先针对所述用户单独建立的数据表结构中读取所需数据;Reading required data from a data table structure separately established for the user in advance according to the information of the user;
    根据所述用户的信息从预先针对所述用户单独建立的仿真模式表结构中读取所需仿真模式信息;Reading the required simulation mode information from the simulation mode table structure separately established for the user in advance according to the information of the user;
    根据所述所需数据、所述所需仿真模式信息和所述交通仿真请求确定其对应的仿真模式;Determining a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request;
    根据所述仿真模式进行交通仿真;Performing traffic simulation according to the simulation mode;
    将所述交通仿真的数据反馈给所述用户。The data of the traffic simulation is fed back to the user.
  2. 根据权利要求1所述的在线交通仿真方法,其特征在于,还包括:The online traffic simulation method according to claim 1, further comprising:
    使用负载均衡算法选择出最优服务器终端。Use the load balancing algorithm to select the optimal server terminal.
  3. 根据权利要求1和2所述的在线交通仿真方法,其特征在于,所述根据所述仿真模式进行交通仿真的步骤包括:The online traffic simulation method according to claim 1 or 2, wherein the step of performing traffic simulation according to the simulation mode comprises:
    选择针对所述仿真模式选择最优的交通仿真模型,获取所述交通仿真请求所需的数据,调用所述交通仿真模型在由所述仿真模式选择的服务器终端上完成所述交通仿真。Selecting an optimal traffic simulation model for the simulation mode, acquiring data required by the traffic simulation request, and calling the traffic simulation model to complete the traffic simulation on a server terminal selected by the simulation mode.
  4. 根据权利要求1所述的方法,其特征在于,还包括定价步骤,所述定价步骤基于接入时间的时间收费、基于消费者信息消费量的平价收费、基于时间段的订阅法和集中收费方式综合的混合收费的一种或几种。The method of claim 1 further comprising a pricing step based on time charging of access time, parity charging based on consumer information consumption, time period based subscription method, and centralized charging method One or several of the combined mix charges.
  5. 根据权利要求1-4任一项所述的在线交通仿真方法,其特征在于:The online traffic simulation method according to any one of claims 1 to 4, characterized in that:
    所述交通仿真请求所需的数据包括建模、运行、结果显示,能够展示整个 交通仿真过程的数据。The data required for the traffic simulation request includes modeling, operation, and result display, which can display the whole Data from the traffic simulation process.
  6. 根据权利要求2所述的在线交通仿真方法,其特征在于,所述最优服务器终端为:The online traffic simulation method according to claim 2, wherein the optimal server terminal is:
    与用户之间网络速度最快、剩余计算资源最多的服务器终端。The server terminal with the fastest network and the most computing resources remaining among users.
  7. 一种在线交通仿真系统,其特征在于,包括如下模块:An online traffic simulation system, comprising the following modules:
    用户接口模块,用于接收用户的交通仿真请求;a user interface module, configured to receive a traffic simulation request of the user;
    处理模式选择模块,用于根据所述用户的信息和所述交通仿真请求选择仿真模式;Processing a mode selection module, configured to select an emulation mode according to the information of the user and the traffic simulation request;
    交通仿真执行模块,用于根据所述仿真模式进行交通仿真;a traffic simulation execution module, configured to perform traffic simulation according to the simulation mode;
    数据反馈模块,用于将所述交通仿真的数据反馈给所述用户,其中,所述处理模式选择模块包括:a data feedback module, configured to feed back data of the traffic simulation to the user, where the processing mode selection module includes:
    数据表结构读取模块,用于根据所述用户的信息从预先针对所述用户单独建立的数据表结构中读取所需数据;a data table structure reading module, configured to read required data from a data table structure separately established for the user according to the user information;
    仿真信息读取模块,用于根据所述用户的信息从预先针对所述用户单独建立的仿真模式表结构中读取所需仿真模式信息;And a simulation information reading module, configured to read, according to the information of the user, the required simulation mode information from a simulation mode table structure that is separately established for the user in advance;
    仿真模式确定模块,用于根据所述所需数据、所述所需仿真模式信息和所述交通仿真请求确定其对应的仿真模式。And a simulation mode determining module, configured to determine a corresponding simulation mode according to the required data, the required simulation mode information, and the traffic simulation request.
  8. 一种交通仿真系统,其特征在于,包括:A traffic simulation system, comprising:
    客户端浏览器层,用户在客户端通过互联网进行访问,并通过互联网进行数据的读取和保存;Client browser layer, the user accesses the Internet through the client, and reads and saves data through the Internet;
    软件表现层,软件表现层的主要任务是将客户端的请求提交到软件控制层,以及将软件控制层返回的数据展现给客户端浏览器层;Software presentation layer, the main task of the software presentation layer is to submit the client's request to the software control layer, and present the data returned by the software control layer to the client browser layer;
    软件控制层,通过接收软件表现层的响应寻找相应的业务处理,再将软件业务逻辑层操作得到的结果信息反馈到软件表现层;The software control layer searches for the corresponding business process by receiving the response of the software presentation layer, and then feeds back the result information obtained by the software business logic layer operation to the software presentation layer;
    软件业务逻辑层,软件业务逻辑层主要用于实现交通仿真各种功能的业务 逻辑处理,处理仿真软件程序的数据以及用于访问、控制和修改这些数据的业务规则。 Software business logic layer, software business logic layer is mainly used to realize traffic simulation various functions of business Logic processing, processing data for simulation software programs and business rules for accessing, controlling, and modifying such data.
PCT/CN2016/109713 2016-01-19 2016-12-13 Method and system for on-line traffic simulation WO2017124858A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610034531.1A CN105718647A (en) 2016-01-19 2016-01-19 Online traffic simulation method and system
CN201610034531.1 2016-01-19

Publications (1)

Publication Number Publication Date
WO2017124858A1 true WO2017124858A1 (en) 2017-07-27

Family

ID=56147915

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/109713 WO2017124858A1 (en) 2016-01-19 2016-12-13 Method and system for on-line traffic simulation

Country Status (2)

Country Link
CN (1) CN105718647A (en)
WO (1) WO2017124858A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177877A (en) * 2018-10-24 2020-05-19 百度在线网络技术(北京)有限公司 Local simulation method and device based on application container engine and storage medium
CN116755844A (en) * 2023-08-17 2023-09-15 北京世冠金洋科技发展有限公司 Data processing method, device and equipment of simulation engine and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105718647A (en) * 2016-01-19 2016-06-29 吴建平 Online traffic simulation method and system
CN108492666A (en) * 2018-03-31 2018-09-04 长安大学 A kind of real-time microcosmic traffic simulation system and method for actual situation mixing
CN113467276B (en) * 2021-09-03 2021-12-07 中国汽车技术研究中心有限公司 Intelligent driving simulation method based on intelligent driving simulation event cloud platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412975A (en) * 2013-07-11 2013-11-27 吴建平 Dynamic traffic simulation platform and simulation method thereof
US20150073687A1 (en) * 2013-09-09 2015-03-12 International Business Machines Corporation Traffic control agency deployment and signal optimization for event planning
CN105159754A (en) * 2015-10-13 2015-12-16 街角科技(北京)有限责任公司 On-line simulation method and device based on intelligent business cloud platform
CN105718647A (en) * 2016-01-19 2016-06-29 吴建平 Online traffic simulation method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750928A (en) * 2015-03-30 2015-07-01 东南大学 Online simulation method based on B/S network structure mode

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103412975A (en) * 2013-07-11 2013-11-27 吴建平 Dynamic traffic simulation platform and simulation method thereof
US20150073687A1 (en) * 2013-09-09 2015-03-12 International Business Machines Corporation Traffic control agency deployment and signal optimization for event planning
CN105159754A (en) * 2015-10-13 2015-12-16 街角科技(北京)有限责任公司 On-line simulation method and device based on intelligent business cloud platform
CN105718647A (en) * 2016-01-19 2016-06-29 吴建平 Online traffic simulation method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177877A (en) * 2018-10-24 2020-05-19 百度在线网络技术(北京)有限公司 Local simulation method and device based on application container engine and storage medium
CN116755844A (en) * 2023-08-17 2023-09-15 北京世冠金洋科技发展有限公司 Data processing method, device and equipment of simulation engine and storage medium
CN116755844B (en) * 2023-08-17 2023-11-24 北京世冠金洋科技发展有限公司 Data processing method, device and equipment of simulation engine and storage medium

Also Published As

Publication number Publication date
CN105718647A (en) 2016-06-29

Similar Documents

Publication Publication Date Title
WO2017124858A1 (en) Method and system for on-line traffic simulation
CN103703443B (en) Powerful rights management for calculating function of application
Sanchati et al. Cloud computing in digital and university libraries
CN105917337A (en) Improving designing and installation quoting for solar energy systems
CN102968918B (en) Civil aviation passenger ticket reservation training system
CN106683008A (en) Resource-customizable real scenario practical teaching implementing method
Pursky et al. Software implementation of e-trade business process management information system
CN108090854A (en) The Web-based instruction and resource-sharing management platform based on Information Environment
Girling Informing Design Charrettes: tools for participation in neighbourhood-scale planning
Brail Planning support systems evolving: when the rubber hits the road
CN108388679A (en) Tripartite's sincerity attend a school by taking daily trips feelings management cloud platform
KR101185605B1 (en) Evaluation system of urban renaissance and the evaluation method using the same
KR20140051870A (en) C-market system which is connecting lms for digital knowledge sharing platform model and the using method
Tatnall et al. Experiences in Building and Using Decision-Support Systems in Postgraduate University Courses.
Chen Research on BIM Technology Application in the Whole Process Cost Management of PPP Project
Carvalho et al. Open-access tools for the modelling and simulation of electricity markets
Birchfield et al. A Review on Providing Realistic Electric Grid Simulations for Academia and Industry
WO2023195759A1 (en) Renewable energy trading system and method
Loibl et al. The TRANSFORM DSE–an interactive decision support environment for serving smart city strategy development and local measure implementation
TW201108139A (en) Electronic commerce system for establishing building rental/sale transaction
Li Commercial Concrete Distribution Center Site Selection Strategy Study Based on Center of Gravity Method
JP2001243265A (en) Virtual design center system and its method
Horne et al. Building information modelling for visualisation in AEC education
Peng Construction and Application of Legal Education Platform in Colleges and Universities Under the Background of Governing Schools by Law in Internet Plus
Hart et al. Multiple‐Use Applications of Distributed Energy Resources to Meet Customer Needs and Provide Utility and Grid Services

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: 16886118

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16886118

Country of ref document: EP

Kind code of ref document: A1