Traffic control device and method
By counting the trigger data of the infrared module and automatically blocking the signal of the faulty module, the problem of the gate failing to work normally due to the abnormality of the infrared module is solved, and automated abnormal handling and stable traffic control are realized.
Patent Information
- Application Number
- CN202411909589.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2044-12-23
AI Technical Summary
After a long period of use, the infrared module has abnormalities due to environmental factors, resulting in the failure to open and close the gate normally and affecting personnel passage.
The controller counts the trigger data of the target infrared module in different states of the gate, and then identifies the fault condition and blocks its feedback signal, and controls the gate opening and closing based on the infrared module that is not blocked.
It realizes automatic identification and shielding of abnormal infrared modules to avoid affecting personnel passage logic, reduces the need for manpower detection, and ensures the stable operation of the passage control system.
Smart Images

Figure CN119360486B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of access control technology, and in particular to a passage control device and method. Background Art
[0002] Some access control devices equipped with infrared modules, such as infrared modules installed on personnel access channels, undertake important functions such as access detection, behavior detection, and safety detection. When the infrared module is used for a long time, it will be affected by various complex environmental factors and become abnormal, which will affect the judgment logic of the personnel access channel, resulting in the gate in the personnel access channel being unable to open and close normally, that is, the situation where the passage of personnel cannot be detected normally occurs. Summary of the invention
[0003] The present application provides a passage control device and method for solving the problem that a gate cannot work normally when an infrared module is abnormal.
[0004] In order to achieve the above technical objectives, this application adopts the following technical solutions:
[0005] In a first aspect, an embodiment of the present application provides a passage control device, which includes: a controller, a gate, and at least one infrared module distributed at different positions on the upper channel side of the gate along the passage direction of the gate channel; the controller is used to: count the trigger data of the target infrared module under different states of the gate, the trigger data including the number of triggers and / or the trigger duration, and the target infrared module is any one of at least one infrared module; when a failure of the target infrared module is identified based on the trigger data of the target infrared module under different states of the gate, shielding the signal fed back by the target infrared module; and controlling the opening and closing of the gate based on the signal fed back by the infrared module of the at least one infrared module whose signal is not shielded.
[0006] The technical solution provided by the present application brings at least the following beneficial effects: the controller counts the trigger data of the target infrared module under different states of the gate, and in the case of identifying the target infrared module failure based on the trigger data of the target infrared module under different states of the gate, shields the signal fed back by the target infrared module, so that the infrared triggering situation of the abnormal target infrared module will no longer affect the logic of personnel release. Therefore, the solution of the present application does not need to consume manpower to detect whether the infrared module is abnormal. For the abnormal infrared module, the controller can automatically shield the infrared module in time to avoid affecting the passage of personnel.
[0007] In one possible implementation, the state of the gate includes a door opening completion state; the controller is used to identify that the target infrared module has a fault based on the trigger data of the target infrared module in different states of the gate, specifically including: recording the first trigger duration of the target infrared module when the gate is in the door opening completion state, and the first trigger number of the target infrared module when the gate is in the door opening completion state and within a first preset time length; if the first trigger duration is greater than the first time length threshold, and / or the first trigger number is recorded to be greater than the first preset number for the first time, it is determined that the target infrared module has a fault; the state of the gate also includes a door closing completion state; the controller is used to identify that the target infrared module has a fault based on the trigger data of the target infrared module in different states of the gate, specifically including: recording the second trigger duration of the target infrared module when the gate is in the door closing completion state, and the second trigger number of the target infrared module when the gate is in the door closing completion state and within a second preset time length; if the second trigger duration is greater than the second time length threshold, and / or the first second trigger number is recorded to be greater than the second preset number, it is determined that the target infrared module has a fault.
[0008] In one possible implementation, the state of the gate also includes an opening movement state and a closing movement state; the controller is used to identify that a target infrared module has failed based on the trigger data of the target infrared module in different states of the gate, specifically including: recording a third triggering number of the target infrared module within a third preset time period, and a first triggering number, the third triggering number being the number of times the target infrared module is triggered when the gate is in an opening movement state and a closing movement state in the target passage direction, and the first triggering number being the sum of the opening number and the closing number of the gate in the target passage direction within the third preset time period; if the ratio of the third triggering number to the first triggering number is greater than the preset ratio, it is determined that the target infrared module has failed.
[0009] In one possible implementation, the controller is also used to: count the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded; when it is identified that the target infrared module has not failed based on the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded, lift the signal shielding of the target infrared module; or, when it is identified that the target infrared module has failed based on the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded, maintain the signal shielding of the target infrared module and reset the fourth preset time period.
[0010] In one possible implementation, the controller is also used to: receive a first control instruction, the first control instruction is used to instruct signal shielding of the target infrared module; in response to the first control instruction, shield the signal fed back by the target infrared module; and / or, receive a second control instruction, the second control instruction is used to instruct to release the shielding of the signal fed back by the target infrared module; in response to the second control instruction, release the shielding of the signal fed back by the target infrared module.
[0011] In one possible implementation, the controller is also used to: in response to receiving a self-test instruction, control the gate to return to a closed state, and then control the gate to perform forward door opening and closing actions and reverse door opening and closing actions; count the fourth triggering number of the target infrared module during the forward door opening and closing action, and the fifth triggering number during the reverse door opening and closing action; if the fourth triggering number is not 0, issue a first prompt message, the first prompt message is used to indicate that the gate has blocked the target infrared module during the forward door opening and closing action; and / or, if the fifth triggering number is not 0, issue a second prompt message, the second prompt message is used to indicate that the gate has blocked the target infrared module during the reverse door opening and closing action.
[0012] In a second aspect, the present application provides a passage control method, including: counting the trigger data of the target infrared module in different states of the gate, the trigger data including the number of triggers and / or the trigger duration, the target infrared module is any one of at least one infrared module; at least one infrared module is distributed at different positions on the channel side of the gate along the passage direction of the gate channel; when a failure of the target infrared module is identified based on the trigger data of the target infrared module in different states of the gate, shielding the signal fed back by the target infrared module; controlling the opening and closing of the gate based on the signal fed back by the infrared module whose signal is not shielded in at least one infrared module.
[0013] In one possible implementation, the state of the gate includes a door opening completion state; the method also includes: recording a first trigger duration of the target infrared module when the gate is in the door opening completion state, and a first trigger number of the target infrared module when the gate is in the door opening completion state and within a first preset duration; if the first trigger duration is greater than a first duration threshold, and / or the first trigger number is recorded to be greater than the first preset number for the first time, it is determined that the target infrared module has failed; the state of the gate also includes a door closing completion state; the method also includes: recording a second trigger duration of the target infrared module when the gate is in the door closing completion state, and a second trigger number of the target infrared module when the gate is in the door closing completion state and within a second preset duration; if the second trigger duration is greater than a second duration threshold, and / or the second trigger number is recorded to be greater than the second preset number for the first time, it is determined that the target infrared module has failed.
[0014] In a possible implementation, the state of the gate also includes an opening movement state and a closing movement state; the target infrared module is any infrared module on the opening side of the target passage direction; the method also includes: recording a third triggering number of the target infrared module within a third preset time length, and a first triggering number, the third triggering number is the number of times the target infrared module is triggered when the gate is in the opening movement state and the closing movement state in the target passage direction, and the first triggering number is the sum of the opening number and the closing number of the gate in the target passage direction within the third preset time length; if the ratio of the third triggering number to the first triggering number is greater than the preset ratio, it is determined that the target infrared module has failed.
[0015] In one possible implementation, the method also includes: counting trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded; when it is identified that the target infrared module has not failed based on the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded, lifting the signal shielding of the target infrared module; or, when it is identified that the target infrared module has failed based on the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded, maintaining the signal shielding of the target infrared module and resetting the fourth preset time period.
[0016] In one possible implementation, the method also includes: receiving a first control instruction, the first control instruction is used to instruct signal shielding of the target infrared module; in response to the first control instruction, shielding the signal fed back by the target infrared module; and / or, receiving a second control instruction, the second control instruction is used to instruct to release the shielding of the signal fed back by the target infrared module; in response to the second control instruction, release the shielding of the signal fed back by the target infrared module.
[0017] In one possible implementation, the method also includes: in response to receiving a self-test instruction, controlling the gate to return to a closed state, and then controlling the gate to perform forward door opening and closing actions and reverse door opening and closing actions; counting the fourth triggering number of the target infrared module during the forward door opening and closing action, and the fifth triggering number during the reverse door opening and closing action; if the fourth triggering number is not 0, issuing a first prompt message, the first prompt message is used to indicate that the gate has obstructed the target infrared module during the forward door opening and closing action; and / or, if the fifth triggering number is not 0, issuing a second prompt message, the second prompt message is used to indicate that the gate has obstructed the target infrared module during the reverse door opening and closing action.
[0018] In a third aspect, the present application provides a traffic control device, which includes modules for executing the method described in the second aspect or any possible design of the second aspect.
[0019] In a fourth aspect, the present application provides a computing device comprising: one or more processors; one or more memories; wherein the one or more memories are used to store computer program codes, the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the computing device executes any one of the traffic control methods provided in the second aspect above.
[0020] In a fifth aspect, the present application provides a computer-readable storage medium, which stores computer execution instructions. When the computer execution instructions are executed on a computer, the computer executes any one of the traffic control methods provided in the second aspect above.
[0021] In a sixth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed on a computing device, the computing device executes the traffic control method as described in the second aspect and any possible design thereof.
[0022] For the specific description of the second to sixth aspects and their various implementations in the present application, reference may be made to the detailed description in the first aspect and its various implementations; and for the beneficial effects of the second to sixth aspects and their various implementations, reference may be made to the beneficial effects analysis in the first aspect and its various implementations, which will not be repeated here.
[0023] These and other aspects of the present application will become more apparent from the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of the architecture of a traffic control system provided in an embodiment of the present application;
[0025] Figure 2 A flow chart of a traffic control method provided in an embodiment of the present application;
[0026] Figure 3 A schematic diagram of a display interface provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of a process for counting the number of trigger times of an infrared module provided in an embodiment of the present application;
[0028] Figure 5 A schematic diagram of a process for counting the number of door openings and closings provided in an embodiment of the present application;
[0029] Figure 6 A schematic diagram of a trigger duration timing process of an infrared module provided in an embodiment of the present application;
[0030] Figure 7A schematic diagram of a flow chart of infrared abnormality / recovery determination provided in an embodiment of the present application;
[0031] Figure 8 A schematic diagram of a process for determining an abnormality of an infrared module provided in an embodiment of the present application;
[0032] Fig. 9 A schematic diagram of a self-test process of an infrared module provided in an embodiment of the present application;
[0033] Fig.10 A schematic diagram of the structure of a traffic control device provided in an embodiment of the present application;
[0034] Fig.11 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0036] It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. The terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, "multiple" means two or more.
[0037] To facilitate understanding, the basic concepts of some terms or technologies involved in the embodiments of the present application are first briefly introduced and explained.
[0038] The infrared module is usually a directed infrared module. An infrared transmitter is set on the boundary of the channel on one side where people pass, and an infrared receiver is set on the boundary of the channel on the other side where people pass. The infrared transmitter in an infrared module emits infrared light, and the infrared receiver receives infrared light.
[0039] Infrared recovery means that the infrared receiver in an infrared module receives the infrared light emitted by the infrared transmitter in the infrared module.
[0040] Infrared triggering means that the infrared receiver in an infrared module does not receive the infrared light emitted by the infrared transmitter in the infrared module.
[0041] The above is an introduction to some concepts involved in the embodiments of the present application, which will not be repeated below.
[0042] In some places with privacy requirements, only authorized personnel can enter these places. People's access channels are usually set up at the entrances and exits of these places. People are authenticated through access control devices to determine whether they have access rights, and then people with access rights are released.
[0043] The infrared module installed on the personnel passage is responsible for important detection functions such as passage detection, behavior detection, and safety detection. When an abnormality occurs in the infrared module, such as the infrared light emitted by the infrared module is blocked, the infrared transmitter and / or infrared receiver in the infrared module fails, etc., the infrared module will be infrared triggered, which will have an impact on the release logic of the passage control device for personnel, resulting in the gate in the personnel passage being unable to open and close normally, and the passage of personnel cannot be detected normally.
[0044] Infrared module abnormality is a common problem in scenarios where people pass through. Currently, the only way is for detection personnel to actively observe whether there is an abnormality in the infrared module. If it is not discovered in time, it will have a great impact on the passage of people, and it will take a lot of manpower to detect whether the infrared module is abnormal.
[0045] In this regard, the embodiment of the present application provides a passage control device, the controller of which counts the trigger data of the target infrared module under different states of the gate, and in the case of identifying that the target infrared module fails based on the trigger data of the target infrared module under different states of the gate, shields the signal fed back by the target infrared module, so that the infrared triggering situation of the abnormal target infrared module will no longer affect the logic of personnel release. Therefore, the solution of the present application does not need to consume manpower to detect whether the infrared module is abnormal. For the abnormal infrared module, the controller can automatically shield the infrared module in time to avoid affecting the passage of personnel.
[0046] Please refer to Figure 1 , which shows the traffic control system to which the traffic control method provided by this application is applicable. Figure 1 As shown, the passage control system includes: a gate 101, at least one infrared module 102 and a gate body 103.
[0047] Among them, the gate 101 is deployed on the channel side of the gate body 103, and at least one infrared module 102 is distributed at different positions on the channel side of the gate body 103 along the passage direction of the gate channel. For example, the gate body includes a first side and a second side, and the first side of a gate body A and the second side of another gate body B constitute a channel, then the gate is deployed on the first side of the gate body A and the second side of the gate body B, and at least one infrared module 102 is deployed on the first side of the gate body A and the second side of the gate body B along the passage direction.
[0048] In addition, the passage control system also includes a controller 104 (not shown in the figure), which can be located inside the gate body 103, so that at least one infrared module can communicate with the controller 104 through input / output (I / O) signals, and the controller 104 judges the release logic of personnel according to the high / low level of the I / O signal, and then controls the gate 101 to open or close. For example, when the infrared light of the infrared module is blocked, the infrared module outputs a high-level signal to the controller, and then the controller determines that the infrared light emitted by the infrared module is blocked, determines that there are pedestrians passing through the gate channel, and controls the gate to open. When the infrared light of the infrared module is restored, the infrared module outputs a low level to the controller, and the controller determines that the infrared light emitted by the infrared module is not blocked, determines that there are no pedestrians passing through the gate channel, and controls the gate to close.
[0049] In some embodiments, the controller 104 refers to a device that can generate an operation control signal according to the instruction operation code and the timing signal to instruct each device in the traffic control system to execute the control instruction. Exemplarily, the controller 104 can be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processor (DSP), a programmable logic device (PLD), a microprocessor, a microcontroller or any combination thereof. The controller 104 can also be other devices with processing functions, such as circuits, devices or software modules, and the embodiments of the present application do not impose any restrictions on this.
[0050] The implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0051] The traffic control method provided in the embodiment of the present application can be executed by the controller in the above-mentioned traffic control device.
[0052] like Figure 2 As shown, an embodiment of the present application provides a traffic control method, which includes the following steps:
[0053] S201. Count the triggering data of the target infrared module under different states of the gate.
[0054] The trigger data includes the trigger times and / or trigger duration, the target infrared module is any one of the at least one infrared module, and the at least one infrared module is distributed at different positions on the upper channel side of the gate along the passage direction of the gate. The trigger times indicate the number of times the target infrared module is triggered by infrared, and the trigger duration indicates the duration of the infrared trigger of the target infrared module.
[0055] In some embodiments, different states of the gate include a door opening completion state, a door closing completion state, a door opening movement state, and a door closing movement state, etc.
[0056] It should be noted that for infrared faults, the infrared signal may be triggered and restored at a high frequency. In addition, when the gate is in the state of opening, but the infrared is frequently triggered and restored, it can be identified as an infrared abnormality, so it is necessary to collect the number of infrared triggers in the closed state. During the opening and closing of the gate, due to the different shapes of the gate, the infrared emission may be blocked for a long time or occasionally. Although the function of the infrared module is normal at this time, it will trigger the anti-pinch function of the gate (the infrared module is blocked, and it is believed that there are pedestrians in the channel, so the gate will not close), resulting in abnormal gate opening and closing of the gate. Since the triggering of this non-pedestrian infrared will greatly affect the normal function of the personnel channel, judging from the business logic of personnel release, this infrared is abnormal infrared, so it is necessary to collect the number of infrared triggers when the gate is in the process of opening and closing.
[0057] S202: When it is identified that a target infrared module fails based on the trigger data of the target infrared module in different states of the gate, shield the signal fed back by the target infrared module.
[0058] The controller counts and analyzes the trigger data of each infrared module under different gate states to determine whether each infrared module has failed. If it is determined that the target infrared module has failed, the signal fed back by the target infrared module will be shielded during the personnel release logic judgment process to prevent the signal fed back by the faulty infrared module from affecting the normal operation of the access control system.
[0059] The following describes in detail the process of identifying whether a target infrared module fails based on the trigger data of the target infrared model in different states of the gate.
[0060] In some embodiments, the state of the gate includes a door opening completion state. The process in S202 in which the controller identifies that the target infrared module has failed based on the trigger data of the target infrared module in different states of the gate can be specifically implemented as follows:
[0061] S301, recording a first triggering duration of the target infrared module when the gate is in a door opening completion state, and a first triggering number of the target infrared module when the gate is in a door opening completion state and within a first preset duration.
[0062] S302: If the first trigger duration is greater than the first duration threshold, and / or the first trigger number recorded for the first time is greater than the first preset number, it is determined that the target infrared module fails.
[0063] The first time threshold can be determined by the time required for a person to pass through the gate measured by the user through multiple experiments. For example, the user measures the time required for multiple people to pass through the gate, and averages these time periods to obtain the first time threshold. Specifically, a typical value of the first time threshold can be 5 minutes.
[0064] The first preset number of times is used to represent the number of times the target infrared module fails within the first preset time period and causes multiple abnormal triggers. For example, a typical value of the first preset time period may be 5 minutes, and a typical value of the first preset number of times may be 20.
[0065] It should be understood that the controller records the first triggering duration when the gate is in the state of door opening completion. When the gate is in the state of door opening completion, the gate is close to the gate body and parallel to the passage direction of the personnel passage. If the gate blocks the infrared light in the target infrared module, the target infrared module will be infrared triggered. The current gates all have an anti-pinch function, that is, when there are people in the personnel passage, the gate will not be closed to avoid pinching people. Whether there are people in the personnel passage is determined by whether the infrared module is infrared triggered. If the infrared module is infrared triggered, it is considered that there are people in the personnel passage who block the infrared light emitted by the infrared module. Therefore, when the infrared light emitted by the target infrared module is blocked by the gate in the state of door opening completion, an infrared trigger will occur. At this time, the passage control device realizes the anti-pinch function, and the controller controls the gate not to close, and the target infrared module will be in a state of being blocked for a long time.
[0066] In this case, the controller records the first trigger duration of the target infrared module when the gate is in the door opening completion state. If the first trigger duration is greater than the first duration threshold, it means that the person has passed through the gate, but the gate is still in the door opening completion state, then the controller determines that the target infrared module has a fault.
[0067] For example, if the set first duration threshold is 5 minutes, at 02:05:30, the controller determines that the gate is in the state of door opening completion. At this time, the target infrared module is infrared triggered. This continues until 02:10:35 when the target infrared module is still in the infrared triggering state. At this time, the first triggering duration of the target infrared module is 5 minutes and 5 seconds, which is greater than the first duration threshold. The controller determines that the target infrared module has a fault.
[0068] For another example, if the first preset duration is set to 5 minutes and the first preset number is 20, at 02:25:20, the controller determines that the gate is in the state of opening completion, and the target infrared module is infrared triggered. At 02:28:50, it is recorded that the target infrared module has infrared triggering conditions 21 times in total. The first triggering number within the first preset duration is greater than the first preset number, and the controller determines that the target infrared module has a fault.
[0069] In this way, the controller can accurately determine whether the gate will block the infrared light emitted by the target infrared module by counting the first trigger duration of the target infrared module when the gate is in the door opening completion state, and the first trigger number of the target infrared module when the gate is in the door opening completion state and within the first preset duration, and then comparing the first trigger duration with the first duration threshold and / or the first trigger number with the first preset number. The controller determines that the target infrared module has failed if the first trigger duration is greater than the first duration threshold and / or the first trigger number is greater than the first preset number. There is no need for manpower to detect whether the target infrared module has failed. In the subsequent process, the controller can shield the signal of the failed target infrared module to avoid affecting the passage of personnel.
[0070] Correspondingly, if the first trigger number recorded by the controller within the first preset time period is less than the first preset time period, it means that the target infrared module has not failed. The controller then clears the first trigger number, re-times the first preset time period, and re-counts the first trigger number within the re-timed first preset time period.
[0071] In some embodiments, the state of the gate also includes a closing completion state. The process of determining the occurrence of a fault in the above S202 can be specifically implemented as follows:
[0072] S401, recording a second triggering duration of the target infrared module when the gate is in a state of door closing completion, and a second triggering number of the target infrared module when the gate is in a state of door closing completion and within a second preset duration.
[0073] S402: If the second trigger duration is greater than the second duration threshold, and / or the second trigger times recorded for the first time are greater than the second preset times, it is determined that the target infrared module fails.
[0074] It should be understood that the controller records the second triggering times of the target infrared module when the gate is in the state of door closing completion and within the second preset time. At this time, the infrared receiver or infrared transmitter in the target infrared module may fail, resulting in frequent infrared triggering of the target infrared module. Therefore, when the gate is in the state of door closing completion, the controller records the number of infrared triggering times of the target infrared module when the gate is in the state of door closing completion and within the second preset time.
[0075] In this case, if the controller records for the first time that the second triggering number is greater than the second preset number, the controller determines that the target infrared module is frequently triggered within the second preset time period, and the controller determines that the target infrared module is faulty.
[0076] Correspondingly, if the second trigger number recorded by the controller within the second preset time period is less than the second preset time period, it means that the target infrared module has not failed. The controller then clears the second trigger number, re-times the second preset time period, and re-counts the second trigger number within the re-timed second preset time period.
[0077] Similar to the door opening completion state, the target infrared module may also be triggered for a long time when the gate is in the door closing completion state, which may cause the gate to open abnormally. Therefore, the controller records the second triggering duration of the target infrared module when the gate is in the door closing completion state. When the second triggering duration is greater than the second duration threshold, the controller determines that the target infrared module has failed.
[0078] In some embodiments, the state of the gate further includes a door opening movement state and a door closing movement state. The process of determining the occurrence of a fault in the above S202 can be specifically implemented as follows:
[0079] S501. Record the third triggering number and the first triggering number of the target infrared module within the third preset time period. The third triggering number is the number of times the target infrared module is triggered when the gate is in the opening movement state and the closing movement state in the target passage direction. The first triggering number is the sum of the opening number and the closing number of the gate in the target passage direction within the third preset time period.
[0080] S502: If the ratio of the third triggering number to the first triggering number is greater than a preset ratio, it is determined that a target infrared module fails.
[0081] Among them, the target infrared module in this embodiment is any infrared module on the door opening side in the target passage direction, that is, when the gate performs the door opening and closing action in the target passage direction, the target infrared module will be blocked by the gate.
[0082] The controller records the third triggering number of the target infrared module when the gate is in the opening and closing movement states in the target passage direction and within the third preset time length, and records the first number, which is the sum of the opening and closing times of the gate in the target passage direction within the third preset time length.
[0083] In this case, the controller can compare the third trigger number with the first number. If the ratio of the third trigger number to the first number is greater than the preset ratio, it means that the target infrared module has been triggered too many times within the third preset time period, and the controller determines that the target infrared module has failed.
[0084] For example, during the gate opening and closing movement, the infrared trigger times on one side of the swing direction and the door opening and closing actions are counted. Within 1 hour, the proportion of infrared trigger times in the corresponding door action times is counted. If the proportion exceeds 50%, it is determined that the infrared is abnormal.
[0085] In some embodiments, the controller can clear the infrared timing after determining that the state of the gate has changed. This is to improve the accuracy of the infrared timing and prevent the infrared timing from counting the trigger time in different areas during the door opening and closing switching, resulting in inaccurate judgment of the abnormal trigger time. In actual use, when a certain infrared is triggered for a long time, it will cause the door to be unable to open normally or unable to close after opening. Therefore, combined with the personnel channel business function, the long-term triggered infrared can force the timing to reach the timeout condition.
[0086] S203, controlling the opening and closing of the gate based on a signal fed back by an infrared module whose signal is not shielded in at least one infrared module.
[0087] It should be understood that by shielding the signal of the faulty target infrared module, the normal operation of the entire traffic control system can be guaranteed, and the operational stability of the traffic control system can be guaranteed.
[0088] In some embodiments, the controller further performs the following steps to automatically enable and disable the signal shielding function.
[0089] The automatic shutdown signal shielding function is described in S601a-S602a below.
[0090] S601a, collecting statistics on triggering data of the target infrared module under different gate states within a fourth preset time period after the signal is shielded;
[0091] S602a, when it is identified that the target infrared module has not failed based on the trigger data of the target infrared module under different gate states within a fourth preset time period after the target infrared module is shielded from the signal, the signal shielding of the target infrared module is released.
[0092] Among them, the signal shielding function is automatically turned on as follows S601b.
[0093] S601b. When it is identified that the target infrared module has failed based on the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the target infrared module is shielded from the signal, keep shielding the signal of the target infrared module and reset the fourth preset time period.
[0094] Exemplarily, the fourth preset duration is 1 hour. At 02:10:35, the controller determines that the target infrared module has a fault and blocks the signal of the target infrared module. At this time, the timing starts for 1 hour. If at 02:50:20, the controller detects that the first trigger number of the target infrared module in the door closing completion state is greater than the first preset number, the controller maintains shielding the signal of the target infrared module and re-records the fourth preset duration. If within the re-timed fourth preset duration, the controller again identifies that the target infrared module has a fault based on the trigger data under different states of the gate, the controller continues to shield the signal of the target infrared module and re-times the fourth preset duration.
[0095] For example, when any infrared is triggered, the timing starts with a time accuracy of 1ms. When the infrared is restored, it is determined whether the infrared timing exceeds 5 minutes. If not, the timing is cleared and waits for the next timing. If it exceeds 5 minutes, the infrared timing will be retained and wait for the unified judgment of the overall processing flow, and then the timing will be cleared. The overall processing flow cycle is 100ms.
[0096] When the infrared is shielded by an abnormality, the infrared starts to count independently and resumes the inspection period of 1 hour. During the inspection period, if the infrared shows the above infrared abnormality again, the inspection period will be restarted. After the inspection period of 1 hour, if there is still no abnormality, the infrared will resume.
[0097] In some embodiments, the controller can also enable or disable the signal shielding function according to user instructions. That is, the controller also performs the following: receiving a first control instruction, the first control instruction is used to instruct the target infrared module to perform signal shielding; the controller responds to the first control instruction and shields the signal fed back by the target infrared module; and / or, the controller receives a second control instruction, the second control instruction is used to instruct to release the shielding of the signal fed back by the target infrared module; the controller responds to the second control instruction and releases the shielding of the signal fed back by the target infrared module.
[0098] In addition, there are different levels of operation for turning on or off the signal shielding function. The operation level of the user's instruction must be higher than the operation level of the controller's automatic judgment and output instruction. For example, if the user manually shields the infrared module, the controller cannot perform function recovery operations on the infrared module and the user needs to manually restore it. If the infrared module that the controller automatically shields does not have an abnormality again within a period of time, the controller can automatically control the infrared module to recover, or the user can instruct the infrared module to recover.
[0099] For example, the traffic control system of the embodiment of the present application may also include a display screen, and the user may control the traffic control system through a web interface of the display screen. Figure 3 As shown, the web interface can show whether each infrared module is turned on, and at the same time distinguish whether the infrared module is turned off by the controller automatically abnormally shielded (indicated by special marks in the figure) or manually configured by the user (the infrared module that is not enabled without special marks is the infrared module that is manually configured to be shielded by the user).
[0100] In some embodiments, the controller also controls the gate to return to the closed state in response to receiving a self-test instruction, and then controls the gate to perform forward door opening and closing actions and reverse door opening and closing actions; the controller counts the fourth triggering number of the target infrared module during the forward door opening and closing action, and the fifth triggering number during the reverse door opening and closing action; if the fourth triggering number is not 0, the controller issues a first prompt message, and the first prompt message is used to indicate that the gate has blocked the target infrared module during the forward door opening and closing action; and / or, if the fifth triggering number is not 0, the controller issues a second prompt message, and the second prompt message is used to indicate that the gate has blocked the target infrared module during the reverse door opening and closing action.
[0101] The first prompt information or the second prompt information may be in the form of a voice broadcast, or may be sent to the administrator's terminal via a network. The embodiment of the present application does not limit the specific form of the prompt.
[0102] It should be understood that in order to detect whether there is necessary infrared obstruction during the opening and closing process of the gate. When initiating infrared detection, if the gate is not currently centered, it will be forced to return to the closed position and then start detection. The gate will open and close once at the highest speed. During this period, if the infrared is triggered or blocked for a long time, it will be judged as abnormal infrared, and a prompt message will be sent. In addition, if the automatic shielding function of the target infrared module is on, the controller can automatically shield the signal of the target infrared module and send a prompt message. If the automatic shielding function of the target infrared module is off, the controller will send a prompt message when it determines that it is abnormal, and will not perform signal shielding.
[0103] This solution mainly deals with infrared abnormalities in personnel channels. It automatically identifies infrared abnormalities, automatically shields abnormal infrared, and automatically restores infrared. At the same time, the web interface supports viewing the current shielding status, supports users to shield infrared for a long time, and force recovery to automatically shield infrared. The controller will record the time points of infrared shielding and recovery for historical record query.
[0104] This solution will reduce the time cost of on-site debugging, locating occasional problems on site, and repairing them. The interface display will provide users with lower learning costs and higher usage experience.
[0105] Figure 4 A flowchart of counting the number of trigger times of an infrared module provided in an embodiment of the present application. When the infrared state changes, determine whether the infrared state is triggered. If not, end. If so, further determine whether the door state of the gate is in a closed state. When it is determined that the door state is in a closed state, add 1 to the number of triggers, otherwise, determine whether the door state is in the forward door opening and closing process. If so, add 1 to the number of triggers of the infrared module in the forward door opening and closing direction (affected by the forward door opening and closing) during the door opening and closing process. The counting process of the number of triggers of the infrared module in the reverse door opening and closing process is similar to the above, and will not be repeated here.
[0106] Figure 5 A flow chart of counting the number of door openings and closings provided in an embodiment of the present application. First, determine whether it is a door closing instruction. If so, further determine whether the current door state requires forward door closing. If so, add 1 to the number of door openings and closings for the forward door action. If forward door closing is not required, add 1 to the number of door openings and closings for the reverse door action. In the case where it is determined that it is not a door closing instruction, further determine whether it is a forward door opening instruction or a reverse door opening instruction. If so, add 1 to the number of door openings and closings for the forward door action. If it is not a forward door opening instruction, determine whether it is a reverse door opening instruction. If it is a reverse door opening instruction, add 1 to the number of door openings and closings for the reverse door action. If it is not a reverse door opening instruction, or after the number of door openings and closings for the forward door action is added by 1, or after the number of door openings and closings for the reverse door action is added by 1, the door opening and closing count process ends.
[0107] Figure 6 A schematic diagram of a trigger duration timing process of an infrared module provided in an embodiment of the present application. Figure 6As shown, when the gate state changes, the trigger duration of the infrared module is cleared; if the gate state has not changed, determine whether the gate is in the closed state or the opened state. If not, clear the trigger duration of the infrared module. If so, further determine whether the infrared module outputs a trigger signal (that is, whether the infrared light emitted by the infrared module is blocked at this time). If the infrared module outputs a trigger signal, the trigger duration of the infrared module starts counting, and when the infrared module outputs a non-trigger signal, determine whether the existing trigger duration exceeds the preset duration. If not, clear the trigger duration of the infrared module. If it exceeds, determine that the infrared module is abnormal and the infrared module will be automatically blocked. Figure 6 The control logic shown ensures the accuracy of infrared timing by clearing the infrared trigger duration count when the gate state changes, and clearing the trigger duration of the infrared module when the existing trigger duration exceeds a certain time (such as 5 minutes). This avoids the problem of inaccurate judgment of abnormal trigger time due to the trigger duration being counted in different areas during the switching of the infrared timing.
[0108] In this application, when new shielding / recovery occurs in the infrared module, the controller of the access control device will upload the shielding / recovery event of the infrared module to the server or the user device of the access control device, and record the shielding / recovery log of the infrared module. Figure 7 A schematic diagram of a flow chart of infrared abnormality / recovery determination provided in an embodiment of the present application. Figure 7 As shown in the figure, when it is determined that there is no abnormality in the infrared module, the infrared blocking and restoration timer is increased by 1, otherwise it is cleared. When it is determined that a user manually enables shielding / restoring infrared, and the user manually enables shielding / restoring infrared as a new shielding / restoration, upload the shielding / restoration event and record the shielding / restoration log, and further enable shielding / restoration to take effect. If no user manually enables shielding / restoring infrared, or the user manually enables shielding / restoring infrared but it is not a new shielding / restoration, then end this shielding / restoration determination process.
[0109] Figure 8 A schematic diagram of a process for determining an abnormality of an infrared module provided in an embodiment of the present application. Figure 8As shown, when the timing reaches one hour, determine whether the number of inward door openings and closings is 0. If not, calculate the ratio of the number of infrared triggers on the inward door opening side to the number of inward door openings and closings. If the number of inward door openings and closings is 0, determine whether the number of outward door openings and closings is 0. If not, calculate the ratio of the number of infrared triggers on the outward door opening side to the number of outward door openings and closings. Furthermore, when the ratio is higher than 50% (that is, more than half of the door openings and closings will block this infrared module), or the number of outward door openings and closings is 0, it is determined that this infrared module is abnormal. Finally, clear the timing of the infrared module triggering duration, clear the count of the number of infrared module triggerings, and end the judgment process of this infrared module abnormality.
[0110] Fig. 9 The following is a flow chart of a self-test process of an infrared module provided in an embodiment of the present application. Fig. 9 As shown, first, by playing voice, the user is prompted to ensure that there is no one in the channel during the self-test of the infrared module. Then, determine whether the gate is centered. If not, the door is closed after beeping 5 times. Detect whether the infrared module has short-term shielding. If so, all are restored. If not, clear the trigger data and force the door opening and closing speed to be the fastest. Then perform forward and reverse door opening and closing actions, and determine whether the infrared module is abnormal or restored based on the trigger data. If so, report the abnormal infrared module and record the log, and if the infrared module is not abnormal or restored, report the detection results through voice. After obtaining the detection results, the gate returns to normal state and the door opening and closing speed returns to normal. When the automatic infrared shielding function is turned on, shield the abnormal infrared module, otherwise restore the shielded infrared module and end the self-test process of the infrared module.
[0111] Figure 2 The technical solution shown at least brings the following beneficial effects: by counting the trigger data of the target infrared module under different states of the gate, when the target infrared module is identified to be faulty based on the trigger data of the target infrared module under different states of the gate, the signal fed back by the target infrared module is shielded, so that the infrared triggering situation of the abnormal target infrared module will no longer affect the logic of personnel release. Therefore, the solution of the present application does not need to consume manpower to detect whether the infrared module is abnormal. For the abnormal infrared module, the controller can automatically shield the infrared module in time to avoid affecting the passage of personnel.
[0112] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. It should be easy to realize that the technical goals in this field are combined with the units and algorithm steps of each example described in the embodiments disclosed in this article, and the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical goals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0113] like Fig.10 As shown, the embodiment of the present application further provides a traffic control device, which is used in the traffic control method shown in the above method embodiment. The traffic control device 1000 includes: a statistics module 1001, a shielding module 1002 and a control module 1003.
[0114] The statistical module 1001 is used to count the trigger data of the target infrared module under different states of the gate, the trigger data including the trigger times and / or the trigger duration, the target infrared module is any one of the at least one infrared module; the at least one infrared module is distributed at different positions on the upper channel side of the gate along the passage direction of the gate channel;
[0115] The shielding module 1002 is used to shield the signal fed back by the target infrared module when it is identified that the target infrared module fails based on the trigger data of the target infrared module in different states of the gate;
[0116] The control module 1003 is used to control the opening and closing of the gate based on the signal fed back by the infrared module whose signal is not shielded in at least one infrared module.
[0117] In a possible implementation, the device further includes a determination module 1004. The state of the gate includes a door opening completion state; the statistical module 1001 is also used to record the first trigger duration of the target infrared module when the gate is in the door opening completion state, and the first trigger number of the target infrared module when the gate is in the door opening completion state and within the first preset duration; the determination module 1004 is also used to determine that the target infrared module has failed if the first trigger duration is greater than the first duration threshold, and / or the first trigger number is recorded to be greater than the first preset number for the first time; the state of the gate also includes a door closing completion state; the statistical module 1001 is also used to record the second trigger duration of the target infrared module when the gate is in the door closing completion state, and the second trigger number of the target infrared module when the gate is in the door closing completion state and within the second preset duration; the determination module 1004 is also used to determine that the target infrared module has failed if the second trigger duration is greater than the second duration threshold, and / or the second trigger number is recorded to be greater than the second preset number for the first time.
[0118] In another possible implementation, the state of the gate also includes an opening movement state and a closing movement state; the target infrared module is any infrared module on the opening side of the target passage direction; the statistical module 1001 is also used to record the third triggering number of the target infrared module within a third preset time period, and the first number, the third triggering number is the number of times the target infrared module is triggered when the gate is in the opening movement state and the closing movement state in the target passage direction, and the first number is the sum of the opening number and the closing number of the gate in the target passage direction within the third preset time period; the determination module 1004 is also used to determine that the target infrared module has a fault if the ratio of the third triggering number to the first number is greater than the preset ratio.
[0119] In another possible implementation, the statistical module 1001 is also used to count the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded; the shielding module 1002 is also used to release the signal shielding of the target infrared module when it is identified that the target infrared module has not failed based on the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded; or, when it is identified that the target infrared module has failed based on the trigger data of the target infrared module under different states of the gate within the fourth preset time period after the signal is shielded, maintain the signal shielding of the target infrared module and reset the fourth preset time period.
[0120] In another possible implementation, the shielding module 1002 is also used to receive a first control instruction, the first control instruction is used to instruct signal shielding of the target infrared module; in response to the first control instruction, shield the signal fed back by the target infrared module; and / or, receive a second control instruction, the second control instruction is used to instruct to release the shielding of the signal fed back by the target infrared module; in response to the second control instruction, release the shielding of the signal fed back by the target infrared module.
[0121] In another possible implementation, the statistical module 1001 is also used to, in response to receiving a self-test instruction, control the gate to return to the closed state, and then control the gate to perform forward door opening and closing actions and reverse door opening and closing actions; count the fourth triggering number of the target infrared module during the forward door opening and closing action, and the fifth triggering number during the reverse door opening and closing action; if the fourth triggering number is not 0, issue a first prompt message, the first prompt message is used to indicate that the gate has blocked the target infrared module during the forward door opening and closing action; and / or, if the fifth triggering number is not 0, issue a second prompt message, the second prompt message is used to indicate that the gate has blocked the target infrared module during the reverse door opening and closing action.
[0122] It should be noted that Fig.10 The division of modules in the example is schematic and is only a logical function division. There may be other division methods in actual implementation. For example, two or more functions may be integrated into one processing module. The above integrated modules may be implemented in the form of hardware or software function modules.
[0123] Another embodiment of the present application further provides a computing device, such as Fig.11 As shown, the computing device 1100 includes a memory 1101 and a processor 1102; the memory 1101 and the processor 1102 are coupled; the memory 1101 is used to store computer program codes, and the computer program codes include computer instructions. When the processor 1102 executes the computer instructions, the computing device 1100 executes each step executed by the computing device in the method flow shown in the above method embodiment.
[0124] In actual implementation, the statistical module 1001, the shielding module 1002 and the control module 1003 can be composed of Fig.11 The processor 1102 shown is implemented by calling the computer program code in the memory 1101. The specific execution process can refer to the description of the above-mentioned traffic control method part, which will not be repeated here.
[0125] Another embodiment of the present application further provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a computing device, the computing device executes each step executed by the computing device in the method flow shown in the above method embodiment.
[0126] In another embodiment of the present application, a computer program product is also provided. The computer program product includes computer instructions. When the computer instructions are executed on a computing device, the computing device executes each step executed by the computing device in the method flow shown in the above method embodiment.
[0127] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer execution instruction is loaded and executed on the computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instruction can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instruction can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by the computer or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), etc.
[0128] The above is only a specific implementation of the present application. Those skilled in the art may conceive of changes or substitutions based on the specific implementation provided by the present application, which should all be included in the protection scope of the present application.
Claims
1. A traffic control device, characterized in that: include: A controller, a gate, and at least one infrared module distributed at different positions on the upper channel side of the gate along the passage direction of the gate; The controller is used to: count the trigger data of the target infrared module in different states of the gate, the trigger data including the trigger times and the trigger duration, the target infrared module is any one of the at least one infrared module; the trigger is used to indicate that the infrared module has not received the infrared light signal emitted by the infrared module; In the case where the target infrared module is identified to have failed based on the trigger data of the target infrared module in different states of the gate, the signal fed back by the target infrared module is shielded; wherein the state of the gate includes an opening movement state and a closing movement state; the target infrared module is any infrared module on the side of the opening door in the target passage direction; the controller is used to identify that the target infrared module has failed based on the trigger data of the target infrared module in different states of the gate, specifically including: recording the third triggering number of the target infrared module within a third preset time length, and the first number, the third triggering number is the number of times the target infrared module is triggered when the gate is in the opening movement state and the closing movement state in the target passage direction, and the first number is the sum of the opening number and the closing number of the gate in the target passage direction within the third preset time length; if the ratio of the third triggering number to the first number is greater than the preset ratio, it is determined that the target infrared module has failed; The opening and closing of the gate is controlled based on the signal fed back by the infrared module whose signal is not shielded in the at least one infrared module.
2. The traffic control device according to claim 1, characterized in that: The state of the gate also includes a gate opening completion state; The controller is used to identify that the target infrared module has failed based on the trigger data of the target infrared module in different states of the gate, and specifically includes: Recording the first triggering duration of the target infrared module when the gate is in the door opening completion state, and the first triggering number of the target infrared module when the gate is in the door opening completion state and within the first preset duration; If the first trigger duration is greater than a first duration threshold, and / or the first trigger number is recorded for the first time to be greater than a first preset number, it is determined that the target infrared module has a fault; The state of the gate also includes a closing completion state; The controller is used to identify that the target infrared module has failed based on the trigger data of the target infrared module in different states of the gate, and specifically includes: Recording the second triggering duration of the target infrared module when the gate is in the state of door closing completion, and the second triggering number of the target infrared module when the gate is in the state of door closing completion and within the second preset duration; If the second triggering duration is greater than a second duration threshold, and / or the second triggering times are recorded for the first time to be greater than a second preset times, it is determined that the target infrared module has failed.
3. The traffic control device according to claim 1, characterized in that: The controller is further used for: Counting the triggering data of the target infrared module in different states of the gate within a fourth preset time period after the signal is shielded; When it is identified that the target infrared module has not failed based on the trigger data of the target infrared module in different states of the gate within a fourth preset time period after the target infrared module is shielded, the signal shielding of the target infrared module is released; or, When it is identified that the target infrared module has failed based on the trigger data of the target infrared module in different states of the gate within the fourth preset time period after the target infrared module is shielded from the signal, the signal shielding of the target infrared module is maintained and the fourth preset time period is reset.
4. The traffic control device according to claim 1, characterized in that: The controller is further used for: Receiving a first control instruction, wherein the first control instruction is used to instruct to perform signal shielding on a target infrared module; In response to the first control instruction, shielding the signal fed back by the target infrared module; and / or, receiving a second control instruction, wherein the second control instruction is used to instruct to release shielding of a signal fed back by the target infrared module; In response to the second control instruction, the shielding of the signal fed back by the target infrared module is released.
5. The traffic control device according to claim 1, characterized in that: The controller is further used for: In response to receiving the self-check instruction, controlling the gate to return to the door closing completion state, and then controlling the gate to perform forward door opening and closing actions and reverse door opening and closing actions; Counting the fourth triggering number of the target infrared module during the forward door opening and closing action, and the fifth triggering number of the target infrared module during the reverse door opening and closing action; If the fourth triggering number is not 0, a first prompt message is issued, wherein the first prompt message is used to indicate that the gate blocks the target infrared module during the forward opening and closing action; and / or, If the fifth triggering number is not 0, a second prompt message is issued, wherein the second prompt message is used to indicate that the gate has blocked the target infrared module during the reverse opening and closing action.
6. A traffic control method, characterized in that: include: Counting the trigger data of the target infrared module in different states of the gate, the trigger data including the trigger times and the trigger duration, the target infrared module is any one of the at least one infrared module; the at least one infrared module is distributed at different positions on the upper channel side of the gate along the passage direction of the gate; the trigger is used to indicate that the infrared module has not received the infrared light signal emitted by the infrared module; In the case where the target infrared module is identified to have failed based on the trigger data of the target infrared module in different states of the gate, the signal fed back by the target infrared module is shielded; wherein the state of the gate includes an opening movement state and a closing movement state; the target infrared module is any infrared module on the side of the opening door in the target passage direction; the method further comprises: recording a third triggering number of the target infrared module within a third preset time length, and a first number, the third triggering number being the number of times the target infrared module is triggered when the gate is in the opening movement state and the closing movement state in the target passage direction, and the first number being the sum of the opening number and the closing number of the gate in the target passage direction within the third preset time length; if the ratio of the third triggering number to the first number is greater than the preset ratio, it is determined that the target infrared module has failed; The opening and closing of the gate is controlled based on the signal fed back by the infrared module whose signal is not shielded in the at least one infrared module.
7. The method according to claim 6, characterized in that The state of the gate includes a gate opening completion state; the method further includes: Recording the first triggering duration of the target infrared module when the gate is in the door opening completion state, and the first triggering number of the target infrared module when the gate is in the door opening completion state and within the first preset duration; If the first trigger duration is greater than a first duration threshold, and / or the first trigger number is recorded for the first time to be greater than a first preset number, it is determined that the target infrared module has a fault; The state of the gate also includes a closing completion state; the method also includes: Recording the second triggering duration of the target infrared module when the gate is in the state of door closing completion, and the second triggering number of the target infrared module when the gate is in the state of door closing completion and within the second preset duration; If the second triggering duration is greater than a second duration threshold, and / or the second triggering times are recorded for the first time to be greater than a second preset times, it is determined that the target infrared module has failed.
8. The method according to claim 6, characterized in that The method further comprises: Counting the triggering data of the target infrared module in different states of the gate within a fourth preset time period after the signal is shielded; If it is identified that the target infrared module has not failed based on the trigger data of the target infrared module in different states of the gate within a fourth preset time period after the target infrared module is shielded, the signal shielding of the target infrared module is released; or, When it is identified that the target infrared module has failed based on the trigger data of the target infrared module in different states of the gate within the fourth preset time period after the target infrared module is shielded from the signal, the signal shielding of the target infrared module is maintained and the fourth preset time period is reset.
9. The method according to claim 6, characterized in that The method further comprises: Receiving a first control instruction, wherein the first control instruction is used to instruct to perform signal shielding on a target infrared module; In response to the first control instruction, shielding the signal fed back by the target infrared module; and / or, receiving a second control instruction, wherein the second control instruction is used to instruct to release shielding of a signal fed back by the target infrared module; In response to the second control instruction, the shielding of the signal fed back by the target infrared module is released.
10. The method according to claim 6, characterized in that The method further comprises: In response to receiving the self-check instruction, controlling the gate to return to the door closing completion state, and then controlling the gate to perform forward door opening and closing actions and reverse door opening and closing actions; Counting the fourth triggering number of the target infrared module during the forward door opening and closing action, and the fifth triggering number of the target infrared module during the reverse door opening and closing action; If the fourth triggering number is not 0, a first prompt message is issued, wherein the first prompt message is used to indicate that the gate has blocked the target infrared module during the forward opening and closing action; and / or, If the fifth triggering number is not 0, a second prompt message is issued, wherein the second prompt message is used to indicate that the gate has blocked the target infrared module during the reverse opening and closing action.
Citation Information
Patent Citations
Switch power supply with fault protection function and control method thereof
CN101599701A
Control method and device for gate system and computer equipment
CN117079376A
Intelligent gate and intelligent gate system
CN221507493U