CN116562406A - Method and device for booking class bus, electronic equipment and storage medium - Google Patents

Method and device for booking class bus, electronic equipment and storage medium Download PDF

Info

Publication number
CN116562406A
CN116562406A CN202310605802.4A CN202310605802A CN116562406A CN 116562406 A CN116562406 A CN 116562406A CN 202310605802 A CN202310605802 A CN 202310605802A CN 116562406 A CN116562406 A CN 116562406A
Authority
CN
China
Prior art keywords
recommended
seat
determining
information
buses
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
Application number
CN202310605802.4A
Other languages
Chinese (zh)
Inventor
刘辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310605802.4A priority Critical patent/CN116562406A/en
Publication of CN116562406A publication Critical patent/CN116562406A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q10/00Administration; Management
    • G06Q10/02Reservations, e.g. for tickets, services or events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Human Resources & Organizations (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Traffic Control Systems (AREA)

Abstract

The application provides a bus reservation method, a device, electronic equipment and a storage medium, which can be used in the Internet of things or other fields. The method comprises the following steps: receiving a starting position, a target position and a planned riding time sent by first user equipment; according to the starting position, the target position and the planned riding time, determining recommended class information of a plurality of recommended classes, wherein the recommended classes are provided with seat monitoring sensors; for any recommended class, acquiring sensor data of the recommended class, and determining seat information of the recommended class according to the sensor data, wherein the seat information comprises seat states of all seats in the recommended class, and the seat states are occupied states or idle states; and sending the recommended class information and the seat information to the user equipment. According to the scheme, the seat states of the buses are sent to the user, and the user can select buses with free seats to conduct reservation, so that the situation that the buses are crowded due to excessive users reserving the same buses is avoided.

Description

Method and device for booking class bus, electronic equipment and storage medium
Technical Field
The application relates to the field of internet of things, in particular to a bus reservation method, a device, electronic equipment and a storage medium.
Background
In order to meet travel demands of enterprise staff use or other purposes, regular routes, regular buses which pass through parking stations and run periodically are arranged, passengers can select the buses suitable for the passengers to travel, and use experience of the passengers is improved.
In practical application, passengers can select the buses corresponding to the bus routes which are most matched with the travel plans of the passengers according to the bus information tables of all buses, and determine the travel time of the passengers according to the departure time of the selected buses, so that waiting time is reduced.
However, in practical applications, if the number of buses is small or the number of passengers is large, too many passengers selecting the same bus may occur, which affects the riding experience of the passengers.
Disclosure of Invention
The application provides a bus reservation method, a device, electronic equipment and a storage medium, which are used for helping a user to reserve a bus reasonably.
In a first aspect, the present application provides a method for reservation of a bus, comprising: receiving a starting position, a target position and a planned riding time sent by first user equipment; according to the starting position, the target position and the planned riding time, determining recommended class information of a plurality of recommended classes, wherein a seat monitoring sensor is arranged on the recommended classes; acquiring sensor data of any recommended airlines, and determining seat information of the recommended airlines according to the sensor data, wherein the seat information comprises seat states of all seats in the recommended airlines, and the seat states are occupied states or idle states; and sending the recommended class information and the seat information to the user equipment.
In one possible embodiment, determining recommended class information of a plurality of recommended classes according to the starting position, the target position, and the planned riding time includes: acquiring class information of a plurality of classes, wherein the class information comprises a parked station and a departure time; generating a recommended get-on point and a recommended get-off point according to the parked station, the starting position and the target position, wherein the recommended get-on point is the parked station which is within a preset range from the starting position, and the recommended get-off point is the parked station which is within the preset range from the target position; and determining the recommended class information of the plurality of recommended classes according to the recommended get-on point, the recommended get-off point, the planned get-on time, the parked station and the get-off time.
In one possible implementation, determining the recommended class information of the plurality of recommended classes according to the recommended get-on point, the recommended get-off point, the planned ride time, the parked station, and the get-off time includes: determining a plurality of buses corresponding to the parked stops including the recommended get-on point and the recommended get-off point as a plurality of first buses; determining a first moment when each first bus passes through the recommended get-on point according to the get-on moment; and determining a plurality of first buses corresponding to the first moment after the planned riding moment as the plurality of recommended buses, and determining recommended bus information of the plurality of recommended buses.
In one possible embodiment, for any one of the first class vehicles; according to the departure time, determining a first time when each first bus passes through the recommended departure point comprises: acquiring a driving route of the first bus; and inputting the driving route, the departure time of the first bus and the recommended departure point into an electronic map to obtain a first time when the first bus passes through the recommended departure point.
In a possible implementation manner, the sensor is a pressure sensor, and the pressure sensors are arranged on each seat of the recommended class, and the sensor data comprise pressure values; determining seat information of the recommended class according to the sensor data, including: for any one pressure sensor, determining a seat corresponding to the pressure sensor; if the pressure value acquired by the pressure sensor is greater than or equal to a preset threshold value, determining the seat state of the seat corresponding to the pressure sensor as the occupied state; and if the pressure value acquired by the pressure sensor is smaller than the preset threshold value, determining the seat state of the seat corresponding to the pressure sensor to be the idle state.
In one possible embodiment, the method further comprises: receiving a plurality of scheduled bus applications sent by second user equipment, wherein the plurality of scheduled bus applications comprise identifiers of a plurality of scheduled buses and identifiers of scheduled seats corresponding to each scheduled bus; and if the plurality of recommended buses comprise a first scheduled bus in the plurality of scheduled buses, updating the seat state of the scheduled seat corresponding to the first scheduled bus to the occupied state.
In one possible implementation, sending the recommended class information and the seat information to the user device includes: determining a second moment when each recommended bus passes through the recommended boarding point; according to the order from small to large at the second moment, sorting the recommended class information of each recommended class to obtain sorted recommended class information; and sending the ordered recommended class information and the seat information to the user side.
In a second aspect, the present application provides a class reservation device comprising: the receiving module is used for receiving the starting position, the target position and the planned riding time sent by the first user equipment; the determining module is used for determining recommended class information of a plurality of recommended classes according to the starting position, the target position and the planned riding time, and the recommended classes are provided with seat monitoring sensors; the recognition module is used for acquiring sensor data of the recommended buses aiming at any one recommended bus, and determining seat information of the recommended buses according to the sensor data, wherein the seat information comprises seat states of all seats in the recommended buses, and the seat states are occupied states or idle states; and the sending module is used for sending the recommended class information and the seat information to the user equipment.
In a possible implementation manner, the determining module is specifically configured to obtain information of buses, where the information of buses includes a stop-through and a departure time; the determining module is specifically configured to generate a recommended boarding point and a recommended alighting point according to the parked site, the starting position and the target position, where the recommended boarding point is the parked site within a preset range from the starting position, and the recommended alighting point is the parked site within the preset range from the target position; the determining module is specifically further configured to determine recommended class information of the plurality of recommended classes according to the recommended get-on point, the recommended get-off point, the planned riding time, the parked station, and the departure time.
In a possible implementation manner, the determining module is specifically configured to determine a plurality of buses corresponding to the parked site including the recommended boarding point and the recommended alighting point as a plurality of first buses; the determining module is specifically further configured to determine a first time when each first bus passes through the recommended boarding point according to the departure time; the determining module is specifically further configured to determine a plurality of first buses corresponding to the first time after the planned riding time as the plurality of recommended buses, and determine recommended bus information of the plurality of recommended buses.
In one possible embodiment, for any one of the first class vehicles; the determining module is specifically configured to obtain a driving route of the first bus; the determining module is specifically further configured to input the driving route, the departure time of the first bus, and the recommended departure point into an electronic map, so as to obtain a first time when the first bus passes through the recommended departure point.
In a possible implementation manner, the sensor is a pressure sensor, and the pressure sensors are arranged on each seat of the recommended class, and the sensor data comprise pressure values; the apparatus further comprises: the processing module is used for determining a seat corresponding to any pressure sensor; the processing module is further configured to determine that a seat state of a seat corresponding to the pressure sensor is the occupied state if the pressure value acquired by the pressure sensor is greater than or equal to a preset threshold value; and the processing module is further used for determining that the seat state of the seat corresponding to the pressure sensor is the idle state if the pressure value acquired by the pressure sensor is smaller than the preset threshold value.
In one possible embodiment, the apparatus further comprises: the updating module is used for receiving a plurality of scheduled bus applications sent by the second user equipment, wherein the plurality of scheduled bus applications comprise identifiers of a plurality of scheduled buses and identifiers of scheduled seats corresponding to each scheduled bus; the updating module is further configured to update a seat state of a predetermined seat corresponding to a first scheduled bus of the plurality of scheduled buses to the occupied state if the plurality of recommended buses include the first scheduled bus.
In one possible embodiment, the apparatus further comprises: the sequencing module is used for determining a second moment when each recommended bus passes through the recommended get-on point; the sorting module is further configured to sort the recommended class information of each recommended class according to the order from small to large at the second moment, so as to obtain sorted recommended class information; the sorting module is further configured to send the sorted recommended shift information and the seat information to the user terminal.
In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively coupled to the processor; the memory stores computer-executable instructions; the processor executes computer-executable instructions stored in the memory to implement the method of any one of the first aspects.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for performing the method of any of the first aspects by a processor.
In a fifth aspect, the present application provides a computer program product comprising a computer program for execution by a processor of the method according to any one of the first aspects.
The method, the device, the electronic equipment and the storage medium for booking the buses provided by the application comprise the following steps: receiving a starting position, a target position and a planned riding time sent by first user equipment; according to the starting position, the target position and the planned riding time, determining recommended class information of a plurality of recommended classes, wherein a seat monitoring sensor is arranged on the recommended classes; acquiring sensor data of any recommended airlines, and determining seat information of the recommended airlines according to the sensor data, wherein the seat information comprises seat states of all seats in the recommended airlines, and the seat states are occupied states or idle states; and sending the recommended class information and the seat information to the user equipment. According to the scheme, the seat states of the buses are sent to the user, and the user can select buses with free seats to conduct reservation, so that the situation that the buses are crowded due to excessive users reserving the same buses is avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario schematic diagram of a method for scheduling a class bus according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method for scheduling buses according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart of a method for scheduling buses according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of determining a first time according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a determined seating state according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a user equipment interface provided in an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a reservation device for a bus according to an embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of a reservation device for a bus according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with the related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
It should be noted that the method and the device for the class reservation can be used in the field of the internet of things, and also can be used in any field except the field of the internet of things, and the application field of the method and the device for the class reservation is not limited.
The present inventors found that in the related art, the number of passengers on the bus is not included in the bus information, and the user can only select the bus according to the route of the bus and the departure time, and the excessive number of passengers on the bus selected by the user may occur, which affects the riding experience of the user.
In order to solve the above problems, the present inventors have determined seat information of a bus by providing a sensor on the bus, transmitting the seat information to a user, the user can select a bus having a smaller number of passengers according to the seat information, and reserve seats, thereby avoiding congestion of the bus.
Fig. 1 is an application scenario schematic diagram of a class-car reservation method according to an embodiment of the present application, and examples are given with reference to the illustrated scenario: and the user initiates a bus reservation application to the bus reservation device through the user equipment, wherein the reservation application comprises travel information of the user, including travel position, travel time and other information. The class reservation device matches proper class from the class information base according to a reservation application, transmits the class information of the matched recommended class to the user equipment, and the user reserves the proper class according to the class information of the recommended class.
The method for booking the buses aims at solving the technical problems in the prior art.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flow chart of a method for scheduling buses according to an embodiment of the present application, where the method includes the following steps:
s201, receiving a starting position, a target position and a planned riding time sent by first user equipment.
As an example, the execution subject of this embodiment may be a shift reservation device, and there are various implementations of the shift reservation device. For example, the program may be software, or a medium storing a related computer program, such as a usb disk; alternatively, the apparatus may be a physical device, such as a chip, a smart terminal, a computer, a server, etc., in which the relevant computer program is integrated or installed.
The first user equipment sends a scheduled application of the bus, and the starting position is the current position of the user or the position where the user is scheduled to take the bus.
Optionally, the user may initiate a plurality of class car reservation applications, and the information of the plurality of class car reservation applications may be the same or different.
For example, a plurality of users may initiate a bus reservation application through one user device, if the travel plans of the plurality of users are the same, the information of the bus reservation application is the same, and if the travel plans of the plurality of users are different, the information of the bus reservation application is different.
S202, determining recommended class information of a plurality of recommended classes according to the starting position, the target position and the planned riding time, wherein a seat monitoring sensor is arranged on the recommended classes.
The recommended airlines are airlines which accord with all information in the preset application of the user.
Optionally, the method comprises the steps of. If no buses which meet all the information in the preset application of the user exist, a prompt is sent to the user, and all buses or buses which partially meet all the information in the preset application of the user are determined to be recommended buses.
S203, acquiring sensor data of any recommended airlines, and determining seat information of the recommended airlines according to the sensor data, wherein the seat information comprises seat states of all seats in the recommended airlines, and the seat states are occupied states or idle states.
Optionally, the sensor data is acquired in real time.
For any one of the seats, the sensor data is generated based on whether or not there is a passenger on the current seat.
It will be appreciated that acquiring sensor data in real-time may accurately reflect the current seating status of the airlines.
And S204, sending the recommended class information and the seat information to the user equipment.
For example, a predetermined class is selected from recommended classes based on the recommended class information and the seat information.
It will be appreciated that the user selects a scheduled class from the recommended classes, which is more efficient than selecting a scheduled class from all classes.
According to the shift reservation method provided by the embodiment of the application, the starting position, the target position and the planned riding time sent by the first user equipment are received; according to the starting position, the target position and the planned riding time, determining recommended class information of a plurality of recommended classes, wherein a seat monitoring sensor is arranged on the recommended classes; acquiring sensor data of any recommended airlines, and determining seat information of the recommended airlines according to the sensor data, wherein the seat information comprises seat states of all seats in the recommended airlines, and the seat states are occupied states or idle states; and sending the recommended class information and the seat information to the user equipment. According to the scheme, the seat states of the buses are sent to the user, and the user can select buses with free seats to conduct reservation, so that the situation that the buses are crowded due to excessive users reserving the same buses is avoided.
On the basis of any one of the above embodiments, a detailed procedure of the reservation of the shift car will be described below with reference to fig. 3.
Fig. 3 is a flow chart of a method for booking a bus according to an embodiment of the present application. As shown in fig. 3, the method includes:
s301, receiving a starting position, a target position and a planned riding time sent by first user equipment.
It should be noted that, the execution process of S301 is referred to S201, and will not be described herein.
S302, acquiring the bus information of a plurality of buses, wherein the bus information comprises stop stations and departure moments.
Optionally, the class information of the plurality of classes is obtained from a class information base.
Still alternatively, the bus information includes a bus unique number by which bus confusion can be avoided.
S303, generating a recommended boarding point and a recommended alighting point according to the parked station, the starting position and the target position, wherein the recommended boarding point is the parked station which is within a preset range from the starting position, and the recommended alighting point is the parked station which is within the preset range from the target position.
Optionally, if the starting position is located at the stopped station, determining the starting position as a recommended get-on point, and if the starting position is not located at the stopped station, determining the stopped station with the distance from the starting position within a preset range as the recommended get-on point, and similarly recommending the get-off point.
Alternatively, there may be a plurality of recommended boarding points.
S304, determining a plurality of buses corresponding to the stopped stations including the recommended get-on point and the recommended get-off point as a plurality of first buses.
For example, a first bus is determined via a stop including both buses that recommend an entry point and a discharge point.
S305, determining a first moment when each first bus passes through the recommended boarding point according to the departure moment.
One possible implementation manner is aimed at any one first class car; determining a first time, comprising: acquiring a driving route of the first bus; and inputting the driving route, the departure time of the first bus and the recommended departure point into an electronic map to obtain a first time when the first bus passes through the recommended departure point.
Next, the determination of the first time will be described with reference to fig. 4.
Fig. 4 is a schematic diagram of determining a first time according to an embodiment of the present application. As shown in fig. 4, the driving route, departure time and recommended departure point of the first class are input into an electronic map, and the electronic map calculates the first time expected to reach the recommended departure point according to the input parameters and the predicted traffic condition of the road section at the departure time.
In combination with a scene example, due to the influence of uncertain factors such as traffic jam and the like, the time spent by the buses arriving at each stopped station is different, so that a first moment is not stored in a bus information base, and a real-time calculated first moment result is more accurate and more accords with an actual scene.
In the feasible implementation mode, the first moment is determined through real-time calculation, so that the method is more in line with an actual scene, and the accuracy of a calculation result is improved.
S306, determining a plurality of first buses corresponding to the first moment after the planned riding moment as the plurality of recommended buses, and determining recommended bus information of the plurality of recommended buses.
In combination with the scene example, when other buses except the recommended buses in the first buses reach the recommended boarding point, the user does not reach the recommended boarding point yet and conflicts with the travel plan of the user, so that the corresponding buses are not used as recommended buses, and the corresponding buses do not need to be sent to the user.
Optionally, determining a plurality of first buses corresponding to a first time within a preset range before the scheduled riding time as a plurality of recommended buses.
For example, the calculation at the first moment is affected by external factors, and there is an error, so the error is corrected by the preset range.
S307, determining a seat corresponding to any pressure sensor.
Alternatively, the pressure sensors are in one-to-one correspondence with the seats.
Still alternatively, other sensors may be used in place of the pressure sensor, such as an infrared sensor, etc.
And S308, judging that the pressure value acquired by the pressure sensor is greater than or equal to a preset threshold value.
If yes, then S309 is performed.
If not, S310 is performed.
S309, determining the seat state of the seat corresponding to the pressure sensor as the occupied state.
In connection with the scene example, a passenger may apply pressure to the seat while sitting on the seat. In practical applications, a passenger may place an article on the seat, and the passenger or the article on the seat can be determined according to the magnitude of the pressure value, so that erroneous judgment is avoided.
And S310, determining the seat state of the seat corresponding to the pressure sensor as the idle state.
In one possible implementation, the shift reservation method further includes: receiving a plurality of scheduled bus applications sent by second user equipment, wherein the plurality of scheduled bus applications comprise identifiers of a plurality of scheduled buses and identifiers of scheduled seats corresponding to each scheduled bus; and if the plurality of recommended buses comprise a first scheduled bus in the plurality of scheduled buses, updating the seat state of the scheduled seat corresponding to the first scheduled bus to the occupied state.
Next, the determination of the seating state will be described with reference to fig. 5.
Fig. 5 is a schematic diagram of a determined seating state according to an embodiment of the present application. As shown in fig. 5, the seat state is determined according to the sensor data output from the sensor, the seat state is an occupied state or an idle state, and the reserved seat is determined according to the reservation application of other users, and is reserved for the other users through the user equipment and the riding time of the other users is not reached. And updating the seat state through the reserved seat to obtain the updated seat state.
In combination with the scene example, a part of users select to directly take the bus, a part of users select to reserve the bus, and the seat state of the bus can be accurately determined by combining the sensor data with the reserved application of the users.
In such a possible implementation, the seat status is updated by a plurality of bus reservations, so that the updated seat status can be ensured to conform to the actual scene.
And S311, sending the recommended class information and the seat information to the user equipment.
Optionally, a seat schematic diagram in the airlines is generated according to the seat information, and the seat schematic diagram is sent to the user equipment.
Next, a user equipment interface will be described with reference to fig. 6.
Fig. 6 is a schematic diagram of a user equipment interface according to an embodiment of the present application. As shown in fig. 6, a seat diagram of the interior of the bus is generated according to the seat information, the user equipment interface displays the seat diagram, the user can intuitively see the current seat condition of the bus from the seat diagram, and the user can click on an idle seat to conduct reservation.
A possible implementation manner, sending the recommended class information and the seat information to the user equipment, including: determining a second moment when each recommended bus passes through the recommended boarding point; according to the order from small to large at the second moment, sorting the recommended class information of each recommended class to obtain sorted recommended class information; and sending the ordered recommended class information and the seat information to the user side.
In combination with the scene example, it is more preferable for the user to take the closest time to the planned riding time as the actual riding time, and therefore the buses are ordered in the order of the second time from small to large.
In such a possible implementation, the user can quickly determine the most appropriate airlines through the ranking process.
Fig. 7 is a schematic structural diagram of a scheduled bus device according to an embodiment of the present application. As shown in fig. 7, the shift schedule device 70 may include: a receiving module 71, a determining module 72, an identifying module 73, and a transmitting module 74, wherein,
the receiving module 71 is configured to receive a starting position, a target position, and a planned riding time sent by the first user equipment.
The determining module 72 is configured to determine recommended class information of a plurality of recommended classes according to the starting position, the target position, and the planned riding time, where a seat monitoring sensor is disposed on the recommended classes.
The identifying module 73 is configured to obtain sensor data of any recommended airlines for the recommended airlines, and determine seat information of the recommended airlines according to the sensor data, where the seat information includes a seat state of each seat in the recommended airlines, and the seat state is an occupied state or an idle state.
The sending module 74 is configured to send the recommended class information and the seat information to the user device.
Alternatively, the receiving module 71 may perform S201 in the embodiment of fig. 2.
Alternatively, the determination module 72 may perform S202 in the embodiment of fig. 2.
Alternatively, the identification module 73 may perform S203 in the embodiment of fig. 2.
Alternatively, the sending module 74 may perform S204 in the embodiment of fig. 2.
It should be noted that the shift reservation device shown in the embodiment of the present application may execute the technical solution shown in the embodiment of the method, and its implementation principle and beneficial effects are similar, and will not be described herein again.
In one possible implementation, the determining module 72 is specifically configured to:
acquiring class information of a plurality of classes, wherein the class information comprises a parked station and a departure time;
generating a recommended get-on point and a recommended get-off point according to the parked station, the starting position and the target position, wherein the recommended get-on point is the parked station which is within a preset range from the starting position, and the recommended get-off point is the parked station which is within the preset range from the target position;
and determining the recommended class information of the plurality of recommended classes according to the recommended get-on point, the recommended get-off point, the planned get-on time, the parked station and the get-off time.
In one possible implementation, the determining module 72 is specifically configured to:
determining a plurality of buses corresponding to the parked stops including the recommended get-on point and the recommended get-off point as a plurality of first buses;
determining a first moment when each first bus passes through the recommended get-on point according to the get-on moment;
and determining a plurality of first buses corresponding to the first moment after the planned riding moment as the plurality of recommended buses, and determining recommended bus information of the plurality of recommended buses.
In one possible implementation, the determining module 72 is specifically configured to:
acquiring a driving route of the first bus;
and inputting the driving route, the departure time of the first bus and the recommended departure point into an electronic map to obtain a first time when the first bus passes through the recommended departure point.
Fig. 8 is a schematic structural diagram of a scheduled bus device according to an embodiment of the present application. On the basis of the embodiment shown in fig. 6, as shown in fig. 8, the shift reservation device 80 further includes: a processing module 75, an updating module 76, and a sorting module 77, wherein:
the processing module 75 is configured to:
for any one pressure sensor, determining a seat corresponding to the pressure sensor;
if the pressure value acquired by the pressure sensor is greater than or equal to a preset threshold value, determining the seat state of the seat corresponding to the pressure sensor as the occupied state;
and if the pressure value acquired by the pressure sensor is smaller than the preset threshold value, determining the seat state of the seat corresponding to the pressure sensor to be the idle state.
The update module 76 is configured to:
receiving a plurality of scheduled bus applications sent by second user equipment, wherein the plurality of scheduled bus applications comprise identifiers of a plurality of scheduled buses and identifiers of scheduled seats corresponding to each scheduled bus;
and if the plurality of recommended buses comprise a first scheduled bus in the plurality of scheduled buses, updating the seat state of the scheduled seat corresponding to the first scheduled bus to the occupied state.
The sorting module 77 is configured to:
determining a second moment when each recommended bus passes through the recommended boarding point;
sorting the recommended class information of each recommended class according to the order from small to large at the second moment to obtain sorted recommended class information;
and sending the ordered recommended class information and the seat information to the user side.
Fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application, as shown in fig. 9, where the electronic device includes:
a processor 291, the electronic device further comprising a memory 292; a communication interface (Communication Interface) 293 and bus 294 may also be included. The processor 291, the memory 292, and the communication interface 293 may communicate with each other via the bus 294. Communication interface 293 may be used for information transfer. The processor 291 may call logic instructions in the memory 292 to perform the methods of the above-described embodiments.
Further, the logic instructions in memory 292 described above may be implemented in the form of software functional units and stored in a computer-readable storage medium when sold or used as a stand-alone product.
The memory 292 is a computer readable storage medium, and may be used to store a software program, a computer executable program, and program instructions/modules corresponding to the methods in the embodiments of the present application. The processor 291 executes functional applications and data processing by running software programs, instructions and modules stored in the memory 292, i.e., implements the methods of the method embodiments described above.
Memory 292 may include a storage program area that may store an operating system, at least one application program required for functionality, and a storage data area; the storage data area may store data created according to the use of the terminal device, etc. Further, memory 292 may include high-speed random access memory, and may also include non-volatile memory.
A non-transitory computer readable storage medium, which when executed by a processor of a terminal device, causes the terminal device to perform the split screen processing method of the terminal device.
Embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements a method as described in the previous embodiments.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A shift vehicle reservation method, comprising:
receiving a starting position, a target position and a planned riding time sent by first user equipment;
according to the starting position, the target position and the planned riding time, determining recommended class information of a plurality of recommended classes, wherein a seat monitoring sensor is arranged on the recommended classes;
acquiring sensor data of any recommended airlines, and determining seat information of the recommended airlines according to the sensor data, wherein the seat information comprises seat states of all seats in the recommended airlines, and the seat states are occupied states or idle states;
and sending the recommended class information and the seat information to the user equipment.
2. The method of claim 1, wherein determining recommended class information for a plurality of recommended classes based on the starting location, the target location, and the planned departure time, comprises:
acquiring class information of a plurality of classes, wherein the class information comprises a parked station and a departure time;
generating a recommended get-on point and a recommended get-off point according to the parked station, the starting position and the target position, wherein the recommended get-on point is the parked station which is within a preset range from the starting position, and the recommended get-off point is the parked station which is within the preset range from the target position;
and determining the recommended class information of the plurality of recommended classes according to the recommended get-on point, the recommended get-off point, the planned get-on time, the parked station and the get-off time.
3. The method of claim 2, wherein determining recommended class information for the plurality of recommended classes based on the recommended pick-up point, the planned ride time, the parked station, and the departure time comprises:
determining a plurality of buses corresponding to the parked stops including the recommended get-on point and the recommended get-off point as a plurality of first buses;
determining a first moment when each first bus passes through the recommended get-on point according to the get-on moment;
and determining a plurality of first buses corresponding to the first moment after the planned riding moment as the plurality of recommended buses, and determining recommended bus information of the plurality of recommended buses.
4. The method of claim 3, wherein for any one of the first class vehicles; according to the departure time, determining a first time when each first bus passes through the recommended departure point comprises:
acquiring a driving route of the first bus;
and inputting the driving route, the departure time of the first bus and the recommended departure point into an electronic map to obtain a first time when the first bus passes through the recommended departure point.
5. The method of any one of claims 1-4, wherein the sensor is a pressure sensor, the pressure sensors are provided on each seat of the recommended airlines, and the sensor data includes pressure values; determining seat information of the recommended class according to the sensor data, including:
for any one pressure sensor, determining a seat corresponding to the pressure sensor;
if the pressure value acquired by the pressure sensor is greater than or equal to a preset threshold value, determining the seat state of the seat corresponding to the pressure sensor as the occupied state;
and if the pressure value acquired by the pressure sensor is smaller than the preset threshold value, determining the seat state of the seat corresponding to the pressure sensor to be the idle state.
6. The method of claim 5, wherein the method further comprises:
receiving a plurality of scheduled bus applications sent by second user equipment, wherein the plurality of scheduled bus applications comprise identifiers of a plurality of scheduled buses and identifiers of scheduled seats corresponding to each scheduled bus;
and if the plurality of recommended buses comprise a first scheduled bus in the plurality of scheduled buses, updating the seat state of the scheduled seat corresponding to the first scheduled bus to the occupied state.
7. The method of any of claims 2-6, wherein sending the recommended airlines information and the seat information to the user device comprises:
determining a second moment when each recommended bus passes through the recommended boarding point;
according to the order from small to large at the second moment, sorting the recommended class information of each recommended class to obtain sorted recommended class information;
and sending the ordered recommended class information and the seat information to the user side.
8. A class reservation device, comprising:
the receiving module is used for receiving the starting position, the target position and the planned riding time sent by the first user equipment;
the determining module is used for determining recommended class information of a plurality of recommended classes according to the starting position, the target position and the planned riding time, and the recommended classes are provided with seat monitoring sensors;
the recognition module is used for acquiring sensor data of the recommended buses aiming at any one recommended bus, and determining seat information of the recommended buses according to the sensor data, wherein the seat information comprises seat states of all seats in the recommended buses, and the seat states are occupied states or idle states;
and the sending module is used for sending the recommended class information and the seat information to the user equipment.
9. An electronic device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of any one of claims 1-7.
10. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are adapted to carry out the method of any one of claims 1-7.
CN202310605802.4A 2023-05-25 2023-05-25 Method and device for booking class bus, electronic equipment and storage medium Pending CN116562406A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310605802.4A CN116562406A (en) 2023-05-25 2023-05-25 Method and device for booking class bus, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310605802.4A CN116562406A (en) 2023-05-25 2023-05-25 Method and device for booking class bus, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116562406A true CN116562406A (en) 2023-08-08

Family

ID=87494510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310605802.4A Pending CN116562406A (en) 2023-05-25 2023-05-25 Method and device for booking class bus, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116562406A (en)

Similar Documents

Publication Publication Date Title
CN111033595B (en) Method and device for managing shared vehicle
CN109961158B (en) Reservation order distribution method and reservation order distribution device
US10360518B2 (en) Shared vehicle management device
US20190057312A1 (en) Method and system for providing transportation service
US10260896B2 (en) Route planning device and associated method
CN112262418B (en) Vehicle management system and vehicle management method
CN110598908B (en) Path planning method based on multiple tasks and multiple vehicles
US20200210905A1 (en) Systems and Methods for Managing Networked Vehicle Resources
US20220230110A1 (en) Vehicle allocation system and vehicle allocation method
CN111754796A (en) Network appointment vehicle docking prompting method and device
CN111340984A (en) Taxi booking method and device based on digital key and electronic equipment
CN113673730A (en) Appointment control method and device, electronic equipment and storage medium
US20210073841A1 (en) Information processing device, information processing method, and storage medium
CN112669116A (en) Order processing method and device, electronic equipment and readable storage medium
CN116562406A (en) Method and device for booking class bus, electronic equipment and storage medium
CN113401157B (en) Seat information system and method based on transparent display window and railway vehicle
CN114493236A (en) Service vehicle assignment method, service vehicle assignment device, service vehicle assignment apparatus, service vehicle assignment medium, and program product
CN112116114A (en) Taxi appointment order issuing method, taxi appointment order issuing device, taxi appointment order issuing equipment and storage medium
CN111341091A (en) Vehicle scheduling method, system, device, storage medium and processor
US20240070581A1 (en) Information processing method, information processing apparatus, information processing system, and non-transitory computer readable medium
JP2020201869A (en) Vehicle management system and vehicle management apparatus
CN111178558A (en) Network appointment order processing method and device, computer equipment and readable storage medium
CN109727338A (en) Electric vehicle control method, device, storage medium, electric vehicle and server
CN111275220B (en) Vehicle selection method and device, computer equipment and storage medium
US20240087060A1 (en) Information processing method

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