Shield door control method and device, electronic equipment and storage medium

By determining the target duration of the shield door based on the cycle number when receiving the non-opening and closing command from the vehicle controller and continuing to execute the command, the problem of the shield door not being fully opened or closed is solved, and the accuracy of the shield door control is improved to ensure that passengers get on and off the vehicle normally.

CN120465796APending Publication Date: 2025-08-12BEIJING URBAN CONSTR INTELLIGENT CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510648666.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

In the prior art, the accuracy of the shield door control is insufficient, resulting in passengers being unable to get on and off the train normally, especially when the shield door is not fully opened or closed after the train is stopped.

Method used

When receiving the current control command of the on-board controller is a non-open and closing command, the target duration for the shield door to execute the door opening or closing command is determined based on the cycle number corresponding to the current period and the last changed control command, and continue to execute the command when the target duration is less than the preset driving time to ensure that the shield door is fully opened or closed.

Benefits of technology

Improve the accuracy of screen door control, avoiding the situation where the screen door is not fully opened or closed, and ensuring that passengers can get on and off the vehicle normally.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120465796A_ABST
    Figure CN120465796A_ABST
Patent Text Reader

Abstract

The invention provides a platform screen door control method and device, electronic equipment and a storage medium, and relates to the technical field of control, the method comprises the following steps: when a current control command sent by a vehicle-mounted controller in a current period is received, and the current control command is a non-door opening and closing command, on the basis of a period number corresponding to the current period and a target period number, controlling the vehicle-mounted controller to open and close the door; the target duration of a first target command before the shielding door executes the current control command is determined, the target period number is a period number corresponding to a changed control command sent by the vehicle-mounted controller last time, and when it is determined that the target duration is smaller than a preset driving duration, the shielding door is controlled to continue to execute the first target command. The preset driving duration is the duration corresponding to complete opening or complete closing of the shielding door, so that the situation that the shielding door is not completely opened or closed is avoided, and the accuracy of shielding door control is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of control technology, and in particular to a screen door control method, device, electronic equipment and storage medium. Background Art

[0002] The subway's fully automatic vehicles, after stopping at a station, the onboard controller and interlocking system send platform frames through the train-ground network to control the automatic opening and closing of the platform screen doors, thereby improving operational efficiency.

[0003] In the related art, after a train enters the station and presses onto the platform rail, the onboard controller begins sending platform frames to the interlocking system, with the door opening and closing control commands set to the default values. When the train stops and the doors open, the onboard controller sends a door opening command to the interlocking system. Upon receiving the door opening command, the interlocking system drives the door opening relay to activate. Once the platform screen door system detects the door opening relay activating, the platform screen door begins to move. Once the platform screen door begins to move, the platform screen door status becomes non-closed, and the door closing relay drops, indicating safety. The interlocking system deems the platform screen door open or in the process of opening, and closes the exit signal, prohibiting the train from leaving the station. Furthermore, if the interlocking system deems the platform screen door open or in the process of opening, it sends a platform screen door opening message to the onboard controller. Upon receiving the platform screen door opening message, the onboard controller deems the platform screen door fully open, stops sending door opening commands to the interlocking system, and continues sending default value commands. Upon receiving the default value, the interlocking system stops driving the door opening relay, thereby completing control of the platform screen door.

[0004] However, in the above-mentioned related technologies, when the interlocking system detects that the door closing relay has fallen, the platform shield door may not be fully opened, or may be in the process of opening, or some of the multiple doors may be open. At this time, if the interlocking system stops driving the door opening relay, the platform shield door may not be fully opened, resulting in passengers being unable to get on and off the bus normally, reducing the accuracy of the platform shield door control. Summary of the Invention

[0005] The present invention provides a screen door control method, device, electronic equipment and storage medium, which are used to solve the defect of reducing the accuracy of screen door control in the prior art.

[0006] The present invention provides a screen door control method, comprising the following steps.

[0007] Upon receiving a current control command sent by the onboard controller in a current cycle, and the current control command is not a door opening or closing command, determining a target duration of a first target command before the platform screen door executes the current control command based on a cycle number corresponding to the current cycle and a target cycle number, the target cycle number being the cycle number corresponding to the last control command sent by the onboard controller that was changed, the first target command including a door opening command or a door closing command; When it is determined that the target duration is less than the preset driving duration, the platform screen door is controlled to continue to execute the first target command, and the preset driving duration is the duration corresponding to the platform screen door being fully opened or fully closed.

[0008] According to a platform screen door control method provided by the present invention, the method further includes: In a case where the control command received from the vehicle controller in a first cycle before the current cycle is a door opening / closing command, determining whether the control command sent in the first cycle is the same as the control command sent in a cycle before the first cycle; If it is determined that the control command sent in the first cycle is different from the control command sent in the previous cycle of the first cycle, the cycle number corresponding to the first cycle is determined as the target cycle number.

