Disclosure of Invention
The invention aims to provide a method, a system and equipment for detecting the logic of a pedestrian passageway gate and a computer readable storage medium, which improve the efficiency of detecting the logic of the pedestrian passageway gate.
In order to achieve the aim, the invention provides reclosing control equipment which comprises a guide rail sliding table, a testing body and a controller, wherein the testing body is arranged on the guide rail sliding table;
the guide rail sliding table is arranged between gate machines on two sides of the pedestrian passageway gate;
the test body is positioned in the track of the guide rail sliding table;
the controller is fixed in the one end of guide rail slip table for control the test body is followed the guide rail slip table passes through people's bank of china banister.
Wherein, the guide rail slipway is parallel with the floodgate machine.
In order to achieve the above object, the present invention provides a reclosing control method, which is applied to the above pedestrian passageway gate logic detection device, and the logic detection method includes:
the method comprises the following steps that a controller obtains a pass logic and converts the pass logic into a control program;
the controller controls the test body to pass through the pedestrian crosswalk gate along the guide rail sliding table by using the control program;
and the controller obtains a logic detection result according to the integrity of the test body.
Wherein the traffic logic includes at least any one of normal traffic, slow traffic, fast traffic, traffic linger, post-traffic turn-around, or reverse traffic.
Wherein the controller obtains pass logic comprising:
and the controller acquires the passing logic through the induction device on the pedestrian passageway gate.
Wherein the sensing device comprises an infrared sensor.
Wherein converting the pass logic into a control program comprises:
and converting the pass logic into displacement information and/or speed information of the test body.
Wherein, if the test body is filled with gas, the controller obtains a logic detection result according to the integrity of the test body, and the logic detection result comprises the following steps:
the controller judges whether the gas pressure in the test body changes or not by using the pressure sensor;
if not, obtaining a qualified detection result of the pedestrian passage gate.
In order to achieve the above object, the present invention provides a reclosing control system, including:
the acquisition module is used for acquiring the traffic logic and converting the traffic logic into a control program;
the control module is used for controlling the test body to pass through the pedestrian crosswalk gate along the guide rail sliding table by utilizing the control program;
and the detection module is used for obtaining a logic detection result according to the integrity of the test body.
To achieve the above object, the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the above pedestrian gateway logic detection method.
According to the scheme, the logic detection equipment for the pedestrian passageway gate comprises a guide rail sliding table, a test body and a controller; the guide rail sliding table is arranged between gate machines on two sides of the pedestrian passageway gate; the test body is positioned in the track of the guide rail sliding table; the controller is fixed in the one end of guide rail slip table for control the test body is followed the guide rail slip table passes through people's bank of china banister.
According to the logic detection equipment for the pedestrian passageway gate, the controller is used for decomposing the logic function of the pedestrian passageway gate of the electric control entrance and exit, the testing body is controlled to pass through the pedestrian crosswalk gate along the guide rail sliding table, and the function verification is executed through the integrity of the testing body. The invention also discloses a pedestrian passageway gate logic detection method and system and a computer readable storage medium, and the technical effects can be realized.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses pedestrian passageway gate logic detection equipment, which improves the logic detection efficiency of a pedestrian passageway gate.
Referring to fig. 1 and 2, fig. 1 is a side view of a pedestrian passageway gate logic detection apparatus disclosed in an embodiment of the present invention, and fig. 2 is an application diagram of the pedestrian passageway gate logic detection apparatus disclosed in the embodiment of the present invention, as shown in fig. 1, including a guide rail sliding table 100, a test body 200, and a controller 300;
the guide rail sliding table 100 is arranged between gate machines on two sides of the pedestrian passageway gate;
the test body 200 is positioned in the track of the guide rail sliding table 100;
the controller 300 is fixed to one end of the guide rail sliding table 100, and is configured to control the testing body 200 to pass through the pedestrian passageway gate along the guide rail sliding table 100.
In the specific implementation, the detection device 400 is arranged on the gate machines on both sides of the pedestrian passageway gate, and the guide rail sliding table is arranged between the gate machines, the specific position of the guide rail sliding table is not limited, as long as the testing sports gate machines in the guide rail sliding table are ensured not to interfere with each other, and the central ground of the gate machines on both sides is preferred. The controller can judge whether the logic of the pedestrian passage gate is complete according to the integrity of the test body after passing through the pedestrian crossing gate.
It should be noted that, as a preferred embodiment, the guide rail sliding table is parallel to the gate machine.
According to the logic detection equipment for the pedestrian passageway gate, the controller is used for decomposing the logic function of the pedestrian passageway gate of the electric control entrance and exit, the testing body is controlled to pass through the pedestrian crosswalk gate along the guide rail sliding table, and the function verification is executed through the integrity of the testing body.
The embodiment of the invention discloses a pedestrian passageway gate logic detection method, which comprises the following specific steps:
referring to fig. 3, a flowchart of a method for detecting a pedestrian passageway gate logic according to an embodiment of the present invention is shown in fig. 3, and includes:
s301: the method comprises the following steps that a controller obtains a pass logic and converts the pass logic into a control program;
in a specific implementation, the controller may obtain the traffic logic through a sensing device 400 on the pedestrian passageway gate, where the sensing device includes a sensor such as an infrared sensor, which is not specifically limited herein, and a person skilled in the art may flexibly select the traffic logic according to actual situations.
The traffic logic may include normal traffic, slow traffic, fast traffic, transit linger, turn-back or reverse traffic, and the like, and may also include other traffic logics, which may be supplemented by experience of those skilled in the art, and is not limited specifically herein.
Specifically, normal passing is that the running speed of the testing body is within a preset range, slow passing is that the running speed of the testing body is smaller than the preset range, fast passing is that the running speed of the testing body is larger than the preset range, passing lingers for the testing body to stay at a gate for a preset time, after passing, the testing body is turned back to return to an initial position or any position in the midway after passing through the gate, and reverse passing is that the testing body moves from an end position to the initial position. The preset range and the preset value are not specifically limited, and those skilled in the art can flexibly set the range and the preset value according to actual situations.
And converting the pass logic into a control program, namely representing the pass logic as the displacement information and/or the speed information of the test body, and writing the pass logic into the control program. It will be appreciated that the velocity information may include the vector velocity and acceleration of the test body. The writing of a single pass logic control program can be simplified to set different motion parameters of the test body, and it is understood that the motion parameters can include displacement direction, velocity and acceleration. And after the control program of the single pass logic is converted, sequentially operating a plurality of pass logic control programs.
For example, for normal traffic, slow traffic and fast traffic, the motion parameters of the test body can be set according to the normal walking speed (0.4m/s-1.8m/s) of a general user, namely, the displacement direction of the test body is set to be from the initial position to the end position during normal traffic, and the speed is set to be any value within 0.8m/s-1.4 m/s; when the vehicle slowly passes through, the displacement direction of the test body is set to be from the initial position to the end position, and the speed is set to be any value within 0.4m/s-0.8 m/s; when the vehicle passes quickly, the displacement direction of the test body is set to be from the starting position to the end position, and the speed is set to be any value within 1.4m/s-1.8m/s, so that the acceleration value can be specifically set by a person skilled in the art according to the length from the starting position to the end position.
For the passage stay, the speed at the moment can be set by combining the speed values under different conditions, the displacement direction is set to be from the initial position to the final position, and the test body is set to stop for preset time in the anti-pinch area of the gate, wherein the preset time can be set according to the default value of the opening of the gate and is generally less than 5 s. For the turn-back after passing, the speed at the time can be set by combining the speed values under different conditions, the displacement direction is set to be from the initial position to the final position, and the initial position is returned when the protection area is reached or the protection area is not reached.
It can be understood that the starting position of the pedestrian passageway gate is provided with an authentication device, and the gate is opened after the user passes the authentication. The reverse pass logic described above occurs when the user at the home location verifies that other users have entered the gateway through the destination location. The gate is set to be opened, and the displacement direction of the test body is from the end position to the initial position. The single pass logic may also include break-in, i.e., the passage of the test body through the gate when the gate is not open, and one skilled in the art may flexibly set the speed and direction of displacement to be tested.
It should be noted that the starting position and the ending position are not fixed, and those skilled in the art can interchange or move to the appropriate positions according to the actual situation.
S302: the controller controls the test body to pass through the pedestrian crosswalk gate along the guide rail sliding table by using the control program;
after the control program converts the pass logic into the control program, the control program controls the test body to pass through the pedestrian crosswalk gate in the running state represented by the control program, so that the logic detection result is obtained in the subsequent steps.
S303: and the controller obtains a logic detection result according to the integrity of the test body.
It should be noted that there are various ways to obtain the logic detection result according to the integrity of the test object, and this embodiment is not particularly limited. For example, if the test body is filled with gas, the pressure sensor may be used to determine whether the pressure of the gas in the test body changes, so as to perform logic detection on the passgate, and of course, the detection result may also be represented by detecting whether the test body leaks gas.
It can be understood that, in order to ensure the accuracy and validity of the logic detection result, each pass logic needs to be tested multiple times, i.e. the tester needs to pass through the pedestrian passageway gate multiple times with the same pass logic. The different speed values of each pass logic also need to be tested multiple times, namely, the control program is operated circularly, for example, for the pass logic is normal pass, the different speed values within the preset range need to be tested multiple times. The test speed of each pass logic and each speed value is not specifically limited, and can be flexibly set by a person skilled in the art.
And when the tests are completely finished, obtaining a logic detection result according to the probability of whether the pedestrian crossing gate logic is qualified or not. That is, the probability of the logic normal operation of the pedestrian crossing barrier reaches the preset standard, which indicates that the logic of the pedestrian crossing barrier is qualified. The preset standard is not specifically limited herein, and those skilled in the art can flexibly set the preset standard according to actual situations.
According to the logic detection method for the pedestrian passageway gate, the controller is used for decomposing the logic function of the pedestrian passageway gate of the electric control entrance and exit, the testing body is controlled to pass through the pedestrian crosswalk gate along the guide rail sliding table, and the function verification is executed through the integrity of the testing body.
In the following, a pedestrian passageway gate logic detection system provided by an embodiment of the present invention is introduced, and a pedestrian passageway gate logic detection system described below and a pedestrian passageway gate logic detection method described above may be referred to each other.
Referring to fig. 4, a structural diagram of a pedestrian passageway gate logic detection system according to an embodiment of the present invention is shown in fig. 4, and includes:
an obtaining module 401, configured to obtain a pass logic, and convert the pass logic into a control program;
the control module 402 is used for controlling the test body to pass through the pedestrian crossing barrier along the guide rail sliding table by using the control program;
a detection module 403, configured to obtain a logic detection result according to the integrity of the test object.
According to the logic detection system for the pedestrian passageway gate, the controller is used for decomposing the logic function of the pedestrian passageway gate of the electric control entrance and exit, the testing body is controlled to pass through the pedestrian crosswalk gate along the guide rail sliding table, and the function verification is executed through the integrity of the testing body.
On the basis of the above embodiment, as a preferred implementation manner, the obtaining module is specifically a module that obtains a passing logic through a sensing device on the pedestrian passageway gate, and converts the passing logic into a control program.
On the basis of the foregoing embodiment, as a preferred implementation manner, the obtaining module is specifically a module that obtains a pass logic, and converts the pass logic into displacement information and/or velocity information of the test body.
On the basis of the above embodiment, as a preferred implementation manner, if the test body is filled with gas, the detection module specifically determines whether the pressure of the gas in the test body changes by using a pressure sensor; and if not, obtaining a qualified detection result of the pedestrian passageway gate.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, may implement the steps provided by the above-described embodiments. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.