Taxi pricing method and device, electronic equipment and storage medium
By monitoring the driving speed of the taxi and using the UWB base station to detect the mobile devices in the car, and automatically control the meter, the problem of inaccurate taxi pricing is solved, ensuring the accuracy of pricing and the protection of passenger rights and interests.
Patent Information
- Application Number
- CN202411381035.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-10
AI Technical Summary
The prior art cannot ensure that taxis are priced using meters in real time and effectively, resulting in drivers refusing to use meters, which harms the interests of taxi companies and passengers and affects service transparency and trust.
By monitoring the vehicle's driving speed, using the UWB base station to detect the presence and location of mobile devices in the vehicle, automatically start or stop the meter to ensure that the meter is counted when the vehicle is in a passenger-carrying state.
The accuracy and effectiveness of taxi pricing are achieved, ensuring that passenger taxis are metered and priced using metering, without the driver's manual operation, and protecting the rights and interests of the taxi operating platform and passengers.
Smart Images

Figure CN119296188A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle pricing technology, and in particular to a taxi pricing method, device, electronic device and storage medium. Background Art
[0002] In the normal operation of taxis, drivers need to use the meter to calculate the trip price. Some drivers refuse to use the meter in order to charge more. It is a common violation for taxi drivers to pick up passengers without using the meter. This behavior not only damages the economic interests and reputation of taxi companies, but also infringes on the legitimate rights and interests of passengers, resulting in a decline in the transparency and trust of taxi services.
[0003] In the prior art, whether taxis use meters when carrying passengers mainly relies on manual supervision and post-inspection, and it is impossible to effectively eliminate such violations in real time.
[0004] In view of this, how to ensure that passenger taxis use meters to calculate fares, ensure the accuracy and effectiveness of vehicle pricing, and effectively protect the rights and interests of taxi operating platforms and passengers is a problem that needs to be considered at present. Summary of the invention
[0005] The embodiments of the present application provide a taxi fare calculation method, device, electronic device and storage medium, which can ensure that passenger taxis use meters to calculate fares, ensure the accuracy and effectiveness of vehicle pricing, and effectively protect the rights and interests of taxi operating platforms and passengers.
[0006] In a first aspect, an embodiment of the present application provides a taxi fare calculation method, comprising:
[0007] Monitor the speed of vehicles;
[0008] When the driving speed is greater than a preset speed, determining whether the vehicle is in a passenger-carrying state;
[0009] If it is determined that the vehicle is in a passenger-carrying state and the taximeter of the vehicle is not started, the taximeter is controlled to start pricing.
[0010] In a possible implementation manner of the first aspect, when the driving speed is greater than a preset speed, the step of determining whether the vehicle is in a passenger-carrying state includes:
[0011] When the driving speed is greater than a preset speed, detecting whether there is a mobile device inside the vehicle;
[0012] If so, obtaining a device identification of the mobile device and a device distance between the mobile device and the UWB base station inside the vehicle;
[0013] If the device identification does not belong to the preset device identification set and the device distance is less than or equal to the preset distance threshold, it is determined that the vehicle is in a passenger-carrying state.
[0014] In a possible implementation of the first aspect, after the step of controlling the taximeter to start pricing if it is determined that the vehicle is in a passenger-carrying state and the taximeter of the vehicle is not started, the method further includes:
[0015] When the driving speed is less than or equal to the preset speed, monitoring the device distance between the mobile device and the UWB base station inside the vehicle;
[0016] When the device distance is greater than the preset distance threshold, it is determined that the vehicle is in a non-passenger carrying state, and the meter is controlled to stop calculating.
[0017] In a possible implementation manner of the first aspect, when the driving speed is greater than a preset speed, the step of determining whether the vehicle is in a passenger-carrying state includes:
[0018] When the driving speed is greater than a preset speed, detecting whether there is a mobile device inside the vehicle;
[0019] If so, obtaining the device location of the mobile device;
[0020] Whether the vehicle is in a passenger-carrying state is determined according to the device position of the mobile device.
[0021] In a possible implementation manner of the first aspect, at least three UWB base stations are disposed inside the vehicle, and the step of acquiring the device location of the mobile device includes:
[0022] Acquire device distances between the at least three UWB base stations and the detected mobile device;
[0023] The device position of the mobile device is determined according to the device distances between the at least three UWB base stations and the mobile device.
[0024] In a possible implementation manner of the first aspect, the step of determining whether the vehicle is in a passenger-carrying state according to a device position of the mobile device includes:
[0025] Determining whether the device location of the mobile device is within a designated area inside the vehicle;
[0026] If the device position of the mobile device is within the designated area inside the vehicle, it is determined that the vehicle is in a passenger-carrying state.
[0027] In a possible implementation of the first aspect, after the step of controlling the taximeter to start pricing if it is determined that the vehicle is in a passenger-carrying state and the taximeter of the vehicle is not started, the method further includes:
[0028] When the driving speed is less than or equal to the preset speed, monitoring a change in the device position of the mobile device;
[0029] Based on the change in the position of the device, determining whether the mobile device is still in the vehicle;
[0030] If the mobile device is not in the vehicle, it is determined that the vehicle is in a non-passenger carrying state, and the meter is controlled to stop calculating fares.
[0031] In a second aspect, an embodiment of the present application provides a taxi fare meter device, comprising:
[0032] A speed monitoring unit, used to monitor the driving speed of the vehicle;
[0033] a passenger carrying state determining unit, configured to determine whether the vehicle is in a passenger carrying state when the driving speed is greater than a preset speed;
[0034] The pricing start control unit is used to control the meter to start pricing if it is determined that the vehicle is in a passenger-carrying state and the meter of the vehicle is not started.
[0035] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the taxi fare calculation method as described in the first aspect above is implemented.
[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the taxi fare calculation method as described in the first aspect above is implemented.
[0037] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the taxi fare calculation method as described in the first aspect above.
[0038] In the embodiment of the present application, by monitoring the driving speed of the vehicle, when the driving speed is greater than a preset speed, it is determined whether the vehicle is in a passenger-carrying state. If it is determined that the vehicle is in a passenger-carrying state and the meter of the vehicle is not started, the meter is controlled to automatically start calculating, without the need for the taxi driver to operate to start the meter. This can ensure that passenger taxis use meters for metering, and at the same time can ensure the accuracy and effectiveness of vehicle pricing, effectively safeguarding the rights and interests of taxi operating platforms and passengers. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0040] Figure 1 is a schematic diagram of a taxi fare calculation system using the taxi fare calculation method provided in an embodiment of the present application;
[0041] Figure 2 is a flowchart of the implementation of the taxi fare calculation method provided in the embodiment of the present application;
[0042] Figure 3 This is a specific implementation flow chart of step S202 in the taxi fare calculation method provided in the embodiment of the present application;
[0043] Figure 4 This is another specific implementation flow chart of step S202 in the taxi fare calculation method provided in the embodiment of the present application;
[0044] Figure 5 This is a specific implementation flow chart of controlling the taxi meter to stop calculating in the taxi fare calculation method provided in the embodiment of the present application;
[0045] Figure 6 This is another specific implementation flow chart of controlling the taxi meter to stop calculating in the taxi fare calculation method provided in the embodiment of the present application;
[0046] Figure 7 is a structural block diagram of a taxi fare meter provided in an embodiment of the present application;
[0047] Figure 8 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0049] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0050] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0051] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0052] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0053] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0054] The taxi fare calculation method provided in the embodiment of the present application can be applied to various types of electronic devices that need to provide taxi fare calculation, which may specifically include fare calculation devices, vehicle-mounted devices, tablet computers, etc. The embodiment of the present application does not impose any restrictions on the specific type of electronic devices.
[0055] A taxi fare calculation method provided in an embodiment of the present application is applied to a taxi fare calculation system with a display screen.
[0056] Figure 1 A schematic diagram of a taxi fare metering system provided in an embodiment of the present application is shown. Figure 1 As shown, the taxi fare metering system at least includes a vehicle-mounted device 10, a fare metering device 11 and a UWB (Ultra Wide Band) base station 12. The vehicle-mounted device 10 and the fare metering device 11 can be connected based on a local area network communication, and the vehicle-mounted device 10 and the UWB base station 12 can be connected by wire or wireless means, which is not limited in this embodiment.
[0057] The vehicle-mounted device 10 may be built with a processing control module 101, a collection device 102, and a display device 103. The processing control module 101 may be used to execute the taxi fare calculation method provided in the embodiment of the present application, by receiving the driving speed of the vehicle monitored by the collection device 102, and determining whether the vehicle is in a passenger-carrying state when the driving speed is greater than a preset speed. If it is determined that the vehicle is in a passenger-carrying state and the taximeter of the vehicle is not started, a pricing control instruction is sent to the pricing device 11 to control the pricing device 11 to start pricing. The display device 103 may be used to display vehicle information such as the travel speed of the vehicle.
[0058] In this embodiment, the UWB base station 12 is used to detect UWB signals in the car and identify whether there are mobile devices supporting UWB technology in the car. The vehicle-mounted device 10 is connected to the UWB base station 12 installed in the car to obtain the detection results of the UWB base station 12 on the mobile device in the car, as well as the device distance between the UWB base station 12 and the detected mobile device. The UWB base station 12 device is small in size and can be installed in the car by ceiling or wall mounting. In some embodiments, more than one UWB base station 12 is installed in the car, and the positioning of the mobile device in the car can be achieved through at least three UWB base stations 12.
[0059] In this embodiment, the pricing device 11 includes a display screen, which may be a display screen integrated with the pricing device or an external display screen.
[0060] Figure 2 The implementation process of the taxi fare calculation method provided in the embodiment of the present application is shown, and the method flow includes steps S201 to S203. The specific implementation principle of each step is as follows:
[0061] Step S201: monitor the driving speed of the vehicle.
[0062] In this embodiment, after the vehicle is detected to enter the ignition state, the travel speed of the vehicle is monitored. Alternatively, when the vehicle changes from a stationary state to a driving state, the driving speed of the vehicle is monitored.
[0063] Step S202: When the driving speed is greater than a preset speed, determining whether the vehicle is in a passenger-carrying state.
[0064] When the travel speed is greater than the preset speed, the vehicle may have started to carry passengers. At this time, it is determined whether the vehicle is in a passenger-carrying state. The preset speed can be set based on the statistical analysis of the historical driving speed in the vehicle's historical passenger-carrying records.
[0065] As a possible implementation of this application, Figure 3 A specific implementation process of step S202 in the taxi fare calculation method provided in the embodiment of the present application is shown, and is described in detail as follows:
[0066] A1: When the driving speed is greater than a preset speed, detecting whether there is a mobile device inside the vehicle.
[0067] A2: If it exists, obtain the device identification of the mobile device and the device distance between the mobile device and the UWB base station inside the vehicle. The device identification can be used to uniquely identify the mobile device. For example, the device identification can be the MAC address of the mobile device. The device distance refers to the distance between the mobile device and the UWB base station.
[0068] In an embodiment of the present application, a UWB base station inside a vehicle is used to detect whether there is a mobile device inside the vehicle. If so, the mobile device identification is obtained, and the device distance between the mobile device and the UWB base station inside the vehicle is calculated.
[0069] In some implementations, algorithms such as TOF (Time of Flight) or TDOA (Time Difference of Arrival) may be used to calculate the device distance between a UWB base station and a mobile device in a vehicle that supports UWB technology.
[0070] A3: If the device identifier does not belong to the preset device identifier set, and the device distance is less than or equal to the preset distance threshold, it is determined that the vehicle is in a passenger-carrying state.
[0071] The preset device identification set includes the device identification of the mobile device of the vehicle driver. There may be more than one preset device identification set in the preset device identification set.
[0072] In this embodiment, the driver of the vehicle pre-enters the device identification of his mobile device, such as a MAC address, or other identifier that can uniquely identify the mobile device. The above-mentioned preset device identification set is constructed based on the device identification of the mobile device pre-entered by the driver and the device identifications of other designated devices in the vehicle.
[0073] When a mobile device is detected inside the vehicle, determine whether the device identifier of the mobile device belongs to the preset device identifier set. If the device identifier belongs to the preset device identifier set, exclude the mobile device as a passenger's mobile device. If the device identifier does not belong to the preset device identifier set, obtain the device distance between the mobile device and the UWB device inside the vehicle, and determine whether the device distance is less than or equal to the preset distance threshold. If it is less than or equal to the preset distance threshold, determine that the mobile device is a passenger's mobile device, and that the vehicle is in a passenger-carrying state.
[0074] In a possible implementation, in order to avoid interference from other electronic devices outside the vehicle, the device distance between the mobile device and the UWB device inside the vehicle is continuously acquired for a period of time. For example, the device distance is continuously acquired for 2 minutes. If the change distance value of the device distance during the continuous acquisition time is within the preset change distance threshold range, the mobile device is determined to be a mobile device inside the vehicle, rather than an electronic device outside the vehicle. By acquiring the device distance over a period of time, the accuracy of the detection of the mobile device inside the vehicle can be ensured, and interference from external electronic devices can be effectively avoided.
[0075] In this embodiment, a UWB base station is used to detect a mobile device inside a vehicle, and the mobile device is excluded as an electronic device of the driver or an electronic device fixed in the vehicle based on the device identification of the mobile device. In addition, based on the device distance between the mobile device and the UWB base station, it is determined that the detected mobile device is located inside the vehicle rather than outside the vehicle, thereby accurately judging whether the vehicle is carrying passengers, thereby improving the effectiveness of determining the passenger status.
[0076] As a possible implementation of this application, Figure 4 A specific implementation process of step S202 in the taxi fare calculation method provided in the embodiment of the present application is shown, and is described in detail as follows:
[0077] B1: When the driving speed is greater than a preset speed, detecting whether there is a mobile device inside the vehicle. In this embodiment, UWB technology can be used to detect whether there is a mobile device supporting UWB technology inside the vehicle.
[0078] B2: If it exists, obtain the device location of the mobile device. The device location is equivalent to the passenger location.
[0079] In a possible implementation, at least three UWB base stations are provided inside the vehicle, and device distances between the at least three UWB base stations and the detected mobile device are obtained; and the device position of the mobile device is determined based on the device distances between the at least three UWB base stations and the mobile device.
[0080] Take an application scenario as an example. Three UWB base stations are installed in the car and connected to the intelligent vehicle-mounted devices. The three UWB base stations are deployed in different locations inside the vehicle, for example, at several corners of the vehicle. Two-Way Ranging (TWR) technology is used to calculate the distance between the UWB base station and the mobile device in the car. Combined with the device distance between the mobile device and the three UWB base stations, the precise location of the passenger's mobile phone can be determined through trilateration.
[0081] For example, let the location of the mobile phone be (x, y) and the location of the UWB base station be (x i ,y i ) and it is known that the distance from the passenger’s mobile phone to the i-th base station is d i , then the phone position (x, y) can be obtained by solving the following set of equations:
[0082]
[0083] This is a nonlinear system of three equations that can be solved numerically to determine the position (x, y) of the phone.
[0084] In this implementation, multiple UWB base stations are used in combination with positioning mobile devices to improve the accuracy of device location determination, thereby improving the accuracy of vehicle passenger status determination.
[0085] In some implementations, before obtaining the device location of the mobile device, it is determined whether the device identification of the mobile device belongs to a preset device identification set, and if the device identification of the mobile device does not belong to the preset device identification set, the device location of the mobile device is obtained. If the device identification of the mobile device belongs to the preset device identification set, obtaining the device location of the mobile device is stopped.
[0086] B3: Determine whether the vehicle is in a passenger-carrying state according to the device position of the mobile device.
[0087] In this embodiment, when the travel speed of the vehicle is greater than a preset speed, it is detected whether there is a mobile device inside the vehicle. If so, it is determined whether the vehicle is in a passenger-carrying state based on the device position of the mobile device.
[0088] In one possible implementation, it is determined whether the device position of the mobile device is within a designated area inside the vehicle; if the device position of the mobile device is within the designated area inside the vehicle, it is determined that the vehicle is in a passenger-carrying state. If the device position of the mobile device is not within the designated area inside the vehicle, it is determined that the vehicle is in a non-passenger-carrying state. The designated area includes the co-pilot space area and the rear space area of the vehicle. Generally, a passenger's mobile device will be in the co-pilot area or the rear area of the vehicle. Whether the vehicle is carrying passengers can be quickly determined by determining whether there is a mobile device in the area where the passenger may be sitting.
[0089] In a possible implementation, in order to further improve the accuracy of the vehicle's passenger status, after determining that the device position of the mobile device is within a specified area inside the vehicle, a video image at the device position is obtained to identify whether there are passengers in the video image. If there are passengers, it can be determined that the vehicle is in a passenger status; if there are no passengers, a prompt message can be sent to the driver to remind the driver that the previous passenger may have left a mobile device in the vehicle. The prompt message can be a voice prompt or a text prompt displayed on the display device of the vehicle-mounted device. In this embodiment, based on determining that there is a mobile device in a specified area inside the vehicle, the video image of the specified area is used to further verify whether there is a passenger at the device position, thereby avoiding interference with the determination of the passenger status due to someone leaving a mobile device there. At the same time, the driver can also be reminded that there is a mobile phone left by a passenger in the vehicle, which can effectively protect the interests of the passengers.
[0090] Step S203: If it is determined that the vehicle is in a passenger-carrying state and the taximeter of the vehicle is not started, control the taximeter to start pricing.
[0091] In an embodiment of the present application, when the driving speed is greater than a preset speed and it is determined that the vehicle is carrying passengers and the meter of the current vehicle is not started, the meter is immediately controlled to automatically start calculating. There is no need for the driver to manually operate the meter, which can ensure that passenger taxis use the meter for calculation of fares. At the same time, it can ensure the accuracy and effectiveness of vehicle pricing, and effectively safeguard the rights and interests of taxi operating platforms and passengers.
[0092] As a possible implementation of this application, Figure 5 A specific implementation process of controlling the taxi meter to stop calculating in the taxi fare calculation method provided in the embodiment of the present application is shown, and is described in detail as follows:
[0093] C1: When the driving speed is less than or equal to the preset speed, the device distance between the mobile device and the UWB base station inside the vehicle is monitored.
[0094] C2: When the device distance is greater than the preset distance threshold, it is determined that the vehicle is in a non-passenger carrying state, and the meter is controlled to stop calculating.
[0095] In an embodiment of the present application, when the driving speed is less than or equal to the preset speed, the device distance between the mobile device and the UWB base station is continuously detected. If it is found that the device distance value is getting larger and larger, and the device distance is greater than the preset distance threshold, the mobile device is getting farther and farther away from the UWB base station inside the vehicle, and it can be determined that the passenger has got off the vehicle. At this time, the meter can be controlled to automatically stop counting, and the driver does not need to manually operate the meter, thereby ensuring the accuracy and effectiveness of the counting.
[0096] As a possible implementation of this application, Figure 6 A specific implementation process of controlling the taxi meter to stop calculating in the taxi fare calculation method provided in the embodiment of the present application is shown, and is described in detail as follows:
[0097] D1: When the driving speed is less than or equal to the preset speed, monitoring the change of the device position of the mobile device, wherein the change of the device position includes coordinate change information.
[0098] D2: Determine whether the mobile device is still in the vehicle based on the change in the device location.
[0099] D3: If the mobile device is not in the vehicle, it is determined that the vehicle is in a non-passenger carrying state, and the meter is controlled to stop calculating.
[0100] In an embodiment of the present application, when the driving speed is less than or equal to the preset speed, it is continuously determined whether the mobile device is still in the vehicle. If it is found that the mobile device is not in the vehicle, it can be determined that the passenger has got off the vehicle. At this time, the meter can be controlled to automatically stop counting, and the driver does not need to manually operate the meter, thereby ensuring the accuracy and effectiveness of the counting.
[0101] As can be seen from the above, in the embodiment of the present application, by monitoring the driving speed of the vehicle, when the driving speed is greater than the preset speed, it is determined whether the vehicle is in a passenger-carrying state; if it is determined that the vehicle is in a passenger-carrying state and the meter of the vehicle is not started, the meter is controlled to automatically start calculating, without the need for the taxi driver to operate to start the meter, thereby ensuring that passenger taxis use the meter for metering, and at the same time ensuring the accuracy and effectiveness of vehicle pricing, effectively safeguarding the rights and interests of taxi operating platforms and passengers.
[0102] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0103] Corresponding to the taxi fare calculation method described in the above embodiment, Figure 7 A structural block diagram of a taxi fare meter provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0104] Reference Figure 7 The taxi fare meter device comprises: a speed monitoring unit 71, a passenger status determination unit 72, and a fare meter start control unit 73, wherein:
[0105] A speed monitoring unit 71, used to monitor the driving speed of the vehicle;
[0106] A passenger carrying state determining unit 72, configured to determine whether the vehicle is in a passenger carrying state when the driving speed is greater than a preset speed;
[0107] The pricing start control unit 73 is used to control the meter to start pricing if it is determined that the vehicle is in a passenger-carrying state and the meter of the vehicle is not started.
[0108] As a possible implementation of the present application, the passenger status determination unit 72 includes:
[0109] A first device detection module, used for detecting whether there is a mobile device inside the vehicle when the driving speed is greater than a preset speed;
[0110] an identification distance acquisition module, used to acquire the device identification of the mobile device, and the device distance between the mobile device and the UWB base station inside the vehicle, if any;
[0111] The first state determination module is used to determine that the vehicle is in a passenger-carrying state if the device identification does not belong to a preset device identification set and the device distance is less than or equal to a preset distance threshold.
[0112] As a possible implementation of the present application, the above-mentioned taxi fare meter device further includes:
[0113] a device distance monitoring unit, configured to monitor the device distance between the mobile device and the UWB base station inside the vehicle when the driving speed is less than or equal to the preset speed;
[0114] The pricing stop control unit is used to determine that the vehicle is in a non-passenger-carrying state and control the meter to stop pricing when the device distance is greater than the preset distance threshold.
[0115] As a possible implementation of the present application, the passenger status determination unit 72 includes:
[0116] A second device detection module, used for detecting whether there is a mobile device inside the vehicle when the driving speed is greater than a preset speed;
[0117] A device positioning module, used for obtaining the device location of the mobile device, if any;
[0118] The second state determination module is used to determine whether the vehicle is in a passenger-carrying state according to the device position of the mobile device.
[0119] As a possible implementation of the present application, at least three UWB base stations are arranged inside the vehicle, and the above-mentioned device positioning module is specifically used for:
[0120] Acquire device distances between the at least three UWB base stations and the detected mobile device;
[0121] The device position of the mobile device is determined according to the device distances between the at least three UWB base stations and the mobile device.
[0122] As a possible implementation manner of the present application, the second state determination module is specifically used for:
[0123] Determining whether the device location of the mobile device is within a designated area inside the vehicle;
[0124] If the device position of the mobile device is within the designated area inside the vehicle, it is determined that the vehicle is in a passenger-carrying state.
[0125] As a possible implementation of the present application, the above-mentioned taxi fare meter device further includes:
[0126] A position monitoring unit, configured to monitor a change in the device position of the mobile device when the driving speed is less than or equal to the preset speed; and determine whether the mobile device is still in the vehicle based on the change in the device position;
[0127] The pricing stop control unit is further used to determine that the vehicle is in a non-passenger carrying state if the mobile device is not in the vehicle, and control the meter to stop pricing.
[0128] As can be seen from the above, in the embodiment of the present application, by monitoring the driving speed of the vehicle, when the driving speed is greater than the preset speed, it is determined whether the vehicle is in a passenger-carrying state; if it is determined that the vehicle is in a passenger-carrying state and the meter of the vehicle is not started, the meter is controlled to automatically start calculating, without the need for the taxi driver to operate to start the meter, thereby ensuring that passenger taxis use the meter for metering, and at the same time ensuring the accuracy and effectiveness of vehicle pricing, effectively safeguarding the rights and interests of taxi operating platforms and passengers.
[0129] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0130] The present application also provides a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, Figures 2 to 6 The steps of any taxi fare calculation method are shown.
[0131] The embodiment of the present application also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, Figures 2 to 6 The steps of any taxi fare calculation method are shown.
[0132] The embodiment of the present application also provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the following Figures 2 to 6 The steps of any taxi fare calculation method are shown.
[0133] Figure 8 is a schematic diagram of an electronic device provided by an embodiment of the present application. Figure 8 As shown, the electronic device 8 of this embodiment includes: a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and executable on the processor 80. When the processor 80 executes the computer program 82, the steps in the above-mentioned taxi fare calculation method embodiments are implemented, for example Figure 1 Alternatively, when the processor 80 executes the computer program 82, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 7 The functions of units 71 to 73 are shown.
[0134] Exemplarily, the computer program 82 may be divided into one or more modules / units, which are stored in the memory 81 and executed by the processor 80 to complete the present application. The one or more modules / units may be a series of computer-readable instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 82 in the electronic device 8.
[0135] The electronic device 8 may be a vehicle-mounted intelligent terminal. The electronic device 8 may include, but is not limited to, a processor 80 and a memory 81. Those skilled in the art will appreciate that Figure 8It is only an example of the electronic device 8 and does not constitute a limitation of the electronic device 8. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 8 may also include input and output devices, network access devices, buses, etc.
[0136] The processor 80 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0137] The memory 81 may be an internal storage unit of the electronic device 8, such as a hard disk or memory of the electronic device 8. The memory 81 may also be an external storage device of the electronic device 8, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 8. Further, the memory 81 may also include both an internal storage unit and an external storage device of the electronic device 8. The memory 81 is used to store the computer program and other programs and data required by the electronic device. The memory 81 may also be used to temporarily store data that has been output or is to be output.
[0138] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0139] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0140] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0141] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0142] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A taxi fare calculation method, characterized in that: include: Monitor the speed of vehicles; When the driving speed is greater than a preset speed, determining whether the vehicle is in a passenger-carrying state; If it is determined that the vehicle is in a passenger-carrying state and the taximeter of the vehicle is not started, the taximeter is controlled to start pricing.
2. The method according to claim 1, characterized in that The step of determining whether the vehicle is in a passenger-carrying state when the driving speed is greater than a preset speed comprises: When the driving speed is greater than a preset speed, detecting whether there is a mobile device inside the vehicle; If so, obtaining a device identification of the mobile device and a device distance between the mobile device and the UWB base station inside the vehicle; If the device identification does not belong to the preset device identification set and the device distance is less than or equal to the preset distance threshold, it is determined that the vehicle is in a passenger-carrying state.
3. The method according to claim 2, characterized in that After the step of controlling the taximeter to start pricing if it is determined that the vehicle is in a passenger-carrying state and the taximeter of the vehicle is not started, the method further includes: When the driving speed is less than or equal to the preset speed, monitoring the device distance between the mobile device and the UWB base station inside the vehicle; When the device distance is greater than the preset distance threshold, it is determined that the vehicle is in a non-passenger carrying state, and the meter is controlled to stop calculating.
4. The method according to claim 1, characterized in that: The step of determining whether the vehicle is in a passenger-carrying state when the driving speed is greater than a preset speed comprises: When the driving speed is greater than a preset speed, detecting whether there is a mobile device inside the vehicle; If so, obtaining the device location of the mobile device; Whether the vehicle is in a passenger-carrying state is determined according to the device position of the mobile device.
5. The method according to claim 4, characterized in that At least three UWB base stations are arranged inside the vehicle, and the step of obtaining the device location of the mobile device comprises: Acquire device distances between the at least three UWB base stations and the detected mobile device; The device position of the mobile device is determined according to the device distances between the at least three UWB base stations and the mobile device.
6. The method according to claim 4, characterized in that The step of determining whether the vehicle is in a passenger-carrying state according to the device position of the mobile device comprises: Determining whether the device location of the mobile device is within a designated area inside the vehicle; If the device position of the mobile device is within the designated area inside the vehicle, it is determined that the vehicle is in a passenger-carrying state.
7. The method according to claim 4, characterized in that After the step of controlling the taximeter to start pricing if it is determined that the vehicle is in a passenger-carrying state and the taximeter of the vehicle is not started, the method further includes: When the driving speed is less than or equal to the preset speed, monitoring a change in the device position of the mobile device; Based on the change in the position of the device, determining whether the mobile device is still in the vehicle; If the mobile device is not in the vehicle, it is determined that the vehicle is in a non-passenger carrying state, and the meter is controlled to stop calculating.
8. A taxi fare meter, characterized in that: include: A speed monitoring unit, used to monitor the driving speed of the vehicle; a passenger carrying state determining unit, configured to determine whether the vehicle is in a passenger carrying state when the driving speed is greater than a preset speed; The pricing start control unit is used to control the meter to start pricing if it is determined that the vehicle is in a passenger-carrying state and the meter of the vehicle is not started.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the taxi fare calculation method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the taxi fare calculation method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Taxi passenger carrying state monitoring system
CN103963722A
Method of recognizing boarding of passenger in taxi taking service and related device
CN104867324A
Method, device and system for judging position relationship between person and vehicle
CN109587639A
Method and a device for detecting passengers getting on and determining passengers to enter a vehicle
CN109615395A
Method for managing taxi billing and intelligent vehicle-mounted equipment
CN115713812A