Opening method and device, storage medium and intelligent security equipment
By collecting external sound waves on security devices and judging the change trend of sound waves, triggering the opening restriction operation, the problem of users' rush to turn on causes accidentally hurting others, and a safer opening control is achieved.
Patent Information
- Application Number
- CN202510271906.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-07
- Publication Date
- 2025-07-11
AI Technical Summary
Existing security devices may cause accidental injury to others when users are anxious to turn on. Although they are equipped with viewing functions, they cannot effectively avoid accidents.
By setting up a collection component on the security device, collecting external sound waves and determining the change trend of sound waves, triggering the turn-on restriction operation to restrict the user from turning on the device, for example, when the sound wave change meets the preset pedestrian approaching conditions, it is prohibited.
It reduces the situation where users accidentally injure others when turning on security equipment, and improves security and user turn-on control.
Smart Images

Figure CN120291769A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of security technologies, and particularly to an opening method, device, storage medium, and intelligent security device. Background Art
[0002] When people open a security device (such as a household door), if there are other people near the security device, too fast opening speed may cause accidental injury to people outside the device. Although most current security devices are equipped with viewing functions (such as a cat's eye is set on the door), in some cases, people may not check the situation outside the device through this viewing function due to eagerness to open, thus causing accidents. Therefore, how to reduce the occurrence of accidental injury to others when the user opens the device is a technical problem to be solved urgently. Summary of the Invention
[0003] The main purpose of this application is to provide an opening method, device, storage medium, and intelligent security device, aiming to solve the technical problem of how to reduce the occurrence of accidental injury to others when the user opens the device in the existing technology.
[0004] To achieve the above purpose, an embodiment of this application provides an opening method, which is applied to an intelligent security device provided with a collection component;
[0005] The method includes the following steps:
[0006] Collect external sound waves of the intelligent security device through the collection component, and determine the sound wave change trend of the external sound waves;
[0007] When the sound wave change trend meets a preset pedestrian approaching condition, trigger an opening restriction operation, and the opening restriction operation is used to restrict the user from opening the intelligent security device.
[0008] In an embodiment, the step of triggering an opening restriction operation when the sound wave change trend meets a preset pedestrian approaching condition includes:
[0009] When the sound wave change trend meets a preset pedestrian approaching condition, determine whether the sound wave amplitude of the external sound waves is higher than a preset sound wave amplitude upper threshold;
[0010] When the sound wave amplitude is higher than the preset sound wave amplitude upper threshold, trigger an opening restriction operation.
[0011] In an embodiment, the step of triggering an opening restriction operation when the sound wave change trend meets a preset pedestrian approaching condition includes:
[0012] Determine the sound wave frequency of the external sound waves, and judge whether the sound wave frequency is higher than a preset sound wave frequency threshold;
[0013] When the sound wave frequency is not higher than the preset sound wave frequency threshold, determining whether the sound wave change trend meets a preset pedestrian approach condition;
[0014] When the sound wave change trend meets the preset pedestrian approach condition, the restriction operation is triggered.
[0015] In one embodiment, after the step of determining whether the sound wave frequency is higher than a preset sound wave frequency threshold, the method further includes:
[0016] When the sound wave frequency is higher than the preset sound wave frequency threshold, the limiting operation is triggered.
[0017] In one embodiment, after the step of triggering the restriction operation when the sound wave change trend meets the preset pedestrian approach condition, the method further includes:
[0018] Determining whether the sound wave change trend meets a preset pedestrian stay-away condition;
[0019] When the sound wave change trend meets the preset pedestrian distance condition, determining whether the sound wave amplitude of the external sound wave is lower than a preset sound wave amplitude lower limit threshold;
[0020] When the sound wave amplitude is lower than the preset sound wave amplitude lower limit threshold, the opening restriction operation is released.
[0021] In one embodiment, when the sound wave amplitude is lower than the preset sound wave amplitude lower limit threshold, the step of releasing the opening restriction operation includes:
[0022] When the sound wave amplitude is lower than the preset lower limit threshold of the preset sound wave amplitude, determining the number of first sound sources of external sound waves when the preset pedestrian approaching condition is met, and determining the number of second sound sources of external sound waves when the preset pedestrian moving away condition is met;
[0023] When the number of the first sound sources is consistent with the number of the second sound sources, the opening restriction operation is released.
[0024] In one embodiment, after the step of determining the number of second sound sources of external sound waves that meet the preset pedestrian distance condition, the method further includes:
[0025] When the number of the first sound sources is inconsistent with the number of the second sound sources, determining the number of stays according to the number of the first sound sources and the number of the second sound sources;
[0026] A corresponding preset delayed opening time length is determined based on the number of stays, and the opening restriction operation is released when the preset delayed opening time length expires.
[0027] In addition, to achieve the above object, an embodiment of the present application further provides an opening device, the device includes:
[0028] A trend determination module, configured to collect external sound waves of the intelligent security device through a collection component, and determine the sound wave change trend of the external sound waves;
[0029] An operation restriction module, configured to trigger an opening restriction operation when the sound wave change trend meets a preset pedestrian approach condition, and the opening restriction operation is used to restrict a user from opening the intelligent security device.
[0030] In addition, to achieve the above object, an embodiment of the present application further provides a storage medium, on which an opening program is stored, and when the opening program is executed by a processor, the steps of the opening method as described above are implemented.
[0031] In addition, to achieve the above object, an embodiment of the present application further provides an intelligent security device, the intelligent security device includes: a memory, a processor, and an opening program stored on the memory and operable on the processor, and when the opening program is executed by the processor, the steps of the opening method as described above are implemented.
[0032] An embodiment of the present application provides an opening method, device, storage medium, and intelligent security device. The method includes: collecting external sound waves of the intelligent security device through the collection component, and determining the sound wave change trend of the external sound waves; when the sound wave change trend meets a preset pedestrian approach condition, triggering an opening restriction operation, and the opening restriction operation is used to restrict a user from opening the intelligent security device.
[0033] Since the present application can be provided with a collection component on the intelligent security device, through which external sound waves outside the intelligent security device can be collected. Since when there are pedestrians approaching outside the device, the external sound waves will change. Furthermore, when the sound wave change trend of the external sound waves meets the preset pedestrian approach condition, it can be determined that there are pedestrians outside the intelligent security device, and then an opening restriction operation for restricting the user from opening the intelligent security device can be triggered, thereby reducing the occurrence of accidental injury to others when the user opens it. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0035] To more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0036] Figure 1 Schematic diagram of the structure of an intelligent security device for the hardware operating environment involved in the solution of the embodiment of the present application;
[0037] Figure 2 Flowchart of the first embodiment of the method for starting the present application;
[0038] Figure 3 Block diagram applied to a traditional mechanical door lock in the first embodiment of the method for starting the present application;
[0039] Figure 4 Schematic diagram of the position of the acquisition component in the first embodiment of the method for starting the present application;
[0040] Figure 5 Flowchart of the second embodiment of the method for starting the present application;
[0041] Figure 6 Overall flowchart of the second embodiment of the method for starting the present application;
[0042] Figure 7 Flowchart of the third embodiment of the method for starting the present application;
[0043] Figure 8 Block diagram of the first embodiment of the starting device of the present application.
[0044] The realization, functional characteristics and advantages of the purpose of the present application will be further described with reference to the embodiments and the accompanying drawings. Detailed implementation manners
[0045] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0046] Refer to Figure 1 , Figure 1 Schematic diagram of the structure of an intelligent security device for the hardware operating environment involved in the solution of the embodiment of the present application.
[0047] Such as Figure 1As shown, the intelligent security device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 can be connected to a display screen (Display), and the optional user interface 1003 can include a standard wired interface and a wireless interface. The network interface 1004 can optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, Wi-Fi) interface). The memory 1005 can be a high-speed random access memory (Random Access Memory, RAM) or a stable memory (Non-volatile Memory, NVM), such as a disk storage. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.
[0048] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the intelligent security device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0049] like Figure 1 As shown, the memory 1005 identified as a computer storage medium may include an operating system, a network communication module, a user interface module, and a startup program.
[0050] exist Figure 1 In the smart security device shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the user device; the smart security device calls the opening program stored in the memory 1005 through the processor 1001, and executes the steps of the opening method provided in the embodiment of the present application.
[0051] It should be noted that when people open security equipment (such as a door), if there happens to be someone else at the security equipment, opening it too quickly may cause accidental injury to people outside the equipment. Although most security equipment today is equipped with a viewing function (such as a peephole on the door), in some cases, people may be in a hurry to open it and fail to use the viewing function to check the situation outside the equipment, thus causing an accident. Therefore, how to reduce the occurrence of accidental injuries to others when users open the device is a technical problem that needs to be solved urgently.
[0052] Therefore, to solve the above-mentioned defects, this embodiment provides an opening method. A collection component is provided on the intelligent security device, and the external sound waves outside the intelligent security device can be collected through this collection component. Since when a pedestrian approaches outside the device, the external sound waves will change. Furthermore, when the change trend of the external sound waves meets the preset pedestrian approach condition, it can be determined that there is a pedestrian outside the intelligent security device, and then an opening restriction operation that restricts the user from opening the intelligent security device can be triggered, thereby reducing the occurrence of accidentally hurting others when the user opens it.
[0053] For ease of understanding, the following Figures 2 to 7 specifically introduces the opening method provided by the embodiments of the present application.
[0054] Referring to Figure 2 , Figure 2 which is a schematic flowchart of the first embodiment of the opening method of the present application, the first embodiment of the opening method of the present application is proposed. As Figure 2 shown, in this embodiment, the specific method includes:
[0055] Step S10: Collect the external sound waves of the intelligent security device through the collection component, and determine the change trend of the sound waves of the external sound waves.
[0056] It can be understood that the method of this embodiment can be applied to an intelligent security device provided with a collection component. The above collection component can be any component for collecting audio, such as a microphone, an acoustic sensor, etc., and this embodiment does not limit this. The above intelligent security device can be any device that is opened and closed through technologies such as electronic components (such as any device that needs to be pushed open, such as an intelligent door, a window, etc.). For ease of subsequent understanding, this embodiment and the subsequent embodiments use the scenario of a user opening an intelligent door for illustration, that is, when the user opens the intelligent door, even if there is a cat's eye on the door, but the user is in a hurry and does not check the situation outside the door through the cat's eye, resulting in a scenario of accidental injury.
[0057] The above collection component can be set at any position outside the opening direction of the intelligent security device, that is, it can be set at any position outside the intelligent door, and can be electrically connected to the processor 1001 on the intelligent security device. Furthermore, the execution subject of the method of this embodiment can specifically be the above processor 1001, but this embodiment and the following embodiments use the intelligent security device as the execution subject for illustration.
[0058] It can also be understood that the above external sound waves can be the sound waves corresponding to the audio outside the intelligent security device, that is, the sound waves corresponding to the audio outside the intelligent door, and can be collected through the above collection component. The change trend of the sound waves can be the change trend of the amplitude of the external sound waves, and the above amplitude can refer to the energy intensity of the external sound waves.
[0059] In actual use, the above intelligent security device can collect external sound waves through the collection components outside the device and determine the trend of change of the collected external sound waves.
[0060] Step S20: When the trend of change of the sound wave satisfies a preset pedestrian approach condition, trigger an opening restriction operation, and the opening restriction operation is used to restrict the user from opening the intelligent security device.
[0061] It should be understood that the above preset pedestrian approach condition can be a condition for determining that a pedestrian is approaching the intelligent security device. Since when a pedestrian approaches the intelligent security device from a distance, the magnitude of the pace sound generated will change from small to large relative to the intelligent security device, and different pace sounds can correspond to different sound wave amplitudes, in this embodiment, the above preset pedestrian approach condition can be a condition of the sound wave amplitude changing from small to large.
[0062] It should also be understood that the above opening restriction operation can be an operation to restrict the user from opening the intelligent security device. For example, restricting the user from unlocking or restricting the user from pushing the door, etc. Since this embodiment is applied to the scenario of an intelligent door, the operation of restricting the user from unlocking can be directly used as the above opening restriction operation, specifically, it can be an operation where the user presses the doorknob but the door lock does not unlock.
[0063] In actual use, after the intelligent security device obtains the trend of change of the sound wave, it can determine whether the trend of change of the sound wave is a trend from small to large; if so, it can be determined that the preset pedestrian approach condition is satisfied, which means that there is a pedestrian approaching the intelligent security device, and at this time, the opening restriction operation can be triggered to prohibit the user from opening; if not, it can be determined that the preset pedestrian approach condition is not satisfied, which means that there is no pedestrian approaching the intelligent security device, and at this time, the opening restriction operation is not triggered, that is, the user can open normally. Thus, the situation of accidentally hurting others when the user opens is reduced.
[0064] As another implementation method, when applied to a traditional mechanical door lock, refer to Figure 3 , Figure 3 which is the structural block diagram when the first embodiment of the opening method of this application is applied to a traditional mechanical door lock. As shown in Figure 3 , not only a collection component needs to be set, but also a component for restricting the opening of the door lock (i.e., the restriction component in Figure 3 ) can be set at the door lock. The component for restricting the opening of the door lock can be a component for restricting the unlocking of the lock tongue, and of course, it can also be a component for restricting the pressing of the doorknob, etc. This embodiment does not limit this. And the restriction component can be electrically connected to the processor.
[0065] Furthermore, when applied to a traditional mechanical door, a collection component can be set outside the mechanical door device, the above processor can be set at the lock core of the mechanical door, and the above restriction component can be set at the lock tongue. Similarly, the method provided in this embodiment can also be implemented, and this embodiment will not elaborate on this.
[0066] Further, considering that there may be interference from other noises in the external sound waves collected by the collection component, in order to accurately determine the pace sound of pedestrians, after the above intelligent security device obtains the external sound waves, it can first perform feature extraction. After obtaining the pace sound waves of pedestrians, it can then analyze the pace sound waves to obtain the sound wave amplitudes at each moment. Based on the sound wave amplitudes at each moment, the sound wave change trend can be obtained.
[0067] Further, in order to consider that pedestrians may walk to the intelligent security device from different directions, in order to improve the detection accuracy, in this embodiment, the above collection components can be respectively arranged on different sides outside the intelligent security device. Refer to Figure 4 , Figure 4 which is a schematic diagram of the position of the collection component in the first embodiment of the opening method of the present application. As Figure 4 shown, for example, one collection component can be respectively arranged on the left and right sides outside the intelligent security device (i.e., the intelligent door in Figure 4 ). The collection component can be arranged on the intelligent security device. Of course, it can also be arranged on the wall where the intelligent security device is installed (as shown in Figure 4 ). The number of the above collection components and the interval between the collection component and the intelligent security device when it is arranged on the wall can be set according to the actual situation, and this embodiment does not limit this.
[0068] In this embodiment, a collection component can be arranged on the intelligent security device. Through this collection component, the external sound waves outside the intelligent security device can be collected. Since when there are pedestrians approaching outside the device, the external sound waves will change. Furthermore, when the sound wave change trend of the external sound waves meets the preset pedestrian approach condition, it can be determined that there are pedestrians outside the intelligent security device, and then the opening restriction operation that restricts the user from opening the intelligent security device can be triggered, thereby reducing the occurrence of accidentally hurting others when the user opens it.
[0069] Refer to Figure 5 , Figure 5 which is a schematic flowchart of the second embodiment of the opening method of the present application. Based on the above first embodiment, the second embodiment of the opening method of the present application is proposed.
[0070] Considering that even when the sound wave change trend is from small to large, but if the pedestrian is relatively far away from the intelligent security device at this time and there will be no situation of accidentally hurting others, in order to enable the user to open it normally. As Figure 5 shown, in this embodiment, the step of triggering the opening restriction operation when the sound wave change trend meets the preset pedestrian approach condition includes:
[0071] Step S21: When the trend of the acoustic wave satisfies the preset pedestrian approach condition, determine whether the amplitude of the external acoustic wave is higher than the preset upper threshold of the acoustic wave amplitude;
[0072] Step S22: When the amplitude of the acoustic wave is higher than the preset upper threshold of the acoustic wave amplitude, trigger the activation restriction operation.
[0073] It should be noted that the above-mentioned preset upper threshold of the acoustic wave amplitude can be a threshold for determining the range within which the pedestrian is within the activation range of the intelligent security device, and can be set by the user himself / herself after collection in advance. For the convenience of subsequent description, in this embodiment, the above-mentioned preset upper threshold of the acoustic wave amplitude is denoted as M H , and the amplitude of the acoustic wave is denoted as M.
[0074] Furthermore, in actual use, when the intelligent security device determines that the trend of the acoustic wave changes from small to large, it can then determine whether the amplitude M of the external acoustic wave at this time is higher than the preset upper threshold M of the acoustic wave amplitude H ; if the amplitude M of the acoustic wave is higher than the preset upper threshold M of the acoustic wave amplitude H , it can be explained that the pedestrian is relatively close to the intelligent security device at this time and is within the activation range of the intelligent security device. If the user activates it, it may cause accidental injury. Therefore, the intelligent security device triggers the activation restriction operation at this time to prohibit the user from activating; if the amplitude M of the acoustic wave is not higher than the preset upper threshold M of the acoustic wave amplitude H , it can be explained that the pedestrian is relatively far from the intelligent security device at this time and is not within the activation range of the intelligent security device. The possibility of accidental injury caused by the user's activation is relatively low. Therefore, the intelligent security device does not trigger the activation restriction operation at this time, and the user can activate it normally.
[0075] Furthermore, considering that when the pedestrian is walking slowly and running fast, the time to reach the activation range of the intelligent security device is inconsistent. Therefore, for the purpose of improving safety, in this embodiment, it is possible to identify whether the pedestrian is walking slowly or running fast. When walking slowly, the activation restriction operation can be triggered when the pedestrian is within the activation range of the intelligent security device. When running fast, the activation restriction operation can be directly triggered without waiting for the pedestrian to be within the activation range of the intelligent security device. Specifically, the above step of triggering the activation restriction operation when the trend of the acoustic wave satisfies the preset pedestrian approach condition includes:
[0076] Step S201: Determine the frequency of the external acoustic wave and determine whether the frequency of the acoustic wave is higher than the preset frequency threshold of the acoustic wave;
[0077] Step S202: When the frequency of the acoustic wave is not higher than the preset frequency threshold of the acoustic wave, determine whether the trend of the acoustic wave satisfies the preset pedestrian approach condition;
[0078] Step S203: When the acoustic wave change trend meets the preset pedestrian approach condition, trigger the opening restriction operation.
[0079] It should be noted that the above acoustic wave frequency can be the number of vibrations of an external acoustic wave per unit time. Since this embodiment is determined according to the pedestrian's pace, the above acoustic wave frequency can be the fast or slow frequency of the pedestrian's pace per unit time. Similarly, after obtaining the external acoustic wave, the external acoustic wave can be analyzed to obtain the acoustic wave frequency at each moment.
[0080] It should also be noted that the above preset acoustic wave frequency threshold can be the threshold for judging whether the pedestrian is walking slowly or running fast, or can be set by the user himself after collection in advance. For the convenience of subsequent description, in this embodiment, the above preset acoustic wave frequency threshold is denoted as F, and the acoustic wave frequency of the external acoustic wave is denoted as f.
[0081] In actual use, refer to Figure 6 , Figure 6 which is the overall flowchart of the second embodiment of the opening method of this application. As Figure 6 shown, after the intelligent security device obtains the external acoustic wave (that is, Figure 6 the acquisition component in obtains the external acoustic wave), the acoustic wave frequency f of the external acoustic wave can be analyzed and obtained (that is, Figure 6 determine the acoustic wave frequency f of the external acoustic wave in) and the acoustic wave change trend of the external acoustic wave;
[0082] Then, it can be first judged whether the pedestrian is walking slowly or running fast, that is, to judge whether the acoustic wave frequency f is higher than the preset acoustic wave frequency threshold F (that is, Figure 6 is the acoustic wave frequency f > the preset acoustic wave frequency threshold F in?). When the acoustic wave frequency f is not higher than the preset acoustic wave frequency threshold F, it can be determined that the pedestrian is walking slowly, and then it can be judged whether the acoustic wave change trend is from small to large. If the acoustic wave change trend is from small to large, it can be determined that there is a pedestrian approaching, and then it is judged whether the acoustic wave amplitude M of the external acoustic wave is higher than the preset acoustic wave amplitude upper threshold M H (that is, Figure 6 is the acoustic wave amplitude M > the preset acoustic wave amplitude upper threshold Mh in?); if the acoustic wave amplitude M of the external acoustic wave is higher than the preset acoustic wave amplitude upper threshold M H , it can be explained that the pedestrian is relatively close to the intelligent security device, and the intelligent security device triggers the opening restriction operation to prohibit the user from opening; if the acoustic wave amplitude M of the external acoustic wave is not higher than the preset acoustic wave amplitude upper threshold M H , it can be explained that the pedestrian is relatively far from the intelligent security device and has not walked to the intelligent security device yet. Furthermore, the intelligent security device does not trigger the opening restriction operation and allows the user to open.
[0083] Furthermore, after the step of judging whether the acoustic wave frequency is higher than the preset acoustic wave frequency threshold, it further includes:
[0084] Step S204: When the sound wave frequency is higher than the preset sound wave frequency threshold, trigger the opening restriction operation.
[0085] Continue to combine Figure 6 , when judging whether the sound wave frequency f is higher than the preset sound wave frequency threshold F, if the sound wave frequency f is higher than the preset sound wave frequency threshold F, it can be determined that the pedestrian is running at a rapid pace, and then the opening restriction operation can be directly triggered to prohibit the user from opening, thereby improving safety.
[0086] Refer to Figure 7 , Figure 7 is a schematic flowchart of the third embodiment of the opening method of the present application. Based on the above embodiments, the third embodiment of the opening method of the present application is proposed.
[0087] Considering that when the opening restriction operation is triggered and the pedestrian moves away, the opening restriction operation needs to be lifted to allow the user to open. Therefore, as Figure 7 shown, in this embodiment, after the step of triggering the opening restriction operation when the sound wave change trend meets the preset pedestrian approaching condition, the following steps are further included:
[0088] Step S30: Judge whether the sound wave change trend meets the preset pedestrian leaving condition;
[0089] Step S40: When the sound wave change trend meets the preset pedestrian leaving condition, judge whether the sound wave amplitude of the external sound wave is lower than the preset sound wave amplitude lower limit threshold;
[0090] Step S50: When the sound wave amplitude is lower than the preset sound wave amplitude lower limit threshold, lift the opening restriction operation.
[0091] It should be noted that the above preset pedestrian leaving condition may be a condition for determining that the pedestrian is leaving the intelligent security device. Since when the pedestrian leaves the intelligent security device, the size of the pace sound generated will change from large to small relative to the intelligent security device, and thus the sound wave amplitude will also change from large to small. Therefore, the above preset pedestrian leaving condition may be a change condition of the sound wave amplitude from large to small.
[0092] It should also be noted that the above preset sound wave amplitude lower limit threshold may be a threshold for determining that the pedestrian is not in the range where the intelligent security device can be opened, or it can be set by the user himself / herself after collection in advance. For the convenience of subsequent description, in this embodiment, the above preset sound wave amplitude lower limit threshold is denoted as M L .
[0093] Furthermore, in actual use, after the smart security device performs the opening restriction operation, it can be determined whether the sound wave change trend is from large to small at this time; if not, it can be explained that the pedestrian is staying outside the smart security device at this time, and the opening restriction operation is continued to be triggered to prohibit the user from opening; if so, it can be explained that the pedestrian is away from the smart security device at this time, and it can be determined whether the sound wave amplitude f of the external sound wave is lower than the preset sound wave amplitude lower limit threshold M L (Right now Figure 6 If the sound wave amplitude f is lower than the preset sound wave amplitude lower limit threshold M1, L , it means that the pedestrian has moved away from the intelligent security device, and the intelligent security device will release the opening restriction operation, and the user can open it normally; if the sound wave amplitude f is not lower than the preset sound wave amplitude lower limit threshold M L , it means that the pedestrian is still close to the smart security device, and the smart security device continues to trigger the opening restriction operation and prohibits the user from opening it.
[0094] Furthermore, considering that when there are multiple pedestrians passing by the intelligent security device together, since the above solution only needs to ensure that the sound wave amplitude of the external sound wave of at least one pedestrian gradually decreases to the preset sound wave amplitude lower limit threshold M L After that, the opening restriction operation can be lifted, but at this time there may be pedestrians staying outside the intelligent security device, resulting in accidental injury. Therefore, in this embodiment, when the sound wave amplitude is lower than the preset sound wave amplitude lower limit threshold, the step of lifting the opening restriction operation includes:
[0095] Step S51: when the sound wave amplitude is lower than the preset lower limit threshold of the preset sound wave amplitude, determining the number of first sound sources of external sound waves that meet the preset pedestrian approaching condition, and determining the number of second sound sources of external sound waves that meet the preset pedestrian moving away condition;
[0096] Step S52: when the number of the first sound sources is consistent with the number of the second sound sources, releasing the opening restriction operation.
[0097] It should be noted that the above-mentioned first number of sound sources may be the number of sound sources of sound emitted when pedestrians approach the smart security device, or it can be understood as the number of footsteps when approaching the smart security device, that is, the number of pedestrians approaching the smart security device; the above-mentioned second number of sound sources may be the number of sound sources of sound emitted when pedestrians move away from the smart security device, or it can be understood as the number of footsteps when moving away from the smart security device, that is, the number of pedestrians moving away from the smart security device.
[0098] In actual use, when the intelligent security device determines that the trend of sound wave changes meets the preset pedestrian approaching condition, operations such as eigenvalue decomposition can be used to determine the number of sound sources present therein as the above-mentioned first sound source number; when it is determined that the sound wave amplitude is lower than the preset lower threshold of the preset sound wave amplitude, determine the number of sound sources present therein as the above-mentioned second sound source number;
[0099] And compare the first sound source number with the second sound source number. When the first sound source number is consistent with the second sound source number, it can be indicated that all pedestrians approaching the intelligent security device are away from the intelligent security device, and then the opening restriction operation can be lifted to allow the user to open.
[0100] Furthermore, when the numbers are inconsistent, it can be indicated that not all pedestrians are away from the intelligent security device at this time, that is, there are pedestrians staying outside the intelligent security device. Therefore, in order to improve safety and ensure that the user can open, after the step of determining the second sound source number of the external sound wave when the preset pedestrian away condition is met, the following steps are further included:
[0101] Step S53: When the first sound source number is inconsistent with the second sound source number, determine the staying number according to the first sound source number and the second sound source number;
[0102] Step S54: Based on the staying number, determine the corresponding preset delay opening duration, and lift the opening restriction operation when the preset delay opening duration ends.
[0103] It can be understood that the above-mentioned staying number can be the number of pedestrians staying outside the intelligent security device. In actual use, when the intelligent security device determines that the first sound source number is inconsistent with the second sound source number, the number of pedestrians staying outside the intelligent security device can be determined first according to the first sound source number and the second sound source number, that is, subtracting the first sound source number from the second sound source number can obtain the above-mentioned staying number.
[0104] It can also be understood that the above-mentioned preset delay opening duration can be the duration of delaying the lifting of the opening restriction operation. In this embodiment, different preset delay opening durations can be set in advance according to different numbers of staying people. Specifically, the more the number of staying people, the longer the preset delay opening duration. Exemplarily, if the number of staying people is 1, the preset delay opening duration can be set to 5s, if the number of staying people is 3, the preset delay opening duration can be set to 7s, etc. This embodiment does not limit this.
[0105] In actual use, after obtaining the number of stays, the intelligent security device can determine the corresponding preset delay start duration according to different numbers of stays, and start timing. It will not lift the start restriction operation until the preset delay start duration ends, allowing the user to start. Thus, pedestrians can timely know that a user is starting within the preset delay start duration and stay away in time. At the same time, the user can also timely know that there are pedestrians outside the device and can slowly perform the start action independently, improving safety.
[0106] In addition, an embodiment of the present application also proposes a storage medium, on which an opening program is stored. When the opening program is executed by a processor, the steps of the opening method described above are implemented.
[0107] In addition, referring to Figure 8 , Figure 8 is the structural block diagram of the first embodiment of the opening device of the present application; as Figure 8 shown, an embodiment of the present application also proposes an opening device, which includes:
[0108] A trend determination module 801, configured to collect external sound waves of the intelligent security device through a collection component and determine the sound wave change trend of the external sound waves;
[0109] An operation restriction module 802, configured to trigger an opening restriction operation when the sound wave change trend meets a preset pedestrian approach condition, and the opening restriction operation is used to restrict a user from opening the intelligent security device.
[0110] In this embodiment, a collection component can be provided on the intelligent security device. Through this collection component, external sound waves outside the intelligent security device can be collected. Since the external sound waves will change when there are pedestrians approaching outside the device, when the sound wave change trend of the external sound waves meets the preset pedestrian approach condition, it can be determined that there are pedestrians outside the intelligent security device, and then the opening restriction operation for restricting the user from opening the intelligent security device can be triggered, thereby reducing the occurrence of accidentally hurting others when the user opens the device.
[0111] Based on the first embodiment of the opening device of the present application above, a second embodiment of the opening device of the present application is proposed.
[0112] In this embodiment, the operation restriction module 802 is further configured to, when the sound wave change trend meets the preset pedestrian approach condition, determine whether the sound wave amplitude of the external sound waves is higher than a preset sound wave amplitude upper threshold; when the sound wave amplitude is higher than the preset sound wave amplitude upper threshold, trigger the opening restriction operation.
[0113] As an implementation manner, the operation restriction module 802 is further configured to determine the sound wave frequency of the external sound wave, and determine whether the sound wave frequency is higher than a preset sound wave frequency threshold; when the sound wave frequency is not higher than the preset sound wave frequency threshold, determine whether the sound wave change trend meets a preset pedestrian approaching condition; when the sound wave change trend meets the preset pedestrian approaching condition, trigger the enabling restriction operation.
[0114] As an implementation manner, the operation restriction module 802 is further configured to trigger the enabling restriction operation when the sound wave frequency is higher than the preset sound wave frequency threshold.
[0115] Based on the above-mentioned embodiments of the opening device of the present application, a third embodiment of the opening device of the present application is proposed.
[0116] In this embodiment, the operation restriction module 802 is further configured to determine whether the sound wave change trend meets a preset pedestrian leaving condition; when the sound wave change trend meets the preset pedestrian leaving condition, determine whether the sound wave amplitude of the external sound wave is lower than a preset sound wave amplitude lower limit threshold; when the sound wave amplitude is lower than the preset sound wave amplitude lower limit threshold, cancel the enabling restriction operation.
[0117] As an implementation manner, the operation restriction module 802 is further configured to, when the sound wave amplitude is lower than the preset sound wave amplitude preset lower limit threshold, determine the number of first sound sources of the external sound wave when the preset pedestrian approaching condition is met, and determine the number of second sound sources of the external sound wave when the preset pedestrian leaving condition is met; when the number of first sound sources is the same as the number of second sound sources, cancel the enabling restriction operation.
[0118] As an implementation manner, the operation restriction module 802 is further configured to, when the number of first sound sources is different from the number of second sound sources, determine the staying number according to the number of first sound sources and the number of second sound sources; determine a corresponding preset delay opening duration based on the staying number, and cancel the enabling restriction operation when the preset delay opening duration ends.
[0119] Other embodiments or specific implementation manners of the opening device of the present application may refer to the above-mentioned method embodiments, and will not be elaborated here.
[0120] It should be noted that in this document, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements not only includes those elements, but also includes other elements not explicitly listed, or elements inherent to such process, method, article or system. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or system including the element.
[0121] The serial numbers of the embodiments of the present application above are only for description and do not represent the superiority or inferiority of the embodiments.
[0122] Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as a Read Only Memory image (ROM) / Random Access Memory (RAM), magnetic disk, optical disc), and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.
[0123] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application accordingly. Any equivalent structure or equivalent process transformation made by using the description of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be equally included in the patent protection scope of the present application.
Claims
1. An opening method, characterized in that The method is applied to intelligent security equipment equipped with a collection component; The method comprises the following steps: Collecting the external sound waves of the intelligent security device through the collecting component, and determining the sound wave change trend of the external sound waves; When the sound wave change trend meets the preset pedestrian approach condition, an opening restriction operation is triggered, and the opening restriction operation is used to restrict the user from opening the intelligent security device.
2. The opening method according to claim 1, characterized in that, The step of triggering the restriction operation when the sound wave change trend meets the preset pedestrian approach condition includes: When the sound wave change trend meets the preset pedestrian approach condition, determining whether the sound wave amplitude of the external sound wave is higher than a preset sound wave amplitude upper limit threshold; When the sound wave amplitude is higher than the preset sound wave amplitude upper limit threshold, the limiting operation is triggered.
3. The opening method according to claim 1, wherein, The step of triggering the restriction operation when the sound wave change trend meets the preset pedestrian approach condition includes: Determining the sound wave frequency of the external sound wave, and judging whether the sound wave frequency is higher than a preset sound wave frequency threshold; When the sound wave frequency is not higher than the preset sound wave frequency threshold, determining whether the sound wave change trend meets a preset pedestrian approach condition; When the sound wave change trend meets the preset pedestrian approach condition, the restriction operation is triggered.
4. The opening method according to claim 3, wherein, After the step of determining whether the sound wave frequency is higher than a preset sound wave frequency threshold, the method further includes: When the sound wave frequency is higher than the preset sound wave frequency threshold, the limiting operation is triggered.
5. The opening method according to any one of claims 1 to 4, characterized in that, After the step of triggering the restriction operation when the sound wave change trend meets the preset pedestrian approach condition, the method further includes: Determining whether the sound wave change trend meets a preset pedestrian stay-away condition; When the sound wave change trend meets the preset pedestrian distance condition, determining whether the sound wave amplitude of the external sound wave is lower than a preset sound wave amplitude lower limit threshold; When the sound wave amplitude is lower than the preset sound wave amplitude lower limit threshold, the opening restriction operation is released.
6. The opening method according to claim 5, characterized in that The step of releasing the limiting operation when the sound wave amplitude is lower than the preset sound wave amplitude lower limit threshold comprises: When the sound wave amplitude is lower than the preset lower limit threshold of the preset sound wave amplitude, determining the number of first sound sources of external sound waves when the preset pedestrian approaching condition is met, and determining the number of second sound sources of external sound waves when the preset pedestrian moving away condition is met; When the number of the first sound sources is consistent with the number of the second sound sources, the opening restriction operation is released.
7. The opening method according to claim 6, characterized in that, After the step of determining the number of second sound sources of external sound waves that meet the preset pedestrian distance condition, the method further includes: When the number of the first sound sources is inconsistent with the number of the second sound sources, determining the number of stays according to the number of the first sound sources and the number of the second sound sources; A corresponding preset delayed opening time length is determined based on the number of stays, and the opening restriction operation is released when the preset delayed opening time length expires.
8. An opening device, characterized in that, The device comprises: A trend determination module, used for collecting external sound waves of the intelligent security device through a collection component, and determining a sound wave change trend of the external sound waves; An operation restriction module, configured to trigger an enabling restriction operation when the acoustic wave change trend meets a preset pedestrian approach condition, where the enabling restriction operation is used to restrict a user from enabling the intelligent security device.
9. A storage medium, characterized in that, An enabling program is stored on the storage medium, and when the enabling program is executed by a processor, the steps of the enabling method according to any one of claims 1 to 7 are implemented.
10. An intelligent security device, characterized in that, The intelligent security device includes: a memory, a processor, and an enabling program stored on the memory and executable on the processor, and when the enabling program is executed by the processor, the steps of the enabling method according to any one of claims 1 to 7 are implemented.