Fault-tolerant control method, device and equipment in berth allocation

By detecting the vehicle parking position and the remaining berth space and adjusting the berth allocation plan, the problem of station disorder caused by vehicles not parking at the pre-allocated berths was solved, and the parking efficiency was improved.

CN120612841AInactive Publication Date: 2025-09-09HANGZHOU XINGLU ZHILIAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510848251.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-23
Publication Date
2025-09-09
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the prior art, when vehicles fail to dock at pre-assigned berths, the station becomes disorderly and the docking efficiency is reduced.

Method used

By detecting the distance between the actual parking position of the vehicle and the pre-allocated berth, the remaining berth space and the information of the allocated berth vehicles are determined, and the berth allocation plan is readjusted to ensure that the vehicle can be parked correctly.

Benefits of technology

When a vehicle does not dock correctly, the berth allocation plan is updated in a timely manner, reducing the negative impact caused by the driver's incorrect docking and ensuring the order and docking efficiency of the station.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120612841A_ABST
    Figure CN120612841A_ABST
Patent Text Reader

Abstract

The invention discloses a fault-tolerant control method, a fault-tolerant control device and fault-tolerant control equipment in parking space allocation, which are used for updating a parking space allocation scheme in time when a vehicle is not parked according to a pre-allocated parking space and reducing negative effects caused by incorrect parking of a driver. The method comprises the following steps: acquiring a first distance between an actual parking position of a target bus and a target position corresponding to a pre-distributed berth after the target bus enters a station and stops; if the first distance is greater than the deviation distance, determining a remaining berth space behind the body of the target bus; if the vehicle distributed with the berth exists behind the target bus, vehicle information of the vehicle distributed with the berth is obtained, and the vehicle information at least comprises or represents the vehicle length of the vehicle distributed with the berth; according to the remaining parking space and the vehicle length of the vehicle distributed with the parking space, a corresponding parking space setting scheme is adopted, the parking space is determined again for the vehicle distributed with the parking space in the remaining parking space, and the information of the distributed parking space is updated through the re-determined parking space information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of public transportation technology, and in particular to a fault-tolerant control method, device, and equipment for berth allocation. Background Art

[0002] Vehicle parking at stations is a common application scenario in the transportation sector. For example, public vehicles can park at bus stops. In some scenarios, one or more parking spaces can be pre-assigned within the corresponding parking area of ​​the station. Vehicles can then park in these pre-assigned spaces. By optimizing the allocation of parking spaces, traffic efficiency can be improved.

[0003] Currently, dynamic berth allocation can be implemented, assigning incoming vehicles to corresponding berths within the station to optimize docking efficiency. However, this requires drivers to dock correctly according to berth allocation instructions. Failure to dock at a designated berth disrupts the berth allocation plan, causing chaos at the station and reducing docking efficiency. Summary of the Invention

[0004] In view of this, embodiments of the present application provide a fault-tolerant control method, device, and apparatus in berth allocation, which promptly updates the berth allocation plan when a vehicle fails to dock at a pre-assigned berth, thereby reducing the negative impact caused by the driver's incorrect docking.

[0005] To solve the above problems, the technical solutions provided in the embodiments of the present application are as follows:

[0006] A fault-tolerant control method in berth allocation, the method comprising:

[0007] Obtaining a first distance between an actual stop position of the target public bus and a target position corresponding to a pre-allocated berth after the target public bus stops at the station;

[0008] If the first distance is greater than the deviation distance, determining the remaining berth space behind the target bus;

[0009] If there is a vehicle with an assigned berth behind the target bus, obtaining vehicle information of the vehicle with the assigned berth, the vehicle information at least including or indicating the vehicle length of the vehicle with the assigned berth;

[0010] According to the remaining berth space and the vehicle length of the allocated berth vehicle, a corresponding berth setting plan is adopted to redetermine a berth for the allocated berth vehicle in the remaining berth space, and the allocated berth information is updated using the redetermined berth information.

[0011] In a possible implementation, obtaining a first distance between an actual stop position of the target public bus after the target public bus stops at a station and a target position corresponding to a pre-allocated berth includes:

[0012] After determining that the target bus is stopping at the station, a first distance between the actual stopping position of the target bus and a berth marking device corresponding to the pre-assigned berth is detected; the berth marking device is used to mark the berth.