[0009] According to a platform screen door control method provided by the present invention, the method further includes: If it is determined that the control command sent in the first cycle is the same as the control command sent in the previous cycle of the first cycle, determining whether the control command of the previous cycle is the same as the control command of the cycle before the previous cycle; If it is determined that the control command of the previous cycle is different from the control command of the cycle before the previous cycle, determining the cycle number corresponding to the previous cycle as the target cycle number; When it is determined that the control command of the previous cycle is the same as the control command of the cycle before the previous cycle, determine the second cycles before the previous cycle that are consecutively the same as the control command of the previous cycle, and determine the cycle number corresponding to the first of the second cycles as the target cycle number.

[0010] According to a platform screen door control method provided by the present invention, the method further includes: When it is determined that the target duration is greater than or equal to the preset driving duration, the platform screen door is controlled to stop executing the first target command.

[0011] According to a platform screen door control method provided by the present invention, the method further includes: In a case where the current control command is a second target command, the screen door is controlled to execute the second target command, where the second target command includes a door opening command or a door closing command.

[0012] According to a platform screen door control method provided by the present invention, upon receiving a current control command sent by an onboard controller in a current cycle, and the current control command is not a door opening or closing command, determining a target duration for the platform screen door to execute a first target command based on a cycle number corresponding to the current cycle and a target cycle number, comprising: Upon receiving a current control command sent by the onboard controller in a current period, obtaining an identifier of the onboard controller from the current control command; When the identifier of the onboard controller is valid and the current control command is not a door opening or closing command, the target duration for the platform screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

[0013] According to a screen door control method provided by the present invention, determining a target duration for the screen door to execute a first target command based on a cycle number corresponding to the current cycle and a target cycle number includes: When it is determined that the target cycle number is greater than the initial cycle number value, a target duration for the screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

[0014] The present invention also provides a screen door control device, comprising: a first determining unit for, upon receiving a current control command sent by the onboard controller in a current cycle, and in the case that the current control command is not a door opening or closing command, determining, based on a cycle number corresponding to the current cycle and a target cycle number, a target duration of a first target command before the platform screen door executes the current control command, wherein the target cycle number is the cycle number corresponding to the last control command sent by the onboard controller that was changed, and the first target command includes a door opening command or a door closing command; The first control unit is used to control the shielding door to continue to execute the first target command when it is determined that the target duration is less than the preset driving duration, and the preset driving duration is the duration corresponding to the shielding door being fully opened or fully closed.

[0015] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-described screen door control methods when executing the computer program.

[0016] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the screen door control method described above is implemented.

[0017] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned screen door control methods.

[0018] The screen door control method, device, electronic device, and storage medium provided by the present invention, upon receiving a current control command sent by an onboard controller in a current cycle, which is not a door opening or closing command, determine a target duration for the screen door to execute a first target command before the current control command based on the cycle number corresponding to the current cycle and the target cycle number corresponding to the last control command sent by the onboard controller. If the target duration is less than a preset drive duration corresponding to the screen door being fully opened or fully closed, the screen door is controlled to continue executing the first target command. It can be seen that when the current control command is not a door opening or closing command, that is, a default value command, the present invention determines a target duration for the screen door to execute the door opening or closing command based on the cycle number corresponding to the current cycle and the target cycle number. If the target duration is less than the preset drive duration, it is determined that the screen door is not fully opened or fully closed. In this case, the screen door is controlled to continue executing the door opening or closing command, thereby avoiding the situation where the screen door is not fully opened or closed, thereby improving the accuracy of screen door control. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the present invention or the prior art, a brief introduction is given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 This is one of the flow charts of the platform shielding door control method provided by an embodiment of the present invention.

[0021] Figure 2 This is the second flow chart of the platform shielding door control method provided by the embodiment of the present invention.

[0022] Figure 3 This is the third flow chart of the platform shielding door control method provided by the embodiment of the present invention.

[0023] Figure 4 This is the fourth flow chart of the platform shielding door control method provided by the embodiment of the present invention.

[0024] Figure 5It is a schematic diagram of the overall flow of the platform shielding door control method provided by an embodiment of the present invention.

[0025] Figure 6 It is a structural diagram of a platform screen door control device provided by an embodiment of the present invention.

[0026] Figure 7 It is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0027] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the embodiments described are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the present invention.

[0028] The following combination Figure 1-Figure 5 The present invention describes a platform screen door control method. The method can be implemented by an electronic device such as an interlocking system (CI), or by a platform screen door control device provided within the electronic device. The platform screen door control device can be implemented by software, hardware, or a combination of both.

[0029] Figure 1 This is one of the flow charts of the screen door control method provided by the embodiment of the present invention, such as Figure 1 As shown, the platform screen door control method includes the following steps: Step 101: When a current control command is received from the vehicle-mounted controller in the current cycle, and the current control command is not a door opening or closing command, the target duration of the first target command before the shield door executes the current control command is determined based on the cycle number and target cycle number corresponding to the current cycle. The target cycle number is the cycle number corresponding to the last control command sent by the vehicle-mounted controller that has changed. The first target command includes a door opening command or a door closing command.

