Bus scheduling system and method based on vehicle-mounted terminal

文档序号:1157491 发布日期:2020-09-15 浏览:35次 中文

阅读说明:本技术 一种基于车载终端的公交车调度系统及方法 (Bus scheduling system and method based on vehicle-mounted terminal ) 是由 王震坡 龙超华 杨永刚 陆富 于 2020-07-03 设计创作,主要内容包括:本发明涉及一种基于车载终端的公交车调度系统及方法。系统包括:车载终端,安装在公交车上,用于控制公交车的电门锁以及车门锁的启动或关闭,还用于采用公交车的车辆数据;客户端,与云端通信,用于向云端发送申请用车请求以及发送初步车辆状态;云端,分别与车载终端和客户端通信,用于根据车载终端的唯一识别编号确定用车完成后的交车的车辆信息;还用于根据车辆数据和初步车辆状态确定公交车的车辆状态;还用于根据申请用车请求进行用户身份验证,并当验证成功后发送用车指令至车载终端,发送授权指令至客户端;客户端与所述车载终端通信,客户端还用于根据授权指令控制所述车载终端。本发明提高公交车管理效率,降低安全隐患。(The invention relates to a bus dispatching system and method based on a vehicle-mounted terminal. The system comprises: the vehicle-mounted terminal is installed on the bus, is used for controlling the starting or closing of an electric door lock and a door lock of the bus, and is also used for adopting the vehicle data of the bus; the client is communicated with the cloud end and used for sending a vehicle application request and sending a preliminary vehicle state to the cloud end; the cloud end is respectively communicated with the vehicle-mounted terminal and the client end and is used for determining vehicle information of the vehicle after the vehicle is used and the vehicle is handed over according to the unique identification number of the vehicle-mounted terminal; the bus state detection module is also used for determining the bus state of the bus according to the bus data and the preliminary bus state; the system is also used for carrying out user identity authentication according to the vehicle application request, sending a vehicle using instruction to the vehicle-mounted terminal after the authentication is successful, and sending an authorization instruction to the client; the client communicates with the vehicle-mounted terminal, and the client is also used for controlling the vehicle-mounted terminal according to the authorization instruction. The invention improves the bus management efficiency and reduces the potential safety hazard.)

1. The utility model provides a bus dispatch system based on-vehicle terminal which characterized in that includes:

the system comprises a vehicle-mounted terminal, a data acquisition module and a data processing module, wherein the vehicle-mounted terminal is installed on a bus, is used for controlling the starting or closing of an electric door lock and a door lock of the bus, and is also used for acquiring vehicle data of the bus; the vehicle data comprises a vehicle fault code, electric quantity and fuel quantity;

the client is communicated with the cloud end and used for sending a vehicle application request and sending a preliminary vehicle state to the cloud end;

the cloud end is respectively communicated with the vehicle-mounted terminal and the client end and is used for determining the vehicle information of the bus according to the unique identification number of the vehicle-mounted terminal; the bus state detection module is further used for determining the bus state of the bus after the bus is used according to the vehicle data and the preliminary vehicle state; the system is also used for carrying out user identity verification according to the vehicle application request, sending a vehicle using instruction to the vehicle-mounted terminal after the verification is successful, and sending an authorization instruction to the client; the vehicle information comprises a vehicle model, a license plate number and a vehicle driver scheduling data table; the vehicle driver scheduling data table comprises personal information, scheduling shift times, scheduling time periods and scheduling routes; the vehicle state comprises running, available, to be maintained or to be repaired;

the client communicates with the vehicle-mounted terminal, and the client is further used for controlling the vehicle-mounted terminal according to the authorization instruction.

2. The bus dispatching system based on the vehicle-mounted terminal, as recited in claim 1, wherein the vehicle-mounted terminal comprises a first relay, a second relay, a CAN signal transceiver, a controller, a memory and a communication module;

the communication module is respectively communicated with the controller, the client and the cloud;