[0013] In a possible implementation, if the first distance is greater than the deviation distance, determining the remaining berth space behind the target bus includes:

[0014] If the first distance is greater than the deviation distance, a second distance between the nearest berth marking device behind the target bus and the rear edge of the current station is obtained, and the second distance is determined as the remaining berth space.

[0015] In one possible implementation, the method of re-determining a berth for the vehicle already assigned a berth in the remaining berth space using a corresponding berth setting plan based on the remaining berth space and the vehicle length of the vehicle already assigned a berth, and updating the already assigned berth information using the re-determined berth information includes:

[0016] If the current station is a station with multiple berth arrangement schemes, and according to the vehicle length of the allocated berth vehicle and the order in which the allocated berth vehicles enter the station, the remaining berth space can accommodate at least one of the allocated berth vehicles, then according to the order in which the allocated berth vehicles enter the station and the vehicle lengths that can be accommodated by the berths, a target berth arrangement scheme is determined from the multiple berth arrangement schemes, and based on the target berth arrangement scheme, berths are re-determined in sequence within the remaining berth space for the allocated berth vehicles, and the allocated berth information is updated using the re-determined berth information;

[0017] If the current station is a station with a single berth setting plan, and based on the vehicle length of the allocated berth vehicle, the remaining berth space can accommodate at least one of the allocated berth vehicles according to the order in which the allocated berth vehicles enter the station, berths are re-determined for the allocated berth vehicles in turn within the remaining berth space according to the order in which the allocated berth vehicles enter the station and the vehicle lengths that the berths can accommodate, and the allocated berth information is updated using the re-determined berth information.

[0018] In one possible implementation, the method of re-determining a berth for the vehicle already assigned a berth in the remaining berth space using a corresponding berth setting plan based on the remaining berth space and the vehicle length of the vehicle already assigned a berth, and updating the already assigned berth information using the re-determined berth information includes:

[0019] If the remaining berth space cannot accommodate at least one of the allocated berth vehicles based on the vehicle length of the allocated berth vehicles and the order in which the allocated berth vehicles enter the station, the first vehicle among the allocated berth vehicles will be allocated to the front berth of the current station, and berths will be re-determined for the allocated berth vehicles after the front berth in accordance with the order in which the allocated berth vehicles enter the station and the vehicle length that the berth can accommodate, and the allocated berth information will be updated using the re-determined berth information.

[0020] In a possible implementation, the method further includes:

[0021] If there is no vehicle with a berth allocated after the target bus, the berth occupancy status information is updated.

[0022] In a possible implementation, the method further includes:

[0023] The allocated parking space information is transmitted to the allocated parking space vehicle so that the allocated parking space vehicle updates the allocated parking space information.

[0024] A fault-tolerant control device for berth allocation, comprising:

[0025] A first obtaining unit is configured to obtain a first distance between an actual stop position of the target public bus and a target position corresponding to a pre-allocated berth after the target public bus stops at a station;

[0026] a determining unit, configured to determine a remaining berth space behind the target bus if the first distance is greater than the deviation distance;

[0027] A second acquiring unit is configured to acquire vehicle information of a vehicle with an assigned berth if there is a vehicle with an assigned berth behind the target bus, wherein the vehicle information at least includes or indicates the vehicle length of the vehicle with an assigned berth;

[0028] The allocating unit is configured to adopt a corresponding berth setting plan according to the remaining berth space and the vehicle length of the allocated berth vehicle, redetermine a berth for the allocated berth vehicle in the remaining berth space, and update the allocated berth information with the redetermined berth information.

[0029] A fault-tolerant control device for berth allocation includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the fault-tolerant control method for berth allocation as described in any one of the above items is implemented.

[0030] A computer-readable storage medium stores instructions, which, when executed on a terminal device, enable the terminal device to execute any one of the above-mentioned fault-tolerant control methods in berth allocation.

[0031] It can be seen that the embodiments of the present application have the following beneficial effects:

[0032] In an embodiment of the present application, when a target bus approaches a station, it first checks whether it has correctly docked within a pre-assigned berth. Specifically, a first distance is obtained between the target bus's actual docking position after docking and the target position corresponding to the pre-assigned berth. If the first distance is greater than the deviation distance, it indicates that the target bus has not correctly docked within the pre-assigned berth and the berth allocation plan needs to be updated. The remaining berth space behind the target bus is then determined. If there are already assigned berths behind the target bus, vehicle information for the assigned vehicles is obtained, which may include the length of the assigned vehicles. Based on the remaining berth space and the length of the assigned vehicles, a corresponding berth allocation plan is adopted. A berth is then reassigned for the assigned vehicles based on the remaining berth space, and the assigned berth information is updated using the reassigned berth information. Thus, an embodiment of the present application provides a fault-tolerant control method that promptly updates the berth allocation plan when a target bus fails to dock within a pre-assigned berth, mitigating the negative impact of driver errors and ensuring station order and docking efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of an exemplary application scenario provided in an embodiment of the present application;

[0034] Figure 2 A flowchart of a fault-tolerant control method in berth allocation provided in an embodiment of the present application;

[0035] Figure 3 A schematic diagram of a fault-tolerant control device for berth allocation provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the embodiments of the present application are further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0037] In order to facilitate understanding and explanation of the technical solutions provided by the embodiments of the present application, the background technology of the embodiments of the present application will be described below.

[0038] To improve station berth efficiency, station berths can be dynamically allocated. That is, a berth is assigned to a bus as it approaches the station, optimizing docking efficiency. However, if the driver fails to park the vehicle in a pre-allocated berth, it will cause problems with berth allocation for subsequent vehicles, causing chaos at the station and reducing docking efficiency.

[0039] Based on this, the embodiments of the present application provide a fault-tolerant control method, device and equipment in berth allocation, which provides a fault-tolerant mechanism in berth allocation. When the driver parks in the wrong berth, the berth allocation plan is updated in time to minimize the negative impact of parking in the wrong berth.

[0040] In order to facilitate understanding of the fault-tolerant control method in berth allocation provided in the embodiment of the present application, Figure 1 See the example scenario shown. Figure 1 As shown in the figure, this figure is a schematic diagram of an exemplary application scenario provided by an embodiment of the present application.

[0041] The embodiments of the present application can be applied to a processor that performs fault-tolerant control, and the processor can also perform berth allocation. In actual applications, a bus station may include multiple berths, each berth being used to dock a bus. In some scenarios, buses do not dock at fixed berths, but rather use dynamic berth allocation. Before a bus enters the station, a berth at the current station is allocated to the bus. For example, the current station includes four berths: Berth 1, Berth 2, Berth 3, and Berth 4, and Berth 1 is allocated to bus 1. However, if bus 1 does not dock at the allocated berth correctly, for example, it docks at Berth 2 by mistake. If bus 2, which follows bus 1, has berth 2 pre-allocated, a berth conflict will occur. In this case, berths need to be reallocated for buses 2 and 3 that follow bus 1.

[0042] Those skilled in the art will understand that Figure 1 The framework diagram shown is only an example in which the embodiments of the present application can be implemented. The scope of application of the embodiments of the present application is not limited by any aspect of the framework.

[0043] To facilitate understanding of the embodiments of the present application, a fault-tolerant control method for berth allocation provided by the embodiments of the present application is described below with reference to the accompanying drawings.

[0044] See also Figure 2 As shown in the figure, this figure is a flow chart of a fault-tolerant control method in berth allocation provided by an embodiment of the present application, as shown in Figure 2As shown, the method may include S201-S204:

[0045] S201: Obtain a first distance between an actual stop position of a target public bus after the target public bus stops at a station and a target position corresponding to a pre-allocated berth.

[0046] Before a bus enters a station, berth information can be pre-generated to allocate berths for the bus that will be docked at the current station. Berth information includes vehicle information and corresponding berths. Vehicle information includes, for example, vehicle model, vehicle length, route information, etc. The controller in the bus can obtain berth information, and the controller in the station can also obtain berth information. Relevant equipment in the bus can prompt the berth information, and the berth marking equipment in the station can also mark the berth to be docked based on the berth information. Among them, the current bus (i.e., the target bus) has a pre-allocated berth, indicating that the target bus should dock at the pre-allocated berth.

[0047] After the target bus enters the station and comes to a complete stop, a first distance between its actual stop position and the target position corresponding to the pre-allocated berth for the target bus can be determined. The actual stop position is determined by a location on the target bus, such as the front or rear of the target bus. "Stable stop" refers to determining that the target bus's speed after entering the station is zero and the duration exceeds a time threshold. This first distance can be used to determine whether the current bus is parked within the pre-allocated berth.