[0030] The interlocking system is a key component of the subway signaling system. Its primary function is to control and manage signals, switches, and routes along the line. It utilizes a two-by-two safety computer platform to ensure accurate interlocking control relationships between station equipment, select routes for trains operating within its control area, and ensure safe train operation. Platform screen doors, also known as platform doors or automatic doors, are safety devices installed at the edge of subway station platforms. Their primary function is to separate subway tracks from passenger waiting areas, enhancing passenger safety and the overall security of the subway system.

[0031] For example, after the train stops, when the interlocking system receives the current control command sent by the on-board controller in the current cycle, it parses the current control command. When it is determined that the current control command is not a door opening and closing command, that is, the current control command is a default value command, the target cycle number recorded when the on-board controller sent the changed control command last time is obtained, the difference between the cycle number corresponding to the current cycle and the target cycle number is calculated, and the product of the difference and the cycle length of each cycle is determined as the target duration of the first target command before the platform shield door executes the current control command. When the first target command is a door opening command, the target duration is the duration of the door opening command before the platform shield door executes the current control command; when the first target command is a door closing command, the target duration is the duration of the door closing command before the platform shield door executes the current control command.

[0032] Step 102: When it is determined that the target duration is less than a preset driving duration, control the screen door to continue executing the first target command, where the preset driving duration is the duration corresponding to when the screen door is fully opened or fully closed.

[0033] Among them, a preset driving time is pre-configured in the interlocking system, and the preset driving time is the time corresponding to the full opening or full closing of the platform shielding door. The preset driving time can be set based on the specific performance and requirements of the platform shielding door system, and the present invention does not limit this.

[0034] For example, taking the first target command as the door opening command, when obtaining the target duration of the door opening command before the shielding door executes the current control command, the target duration is compared with the preset driving duration. When the target duration is less than the preset driving duration, it means that although the interlocking system has received the default value command in the current cycle, the shielding door is not fully opened at this time. The interlocking system continues to drive the door opening relay, and controls the shielding door to continue opening through the door opening relay, thereby avoiding the situation where the shielding door stops driving the door opening relay before it is fully opened.

[0035] Taking the first target command as the door closing command as an example, when the target duration of the door closing command before the shielding door executes the current control command is obtained, the target duration is compared with the preset driving duration. When the target duration is less than the preset driving duration, it means that although the interlocking system has received the default value command in the current cycle, the shielding door is not completely closed at this time. In this case, the interlocking system continues to drive the door closing relay, and controls the shielding door to continue closing through the door closing relay, thereby avoiding the situation where the shielding door stops driving the door closing relay before it is completely closed.

[0036] The screen door control method provided by the present invention determines, in the case of a door closing command, a target duration for the screen door to execute a first target command before the current control command is executed based on the cycle number corresponding to the current cycle and the target cycle number corresponding to the last time the onboard controller received the current control command sent by the onboard controller in the current cycle, where the current control command was not an open command. If the target duration is less than a preset drive duration corresponding to the screen door being fully opened or fully closed, the screen door is controlled to continue executing the first target command. It can be seen that when the current control command is not a door opening or closing command, that is, a default value command, the present invention needs to determine the target duration for the screen door to execute the door opening or closing command based on the cycle number corresponding to the current cycle and the target cycle number. If the target duration is less than the preset drive duration, it is determined that the screen door is not fully opened or fully closed. In this case, the screen door is controlled to continue executing the door opening or closing command, thereby avoiding the situation where the screen door is not fully opened or closed. This solves the problem of occasional failure when the onboard controller and the interlocking system are linked to open or close the screen door, and improves the accuracy of screen door control.

[0037] In one embodiment, Figure 2 This is a second flow chart of the screen door control method provided by an embodiment of the present invention, such as Figure 2 As shown, before the above step 101, the platform screen door control method further includes the following steps: Step 201: When the control command received from the vehicle controller in the first cycle before the current cycle is a door opening and closing command, determine whether the control command sent in the first cycle is the same as the control command sent in the previous cycle of the first cycle.

[0038] For example, the interlocking system periodically obtains control commands sent by the onboard controller. If the control command sent by the onboard controller in the first cycle before the current cycle is a door opening and closing command, that is, a valid command, the control command sent by the onboard controller in the first cycle is compared with the control command sent by the onboard controller in the cycle before the first cycle to determine whether the control command sent in the first cycle is the same as the control command sent in the cycle before the first cycle. The first cycle here is the cycle in which the door opening and closing command was sent most recently before the current cycle.

[0039] Step 202: When it is determined that the control command sent in the first cycle is different from the control command sent in the previous cycle of the first cycle, determine the cycle number corresponding to the first cycle as the target cycle number.