the controller is used for authorizing the unlocking of the vehicle door and starting control by one key according to the vehicle using instruction; the controller is also used for controlling the first relay and the second relay to be opened or closed according to the operation of the client;

the first relay is used for controlling the starting and stopping of the electric door lock;

the second relay is used for controlling the starting and stopping of the vehicle door lock;

the CAN signal transceiver is respectively connected with a CAN bus of the bus and the controller and is used for acquiring the vehicle data;

the memory is connected with the controller and used for storing the vehicle data and the unique identification number of the vehicle-mounted terminal.

3. The bus dispatching system based on the vehicle-mounted terminal as claimed in claim 2, wherein the communication module comprises a Bluetooth unit, a 3G/4G unit and a 3G/4G antenna unit.

4. The bus dispatching system based on the vehicle-mounted terminal as claimed in claim 1, further comprising an encryption system;

the encryption system is respectively connected with the client, the cloud and the vehicle-mounted terminal.

5. A bus scheduling method based on a vehicle-mounted terminal, characterized in that the bus scheduling method is applied to the bus scheduling system of any one of the above claims 1-4, and the bus scheduling method comprises:

acquiring a vehicle application request of a client;

verifying the identity of the user according to the request of the application vehicle to obtain a verification result;

when the verification result is that the verification is successful, authorizing the vehicle-mounted terminal and the client to be started by using a vehicle door lock and a key of the bus;

acquiring a control instruction of the client;

and controlling the electric door lock and the door lock of the bus to be started or closed according to the control instruction.

6. The bus dispatching method based on the vehicle-mounted terminal as claimed in claim 5, wherein the verifying the user identity according to the request for requesting the vehicle to obtain the verification result specifically comprises:

acquiring a unique identification number of the vehicle-mounted terminal;

determining the vehicle information of the bus according to the unique identification number;

and verifying the user information according to a vehicle driver scheduling data table in the vehicle information.

7. The bus dispatching method based on the vehicle-mounted terminal as claimed in claim 5, wherein the method controls the start or the close of an electric door lock and a vehicle door lock of the bus according to the control command, and then further comprises:

acquiring vehicle data and a preliminary vehicle state of the bus;

and determining the vehicle state of the bus after the bus utilization is finished according to the vehicle data and the preliminary vehicle state.

8. The bus scheduling method based on the vehicle-mounted terminal as claimed in claim 7, wherein the determining the vehicle state of the bus after the completion of the vehicle usage according to the vehicle data and the preliminary vehicle state further comprises:

updating the vehicle state of the bus according to the vehicle state of the bus after the bus is used;

and maintaining and repairing the bus according to the vehicle state of the bus after the bus is finished.

Technical Field

The invention relates to the field of intelligent control, in particular to a bus dispatching system and method based on a vehicle-mounted terminal.

Background

The existing automobile keyless starting methods generally have two types:

firstly, put the remote key on the car, the automobile system senses that remote key rear can use a key to start, still needs to manage the remote key, and is not the key-free in the true sense.

And secondly, a remote starting function configured by some high-end vehicle types, such as 'Anjixing' service. And is limited to the warm-up function only, the vehicle system can be switched off when the remote control key is not detected within a certain time.

Neither of the above two methods can achieve the purpose of keyless management of bus scheduling. For a bus dispatching and dispatching system, in addition to key management, daily maintenance of a vehicle is also very important. Therefore, a bus dispatching system and method are needed to improve the bus management efficiency and reduce the potential safety hazard.

Disclosure of Invention

The invention aims to provide a bus dispatching system and method based on a vehicle-mounted terminal, which can improve the bus management efficiency and reduce the potential safety hazard.

In order to achieve the purpose, the invention provides the following scheme:

a bus dispatching system based on vehicle-mounted terminal comprises:

the system comprises a vehicle-mounted terminal, a data acquisition module and a data processing module, wherein the vehicle-mounted terminal is installed on a bus, is used for controlling the starting or closing of an electric door lock and a door lock of the bus, and is also used for acquiring vehicle data of the bus; the vehicle data comprises a vehicle fault code, electric quantity and fuel quantity;

the client is communicated with the cloud end and used for sending a vehicle application request and sending a preliminary vehicle state to the cloud end;

the cloud end is respectively communicated with the vehicle-mounted terminal and the client end and is used for determining the vehicle information of the bus according to the unique identification number of the vehicle-mounted terminal; the bus state detection module is further used for determining the bus state of the bus after the bus is used according to the vehicle data and the preliminary vehicle state; the system is also used for carrying out user identity verification according to the vehicle application request, sending a vehicle using instruction to the vehicle-mounted terminal after the verification is successful, and sending an authorization instruction to the client; the vehicle information comprises a vehicle model, a license plate number and a vehicle driver scheduling data table; the vehicle driver scheduling data table comprises personal information, scheduling shift times, scheduling time periods and scheduling routes; the vehicle state comprises running, available, to be maintained or to be repaired;

the client communicates with the vehicle-mounted terminal, and the client is further used for controlling the vehicle-mounted terminal according to the authorization instruction.

Optionally, the vehicle-mounted terminal includes a first relay, a second relay, a CAN signal transceiver, a controller, a memory, and a communication module;

the communication module is respectively communicated with the controller, the client and the cloud;

the controller is used for authorizing the unlocking of the vehicle door and starting control by one key according to the vehicle using instruction; the controller is also used for controlling the first relay and the second relay to be opened or closed according to the operation of the client;

the first relay is used for controlling the starting and stopping of the electric door lock;

the second relay is used for controlling the starting and stopping of the vehicle door lock;

the CAN signal transceiver is respectively connected with a CAN bus of the bus and the controller and is used for acquiring the vehicle data;

the memory is connected with the controller and used for storing the vehicle data and the unique identification number of the vehicle-mounted terminal.

Optionally, the communication module includes a bluetooth unit, a 3G/4G unit, and a 3G/4G antenna unit.

Optionally, an encryption system is further included;

the encryption system is respectively connected with the client, the cloud and the vehicle-mounted terminal.

A bus dispatching method based on vehicle-mounted terminals is applied to a bus dispatching system and comprises the following steps:

acquiring a vehicle application request of a client;

verifying the identity of the user according to the request of the application vehicle to obtain a verification result;

when the verification result is that the verification is successful, authorizing the vehicle-mounted terminal and the client to be started by using a vehicle door lock and a key of the bus;

acquiring a control instruction of the client;

and controlling the electric door lock and the door lock of the bus to be started or closed according to the control instruction.

Optionally, the verifying the user identity according to the request for requesting for vehicle usage to obtain a verification result specifically includes:

acquiring a unique identification number of the vehicle-mounted terminal;

determining the vehicle information of the bus according to the unique identification number;

and verifying the user information according to a vehicle driver scheduling data table in the vehicle information.

Optionally, the method further includes the following steps of controlling the electric door lock and the vehicle door lock of the bus to be started or closed according to the control instruction:

acquiring vehicle data and a preliminary vehicle state of the bus;

and determining the vehicle state of the bus after the bus utilization is finished according to the vehicle data and the preliminary vehicle state.

Optionally, the determining, according to the vehicle data and the preliminary vehicle state, the vehicle state of the bus after the completion of the use of the bus, and then further includes:

updating the vehicle state of the bus according to the vehicle state of the bus after the bus is used;

and maintaining and repairing the bus according to the vehicle state of the bus after the bus is finished.

According to the specific embodiment provided by the invention, the invention discloses the following technical effects:

the bus dispatching system and method based on the vehicle-mounted terminal, provided by the invention, have the advantages that the vehicle-mounted terminal is installed on each bus, the vehicle data is collected in real time and sent to the cloud for storage and analysis, the client remotely applies for authorization and control (the vehicle-mounted terminal is controlled by connecting a mobile phone with the Internet) to the cloud, the cloud checks the identity information of a driver after receiving a request, the operation is fast, and an instruction is issued to the specified vehicle-mounted terminal, so that the keyless starting of the vehicle and the efficient dispatching of the vehicle are realized; the potential safety hazard caused by a series of inconveniences and key loss caused by the traditional physical key is avoided, the vehicle management efficiency is improved, and the service quality is improved. Meanwhile, the vehicle-mounted terminal records vehicle data and uploads the vehicle data to the cloud for storage and analysis, so that vehicles are managed quickly and efficiently.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.

Fig. 1 is a schematic structural diagram of a bus dispatching system based on a vehicle-mounted terminal provided by the invention;

FIG. 2 is a schematic diagram of a vehicle mounted terminal according to the present invention;

FIG. 3 is a flow chart of client operation;

FIG. 4 is a vehicle state determination flow chart;

fig. 5 is a flow chart of a bus scheduling method based on a vehicle-mounted terminal provided by the invention.

Detailed Description

The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

The invention aims to provide a bus dispatching system and method based on a vehicle-mounted terminal, which can improve the bus management efficiency and reduce the potential safety hazard.

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.

Fig. 1 is a schematic structural diagram of a bus dispatching system based on a vehicle-mounted terminal provided by the present invention, and as shown in fig. 1, the bus dispatching system based on the vehicle-mounted terminal provided by the present invention includes: the system comprises a vehicle-mounted terminal 1, a client 2 and a cloud end 3.

The vehicle-mounted terminal 1 is installed on a bus, the vehicle-mounted terminal 1 is used for controlling the starting or closing of an electric door lock and a vehicle door lock of the bus, and the vehicle-mounted terminal 1 is also used for collecting vehicle data of the bus; the vehicle data includes a vehicle fault code, an electric quantity, and a fuel quantity. The vehicle-mounted terminal 1 is connected with the bus through a butt joint line.

The client 2 is in communication with the cloud end 3, and the client 2 is used for sending a vehicle application request and sending a preliminary vehicle state to the cloud end 3.

The cloud end 3 is respectively communicated with the vehicle-mounted terminal 1 and the client end 2, and the cloud end 3 is used for determining the vehicle information of the bus according to the unique identification number of the vehicle-mounted terminal 1; the cloud end 3 is further used for determining the vehicle state of the bus after the bus is used according to the vehicle data and the preliminary vehicle state; the system is also used for carrying out user identity authentication according to the vehicle application request, sending a vehicle using instruction to the vehicle-mounted terminal 1 after the authentication is successful, and sending an authorization instruction to the client 2; the vehicle information comprises a vehicle model, a license plate number and a vehicle driver scheduling data table; the vehicle driver scheduling data table comprises personal information, scheduling shift times, scheduling time periods and scheduling routes; the vehicle state includes in-service, available, to be maintained, or to be repaired.

The cloud end 3 carries out user identity authentication according to the application vehicle using request, and sends a vehicle using instruction to the vehicle-mounted terminal 1 after the vehicle-mounted terminal is successfully authenticated, and sends an authorization instruction to the client end 2, and the method specifically comprises the following steps:

the user checks the schedule table through the client 2, applies for using the vehicle within the working time of the schedule table, the cloud 3 verifies the schedule information of the user, issues a vehicle-mounted terminal 1 of the vehicle with a vehicle-using command, authorizes unlocking of a vehicle door and control of one-key starting, and updates the vehicle state to be 'in operation'. The bluetooth module of the client 2 is also authorized to be activated using the vehicle door lock and a key of the vehicle. And as shown in figure 3.

The cloud 3 confirms the vehicle information of bus according to the unique identification number of vehicle-mounted terminal 1 specifically includes:

after the user finishes the journey, the client 2 submits the finished vehicle and reports the vehicle states of the used vehicles (the vehicles which can be continuously used are reported as 'available vehicles', 'vehicles to be maintained', 'vehicles to be charged/refueled or other maintenance', and 'vehicles to be maintained' when the vehicles are damaged or have faults). And after receiving the vehicle using ending request, the cloud end 3 issues a vehicle door locking instruction to the vehicle-mounted terminal 1 of the vehicle, and withdraws the vehicle using permission of the driver client end 2. Meanwhile, the terminal reads the vehicle fault and the electric quantity/fuel quantity through the automobile CAN bus and reports the vehicle state to the cloud end 3 (the vehicle system has no fault code and the vehicle with sufficient electric quantity/fuel is reported as an available vehicle; the vehicle needing charging, refueling or other maintenance is reported as a vehicle to be maintained; and the vehicle with the fault code in the vehicle system is reported as a vehicle to be maintained). The cloud 3 rapidly and comprehensively judges the vehicle to be classified and updates the vehicle state of the vehicle according to the vehicle data of the client 2 and the vehicle-mounted terminal 1. This ensures the safe, stable and efficient operation of the vehicle for the daily maintenance of the vehicle, and reduces the occurrence of accidents, and is shown in fig. 4.

The vehicle state of the bus is specifically described as follows: the available vehicles refer to vehicles which can be continuously put into the next operation, the vehicles in operation refer to vehicles running and operating, the vehicles to be maintained refer to vehicles which need to be maintained and then put into the next operation, and the vehicles to be maintained refer to vehicles which need to be maintained and then put into the next operation; and (3) updating the vehicle using state: and after the vehicle is used by an authorized driver, the cloud end 3 system updates the vehicle state. And (3) system comprehensive judgment: the cloud 3 comprehensively judges the vehicle state according to the vehicle preliminary vehicle state uploaded by the client 2 and the vehicle data reported by the vehicle-mounted terminal 1, and rapidly classifies the vehicle state. And as shown in table 1, table 1 is as follows:

TABLE 1

Figure BDA0002568202800000061

As shown in table 1, when only the client 2 and the vehicle-mounted terminal 1 report that the vehicle status is "available vehicle", the system classifies the vehicle as an "available vehicle"; as long as one of the two is reported as the vehicle to be maintained, the system necessarily classifies the vehicle into the vehicle to be maintained; other situations are classified as "vehicles to be serviced".

When a certain vehicle state is "vehicle to be repaired" or "vehicle to be maintained", the customer terminal 2 of the maintenance person will receive the repair/maintenance task and be authorized to use the vehicle. After the maintenance personnel finish the vehicle maintenance task, the vehicle state of the vehicle can be applied and updated to be the available vehicle, and the cloud 3 system withdraws the vehicle using authority of the maintenance personnel and updates the vehicle state to be the available vehicle.

The client 2 is in communication with the vehicle-mounted terminal 1, and the client 2 is further configured to control the vehicle-mounted terminal 1 according to the authorization instruction. Specifically, a door unlocking and one-key starting control instruction is issued to the vehicle-mounted terminal 1 of the bus in an MQTT (Message queue Telemetry Transport) mode.

As a specific embodiment, the cloud 3 is connected to the internet and a wireless mobile communication base station, and communicates with the in-vehicle terminal 1 through 3G/4G wireless communication. The client 2 is connected with a wireless mobile communication base station and the internet, and wireless communication with the cloud 3 is achieved.

Fig. 2 is a schematic diagram of the vehicle-mounted terminal 1 of the present invention, and as shown in fig. 2, the vehicle-mounted terminal 1 includes a first relay, a second relay, a CAN signal transceiver, a controller, a memory, and a communication module. The communication module is respectively in communication with the controller, the client 2 and the cloud 3.

The controller is used for authorizing the unlocking of the vehicle door and starting control by one key according to the vehicle using instruction; the controller is also used for controlling the opening or closing of the first relay and the second relay according to the operation of the client 2. The controller is specifically an MCU.