[0048] In a possible implementation, the specific implementation of S201 acquiring the first distance between the actual stop position of the target bus after the target bus stops at the station and the target position corresponding to the pre-allocated berth may include:

[0049] After determining that the target bus is stopping at the station, a first distance between the actual stopping position of the target bus and a berth marking device corresponding to the pre-assigned berth is detected; the berth marking device is used to mark the berth.

[0050] Multiple berth marking devices can be installed at a station, each marking a berth at the station. Different berth marking devices can be used to mark multiple berths at the station. Furthermore, multiple berth marking devices can be used to mark all berths at the station. In other words, any berth in any berth configuration plan at the station corresponds to a berth marking device.

[0051] After planning berths for the current station, a berth marking device can be installed at each berth location based on the resulting berth placement plan. This allows all berths at the current station to be marked using multiple berth marking devices. When a specific berth needs to be marked, it can be marked using the berth marking device associated with that berth.

[0052] Before the target bus arrives at the station, the berth marking device corresponding to the pre-allocated berth will mark the pre-allocated berth to prompt the target bus to stop. For example, the berth marking device is a light-emitting device. The pre-allocated berth is marked by one or more light-emitting devices.

[0053] After determining that the target bus has stopped at the station, a first distance is detected between the actual stop position of the target bus and the berth marking device corresponding to the pre-assigned berth. The actual stop position may be, for example, the front or rear of the bus. In practical applications, the first distance can be detected by a detector, and the first distance detected by the detector can be obtained. The detector can be a video, radar, coil, RFID (Radio Frequency Identification), infrared, laser, positioning, or a combination of the aforementioned methods.

[0054] S202: If the first distance is greater than the deviation distance, determine the remaining berth space behind the target bus.

[0055] If the first distance is less than or equal to the deviation distance, it means that the target bus stops at the pre-assigned berth normally and there is no need to trigger the fault-tolerant control.

[0056] If the first distance is greater than the deviation distance, it indicates that the target bus has not properly docked at the pre-assigned berth, triggering fault-tolerant control. Furthermore, the remaining berth space behind the target bus is determined. Remaining berth space is generally defined as the space available for berth allocation. This determines the berth space behind the target bus's current docking location within the current station.

[0057] In a possible implementation, if the first distance is greater than the deviation distance in step S202, determining the remaining berth space behind the target bus may include:

[0058] If the first distance is greater than the deviation distance, a second distance between the nearest berth marking device behind the target bus and the rear edge of the current station is obtained, and the second distance is determined as the remaining berth space.

[0059] The berth marking device is usually set at the rear end of the berth, so the berth marking device closest to the rear of the target bus can be the berth marking device corresponding to the berth where the target bus is currently parked. By obtaining the second distance between the closest berth marking device behind the target bus and the rear edge of the current station, the second distance between the berth after the berth where the target bus is currently parked and the rear edge of the current station can be obtained as the remaining berth space. For example, in one scenario, the current station includes four berths: berth 1, berth 2, berth 3 and berth 4, and berth 1 is allocated to the target bus. However, the target bus mistakenly parks at berth 2. The second distance between the closest berth marking device behind the target bus and the rear edge of the current station is the space between berths 3 and berth 4, which is the remaining berth space.

[0060] It is understood that the remaining berth space corresponding to the second distance may include one or more fixed berths or one or more dynamic berths. That is, the berths included in the remaining berth space may be fixed or dynamic. For example, a space with a second distance of 48 meters may include two 24-meter berths or three 16-meter berths.

[0061] The division of the remaining berth space can be determined according to whether the current station has multiple berth setting schemes or a single berth setting scheme. Regarding the relevant description of whether the current station has multiple berth setting schemes or a single berth setting scheme, please refer to the subsequent embodiments and will not be repeated here.

[0062] S203: If there is a vehicle with an assigned berth behind the target bus, obtain vehicle information of the vehicle with the assigned berth, where the vehicle information at least includes or indicates the vehicle length of the vehicle with the assigned berth.

[0063] If there are vehicles with allocated berths behind the target bus, it is necessary to obtain vehicle information of these vehicles with allocated berths. The vehicle information may include the vehicle length of the vehicles with allocated berths, so as to re-determine berths for the vehicles with allocated berths according to the vehicle information.