[0040] For example, if it is determined that the control command sent in the first cycle is different from the control command sent in the cycle before the first cycle, it is determined that the control commands corresponding to the previous and subsequent cycles are inconsistent, and the cycle number corresponding to the first cycle is determined as the target cycle number, and the target cycle number is recorded as a variable. For example, if the control command sent by the onboard controller obtained by the interlocking system in cycle 1 is the default value command, the control command sent by the onboard controller obtained in cycle 2 is the default value command, and the control command sent by the onboard controller obtained in cycle 3 is a door opening command, which is different from the control command sent in cycle 2, then the recorded target cycle number is 3.

[0041] In this embodiment, when the control command received from the on-board controller in the first cycle before the current cycle is a door opening and closing command, and it is determined that the control command sent in the first cycle is different from the control command sent in the previous cycle of the first cycle, the cycle number corresponding to the first cycle is determined as the target cycle number and recorded, so that when the current control command received from the on-board controller in the current cycle is not a door opening and closing command, it is possible to determine whether the shield door is fully open or fully closed based on the target cycle number, so as to improve the accuracy of the shield door control.

[0042] In one embodiment, Figure 3 This is a flow chart of the third method for controlling a platform screen door provided by an embodiment of the present invention. Figure 3 As shown, after step 201, the platform screen door control method further includes the following steps: Step 203: When it is determined that the control command sent in the first cycle is the same as the control command sent in the previous cycle of the first cycle, determine whether the control command of the previous cycle is the same as the control command of the cycle before the previous cycle.

[0043] For example, when it is determined that the control command sent in the first cycle is the same as the control command sent in the previous cycle of the first cycle, it is determined that the control commands corresponding to the previous and next cycles are consistent. At this time, the control command of the previous cycle is compared with the control command of the previous cycle to determine whether the control command of the previous cycle is the same as the control command of the previous cycle.

[0044] Step 204: When it is determined that the control command of the previous cycle is different from the control command of the cycle before the previous cycle, the cycle number corresponding to the previous cycle is determined as the target cycle number.

[0045] For example, when it is determined that the control command of the previous cycle is different from the control command of the cycle before the previous cycle, it means that the control command of the previous cycle is a changed control command. At this time, the cycle number corresponding to the previous cycle is determined as the target cycle number for recording. For example, the control command sent by the on-board controller obtained by the interlocking system in cycle 1 is the default value command; the control command sent by the on-board controller obtained in cycle 2 is the default value command; the control command sent by the on-board controller obtained in cycle 3 is the door opening command, which is different from the control command sent in cycle 2, so the recorded target cycle number is 3; the control command sent by the on-board controller obtained in cycle 4 is the door opening command, which is the same as the control command sent in cycle 3, so the recorded target cycle number is 3; the control command sent by the on-board controller obtained in cycle 5 is the default value command. Assuming that the current cycle is cycle 5, the first cycle is cycle 4, the previous cycle of the first cycle is cycle 3, and the previous cycle of the previous cycle is cycle 2. Since the control command of cycle 3 is different from the control command of cycle 2, the cycle number 3 corresponding to cycle 3 is determined as the target cycle number.

[0046] Step 205: When it is determined that the control command of the previous cycle is the same as the control command of the cycle before the previous cycle, determine each second cycle before the previous cycle that has the same control command as the previous cycle, and determine the cycle number corresponding to the first of the second cycles as the target cycle number.

[0047] For example, when it is determined that the control command of the previous cycle is the same as the control command of the cycle before the previous cycle, it means that the control command of the previous cycle is not the control command that has just started to change, then further determine the second cycles before the previous cycle that are consecutively the same as the control command of the previous cycle, and determine the cycle number corresponding to the first second cycle as the target cycle number for recording. For example, the control command sent by the on-board controller obtained by the interlocking system in cycle 1 is the default value command; the control command sent by the on-board controller obtained in cycle 2 is the default value command; the control command sent by the on-board controller obtained in cycle 3 is the door opening command, which is different from the control command sent in cycle 2, then the recorded target cycle number is 3; the control command sent by the on-board controller obtained in cycle 4 is the door opening command, which is the same as the control command sent in cycle 3, then the recorded target cycle number is 3; the control command sent by the on-board controller obtained in cycle 5 is the door opening command, which is the same as the control command sent in cycle 4, then The target cycle number recorded is 3. The control command sent by the onboard controller obtained in cycle 6 is a door open command, which is the same as the control command sent in cycle 5. Therefore, the target cycle number recorded is 3. The control command sent by the onboard controller obtained in cycle 7 is the default value command. Assuming that the current cycle is cycle 7, the first cycle is cycle 6, the previous cycle of the first cycle is cycle 5, and the cycle before the previous cycle is cycle 4. It is determined that the second cycles before the previous cycle with the same control command as the previous cycle include cycles 3 and 4. The cycle number corresponding to cycle 3 is determined as the target cycle number for recording. Here, the first second cycle refers to the second cycle with the smallest cycle number.

