CN110689387A - Method and system for judging whether car-returning person is in car, storage medium and server - Google Patents
Method and system for judging whether car-returning person is in car, storage medium and server Download PDFInfo
- Publication number
- CN110689387A CN110689387A CN201810721638.2A CN201810721638A CN110689387A CN 110689387 A CN110689387 A CN 110689387A CN 201810721638 A CN201810721638 A CN 201810721638A CN 110689387 A CN110689387 A CN 110689387A
- Authority
- CN
- China
- Prior art keywords
- vehicle
- car
- center
- information
- user terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004891 communication Methods 0.000 claims abstract description 25
- 238000012545 processing Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 11
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000006243 chemical reaction Methods 0.000 claims description 4
- WHGYBXFWUBPSRW-FOUAGVGXSA-N beta-cyclodextrin Chemical compound OC[C@H]([C@H]([C@@H]([C@H]1O)O)O[C@H]2O[C@@H]([C@@H](O[C@H]3O[C@H](CO)[C@H]([C@@H]([C@H]3O)O)O[C@H]3O[C@H](CO)[C@H]([C@@H]([C@H]3O)O)O[C@H]3O[C@H](CO)[C@H]([C@@H]([C@H]3O)O)O[C@H]3O[C@H](CO)[C@H]([C@@H]([C@H]3O)O)O3)[C@H](O)[C@H]2O)CO)O[C@@H]1O[C@H]1[C@H](O)[C@@H](O)[C@@H]3O[C@@H]1CO WHGYBXFWUBPSRW-FOUAGVGXSA-N 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005299 abrasion Methods 0.000 description 1
- 238000003915 air pollution Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 235000019800 disodium phosphate Nutrition 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0645—Rental transactions; Leasing transactions
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/01—Satellite radio beacon positioning systems transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/13—Receivers
- G01S19/14—Receivers specially adapted for specific applications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F17/00—Coin-freed apparatus for hiring articles; Coin-freed facilities or services
- G07F17/0042—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects
- G07F17/0057—Coin-freed apparatus for hiring articles; Coin-freed facilities or services for hiring of objects for the hiring or rent of vehicles, e.g. cars, bicycles or wheelchairs
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Traffic Control Systems (AREA)
Abstract
The invention provides a method, a system, a storage medium and a server for judging whether a car returning person is in a car, which are applied to a communication network comprising a user terminal, a car end and a server; the method for judging whether the car returning person is still in the car comprises the following steps: receiving a car returning request from a user terminal, actual position information of the user terminal and actual position information of a car end; calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured and calculated information from the vehicle end to the vehicle; comparing the actual position information of the vehicle with the actual position information of the user terminal to judge whether the vehicle returning person is in the vehicle; if so, prompting that the vehicle returning fails; and if not, generating a rental bill and sending the rental bill to the user terminal, and prompting that the car is returned successfully after the payment information of the user is received. By the invention, the previous user can not drive the vehicle away on the premise of returning the vehicle, and no loss is brought to the vehicle leasing company.
Description
Technical Field
The invention belongs to the technical field of automobile sharing application, relates to a judgment method and a judgment system, and particularly relates to a method, a system, a storage medium and a server side for judging whether a car returning person is in a car.
Background
Automobile sharing means that many people share one automobile, namely, a driver only has the right to use the automobile without ownership, and the method is somewhat similar to the method of packaging automobiles in a taxi for a short time. The method has simple and convenient procedures, and can reserve and order the car by calling a telephone or through the Internet. Automobile sharing is generally performed by a company to coordinate vehicles and to take charge of problems such as insurance and parking of vehicles. The mode not only can save money, but also is beneficial to relieving traffic jam and road abrasion, reduces air pollution and reduces the dependence on energy, and has extremely wide development prospect.
Along with sharing the car more and more, the company of returning the car through cell-phone APP is more and more, and a lot of leasing companies need not the key and twist the switch as long as get into the car and both can start the vehicle and drive, if the car person sits in the car and returns the car back then directly starts the engine and drive, and the leasing company can't judge whether the preceding user has driven the vehicle away, and this can bring very big loss to the car leasing official.
Therefore, how to provide a method, a system, a storage medium and a server for judging whether a car returning person is in a car is provided to solve the technical problem that the current car returning technology is to borrow/return a car through a mobile terminal APP, and the car can be started to drive as long as a key is not required to be turned on once when the car enters the car, but if the car using person sits in the car and returns the car and then directly starts an engine to drive, a leasing company cannot judge whether the previous car using person drives the car away, so that loss is caused to the car leasing company, and the technical problem to be solved by technical personnel in the field is needed urgently.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, a storage medium, and a server for determining whether a car returning person is in a car, which are used to solve the problem that in the existing car returning technology, a car can be started only by entering the car without turning a key on a switch, but if a car user sits in the car and returns the car, and then directly starts an engine to drive, a rental company cannot determine whether the previous car user drives the car, and thus a loss is caused to the car rental company.
In order to achieve the above objects and other related objects, the present invention provides a method for determining whether a car-returning person is in a car, which is applied to a communication network including a user terminal, a car terminal and a service terminal; the method for judging whether the car returning person is still in the car comprises the following steps: receiving a car returning request from a user terminal, actual position information of the user terminal and actual position information of a car end; calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured and calculated information from the vehicle end to the vehicle; comparing the actual position information of the vehicle with the actual position information of the user terminal to judge whether the vehicle returning person is in the vehicle; if so, prompting that the vehicle returning fails; and if not, generating a rental bill and sending the rental bill to the user terminal, and prompting that the car is returned successfully after the payment information of the user is received.
In an embodiment of the present invention, the actual location information of the user terminal is current GPS information of the user terminal, and the actual location information of the vehicle end is current GPS information of the vehicle end.
In an embodiment of the present invention, after receiving the actual location information of the user terminal and the actual location information of the car end, the method for determining whether the car return person is still inside the car further includes: and respectively converting the current GPS information of the user terminal and the current GPS information of the vehicle end into the coordinate information of the user terminal and the coordinate information of the vehicle end.
In an embodiment of the invention, the pre-measured information from the vehicle end to the vehicle includes a predicted distance from a vehicle end center to the front of the vehicle, a predicted distance from the vehicle end center to the rear of the vehicle, a predicted distance from the vehicle end center to the left of the vehicle, and a predicted distance from the vehicle end center to the right of the vehicle.
In an embodiment of the present invention, a is (x, y + d1), a is coordinate information of the front of the vehicle, x is an abscissa of the center of the vehicle end, y is an ordinate of the center of the vehicle end, and d1 is a distance from the center of the vehicle end to the front of the vehicle; b is (x, y-d2), B is coordinate information of the rear of the vehicle, x is an abscissa of the center of the vehicle end, y is an ordinate of the center of the vehicle end, and d2 is a distance from the center of the vehicle end to the rear of the vehicle; c is (x-d3, y), C is coordinate information of the left side of the vehicle, x is an abscissa of the center of the vehicle end, d3 is a predicted distance from the center of the vehicle end to the left side of the vehicle, and y is an ordinate of the center of the vehicle end; d is (x, y + D4), D is coordinate information of the right side of the vehicle, x is an abscissa of the center of the vehicle end, y is an ordinate of the center of the vehicle end, and D4 is a predicted distance from the center of the vehicle end to the right side of the vehicle; e ═ E ((x-d3), (y + d1)), where E is coordinate information x of the front left end of the vehicle is an abscissa of the center of the vehicle end, d3 is a predicted distance from the center of the vehicle end to the left of the vehicle, y is an ordinate of the center of the vehicle end, and d1 is a predicted distance from the center of the vehicle end to the front of the vehicle; f is ((x + d4), (y + d1)), F is coordinate information of the front and right ends of the vehicle, x is an abscissa d4 of the center of the vehicle end is a predicted distance from the center of the vehicle end to the right of the vehicle, y is an ordinate of the center of the vehicle end, and d1 is a predicted distance from the center of the vehicle end to the front of the vehicle; g ((x-d3), (y-d2)), wherein x is the abscissa of the center of the vehicle end, d3 is the predicted distance from the center of the vehicle end to the left of the vehicle, y is the ordinate of the center of the vehicle end, and d2 is the predicted distance from the center of the vehicle end to the rear of the vehicle; h ((x + d4), (y-d2)), coordinate information of the rear and right ends of the vehicle H, x being an abscissa of the center of the vehicle end, d4 being a predicted distance from the center of the vehicle end to the right of the vehicle, y being an ordinate of the center of the vehicle end, and d2 being a predicted distance from the center of the vehicle end to the rear of the vehicle.
In an embodiment of the present invention, the step of comparing the actual location information of the vehicle with the actual location information of the user terminal to determine whether the vehicle returning person is still inside the vehicle includes: the method comprises the following steps of forming actual position information of a vehicle by coordinate information in front of the vehicle, coordinate information in back of the vehicle, coordinate information on the left side of the vehicle, coordinate information on the right side of the vehicle, coordinate information on the front left end of the vehicle, coordinate information on the front right end of the vehicle, coordinate information on the rear left end of the vehicle and coordinate information on the rear right end of the vehicle; judging whether the coordinate information of the vehicle end is located in the actual position information of the vehicle; if yes, the person returning to the vehicle is still in the vehicle; if not, the returning person is not in the vehicle.
The invention provides a system for judging whether a car returning person is in a car, which is applied to a communication network comprising a user terminal, a car end and a service end; the system for judging whether the car returning person is in the car comprises: the communication module is used for receiving a car returning request from the user terminal, actual position information of the user terminal and actual position information of a car end; the calculation module is used for calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured and calculated information from the vehicle end to the vehicle; the processing module is used for comparing the actual position information of the vehicle with the actual position information of the user terminal so as to judge whether the vehicle returning person is in the vehicle or not; if yes, prompting the returning failure through a prompting module; if not, generating a rental bill to the user terminal through a bill generating module, and prompting that the car is returned successfully after receiving the payment information of the user.
In an embodiment of the present invention, the determining system further includes a converting module, configured to convert current GPS information of the user terminal and current GPS information of the vehicle end into coordinate information of the user terminal and coordinate information of the vehicle end, respectively.
Still another aspect of the present invention provides a storage medium having stored thereon a computer program that, when executed by a processor, implements a method of determining whether the car return person is in a car.
A final aspect of the present invention provides a server, including: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored in the memory so as to enable the server to execute the method for judging whether the car returning person is in the car.
As described above, the method, system, storage medium and server for determining whether a car return owner is in a car according to the present invention have the following advantages:
by the method, the system, the storage medium and the server for judging whether the car returning person is in the car, the previous user cannot drive the car away on the premise of returning the car, and no loss is caused to a car leasing company.
Drawings
Fig. 1 is a schematic diagram of a communication network to which the present invention is applied.
Fig. 2 is a schematic flow chart illustrating a method for determining whether a car-returning person is in a car according to an embodiment of the present invention.
Fig. 3 shows the positional relationship of the vehicle end and the vehicle of the present invention.
Fig. 4 is a schematic flow chart illustrating S24 in the method for determining whether a car returning person is in the car according to the present invention.
Fig. 5 is a schematic structural diagram of a system for determining whether a car returning person is in a car according to an embodiment of the present invention.
Description of the element reference numerals
1 communication network
11 user terminal
12 vehicle end
13 service end
14 vehicle
5 System for judging whether car returning person is in car
51 communication module
52 conversion module
53 calculation module
54 processing module
55 prompt module
56 bill generation module
S21-S26
Steps S241 to S242
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The embodiment provides a method for judging whether a car returning person is in a car, which is applied to a communication network comprising a user terminal, a car end and a service end; the method for judging whether the car returning person is still in the car comprises the following steps:
receiving a car returning request from a user terminal, actual position information of the user terminal and actual position information of a car end;
calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured and calculated information from the vehicle end to the vehicle;
comparing the actual position information of the vehicle with the actual position information of the user terminal to judge whether the vehicle returning person is in the vehicle; if so, prompting that the vehicle returning fails; and if not, generating a rental bill and sending the rental bill to the user terminal, and prompting that the car is returned successfully after the payment information of the user is received.
The method for determining whether the car returning person is in the car provided by the embodiment will be described in detail with reference to the drawings. The method for determining whether a car returning person is in a car according to the present embodiment is applied to the communication network 1 shown in fig. 1. The communication network 1 includes a user terminal 11, a vehicle end 12, and a service end 13. The user terminal 11 is configured to send a car return request to the server 13, and the server 13 sends a position acquisition request to the car end 12 after receiving the car return request.
Please refer to fig. 2, which is a flowchart illustrating a method for determining whether a car returning person is in a car. As shown in fig. 2, the method for determining whether the car returning person is in the car specifically includes the following steps:
s21, receiving a car return request from the user terminal and actual position information of the user terminal, and at the same time, sending a position acquisition request to the car end 12, and receiving actual position information of the car end from the car end 12. In this embodiment, the actual location information of the user terminal is current GPS information of the user terminal, and the actual location information of the vehicle end is current GPS information of the vehicle end.
And S22, converting the current GPS information of the user terminal and the current GPS information of the vehicle end into the coordinate information of the user terminal and the coordinate information of the vehicle end respectively. In this embodiment, the present invention that can convert GPS information into cartesian coordinate information can be applied.
And S23, calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured information from the vehicle end to the vehicle. In this embodiment, the pre-measured information from the vehicle end to the vehicle includes a predicted distance from the vehicle end center to the front of the vehicle, a predicted distance from the vehicle end center to the rear of the vehicle, a predicted distance from the vehicle end center to the left of the vehicle, and a predicted distance from the vehicle end center to the right of the vehicle; the predicted distance from the vehicle end center to the front of the vehicle is represented by d1, the predicted distance from the vehicle end center to the rear of the vehicle is represented by d2, the predicted distance from the vehicle end center to the left of the vehicle is represented by d3, and the predicted distance from the vehicle end center to the right of the vehicle is represented by d 4. The pre-measured information from the vehicle end to the vehicle is X-axis data information and Y-axis data information based on a Cartesian coordinate system. In the present embodiment, the actual position information of the vehicle includes coordinate information of the front of the vehicle, coordinate information of the rear of the vehicle, coordinate information of the left of the vehicle, coordinate information of the right of the vehicle, coordinate information of the front left end of the vehicle, coordinate information of the front right end of the vehicle, coordinate information of the rear left end of the vehicle, and coordinate information of the rear right end of the vehicle; the coordinate information of the front of the vehicle is represented by a, the coordinate information of the rear of the vehicle is represented by B, the coordinate information of the left of the vehicle is represented by C, the coordinate information of the right of the vehicle is represented by D, the coordinate information of the left end of the front of the vehicle is represented by E, the coordinate information of the right end of the front of the vehicle is represented by F, the coordinate information of the left end of the rear of the vehicle is represented by G, and the coordinate information of the right end of the rear of the vehicle is represented by H. Referring to fig. 3, the position relationship between the vehicle end and the vehicle is shown. As shown in fig. 3, the vehicle end 12 is located in the middle of the vehicle, and the vehicle 14 is provided with 8 measuring points, namely, a vehicle front a, a vehicle rear B, a vehicle left C, a vehicle right D, a vehicle front left E, a vehicle front right F, a vehicle rear left G, and a vehicle rear right H.
Specifically, the calculation formula for calculating the actual position information of the vehicle is as follows:
the coordinate information of the front of the vehicle is the abscissa of the center of the vehicle end, (the ordinate of the center of the vehicle end + the distance from the center of the vehicle end to the front of the vehicle), i.e., a is (x, y + d 1).
The coordinate information of the rear of the vehicle is the abscissa of the center of the vehicle end, (the ordinate of the center of the vehicle end-the distance from the center of the vehicle end to the rear of the vehicle), that is, B is (x, y-d 2).
The coordinate information on the left side of the vehicle (the abscissa of the center of the vehicle end-the predicted distance from the center of the vehicle end to the left side of the vehicle), and the ordinate of the center of the vehicle end, i.e., C, is (x-d3, y).
The coordinate information on the right side of the vehicle is the abscissa of the center of the vehicle end, (the ordinate of the center of the vehicle end + the predicted distance from the center of the vehicle end to the right side of the vehicle), that is, D is (x, y + D4).
The coordinate information of the front left end of the vehicle is (the abscissa of the center of the vehicle end-the predicted distance from the center of the vehicle end to the left of the vehicle), (the ordinate of the center of the vehicle end + the distance from the center of the vehicle end to the front of the vehicle), i.e., E ((x-d3), (y + d 1)).
The coordinate information of the front and right ends of the vehicle is (abscissa of the vehicle end center + the predicted distance from the vehicle end center to the right of the vehicle), (ordinate of the vehicle end center + the distance from the vehicle end center to the front of the vehicle), i.e., F ═ ((x + d4), (y + d1)),.
The coordinate information of the left end of the rear of the vehicle is (the abscissa of the center of the vehicle end-the predicted distance from the center of the vehicle end to the left of the vehicle), (the ordinate of the center of the vehicle end-the distance from the center of the vehicle end to the rear of the vehicle), i.e., G ((x-d3), (y-d 2)).
The coordinate information of the rear right end of the vehicle is (abscissa of the vehicle end center + predicted distance from the vehicle end center to the right of the vehicle), (ordinate of the vehicle end center-distance from the vehicle end center to the rear of the vehicle), that is, H ((x + d4), (y-d 2)).
S24, comparing the actual position information of the vehicle with the actual position information of the user terminal to judge whether the vehicle returning person is in the vehicle; if yes, executing S25, namely prompting the failure of returning the car; and if not, executing S26, namely generating a rental bill and sending the rental bill to the user terminal, and prompting that the car is returned successfully after the payment information of the user is received. In this embodiment, the rental bill includes rental information such as a user, a rental start point, a rental end point, a rental time, a unit price, a total price, and the like.
Please refer to fig. 4, which shows a flowchart of S24. As shown in fig. 4, the S24 specifically includes the following steps:
and S241, forming the actual position information of the vehicle by the coordinate information of the front of the vehicle, the coordinate information of the rear of the vehicle, the coordinate information of the left side of the vehicle, the coordinate information of the right side of the vehicle, the coordinate information of the front left end of the vehicle, the coordinate information of the front right end of the vehicle, the coordinate information of the rear left end of the vehicle and the coordinate information of the rear right end of the vehicle.
S242, judging whether the coordinate information of the vehicle end is located in the actual position information of the vehicle; if yes, the person returning to the vehicle is still in the vehicle; if not, the returning person is not in the vehicle.
The present embodiment also provides a storage medium (also referred to as a computer-readable storage medium) having a computer program stored thereon, wherein the program is executed by a processor to implement the method for determining whether a car returning person is in the car. Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
By the method for judging whether the car returning person is in the car or not, the previous user cannot drive the car away on the premise of returning the car, and no loss is brought to a car rental company.
Example two
The embodiment provides a system for judging whether a car returning person is in a car, which is applied to a communication network comprising a user terminal, a car end and a service end; the system for judging whether the car returning person is in the car comprises:
the communication module is used for receiving a car returning request from the user terminal, actual position information of the user terminal and actual position information of a car end;
the calculation module is used for calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured and calculated information from the vehicle end to the vehicle;
the processing module is used for comparing the actual position information of the vehicle with the actual position information of the user terminal so as to judge whether the vehicle returning person is in the vehicle or not; if yes, prompting the returning failure through a prompting module; and if not, generating a rental bill to the user terminal through a generation module, and prompting that the car is returned successfully after the payment information of the user is received.
The system for determining whether a car returning person is in a car provided in the present embodiment will be described in detail with reference to the drawings. It should be noted that the division of each module of the following determination system is only a division of a logic function, and all or part of the actual implementation may be integrated into one physical entity, or may be physically separated. And these modules can be realized in the form of software called by processing element; or may be implemented entirely in hardware; and part of the modules can be realized in the form of calling software by the processing element, and part of the modules can be realized in the form of hardware. For example, the x module may be a processing element separately set up, or may be implemented by being integrated in a chip of the apparatus, or may be stored in a memory of the apparatus in the form of program code, and the following functions of the x module may be called and executed by a processing element of the apparatus. Other modules are implemented similarly. In addition, all or part of the modules can be integrated together or can be independently realized. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, the steps of the above method or the following modules may be implemented by hardware integrated logic circuits in a processor element or instructions in software.
For example, the following modules may be one or more integrated circuits configured to implement the above methods, e.g.: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), among others. For another example, when one of the following modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Please refer to fig. 5, which is a schematic structural diagram of a system for determining whether a car returning person is in a car. As shown in fig. 5, the system 5 for determining whether the car returning person is in the car includes: communication module 51, conversion module 52, calculation module 53, processing module 54, prompting module 55 and bill generation module 56.
The communication module 51 is configured to receive a car return request from the user terminal and actual position information of the user terminal, send a position acquisition request to the car end, and receive actual position information of the car end from the car end. In this embodiment, the actual location information of the user terminal is current GPS information of the user terminal, and the actual location information of the vehicle end is current GPS information of the vehicle end.
The conversion module 52 coupled to the communication module 51 is configured to convert the current GPS information of the user terminal and the current GPS information of the vehicle end into the coordinate information of the user terminal and the coordinate information of the vehicle end, respectively.
The calculating module 53 coupled to the communication module 51 and the converting module 52 is used for calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured information from the vehicle end to the vehicle. In this embodiment, the pre-measured information from the vehicle end to the vehicle includes a predicted distance from the vehicle end center to the front of the vehicle, a predicted distance from the vehicle end center to the rear of the vehicle, a predicted distance from the vehicle end center to the left of the vehicle, a predicted distance from the vehicle end center to the right of the vehicle, a predicted distance from the vehicle end center to the left of the front of the vehicle, a predicted distance from the vehicle end center to the right of the front of the vehicle, a predicted distance from the vehicle end center to the left of the rear of the vehicle, and a predicted distance from the vehicle end center to the right of the rear of the vehicle. The pre-measured information from the vehicle end to the vehicle is X-axis data information and Y-axis data information based on a Cartesian coordinate system. In the present embodiment, the actual position information of the vehicle includes coordinate information of the front of the vehicle, coordinate information of the rear of the vehicle, coordinate information of the left of the vehicle, coordinate information of the right of the vehicle, coordinate information of the front left end of the vehicle, coordinate information of the front right end of the vehicle, coordinate information of the rear left end of the vehicle, and coordinate information of the rear right end of the vehicle. Referring to fig. 3, the position relationship between the vehicle end and the vehicle is shown.
Specifically, the coordinate information of the front of the vehicle is the abscissa of the center of the vehicle end, (the ordinate of the center of the vehicle end + the distance from the center of the vehicle end to the front of the vehicle);
the coordinate information of the rear of the vehicle is the abscissa of the center of the vehicle end, (the ordinate of the center of the vehicle end-the distance from the center of the vehicle end to the rear of the vehicle);
the coordinate information of the left side of the vehicle is (the abscissa of the center of the vehicle end-the predicted distance from the center of the vehicle end to the left side of the vehicle), and the ordinate of the center of the vehicle end;
the coordinate information of the right side of the vehicle is the abscissa of the center of the vehicle end, (the ordinate of the center of the vehicle end + the predicted distance from the center of the vehicle end to the right side of the vehicle);
the coordinate information of the front left end of the vehicle is (the abscissa of the center of the vehicle end-the predicted distance from the center of the vehicle end to the left of the vehicle), (the ordinate of the center of the vehicle end + the distance from the center of the vehicle end to the front of the vehicle);
coordinate information of the front and right ends of the vehicle (abscissa of the center of the vehicle end + the predicted distance from the center of the vehicle end to the right of the vehicle), (ordinate of the center of the vehicle end + the distance from the center of the vehicle end to the front of the vehicle);
the coordinate information of the left end of the rear of the vehicle is (the abscissa of the center of the vehicle end-the predicted distance from the center of the vehicle end to the left of the vehicle), (the ordinate of the center of the vehicle end-the distance from the center of the vehicle end to the rear of the vehicle);
the coordinate information of the rear right end of the vehicle is (the abscissa of the center of the vehicle end + the predicted distance from the center of the vehicle end to the right of the vehicle), (the ordinate of the center of the vehicle end-the distance from the center of the vehicle end to the rear of the vehicle).
The processing module 54 coupled to the calculating module 53 is used for comparing the actual position information of the vehicle with the actual position information of the user terminal to determine whether the vehicle returning person is still in the vehicle; if yes, the prompt module 55 prompts that the vehicle returning fails; if not, a rental bill is generated by the bill generation module 56 and sent to the user terminal, and after the payment information of the user is received, the prompt module 55 prompts that the car returning is successful. In this embodiment, the rental bill includes rental information such as a user, a rental start point, a rental end point, a rental time, a unit price, a total price, and the like.
Specifically, the processing module 54 combines the coordinate information of the front of the vehicle, the coordinate information of the rear of the vehicle, the coordinate information of the left side of the vehicle, the coordinate information of the right side of the vehicle, the coordinate information of the front left end of the vehicle, the coordinate information of the front right end of the vehicle, the coordinate information of the rear left end of the vehicle, and the coordinate information of the rear right end of the vehicle into the actual position information of the vehicle. Judging whether the coordinate information of the vehicle end is located in the actual position information of the vehicle; if yes, the person returning to the vehicle is still in the vehicle; if not, the returning person is not in the vehicle.
EXAMPLE III
The service end provided by the embodiment includes: a processor, a memory, a transceiver, a communication interface, and a system bus; the memory and the communication interface are connected with the processor and the transceiver through a system bus and complete mutual communication, the memory is used for storing a computer program, the communication interface is used for communicating with other equipment, and the processor and the transceiver are used for operating the computer program to enable the server to execute the steps of the method for judging whether the car returning person is in the car or not according to the embodiment.
The above-mentioned system bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The system bus may be divided into an address bus, a data bus, a control bus, and the like. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The Memory may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In summary, according to the method, the system, the storage medium and the server for determining whether a car return person is in the car provided by the invention, on the premise that the car is returned, the previous user cannot drive the car away, and no loss is caused to the car rental company. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.
Claims (10)
1. A method for judging whether a car returning person is in a car is characterized by being applied to a communication network comprising a user terminal, a car end and a service end; the method for judging whether the car returning person is still in the car comprises the following steps:
receiving a car returning request from a user terminal, actual position information of the user terminal and actual position information of a car end;
calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured and calculated information from the vehicle end to the vehicle;
comparing the actual position information of the vehicle with the actual position information of the user terminal to judge whether the vehicle returning person is in the vehicle; if so, prompting that the vehicle returning fails; and if not, generating a rental bill and sending the rental bill to the user terminal, and prompting that the car is returned successfully after the payment information of the user is received.
2. The method according to claim 1, wherein the actual location information of the user terminal is current GPS information of the user terminal, and the actual location information of the car end is current GPS information of the car end.
3. The method for determining whether a car return person is in a car according to claim 2, wherein the method for determining whether a car return person is in a car after receiving the actual location information of the user terminal and the actual location information of the car end further comprises:
and respectively converting the current GPS information of the user terminal and the current GPS information of the vehicle end into the coordinate information of the user terminal and the coordinate information of the vehicle end.
4. The method as claimed in claim 2, wherein the pre-measured information from the vehicle end to the vehicle includes a predicted distance from the vehicle end center to the front of the vehicle, a predicted distance from the vehicle end center to the rear of the vehicle, a predicted distance from the vehicle end center to the left of the vehicle, and a predicted distance from the vehicle end center to the right of the vehicle.
5. The method for determining whether a car returning person is in a car according to claim 4,
a is (x, y + d1), a is coordinate information of the front of the vehicle, x is an abscissa of the center of the vehicle end, y is an ordinate of the center of the vehicle end, and d1 is a distance from the center of the vehicle end to the front of the vehicle;
b is (x, y-d2), B is coordinate information of the rear of the vehicle, x is an abscissa of the center of the vehicle end, y is an ordinate of the center of the vehicle end, and d2 is a distance from the center of the vehicle end to the rear of the vehicle;
c is (x-d3, y), C is coordinate information of the left side of the vehicle, x is an abscissa of the center of the vehicle end, d3 is a predicted distance from the center of the vehicle end to the left side of the vehicle, and y is an ordinate of the center of the vehicle end;
d is (x, y + D4), D is coordinate information of the right side of the vehicle, x is an abscissa of the center of the vehicle end, y is an ordinate of the center of the vehicle end, and D4 is a predicted distance from the center of the vehicle end to the right side of the vehicle;
e ═ E ((x-d3), (y + d1)), where E is coordinate information x of the front left end of the vehicle is an abscissa of the center of the vehicle end, d3 is a predicted distance from the center of the vehicle end to the left of the vehicle, y is an ordinate of the center of the vehicle end, and d1 is a predicted distance from the center of the vehicle end to the front of the vehicle;
f is ((x + d4), (y + d1)), F is coordinate information of the front and right ends of the vehicle, x is an abscissa d4 of the center of the vehicle end is a predicted distance from the center of the vehicle end to the right of the vehicle, y is an ordinate of the center of the vehicle end, and d1 is a predicted distance from the center of the vehicle end to the front of the vehicle;
g ((x-d3), (y-d2)), wherein x is the abscissa of the center of the vehicle end, d3 is the predicted distance from the center of the vehicle end to the left of the vehicle, y is the ordinate of the center of the vehicle end, and d2 is the predicted distance from the center of the vehicle end to the rear of the vehicle;
h ((x + d4), (y-d2)), coordinate information of the rear and right ends of the vehicle H, x being an abscissa of the center of the vehicle end, d4 being a predicted distance from the center of the vehicle end to the right of the vehicle, y being an ordinate of the center of the vehicle end, and d2 being a predicted distance from the center of the vehicle end to the rear of the vehicle.
6. The method of claim 5, wherein the step of comparing the actual location information of the vehicle with the actual location information of the user terminal to determine whether the car-returning person is still in the vehicle comprises:
the method comprises the following steps of forming actual position information of a vehicle by coordinate information in front of the vehicle, coordinate information in back of the vehicle, coordinate information on the left side of the vehicle, coordinate information on the right side of the vehicle, coordinate information on the front left end of the vehicle, coordinate information on the front right end of the vehicle, coordinate information on the rear left end of the vehicle and coordinate information on the rear right end of the vehicle;
judging whether the coordinate information of the vehicle end is located in the actual position information of the vehicle; if yes, the person returning to the vehicle is still in the vehicle; if not, the returning person is not in the vehicle.
7. A system for judging whether a car returning person is in a car is characterized by being applied to a communication network comprising a user terminal, a car end and a service end; the system for judging whether the car returning person is in the car comprises:
the communication module is used for receiving a car returning request from the user terminal, actual position information of the user terminal and actual position information of a car end;
the calculation module is used for calculating the actual position information of the vehicle according to the actual position information of the vehicle end and the pre-measured and calculated information from the vehicle end to the vehicle;
the processing module is used for comparing the actual position information of the vehicle with the actual position information of the user terminal so as to judge whether the vehicle returning person is in the vehicle or not; if yes, prompting the returning failure through a prompting module; if not, generating a rental bill to the user terminal through a bill generating module, and prompting that the car is returned successfully after receiving the payment information of the user.
8. The system of claim 7, further comprising a conversion module for converting the current GPS information of the user terminal and the current GPS information of the car end into the coordinate information of the user terminal and the coordinate information of the car end, respectively.
9. A storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements a method for determining whether a car returning person is present in a car according to any one of claims 1 to 6.
10. A server, comprising: a processor and a memory;
the memory is used for storing a computer program, and the processor is used for executing the computer program stored by the memory so as to enable the server to execute the method for judging whether the car returning person is in the car or not according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810721638.2A CN110689387A (en) | 2018-07-04 | 2018-07-04 | Method and system for judging whether car-returning person is in car, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810721638.2A CN110689387A (en) | 2018-07-04 | 2018-07-04 | Method and system for judging whether car-returning person is in car, storage medium and server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110689387A true CN110689387A (en) | 2020-01-14 |
Family
ID=69106371
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810721638.2A Pending CN110689387A (en) | 2018-07-04 | 2018-07-04 | Method and system for judging whether car-returning person is in car, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110689387A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112073908A (en) * | 2020-08-21 | 2020-12-11 | 北京首汽智行科技有限公司 | Method for combined judgment of user returning to enter electronic fence |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101855518A (en) * | 2007-11-13 | 2010-10-06 | 富士通天株式会社 | Positioning system and vehicle-mounted device |
CN102971774A (en) * | 2010-07-13 | 2013-03-13 | 富士通天株式会社 | Portable terminal device and parking position guiding program |
CN103902868A (en) * | 2012-12-25 | 2014-07-02 | 索尼公司 | Information processing apparatus, communication terminal apparatus, and storage medium |
CN104112225A (en) * | 2013-04-16 | 2014-10-22 | 周军现 | Automobile returning guiding and maintenance method in city automobile sharing and quick renting system |
CN104574120A (en) * | 2015-01-26 | 2015-04-29 | 清华大学 | Automobile leasing method based on internet of things |
CN104616189A (en) * | 2015-02-13 | 2015-05-13 | 观致汽车有限公司 | Car tenting and returning server, system and method |
CN105551097A (en) * | 2015-12-09 | 2016-05-04 | 深圳市金溢科技股份有限公司 | Vehicular unit, vehicle positioning method and path identification method |
CN105869423A (en) * | 2015-11-12 | 2016-08-17 | 乐卡汽车智能科技(北京)有限公司 | Early warning method and system based on satellite positioning, and server |
CN105892980A (en) * | 2015-02-13 | 2016-08-24 | 富士通天株式会社 | Information processing system and information processing method |
-
2018
- 2018-07-04 CN CN201810721638.2A patent/CN110689387A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101855518A (en) * | 2007-11-13 | 2010-10-06 | 富士通天株式会社 | Positioning system and vehicle-mounted device |
CN102971774A (en) * | 2010-07-13 | 2013-03-13 | 富士通天株式会社 | Portable terminal device and parking position guiding program |
CN103902868A (en) * | 2012-12-25 | 2014-07-02 | 索尼公司 | Information processing apparatus, communication terminal apparatus, and storage medium |
CN104112225A (en) * | 2013-04-16 | 2014-10-22 | 周军现 | Automobile returning guiding and maintenance method in city automobile sharing and quick renting system |
CN104574120A (en) * | 2015-01-26 | 2015-04-29 | 清华大学 | Automobile leasing method based on internet of things |
CN104616189A (en) * | 2015-02-13 | 2015-05-13 | 观致汽车有限公司 | Car tenting and returning server, system and method |
CN105892980A (en) * | 2015-02-13 | 2016-08-24 | 富士通天株式会社 | Information processing system and information processing method |
CN105869423A (en) * | 2015-11-12 | 2016-08-17 | 乐卡汽车智能科技(北京)有限公司 | Early warning method and system based on satellite positioning, and server |
CN105551097A (en) * | 2015-12-09 | 2016-05-04 | 深圳市金溢科技股份有限公司 | Vehicular unit, vehicle positioning method and path identification method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112073908A (en) * | 2020-08-21 | 2020-12-11 | 北京首汽智行科技有限公司 | Method for combined judgment of user returning to enter electronic fence |
CN112073908B (en) * | 2020-08-21 | 2022-07-26 | 北京首汽智行科技有限公司 | Method for combined judgment of user returning to enter electronic fence |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210295610A1 (en) | Integrated charging and payment management system for electric vehicle | |
CN105976528A (en) | Public bicycle management system | |
US10304099B2 (en) | Vehicle-to-vehicle energy market system | |
CN111081015B (en) | Taxi scheduling method and device, storage medium and intelligent terminal | |
CN112912918B (en) | Method, system and computer readable storage medium for managing a shared vehicle | |
CN112802359A (en) | Parking lot management method and device and server | |
CN111325436A (en) | Network appointment vehicle co-operation passenger matching method and system, storage medium and server | |
CN110689387A (en) | Method and system for judging whether car-returning person is in car, storage medium and server | |
CN205722194U (en) | A kind of public bicycles management system | |
CN114724264A (en) | Vehicle payment method, system, medium, intelligent terminal and intelligent vehicle-mounted system | |
US11135938B2 (en) | Energy management | |
CN112396707A (en) | Bus cost calculation method and device | |
CN116278946A (en) | Vehicle electric quantity processing method and device, electronic equipment and storage medium | |
WO2023024283A1 (en) | Vehicle charging planning method and apparatus | |
CN108848167A (en) | Charge request processing method and server | |
CN110992521A (en) | Vehicle management system based on intelligent wheel lock | |
CN110689388A (en) | Control method and system for returning car nearby, readable storage medium and car end | |
CN114529180A (en) | Data processing method and device | |
JP6761143B2 (en) | Management system, program, management method, and management server | |
CN108765604B (en) | Shared automobile parking fee settlement method, system and storage medium | |
CN111915386A (en) | Shared automobile network lease management system and method | |
CN110136346A (en) | A kind of boot rent method, server and storage medium | |
US20220410758A1 (en) | Electric vehicle charging management methods and systems | |
WO2023168598A1 (en) | Battery swapping method and apparatus, and control device, battery swapping station and readable storage medium | |
US20230034684A1 (en) | Electric vehicle charging management methods and systems capable of integrating multiple identities |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 201822 No.208, building 4, no.1411, Yecheng Road, Jiading Industrial Zone, Jiading District, Shanghai Applicant after: Botai vehicle networking technology (Shanghai) Co.,Ltd. Address before: 201822 No.208, building 4, no.1411, Yecheng Road, Jiading Industrial Zone, Jiading District, Shanghai Applicant before: SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200114 |
|
RJ01 | Rejection of invention patent application after publication |