[0064] In a possible implementation, the following may also be included:

[0065] If there is no bus with allocated berth after the target bus, update the berth occupancy status information.

[0066] If there is no bus with an assigned berth after the target bus, there is no need to re-determine the berth, but the berth occupancy status information needs to be updated to facilitate the execution of subsequent control logic such as berth allocation.

[0067] S204: Based on the remaining berth space and the vehicle length of the allocated berth vehicle, a corresponding berth setting plan is adopted to redetermine a berth for the allocated berth vehicle in the remaining berth space, and the allocated berth information is updated with the redetermined berth information.

[0068] Vehicle information may include vehicle model, vehicle length, route information, etc. Based on the vehicle information and the corresponding berth setting plan, berth information can be regenerated in the remaining berth space to re-determine the berth for the allocated vehicle.

[0069] The specific implementation of S204 can be found in the description of the subsequent embodiments and will not be described here in detail.

[0070] In a possible implementation, the following may also be included:

[0071] The allocated parking space information is transmitted to the allocated parking space vehicle so that the allocated parking space vehicle updates the allocated parking space information.

[0072] After the berth information is regenerated, the assigned berth information can be transmitted to the next incoming vehicle with an assigned berth. Specifically, it can be transmitted to the controller of the assigned vehicle. After receiving the new berth information, the controller of the assigned vehicle overwrites the original berth information. Furthermore, the controller can control the display status of the corresponding berth marking device to switch.

[0073] In an embodiment of the present application, when a target bus approaches a station, it first checks whether it has correctly docked within a pre-assigned berth. Specifically, a first distance is obtained between the target bus's actual docking position after docking and the target position corresponding to the pre-assigned berth. If the first distance is greater than the deviation distance, it indicates that the target bus has not correctly docked within the pre-assigned berth and the berth allocation plan needs to be updated. The remaining berth space behind the target bus is then determined. If there are already assigned berths behind the target bus, vehicle information for the assigned vehicles is obtained, which may include the length of the assigned vehicles. Based on the remaining berth space and the length of the assigned vehicles, a corresponding berth allocation plan is adopted. A berth is then reassigned for the assigned vehicles based on the remaining berth space, and the assigned berth information is updated using the reassigned berth information. Thus, an embodiment of the present application provides a fault-tolerant control method that promptly updates the berth allocation plan when a target bus fails to dock within a pre-assigned berth, mitigating the negative impact of driver errors and ensuring station order and docking efficiency.

[0074] The specific implementation process of step S204 in the above embodiment will be further described below.

[0075] In one possible implementation, S204 adopts a corresponding berth setting plan based on the remaining berth space and the vehicle length of the allocated vehicle, redetermines a berth for the allocated vehicle in the remaining berth space, and uses the redetermined berth information to update the allocated berth information. Specific implementations may include:

[0076] A1: If the current station is a station with multiple berth setting plans, and based on the vehicle length of the allocated berth vehicle and the order in which the allocated berth vehicles enter the station, the remaining berth space can accommodate at least one allocated berth vehicle, then according to the order in which the allocated berth vehicles enter the station and the vehicle length that the berth can accommodate, the target berth setting plan is determined among the multiple berth setting plans, and based on the target berth setting plan, the berths are re-determined for the allocated berth vehicles in turn within the remaining berth space, and the allocated berth information is updated using the re-determined berth information.

[0077] In the first scenario, a station can have multiple berth allocation plans. Different berth allocation plans can correspond to different application scenarios. Berth allocation plans are used to describe the information of multiple berths planned and allocated within the current station's docking area.

[0078] Based on the order in which assigned vehicles arrive and their vehicle lengths, a determination is made as to whether the remaining berth space can accommodate the first vehicle. If it can, a berth allocation scheme, known as a target berth allocation scheme, is determined based on the order in which the assigned vehicles arrive and the vehicle lengths that can be accommodated. Based on the target berth allocation scheme, the number of assigned vehicles that can be accommodated in the remaining berth space is determined, and corresponding berths are allocated within the remaining berth space to generate new berth information. Since stations have multiple berth allocation schemes, meaning that berths are dynamically adjusted, the vehicle lengths of assigned vehicles must be considered when reallocating berths.