[0048] It should be noted that when it is determined that the number of second cycles with the same control command as the previous cycle before the previous cycle is one, the cycle number corresponding to the second cycle is determined as the target cycle number, which will not be elaborated in detail in the present invention.

[0049] In one embodiment, when the control command received from the vehicle controller in the first cycle before the current cycle is a door opening and closing command, and it is determined that the control command sent in the first cycle is the same as the control command sent in the previous cycle of the first cycle, it is determined whether the control command of the previous cycle is the same as the control command of the previous cycle; when it is determined that the control command of the previous cycle is not the same as the control command of the previous cycle, the cycle number corresponding to the previous cycle is determined as the target cycle number; when it is determined that the control command of the previous cycle is the same as the control command of the previous cycle of the previous cycle, each second cycle before the previous cycle that is consecutively the same as the control command of the previous cycle is determined, and the cycle number corresponding to the first second cycle is determined as the target cycle number, so that when the current control command received from the vehicle controller in the current cycle is not a door opening and closing command, whether the shield door is fully opened or fully closed is determined based on the target cycle number, so as to improve the accuracy of shield door control.

[0050] In one embodiment, Figure 4 This is a fourth flow chart of the screen door control method provided by an embodiment of the present invention, as shown in FIG. Figure 4 As shown, after the above step 101, the platform screen door control method further includes the following steps: Step 103: When it is determined that the target duration is greater than or equal to the preset driving duration, control the platform screen door to stop executing the first target command.

[0051] For example, taking the first target command as the door opening command, when obtaining the target duration of the door opening command before the shielding door executes the current control command, the target duration is compared with the preset driving duration. When it is determined that the target duration is greater than or equal to the preset driving duration, it means that the shielding door is now fully opened, and the interlocking system stops driving the door opening relay.

[0052] Taking the first target command as the door closing command as an example, when the target duration of the door closing command before the shielding door executes the current control command is obtained, the target duration is compared with the preset driving duration. When it is determined that the target duration is greater than or equal to the preset driving duration, it means that the shielding door is now completely closed, and the interlocking system stops driving the door closing relay.

[0053] In this embodiment, when it is determined that the target duration is greater than or equal to the preset driving duration, the platform screen door is controlled to stop executing the first target command to determine the accuracy of the platform screen door control.

[0054] In one embodiment, the platform screen door control method further includes the following steps: In a case where the current control command is a second target command, the screen door is controlled to execute the second target command, where the second target command includes a door opening command or a door closing command.

[0055] For example, after the train has come to a complete stop, the interlocking system receives a current control command from the onboard controller in the current cycle. The interlocking system parses the current control command and, if it determines that the current control command is a door-opening command, directly controls the platform screen door to execute the door-opening command to open the platform screen door. If it determines that the current control command is a door-closing command, the interlocking system directly controls the platform screen door to execute the door-closing command to close the platform screen door.

[0056] In this embodiment, when the current control command is the second target command, the platform screen door is controlled to execute the second target command to ensure the correct execution of the second target command and improve the safety of train operation.

[0057] In one embodiment, when a current control command sent by the vehicle controller in a current cycle is received and the current control command is not a door opening or closing command, step 101 determines the target duration for the platform screen door to execute the first target command based on the cycle number corresponding to the current cycle and the target cycle number. This can be specifically implemented in the following manner: When the current control command sent by the on-board controller in the current cycle is received, the identifier of the on-board controller is obtained in the current control command; when the identifier of the on-board controller is valid and the current control command is not a door opening or closing command, the target duration for the shielding door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

[0058] For example, upon receiving a current control command sent by an onboard controller in a current cycle, the current control command is parsed, and an identifier of the onboard controller is extracted from the current control command. The identifier of the onboard controller may be a number or name that uniquely identifies the onboard controller. The identifier of the onboard controller is compared with identifiers in a database. If the onboard controller identifier is not included in the database, the onboard controller identifier is determined to be invalid, and the current control command sent by the onboard controller is an invalid command. The interlocking system then sets the current control command to invalid, leading to safety. If the onboard controller identifier is included in the database, the onboard controller identifier is determined to be valid, and the current control command sent by the onboard controller is a valid command. If the current control command is not a door opening or closing command, a target duration for the screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

[0059] In this embodiment, when the identification of the on-board controller is valid and the current control command is not a door opening or closing command, the target duration for the shielding door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number, and the validity of the identification of the on-board controller is verified. Only when the identification of the on-board controller is valid, the current control command is operated to ensure the safety of the shielding door control.

[0060] In one embodiment, in step 101, the target duration for the screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number. This can be specifically achieved by: When it is determined that the target cycle number is greater than the initial cycle number value, a target duration for the screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

