Disclosure of Invention
The invention mainly aims to overcome the defects of the prior art, provides a public and private automatic identification and private automatic charging system for a bus, realizes the use mode of automatically identifying the public and private use of the bus and paying the private car by who, perfectly solves the problem of difficult management of the public and private use, and avoids the waste caused by the idle use of the bus.
The invention also aims to provide a public bus public and private automatic identification and private automatic charging method.
In order to achieve the first purpose, the invention adopts the following technical scheme:
the invention discloses a system for realizing public and private automatic identification and private automatic charging of buses based on APP vehicles, which is characterized by comprising a mobile phone APP, a cloud system and a vehicle-mounted TBOX terminal, wherein the mobile phone APP system establishes data communication with the vehicle-mounted TBOX terminal through the cloud system;
the mobile phone APP is connected with the cloud system through a wireless network and is used for identifying the identity of a user, verifying the vehicle usage, selecting the vehicle, sending a vehicle door opening or locking application, sending a vehicle ignition flameout application and private vehicle charging and paying;
the cloud system is deployed at the cloud, is connected with the vehicle-mounted TBOX terminal and the mobile phone APP through a mobile communication network, is used for storing the information of a user, the information of a vehicle, the binding relationship between the vehicle and the vehicle-mounted TBOX terminal, and is used for carrying out public or private identification of the bus through the time of going to and out of work set by a bus administrator and private start charging; meanwhile, issuing a vehicle control instruction to the vehicle-mounted TBOX terminal, and receiving vehicle state information uploaded by the vehicle-mounted TBOX terminal; receiving user and vehicle information uploaded by mobile phone APP information; receiving a vehicle control application uploaded by a mobile phone APP; issuing vehicle state information to a mobile phone APP;
the vehicle-mounted TBOX terminal is mounted on an automobile, is connected with an automobile CAN bus through an OBD port and is used for acquiring the starting or stopping state of an engine or a motor of the automobile; and simultaneously, unlocking the vehicle door and controlling ignition flameout of the vehicle.
As a preferred technical solution, the mobile phone APP includes:
the user side user module is used for registering and logging in a user and judging the vehicle using permission of the user;
the client vehicle module is used for displaying vehicles and recording vehicle using information;
the user side vehicle control module is used for submitting vehicle door opening and locking applications and vehicle ignition and flameout applications;
the user charging module is used for starting vehicle charging according to a set charging rule if the private vehicle is used;
and the user side payment module is used for paying the vehicle cost according to the cost calculated by the charging module.
As a preferred technical solution, the cloud system includes:
the cloud user module is used for storing information of a user and information of allowable vehicle usage and judging vehicle usage permission;
the cloud vehicle module is used for storing vehicle information, binding a vehicle and the vehicle-mounted TBOX terminal through a vehicle frame number and a TBOXID, receiving vehicle state information uploaded by the vehicle-mounted TBOX terminal, and issuing the vehicle state information to the mobile phone APP;
the cloud vehicle control module is used for issuing a vehicle control instruction to the vehicle-mounted TBOX terminal and receiving a vehicle control application uploaded by the mobile phone APP;
the official time setting module is used for setting the working time period and the off-duty time period by a vehicle administrator;
a charging rule module for setting the charging rule by the vehicle manager
And the public and private judgment module is used for judging whether the current vehicle is a public vehicle or a private vehicle according to the set time period of going to and from work.
As a preferred technical scheme, the cloud vehicle control module comprises an instruction issuing module, a driving door processing module, a vehicle door locking processing module, an ignition processing module and a flameout processing module,
the command issuing module is used for issuing a vehicle control command to the vehicle-mounted TBOX terminal, wherein the vehicle control command comprises a vehicle door opening command, a vehicle door locking command, an ignition command and a flameout command;
the vehicle door opening processing module is used for issuing a vehicle door opening instruction to the vehicle-mounted TBOX terminal after receiving a vehicle door opening application of the mobile phone APP, and the vehicle-mounted TBOX terminal executes a vehicle door opening operation;
the vehicle door locking processing module is used for issuing a vehicle door locking instruction to the vehicle-mounted TBOX terminal after receiving a vehicle door locking application of the mobile phone APP, and the vehicle-mounted TBOX terminal executes a vehicle door locking operation;
the ignition processing module is used for issuing an ignition instruction to the vehicle-mounted TBOX terminal after receiving an ignition application of the mobile phone APP, and the vehicle-mounted TBOX terminal starts a vehicle and returns information to the ignition processing module;
and the flameout processing module is used for issuing a flameout instruction to the vehicle-mounted TBOX terminal after receiving the flameout application of the mobile phone APP, controlling the vehicle to flameout by the vehicle-mounted TBOX terminal, returning information to the flameout processing module, and sending a charging stop instruction to the mobile phone APP.
As a preferable technical solution, in the public and private judgment module, whether the current vehicle is a public vehicle or a private vehicle is judged according to the working time period and the working time period set by the public time setting module, and if the current vehicle time is within the working time period, the current vehicle is judged to be a public vehicle; and if the current vehicle using time is within the off-duty time period, determining that the vehicle is used as a private vehicle.
As an optimal technical scheme, the vehicle-mounted TBOX terminal is provided with a wireless communication module, is connected with a cloud system through a wireless network, uploads acquisition information and receives an instruction issued by the cloud system.
In order to achieve the second object, the invention adopts the following technical scheme:
the invention discloses a method for realizing public and private automatic identification and private automatic charging of a bus based on an APP vehicle, which comprises the following steps:
vehicle information, time periods of going to and going from work, allowed vehicle users and private vehicle usage charging rules are set through a cloud system;
the method comprises the steps that the identity of a user is identified by a mobile phone APP, and vehicle use selection is carried out after the identification is passed;
selecting a vehicle to be used on a mobile phone APP;
submitting a door opening application through a mobile phone APP, issuing an instruction to a vehicle-mounted TBOX terminal by a cloud system, and controlling a vehicle to open a vehicle door by the vehicle-mounted TBOX terminal to start using the vehicle;
submitting a vehicle starting application through a mobile phone APP, issuing an ignition instruction to a vehicle-mounted TBOX terminal by a cloud system, controlling the vehicle to start by the vehicle-mounted TBOX terminal, and uploading a vehicle starting state to the cloud system;
after receiving the vehicle starting state, the cloud system judges whether the current vehicle is a public vehicle or a private vehicle according to a preset on-duty time period, and informs a mobile phone APP whether to start charging;
the mobile phone APP starts different charging modes according to the public service vehicle or the private vehicle, and if the private vehicle is used, the charging is started according to a preset charging rule;
after the vehicle is used, submitting a flameout application through the mobile phone APP, sending an instruction to the vehicle-mounted TBOX terminal by the cloud system to complete flameout, returning the state to the cloud system, and informing the mobile phone APP to finish charging by the cloud system;
after the charging is finished, the mobile phone APP calculates the vehicle cost;
if the vehicle is a public service vehicle, the vehicle user does not need to pay; if the vehicle is a private vehicle, the vehicle user pays the charging amount. And after the vehicle is used, submitting a vehicle door locking application, issuing an instruction to complete vehicle locking to the TBOX by the cloud system, and finishing vehicle use.
As a preferable technical scheme, in the step of identifying the identity of a user by using the mobile phone APP and selecting the user after the identification is passed,
and the mobile phone APP sends information of the user and the vehicle to the cloud end system, judges whether the user has the authority of the vehicle, and judges that the user has the authority of the vehicle if the current user is in a vehicle user list set in advance, and the verification is passed.
Compared with the prior art, the invention has the following advantages and beneficial effects:
(1) the technical scheme of the invention can automatically identify the user, identify whether the use scene of the bus is public or private, and start charging and finish payment by the user if the use scene is private. The public and private automatic identification of the bus is realized, and the private bus adopts a use mode of who pays, so that the problem of difficulty in managing the private bus is perfectly solved, and the waste caused by idle vehicles is avoided.
(2) The invention is based on the technical scheme of APP, and the operations of vehicle door opening, door locking, ignition and flameout are directly carried out through the mobile phone APP, so that the method is convenient and fast, and can provide better experience for users.
(3) According to the invention, the data communication between the mobile phone APP and the vehicle-mounted TBOX terminal is realized through the deployed cloud system, only the operation is carried out on the mobile phone APP and the corresponding specified action is sent out, the data is transmitted to the vehicle-mounted TBOX terminal through the cloud system, and then the vehicle-mounted TBOX terminal completes the corresponding action on the vehicle, so that the intelligent degree is greatly improved.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but the present invention is not limited thereto.
Examples
As shown in fig. 1, the system for realizing public and private automatic identification and private automatic charging of a bus without a key in the embodiment includes a mobile phone APP, a cloud system and a vehicle-mounted TBOX terminal, wherein the mobile phone APP establishes data communication with the vehicle-mounted TBOX terminal through the cloud system;
the mobile phone APP is connected with the cloud system through a wireless network and is used for identifying the identity of a user, verifying the vehicle usage, selecting the vehicle, sending a vehicle door opening or locking application, sending a vehicle flameout application and private vehicle charging and paying;
the cell-phone APP includes:
the user side user module is used for registering and logging in a user and judging the vehicle using permission of the user;
the client vehicle module is used for displaying vehicles and recording vehicle using information;
the user side vehicle control module is used for submitting vehicle door opening and locking applications and vehicle ignition and flameout applications;
the user charging module is used for starting vehicle charging according to a set charging rule when the private vehicle is used;
and the user side payment module is used for paying the vehicle cost according to the cost calculated by the charging module.
The mobile phone APP can be arranged in intelligent handheld terminals such as a smart phone and an IPAD, the mobile phone APP is taken as an example in the embodiment for explanation, and the processing flows of other intelligent terminals are the same as the mobile phone APP.
The cloud system is deployed at the cloud, is connected with the vehicle-mounted TBOX terminal and the mobile phone APP through a mobile communication network, and is used for storing the binding relationship between the user information and the vehicle information vehicle and the vehicle-mounted TBOX terminal, and carrying out bus or private vehicle identification and private charging within the time period of going to and from work set by a bus administrator; meanwhile, vehicle information uploaded by the vehicle-mounted TBOX terminal is received, and a vehicle control instruction is issued to the vehicle-mounted TBOX terminal; receiving user and vehicle information uploaded by mobile phone APP information; receiving a vehicle control application uploaded by a mobile phone APP; and issuing the vehicle state information to the mobile phone APP.
The cloud system comprises:
the cloud user module is used for storing information of a user and information of allowable vehicle usage and judging vehicle usage permission;
the cloud vehicle module is used for storing vehicle information, binding a vehicle and the vehicle-mounted TBOX terminal through a vehicle frame number and a TBOXID, receiving vehicle state information uploaded by the vehicle-mounted TBOX terminal, and issuing the vehicle state information to the mobile phone APP;
the cloud vehicle control module is used for issuing a vehicle control instruction to the vehicle-mounted TBOX terminal and receiving a vehicle control application uploaded by the mobile phone APP;
the official time setting module is used for setting the working time period and the off-duty time period by a vehicle administrator;
a charging rule module for setting the charging rule by the vehicle manager
And the public and private judgment module is used for judging whether the current vehicle is a public vehicle or a private vehicle according to the set time period of going to and from work.
In the public and private judgment module, whether the current vehicle is a public vehicle or a private vehicle is judged according to the working time period and the working time period set by the public time setting module, and if the current time period is the working time period, the current vehicle is judged to be a public vehicle; and if the current time period is the off-duty time, judging that the vehicle is used by a private person.
The usual business office hours position 9 am: 00-17: 30; if the current time is within the time period, determining that the vehicle is used for the public affairs; if the current time is not in the time period, the private vehicle is judged to be used, and after the private vehicle is judged to be used, the charging module is started.
The cloud vehicle control module comprises an instruction issuing module, a driving door processing module, a locking door processing module, an ignition processing module and a flameout processing module;
the command issuing module is used for issuing a vehicle control command to the vehicle-mounted TBOX terminal, wherein the vehicle control command comprises a vehicle door opening command, a vehicle door locking command, an ignition command and a flameout command;
the vehicle door opening processing module is used for issuing a vehicle door opening instruction to the vehicle-mounted TBOX terminal after receiving a vehicle door opening application of the mobile phone APP, and the vehicle-mounted TBOX terminal executes a vehicle door opening operation;
the vehicle door locking processing module is used for issuing a vehicle door locking instruction to the vehicle-mounted TBOX terminal after receiving a vehicle door locking application of the mobile phone APP, and the vehicle-mounted TBOX terminal executes a vehicle door locking operation;
the ignition processing module is used for issuing an ignition instruction to the vehicle-mounted TBOX terminal after receiving an ignition application of the mobile phone APP, and the vehicle-mounted TBOX terminal starts a vehicle and returns information to the ignition processing module;
and the flameout processing module is used for issuing a flameout instruction to the vehicle-mounted TBOX terminal after receiving the flameout application of the mobile phone APP, controlling the vehicle to flameout by the vehicle-mounted TBOX terminal, returning information to the flameout processing module, and sending a charging stop instruction to the mobile phone APP.
The vehicle-mounted TBOX terminal is mounted on an automobile, is connected with an automobile CAN bus through an OBD port and is used for collecting the state, oil quantity and electric quantity of an engine or a motor of the automobile; and simultaneously, the opening and closing of the vehicle door and the ignition flameout control are carried out on the vehicle.
The vehicle-mounted TBOX terminal is provided with a wireless communication module, is connected with the cloud system through a wireless network, uploads acquisition information and receives an instruction issued by the cloud system.
As shown in fig. 2, the method for realizing public/private automatic identification and private automatic billing of a keyless car in the embodiment includes the following steps:
s1, vehicle information, time periods for getting on and off duty, allowed vehicle users and private vehicle usage charging rules are set through a cloud system;
s2, identifying the identity of a user by using a mobile phone APP, and selecting the user after the identification is passed;
s3, selecting a vehicle to be used on the mobile phone APP;
s4, submitting a door opening application through a mobile phone APP, issuing an instruction to the vehicle-mounted TBOX terminal by the cloud system, and controlling the vehicle to open a vehicle door and start the vehicle by the vehicle-mounted TBOX terminal;
s5, submitting a vehicle starting application through a mobile phone APP, issuing an ignition instruction to a vehicle-mounted TBOX terminal by a cloud system, controlling the vehicle to start by the vehicle-mounted TBOX terminal, and uploading a vehicle starting state to the cloud system;
s6, after receiving the vehicle starting state, the cloud system judges whether the current vehicle is a public vehicle or a private vehicle according to a preset on-duty time period, and informs a mobile phone APP whether to start charging;
s7, the mobile phone APP starts different charging modes according to the public vehicle or the private vehicle, and if the private vehicle is used, the charging is started according to a preset charging rule;
s8, after the vehicle is used, a flameout application is submitted through the mobile phone APP, the cloud system issues an instruction to the vehicle-mounted TBOX terminal to complete flameout and returns the instruction to the cloud system, and the cloud system informs the APP client to finish charging;
s9, after the charging is finished, calculating the vehicle cost by the mobile phone APP;
and S10, if the vehicle is a public vehicle, the vehicle user does not need to pay and finishes using the vehicle, if the vehicle is a private vehicle, the vehicle user pays the charging amount, and submits a vehicle returning application after the payment is finished, and the vehicle using is finished.
In the step of identifying the identity of a user by using the mobile phone APP and selecting the user after the identification is passed,
the mobile phone APP sends information of the user and the vehicle to the cloud end system, whether the user has the authority of the vehicle is judged, and if yes, verification is passed.
As shown in fig. 3, at the user side, i.e. the mobile phone APP side, the user's using process is as follows:
(1) the user module processes user login and carries out identity authentication;
(2) the vehicle module displays the vehicle for selection by a user;
(3) the user module judges whether the person has the authority to use the vehicle, and if the person has the authority, the verification is passed;
(4) the vehicle control module receives a vehicle using request of a user and sends a door opening application to the cloud system;
(5) the cloud system issues a door opening instruction to the vehicle-mounted TBOX terminal, and the vehicle-mounted TBOX terminal controls the vehicle to open a vehicle door;
(6) the vehicle control module receives a user ignition request and sends an ignition application to the cloud system;
(7) the cloud system issues an ignition instruction to the TBOX, the TBOX controls the vehicle to ignite and start, and the starting state is uploaded to the cloud system;
(8) the cloud system compares the vehicle starting time with the on-duty time preset by an administrator, and judges whether the current vehicle is a private vehicle or a public vehicle;
(9) if the cloud system judges that the vehicle is a private vehicle, a charging starting instruction and a charging rule preset by an administrator are issued to the APP charging module, and the APP starts charging. If the vehicle is a public vehicle, informing the APP of not charging;
(10) the vehicle control module receives a flameout request of a user, sends a flameout application to the cloud system, the cloud system sends an instruction to the TBOX to control the vehicle to flameout, and the flameout state is uploaded to the cloud;
(11) after receiving the flameout information, the cloud system informs the APP charging module, the charging module stops charging and gives out the charge;
(12) and the payment module receives the payment request, starts a payment process and completes payment. And the vehicle control module receives the door locking request, sends a vehicle door locking application to the cloud system, locks the vehicle door and finishes vehicle utilization.
As shown in fig. 4, in the cloud system, the work flow is as follows:
(1) the user module records the information of the person using the vehicle and the information of the allowed vehicle using;
(2) the vehicle module records vehicle information and binds the vehicle with the vehicle-mounted TBOX terminal;
(3) the official time setting module sets working and working time periods;
(4) the charging rule module sets a private vehicle charging rule;
(5) the user module receives the vehicle using application of the mobile phone APP, verifies the vehicle using application and allows the vehicle to be used;
(6) the vehicle control module receives a vehicle door opening application submitted by the mobile phone APP and issues a door opening instruction to a vehicle-mounted TBOX terminal corresponding to the vehicle;
(7) the vehicle control module receives a vehicle ignition application submitted by the mobile phone APP and issues an ignition instruction to a vehicle-mounted TBOX terminal corresponding to the vehicle; the vehicle-mounted TBOX terminal starts a vehicle and returns an ignition state to the cloud vehicle module;
(8) the public and private judgment module compares the vehicle starting time with the on-off time preset by an administrator to judge whether the current vehicle is a private vehicle or a public vehicle;
(9) and the public and private judgment module judges whether the vehicle is used by a private vehicle or not, and issues a charging starting instruction and a charging rule preset by an administrator to the mobile phone APP, so that the mobile phone APP starts charging. If the vehicle is a public vehicle, informing the mobile phone APP of not charging;
(10) the vehicle control module receives a vehicle flameout application submitted by the mobile phone APP and issues a flameout instruction to a vehicle-mounted TBOX terminal corresponding to the vehicle; the vehicle-mounted TBOX terminal controls the vehicle to extinguish and returns an extinguishing state to the cloud vehicle module;
(11) after receiving the flameout information, the vehicle module informs the mobile phone APP to stop charging;
(12) the vehicle control module receives a vehicle door locking application submitted by the mobile phone APP and issues a door locking instruction to a vehicle-mounted TBOX terminal corresponding to the vehicle; and the vehicle-mounted TBOX terminal controls the vehicle to lock the door and returns the door locking state to the cloud vehicle module, and the vehicle using is finished.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.