[0079] A2: If the current station is a station with a single berth setting plan, and based on the vehicle length of the allocated berth vehicle, the remaining berth space can accommodate at least one allocated berth vehicle according to the order in which the allocated berth vehicles enter the station, the berths for the allocated berth vehicles shall be re-determined in the remaining berth space according to the order in which the allocated berth vehicles enter the station and the vehicle length that the berth can accommodate, and the allocated berth information shall be updated with the re-determined berth information.

[0080] In the second scenario, a station can also have only one berth arrangement. Based on the order in which the assigned vehicles arrive and their vehicle lengths, the remaining berth space is determined to determine whether the first vehicle can be accommodated. If the first vehicle can be accommodated, the remaining berth space is further determined based on the order in which the assigned vehicles arrive and their vehicle lengths. These assigned vehicles are then assigned corresponding berths within the remaining berth space, generating new berth information.

[0081] In one possible implementation, S204 adopts a corresponding berth setting plan based on the remaining berth space and the vehicle length of the allocated vehicle, redetermines a berth for the allocated vehicle in the remaining berth space, and uses the redetermined berth information to update the allocated berth information. Specific implementations may include:

[0082] A3: If the remaining berth space cannot accommodate at least one allocated vehicle based on the vehicle length of the allocated berth vehicles and the order in which the allocated berth vehicles enter the station, the first vehicle among the allocated berth vehicles will be allocated to the front berth of the current station, and berths will be re-determined for the allocated vehicles after the front berth in accordance with the order in which the allocated berth vehicles enter the station and the vehicle length that the berth can accommodate, and the allocated berth information will be updated with the re-determined berth information.

[0083] However, according to the order in which the assigned berths enter the station, the remaining berths cannot accommodate the first assigned vehicle, meaning there is no complete berth after the target bus that can accommodate the first assigned vehicle. Therefore, subsequent buses must wait until the target bus leaves the station before entering the station. The first assigned vehicle will be directly assigned to the front berth at the current station, and berths will be re-determined for subsequent assigned vehicles based on the order in which the assigned berths enter the station and the length of the vehicles that the berths can accommodate. The allocated berth information will be updated with the re-determined berth information. When re-determining berths, if the current station has multiple berth setting plans, the target berth setting plan will be determined first, and then berths will be determined for the assigned vehicles. If the current station has a single berth setting plan, berths can be directly determined for the assigned vehicles.

[0084] In an embodiment of the present application, after discovering that a target bus has made a wrong stop, berths can be quickly reallocated for subsequent vehicles with allocated berths in different application scenarios, thereby improving the stop efficiency of the station.

[0085] Based on the fault-tolerant control method in berth allocation provided by the above method embodiment, the embodiment of the present application further provides a fault-tolerant control device in berth allocation, which will be described below with reference to the accompanying drawings.

[0086] See also Figure 3 As shown in FIG, this figure is a structural diagram of a fault-tolerant control device in berth allocation provided by an embodiment of the present application. Figure 3 As shown, the fault-tolerant control device in the berth allocation includes:

[0087] The first acquiring unit 301 is configured to acquire a first distance between the actual stopping position of the target bus and the target position corresponding to the pre-allocated berth after the target bus stops at the station;

[0088] A determining unit 302 is configured to determine a remaining berth space behind the target bus if the first distance is greater than the deviation distance;

[0089] A second acquiring unit 303 is configured to acquire vehicle information of a vehicle with an assigned berth if there is one behind the target bus, wherein the vehicle information at least includes or indicates the vehicle length of the vehicle with the assigned berth;

[0090] The allocating unit 304 is configured to adopt a corresponding berth setting plan according to the remaining berth space and the vehicle length of the allocated berth vehicle, redetermine a berth for the allocated berth vehicle in the remaining berth space, and update the allocated berth information with the redetermined berth information.

[0091] In a possible implementation, the first acquiring unit is specifically configured to:

[0092] After determining that the target bus is stopping at the station, a first distance between the actual stopping position of the target bus and a berth marking device corresponding to the pre-assigned berth is detected; the berth marking device is used to mark the berth.

[0093] In a possible implementation manner, the determining unit is specifically configured to:

[0094] If the first distance is greater than the deviation distance, a second distance between the nearest berth marking device behind the target bus and the rear edge of the current station is obtained, and the second distance is determined as the remaining berth space.