[0061] For example, when the current control command sent by the vehicle controller in the current cycle is received and the current control command is not a door opening or closing command, the previously recorded target cycle number is obtained, and the target cycle number is compared with the initial value of the cycle number. The initial value of the cycle number here can be set based on demand. Normally, the initial value of the cycle number is 0. Taking the initial value of the cycle number as 0 as an example, the target cycle number is compared with 0. When it is determined that the target cycle number is greater than 0, the recorded target cycle number is determined to be a valid cycle number. Based on the cycle number corresponding to the current cycle and the target cycle number, the target duration for the shielding door to execute the first target command is determined; when it is determined that the target cycle number is equal to 0, the recorded target cycle number is determined to be an invalid cycle number, and the shielding door is controlled to continue to execute the first target command.

[0062] In this embodiment, when it is determined that the target cycle number is greater than the initial value of the cycle number, the target duration for the shielding door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number to ensure the accuracy of the target duration determination and further improve the accuracy of the shielding door control.

[0063] Figure 5 FIG. 1 is a schematic diagram of the overall flow of the platform screen door control method provided by an embodiment of the present invention. Figure 5 As shown, the platform screen door control method includes the following steps: Step 501: Determine whether the control command sent by the vehicle controller in the first cycle before the current cycle is a door opening and closing command; Step 502: When the control command sent in the first cycle is a door opening / closing command, the control command sent in the first cycle is compared with the control command sent in the previous cycle of the first cycle.

[0064] Step 503: Determine whether the control command sent in the first cycle is the same as the control command sent in the previous cycle of the first cycle.

[0065] Step 504: When it is determined that the control command sent in the first cycle is different from the control command sent in the previous cycle of the first cycle, the cycle number corresponding to the first cycle is determined as the target cycle number for recording.

[0066] Step 505: If it is determined that the control command sent in the first cycle is the same as the control command sent in the previous cycle, the cycle number is not updated, that is, the cycle number corresponding to the changed control command sent by the vehicle controller last time is determined as the target cycle number for recording.

[0067] Step 506: When the control command received from the vehicle controller in the first cycle before the current cycle is not a door opening or closing command, determine whether the vehicle identification of the vehicle controller is valid. If the vehicle identification is valid, execute step 507; if the vehicle identification is invalid, execute step 516.

[0068] Step 507: Obtain the current control command sent by the vehicle controller in the current cycle, and determine whether the current control command is a door opening / closing command.

[0069] The door opening and closing command can be understood as a door opening command or a door closing command.

[0070] Step 508: When it is determined that the current control command is a door opening command, execute step 509.

[0071] Step 509: Control the screen door to execute the door opening command, that is, keep the door open.

[0072] Step 510: When it is determined that the current control command is a door closing command, execute step 511.

[0073] Step 511: Control the screen door to execute the door closing command, that is, keep the door closed.

[0074] Step 512: When it is determined that the current control command sent in the current cycle is not a door opening or closing command, obtain the previously recorded target cycle number and determine whether the target cycle number is greater than the initial value of the cycle number.

[0075] Step 513: When the target cycle number is greater than the initial cycle number, based on the cycle number corresponding to the current cycle and the target cycle number, determine the target duration of the first target command before the shielding door executes the current control command, and compare the target duration with the preset driving duration to determine whether it has timed out.

[0076] Step 514: When the target duration is less than the preset driving duration and it is determined that the time has not expired, the platform screen door is controlled to continue executing the first target command, that is, to maintain the previous command.

[0077] Step 515: When the target duration is greater than or equal to the preset driving duration, it is determined that timeout has occurred, and the screen door is controlled to stop executing the first target command, that is, the driving command is set to be invalid.

[0078] Step 516: Set the drive command to be invalid and guide to safety.

[0079] The screen door control method provided by an embodiment of the present invention determines a target duration for the screen door to execute a door opening command or a door closing command based on a cycle number corresponding to a current cycle and a target cycle number when a current control command is not a door opening or closing command, that is, a default value command. If the target duration is less than a preset driving duration, it is determined that the screen door is not fully opened or fully closed. In this case, the screen door is controlled to continue executing the door opening or closing command, thereby avoiding the situation where the screen door is not fully opened or closed, thereby improving the accuracy of screen door control. Furthermore, if a control command received from an onboard controller in a first cycle before the current cycle is a door opening or closing command, and it is determined that the control command sent in the first cycle is different from the control command sent in the cycle before the first cycle, the cycle number corresponding to the first cycle is determined as the target cycle number and recorded. This facilitates determining whether the screen door is fully opened or fully closed based on the target cycle number when a current control command received from the onboard controller in the current cycle is not a door opening or closing command. If the target duration is determined to be greater than or equal to the preset driving duration, the screen door is controlled to stop executing the first target command, thereby further improving the accuracy of screen door control.

[0080] The platform screen door control device provided by the present invention is described below. The platform screen door control device described below and the platform screen door control method described above can be referenced to each other.