The first relay is used for controlling the starting and stopping of the electric door lock.

The second relay is used for controlling the starting and stopping of the vehicle door lock.

The CAN signal transceiver is respectively connected with the CAN bus of the bus and the controller and is used for collecting the vehicle data.

The memory is connected with the controller and used for storing the vehicle data and the unique identification number of the vehicle-mounted terminal 1. The memory is specifically an SD memory card.

The communication module comprises a Bluetooth unit, a 3G/4G unit and a 3G/4G antenna unit.

As a specific embodiment, a first relay on the vehicle-mounted terminal 1 is connected to an electric door lock of a vehicle, and when an I/O port P1 of the MCU outputs a low level, the first relay is turned off; when the P1 outputs high level, the first relay is closed, the electric door lock is switched on, and the vehicle is started. A second relay on the vehicle-mounted terminal 1 is connected to a vehicle door lock of a vehicle, and the second relay is disconnected when an I/O port P2 of the MCU outputs a low level; when the P1 outputs high level, the second relay is closed, the door lock is started, and the door can be opened for use. The vehicle-mounted terminal 1 CAN read CAN bus data of the bus through the CAN signal transceiver, the MCU reads the data of the CAN transceiver through the serial port, and the read data is stored in the SD card through the serial peripheral interface. The MCU of the vehicle-mounted terminal 1 is connected with the Bluetooth module through an asynchronous serial communication port for communication, and the Bluetooth of the mobile phone client 2 can be in wireless communication with the Bluetooth module. The vehicle-mounted terminal 1 further comprises a 3G/4G module, an SIM card is contained in the 3G/4G communication module, and the 3G/4G module is connected with the 3G/4G module through an antenna and is accessed to the Internet through a mobile communication network.

In order to ensure the safety and reliability of data in the transmission process, the bus dispatching system based on the vehicle-mounted terminal further comprises an encryption system.

The encryption system is respectively connected with the client 2, the cloud 3 and the vehicle-mounted terminal 1. And carrying out asymmetric encryption processing on the transmitted data through the encryption system.

According to the bus dispatching system based on the vehicle-mounted terminal, a user can remotely apply for a bus through the client 2, keyless management and dispatching of the bus are achieved, and a series of inconvenience caused by a traditional physical key and potential safety hazards caused by key loss are avoided. In addition, the vehicle-mounted terminal 1 of installation can gather vehicle data and upload to high in the clouds 3, supplies high in the clouds 3 storage and analysis, and the high-efficient use of vehicle is guaranteed in the quick management vehicle of intelligence.

Fig. 5 is a schematic flow chart of a bus scheduling method based on a vehicle-mounted terminal provided by the present invention, and as shown in fig. 5, the bus scheduling method based on the vehicle-mounted terminal provided by the present invention is applied to the bus scheduling system, and the bus scheduling method includes:

s501, a vehicle application request of a client is obtained.

And S502, verifying the identity of the user according to the request of the application vehicle to obtain a verification result.

S502 specifically includes:

and acquiring the unique identification number of the vehicle-mounted terminal.

And determining the vehicle information of the bus according to the unique identification number.

And verifying the user information according to a vehicle driver scheduling data table in the vehicle information.

And S503, when the verification result is that the verification is successful, authorizing the vehicle-mounted terminal and the client to be started by using a bus door lock and a key of the bus.

S504, obtaining the control instruction of the client.

And S505, controlling the electric door lock and the door lock of the bus to be started or closed according to the control instruction.

After S505, the method further includes:

acquiring vehicle data and a preliminary vehicle state of the bus;

and determining the vehicle state of the bus after the bus utilization is finished according to the vehicle data and the preliminary vehicle state.

And updating the vehicle state of the bus according to the vehicle state of the bus after the bus is finished.

And maintaining and repairing the bus according to the vehicle state of the bus after the bus is finished.

The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.

The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

12页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:用于可视化车辆的地理围栏属性的系统和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!