[0095] In a possible implementation, the allocation unit is specifically configured to:

[0096] If the current station is a station with multiple berth arrangement schemes, and according to the vehicle length of the allocated berth vehicle and the order in which the allocated berth vehicles enter the station, the remaining berth space can accommodate at least one of the allocated berth vehicles, then according to the order in which the allocated berth vehicles enter the station and the vehicle lengths that can be accommodated by the berths, a target berth arrangement scheme is determined from the multiple berth arrangement schemes, and based on the target berth arrangement scheme, berths are re-determined in sequence within the remaining berth space for the allocated berth vehicles, and the allocated berth information is updated using the re-determined berth information;

[0097] If the current station is a station with a single berth setting plan, and based on the vehicle length of the allocated berth vehicle, the remaining berth space can accommodate at least one of the allocated berth vehicles according to the order in which the allocated berth vehicles enter the station, berths are re-determined for the allocated berth vehicles in turn within the remaining berth space according to the order in which the allocated berth vehicles enter the station and the vehicle lengths that the berths can accommodate, and the allocated berth information is updated using the re-determined berth information.

[0098] In a possible implementation, the allocation unit is specifically configured to:

[0099] If the remaining berth space cannot accommodate at least one of the allocated berth vehicles based on the vehicle length of the allocated berth vehicles and the order in which the allocated berth vehicles enter the station, the first vehicle among the allocated berth vehicles will be allocated to the front berth of the current station, and berths will be re-determined for the allocated berth vehicles after the front berth in accordance with the order in which the allocated berth vehicles enter the station and the vehicle length that the berth can accommodate, and the allocated berth information will be updated using the re-determined berth information.

[0100] In a possible implementation, the apparatus further includes:

[0101] The updating unit is configured to update the berth occupancy status information if there is no vehicle with a berth allocated after the target bus.

[0102] In a possible implementation, the apparatus further includes:

[0103] The transmission unit transmits the allocated parking space information to the allocated parking space vehicle, so that the allocated parking space vehicle updates the allocated parking space information.

[0104] In addition, an embodiment of the present application also provides a fault-tolerant control device in berth allocation, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the fault-tolerant control method in berth allocation as described in any one of the above items.

[0105] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions. When the instructions are executed on a terminal device, the terminal device executes the fault-tolerant control method in berth allocation as described in any one of the above items.

[0106] An embodiment of the present application further provides a computer program product, comprising computer program instructions, which, when executed on a computer, enable the computer to execute any of the above-described fault-tolerant control methods in berth allocation.

[0107] In an embodiment of the present application, when a target bus approaches a station, it first checks whether it has correctly docked within a pre-assigned berth. Specifically, a first distance is obtained between the target bus's actual docking position after docking and the target position corresponding to the pre-assigned berth. If the first distance is greater than the deviation distance, it indicates that the target bus has not correctly docked within the pre-assigned berth and the berth allocation plan needs to be updated. The remaining berth space behind the target bus is then determined. If there are already assigned berths behind the target bus, vehicle information for the assigned vehicles is obtained, which may include the length of the assigned vehicles. Based on the remaining berth space and the length of the assigned vehicles, a corresponding berth allocation plan is adopted. A berth is then reassigned for the assigned vehicles based on the remaining berth space, and the assigned berth information is updated using the reassigned berth information. Thus, an embodiment of the present application provides a fault-tolerant control method that promptly updates the berth allocation plan when a target bus fails to dock within a pre-assigned berth, mitigating the negative impact of driver errors and ensuring station order and docking efficiency.

[0108] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. Reference can be made to the common and similar parts between the various embodiments. For the systems or devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method description.

[0109] It should be understood that in this application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0110] It should also be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the element.

[0111] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0112] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A fault-tolerant control method in berth allocation, characterized in that: The method comprises: Obtaining a first distance between an actual stop position of the target public bus and a target position corresponding to a pre-allocated berth after the target public bus stops at the station; If the first distance is greater than the deviation distance, determining the remaining berth space behind the target bus; If there is a vehicle with an assigned berth behind the target bus, obtaining vehicle information of the vehicle with the assigned berth, wherein the vehicle information at least includes or indicates the vehicle length of the vehicle with the assigned berth; According to the remaining berth space and the vehicle length of the allocated berth vehicle, a corresponding berth setting plan is adopted to redetermine a berth for the allocated berth vehicle in the remaining berth space, and the allocated berth information is updated using the redetermined berth information.