[0081] Figure 6 FIG. 1 is a schematic structural diagram of a screen door control device according to an embodiment of the present invention. Figure 6 As shown, the screen door control device 600 includes a first determination unit 601 and a first control unit 602; wherein: The first determining unit 601 is configured to, upon receiving a current control command sent by the vehicle controller in a current cycle, and the current control command is not a door opening or closing command, determine, based on a cycle number corresponding to the current cycle and a target cycle number, a target duration of a first target command before the platform screen door executes the current control command, wherein the target cycle number is the cycle number corresponding to the last control command sent by the vehicle controller that was changed, and the first target command includes a door opening command or a door closing command; The first control unit 602 is used to control the shielding door to continue executing the first target command when it is determined that the target duration is less than the preset driving duration, and the preset driving duration is the duration corresponding to the shielding door being fully opened or fully closed.

[0082] The screen door control device provided by the present invention, upon receiving a current control command sent by an onboard controller in a current cycle, and the current control command is not a door opening or closing command, determines a target duration for the screen door to execute a first target command before the current control command based on the cycle number corresponding to the current cycle and the target cycle number corresponding to the last control command sent by the onboard controller. If the target duration is less than a preset drive duration corresponding to the screen door being fully opened or fully closed, the screen door is controlled to continue executing the first target command. It can be seen that when the current control command is not a door opening or closing command, that is, a default value command, the present invention determines a target duration for the screen door to execute the door opening or closing command based on the cycle number corresponding to the current cycle and the target cycle number. If the target duration is less than the preset drive duration, it is determined that the screen door is not fully opened or fully closed, and the screen door is controlled to continue executing the door opening or closing command, thereby avoiding the situation where the screen door is not fully opened or closed, thereby improving the accuracy of screen door control.

[0083] In one embodiment, the screen door control device 600 further includes: a second determining unit, configured to, when receiving a control command sent by the onboard controller in a first cycle before the current cycle that is a door opening / closing command, determine whether the control command sent in the first cycle is the same as the control command sent in the cycle before the first cycle; The third determining unit is configured to determine the cycle number corresponding to the first cycle as the target cycle number when it is determined that the control command sent in the first cycle is different from the control command sent in the previous cycle of the first cycle.

[0084] In one embodiment, the screen door control device 600 further includes: a fourth determining unit, configured to, when it is determined that the control command sent in the first cycle is the same as the control command sent in the cycle before the first cycle, determine whether the control command in the previous cycle is the same as the control command in the cycle before the previous cycle; a fifth determining unit, configured to, if it is determined that the control command of the previous cycle is different from the control command of the cycle before the previous cycle, determine the cycle number corresponding to the previous cycle as the target cycle number; The sixth determination unit is used to determine each second cycle before the previous cycle that has the same control command as the previous cycle when it is determined that the control command of the previous cycle is the same as the control command of the previous cycle, and determine the cycle number corresponding to the first of the second cycles as the target cycle number.

[0085] In one embodiment, the screen door control device 600 further includes: The second control unit is configured to control the platform shielding door to stop executing the first target command when it is determined that the target duration is greater than or equal to the preset driving duration.

[0086] In one embodiment, the screen door control device 600 further includes: The third control unit is used to control the screen door to execute the second target command when the current control command is the second target command, and the second target command includes an open door command or a close door command.

[0087] In one embodiment, the first determining unit 601 is specifically configured to: Upon receiving a current control command sent by the onboard controller in a current period, obtaining an identifier of the onboard controller from the current control command; When the identifier of the onboard controller is valid and the current control command is not a door opening or closing command, the target duration for the platform screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

[0088] In one embodiment, the first determining unit 601 is further specifically configured to: When it is determined that the target cycle number is greater than the initial cycle number value, a target duration for the screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

[0089] Figure 7 FIG is a schematic diagram of the physical structure of an electronic device provided by an embodiment of the present invention, such as Figure 7 As shown, the electronic device may include: a processor 710, a communications interface 720, a memory 730, and a communication bus 740, wherein the processor 710, the communications interface 720, and the memory 730 communicate with each other via the communication bus 740. The processor 710 may call logic instructions in the memory 730 to execute a screen door control method, the method comprising: upon receiving a current control command sent by an onboard controller in a current cycle, and the current control command is not a door opening or closing command, determining, based on a cycle number corresponding to the current cycle and a target cycle number, a target duration of a first target command before the screen door executes the current control command, the target cycle number being the cycle number corresponding to the last control command sent by the onboard controller that changed, the first target command including a door opening command or a door closing command; When it is determined that the target duration is less than the preset driving duration, the platform screen door is controlled to continue to execute the first target command, and the preset driving duration is the duration corresponding to the platform screen door being fully opened or fully closed.

[0090] Furthermore, the logic instructions in the aforementioned memory 730 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product, stored in a storage medium, includes instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0091] On the other hand, the present invention further provides a computer program product, comprising a computer program, which may be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer is capable of executing the platform screen door control method provided by each of the above methods, the method comprising: upon receiving a current control command sent by an onboard controller in a current cycle, and the current control command is not a door opening or closing command, determining, based on a cycle number corresponding to the current cycle and a target cycle number, a target duration of a first target command before the platform screen door executes the current control command, the target cycle number being the cycle number corresponding to the last control command sent by the onboard controller that changed, the first target command including a door opening command or a door closing command; When it is determined that the target duration is less than the preset driving duration, the platform screen door is controlled to continue to execute the first target command, and the preset driving duration is the duration corresponding to the platform screen door being fully opened or fully closed.