2. The method according to claim 1, characterized in that The obtaining of a first distance between an actual stop position of the target public bus after the target public bus stops at the station and a target position corresponding to the pre-allocated berth includes: After determining that the target bus is stopping at the station, a first distance between the actual stopping position of the target bus and a berth marking device corresponding to the pre-assigned berth is detected; the berth marking device is used to mark the berth.

3. The method according to claim 1 or 2, characterized in that If the first distance is greater than the deviation distance, determining the remaining berth space behind the target bus includes: If the first distance is greater than the deviation distance, a second distance between the nearest berth marking device behind the target bus and the rear edge of the current station is obtained, and the second distance is determined as the remaining berth space.

4. The method according to claim 1, wherein The method of re-determining a berth for the vehicle already assigned a berth in the remaining berth space by adopting a corresponding berth setting plan based on the remaining berth space and the vehicle length of the vehicle already assigned a berth, and updating the already assigned berth information by adopting the re-determined berth information, includes: If the current station is a station with multiple berth arrangement schemes, and according to the vehicle length of the allocated berth vehicle and the order in which the allocated berth vehicles enter the station, the remaining berth space can accommodate at least one of the allocated berth vehicles, then according to the order in which the allocated berth vehicles enter the station and the vehicle lengths that can be accommodated by the berths, a target berth arrangement scheme is determined from the multiple berth arrangement schemes, and based on the target berth arrangement scheme, berths are re-determined in sequence within the remaining berth space for the allocated berth vehicles, and the allocated berth information is updated using the re-determined berth information; If the current station is a station with a single berth setting plan, and based on the vehicle length of the allocated berth vehicle, the remaining berth space can accommodate at least one of the allocated berth vehicles according to the order in which the allocated berth vehicles enter the station, berths are re-determined for the allocated berth vehicles in turn within the remaining berth space according to the order in which the allocated berth vehicles enter the station and the vehicle lengths that the berths can accommodate, and the allocated berth information is updated using the re-determined berth information.

5. The method according to claim 1 or 4, characterized in that The method of re-determining a berth for the vehicle already assigned a berth in the remaining berth space by adopting a corresponding berth setting plan based on the remaining berth space and the vehicle length of the vehicle already assigned a berth, and updating the already assigned berth information by adopting the re-determined berth information, includes: If the remaining berth space cannot accommodate at least one of the allocated berth vehicles based on the vehicle length of the allocated berth vehicles and the order in which the allocated berth vehicles enter the station, the first vehicle among the allocated berth vehicles will be allocated to the front berth of the current station, and berths will be re-determined for the allocated berth vehicles after the front berth in accordance with the order in which the allocated berth vehicles enter the station and the vehicle length that the berth can accommodate, and the allocated berth information will be updated using the re-determined berth information.

6. The method according to claim 1, characterized in that The method further comprises: If there is no vehicle with a berth allocated after the target bus, the berth occupancy status information is updated.

7. The method according to claim 1, characterized in that The method further comprises: The allocated parking space information is transmitted to the allocated parking space vehicle so that the allocated parking space vehicle updates the allocated parking space information.

8. A fault-tolerant control device for berth allocation, characterized in that: The device comprises: A first obtaining unit is configured to obtain a first distance between an actual stop position of the target public bus and a target position corresponding to a pre-allocated berth after the target public bus stops at a station; a determining unit, configured to determine a remaining berth space behind the target bus if the first distance is greater than the deviation distance; A second acquiring unit is configured to acquire vehicle information of a vehicle with an assigned berth if there is a vehicle with an assigned berth behind the target bus, wherein the vehicle information at least includes or indicates the vehicle length of the vehicle with an assigned berth; The allocating unit is configured to adopt a corresponding berth setting plan according to the remaining berth space and the vehicle length of the allocated berth vehicle, redetermine a berth for the allocated berth vehicle in the remaining berth space, and update the allocated berth information with the redetermined berth information.

9. A fault-tolerant control device for berth allocation, characterized in that: include: 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 fault-tolerant control method in berth allocation according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the fault-tolerant control method in berth allocation according to any one of claims 1 to 7.