[0092] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the platform screen door control method provided by each of the above methods, the method comprising: upon receiving a current control command sent by an onboard controller in a current cycle, and the current control command is not a door opening or closing command, determining, based on a cycle number corresponding to the current cycle and a target cycle number, a target duration of a first target command before the platform screen door executes the current control command, the target cycle number being the cycle number corresponding to the last control command sent by the onboard controller that changed, the first target command including a door opening command or a door closing command; When it is determined that the target duration is less than the preset driving duration, the platform screen door is controlled to continue to execute the first target command, and the preset driving duration is the duration corresponding to the platform screen door being fully opened or fully closed.

[0093] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, i.e., they may be located in one location or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.

[0094] Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a necessary general-purpose hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.

[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A screen door control method, characterized in that: include: Upon receiving a current control command sent by the onboard controller in a current cycle, and the current control command is not a door opening or closing command, determining a target duration of a first target command before the platform screen door executes the current control command based on a cycle number corresponding to the current cycle and a target cycle number, the target cycle number being the cycle number corresponding to the last control command sent by the onboard controller that was changed, the first target command including a door opening command or a door closing command; When it is determined that the target duration is less than the preset driving duration, the platform screen door is controlled to continue to execute the first target command, and the preset driving duration is the duration corresponding to the platform screen door being fully opened or fully closed.

2. The platform screen door control method according to claim 1, characterized in that: The method further comprises: In a case where the control command received from the vehicle controller in a first cycle before the current cycle is a door opening / closing command, determining whether the control command sent in the first cycle is the same as the control command sent in a cycle before the first cycle; If it is determined that the control command sent in the first cycle is different from the control command sent in the previous cycle of the first cycle, the cycle number corresponding to the first cycle is determined as the target cycle number.

3. The platform screen door control method according to claim 2, wherein: The method further comprises: If it is determined that the control command sent in the first cycle is the same as the control command sent in the previous cycle of the first cycle, determining whether the control command of the previous cycle is the same as the control command of the cycle before the previous cycle; If it is determined that the control command of the previous cycle is different from the control command of the cycle before the previous cycle, determining the cycle number corresponding to the previous cycle as the target cycle number; When it is determined that the control command of the previous cycle is the same as the control command of the cycle before the previous cycle, determine the second cycles before the previous cycle that are consecutively the same as the control command of the previous cycle, and determine the cycle number corresponding to the first of the second cycles as the target cycle number.

4. The platform screen door control method according to claim 1, wherein: The method further comprises: When it is determined that the target duration is greater than or equal to the preset driving duration, the platform screen door is controlled to stop executing the first target command.

5. The platform screen door control method according to claim 1, wherein: The method further comprises: In a case where the current control command is a second target command, the screen door is controlled to execute the second target command, where the second target command includes a door opening command or a door closing command.

6. The platform screen door control method according to claim 1, characterized in that: The method includes, when receiving a current control command sent by the vehicle controller in a current cycle and the current control command is not a door opening or closing command, determining a target duration for the platform screen door to execute the first target command based on a cycle number corresponding to the current cycle and a target cycle number, comprising: Upon receiving a current control command sent by the onboard controller in a current period, obtaining an identifier of the onboard controller from the current control command; When the identifier of the onboard controller is valid and the current control command is not a door opening or closing command, the target duration for the platform screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

7. The platform screen door control method according to any one of claims 1 to 6, characterized in that: The step of determining a target duration for the platform screen door to execute the first target command based on the cycle number corresponding to the current cycle and the target cycle number includes: When it is determined that the target cycle number is greater than the initial cycle number value, a target duration for the platform screen door to execute the first target command is determined based on the cycle number corresponding to the current cycle and the target cycle number.

8. A screen door control device, characterized in that: include: a first determining unit for, upon receiving a current control command sent by the onboard controller in a current cycle, and in the case that the current control command is not a door opening or closing command, determining, based on a cycle number corresponding to the current cycle and a target cycle number, a target duration of a first target command before the platform screen door executes the current control command, wherein the target cycle number is the cycle number corresponding to the last control command sent by the onboard controller that was changed, and the first target command includes a door opening command or a door closing command; The first control unit is used to control the shielding door to continue to execute the first target command when it is determined that the target duration is less than the preset driving duration, and the preset driving duration is the duration corresponding to the shielding door being fully opened or fully closed.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the platform shielding door control method according to any one of claims 1 to 7 is implemented.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the platform screen door control method according to any one of claims 1 to 7 is implemented.

11. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the platform screen door control method according to any one of claims 1 to 7 is implemented.