Motion detection method, detection device and readable storage medium

By analyzing the distance information and trend information between the detection device and the obstacle, accurately determining the moving state of the obstacle, the problem of unnecessary power consumption in the prior art is solved, and the user experience of user behavior judgment is improved.

CN114252937BActive Publication Date: 2025-05-13FOSHAN MIDEA CHUNGHO WATER PURIFICATION MFG +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110138767.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-01
Publication Date
2025-05-13
Estimated Expiration
2041-02-01

AI Technical Summary

Technical Problem

In existing drinking water purification equipment, it is difficult for the mobile detection method to accurately determine whether the user is within an effective distance, resulting in unnecessary power consumption increase.

Method used

By determining the distance information between the detection device and the obstacle, and analyzing the trend information between any two adjacent distance information based on multiple distance information, the movement state of the obstacle is judged.

Benefits of technology

It improves the accuracy of judging the moving state of obstacles, reduces misjudgment and unnecessary power consumption, and improves the user experience of user behavior judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114252937B_ABST
    Figure CN114252937B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a mobile detection method, a detection device, and a readable storage medium, wherein the mobile detection method is used for the detection device, and the mobile detection method, used for the detection device, includes: determining the distance information between the detection device and the obstacle; determining the trend information between any two adjacent distance information based on multiple distance information; determining the movement state of the obstacle based on at least one trend information. In the technical solution of the present invention, the trend information obtained based on the distance information is introduced, so that the judgment of the movement state of the obstacle can be more accurate, and the possibility of misjudgment and execution of wrong actions due to misjudgment can be reduced. When applied to the usage scenario, the possibility of false triggering can be reduced, which greatly improves the user experience of judging user behavior.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of drinking water purification equipment, and in particular to a mobile detection method, a detection device and a readable storage medium. Background Art

[0002] In the related art, in the scheme of realizing proximity detection, microwave or infrared scheme is usually used, and the judgment is made by simply detecting whether the user is within the effective distance. When the user is just passing by or passing by quickly, the scheme of the prior art can still be detected and triggered, which will increase unnecessary power consumption. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0004] In view of this, a first aspect of an embodiment of the present invention provides a movement detection method.

[0005] A second aspect of the present invention provides a detection device.

[0006] A third aspect of the present invention provides a readable storage medium.

[0007] In order to achieve the above-mentioned purpose, an embodiment of the present invention provides a mobile detection method for detecting a device, comprising: determining the distance information between the detection device and an obstacle; determining the trend information between any two adjacent distance information based on multiple distance information; and determining the movement state of the obstacle based on at least one trend information.

[0008] According to the mobile detection method provided by the embodiment of the present invention, the change of the distance information between the determined detection device and the obstacle is converted into the trend information of the obstacle relative to the detection device, and then the movement state of the obstacle is obtained by analyzing the trend information. In the above manner, due to the introduction of the trend information obtained according to the distance information, the judgment of the movement state of the obstacle can be made more accurate, and the possibility of misjudgment and the possibility of performing wrong actions due to misjudgment can be reduced when applied to the usage scenario, which greatly improves the user experience of judging user behavior.

[0009] Specifically, when acquiring information, the possible movement states of the obstacle include multiple types, such as approaching, moving away, or remaining stationary, so the object to be acquired should be the distance information between the detection device and the obstacle. By analyzing multiple distance information, the trend information between two adjacent distance information can be obtained, that is, based on different detection devices, the trend information between the obstacle moving from the previous distance information to the next distance information. By analyzing one or more trend information, the result of the trend judgment of the obstacle during the movement process can be improved, and the accuracy of the judgment of the movement state of the obstacle can be improved.

[0010] Among them, the distance information between the detection device and the obstacle can be the length of the line segment between the center of gravity of the detection device and the center of gravity of the obstacle, or it can be the projection distance of the two centers of gravity on the placement surface of the detection device, or it can even be the distance formed by connecting the two centers of gravity with a pre-set arc or other shaped line.

[0011] In addition, the trend information may be an angle value with positive and negative values, or a weight value with a preset corresponding relationship with the angle, which is convenient for subsequent application and calculation.

[0012] In addition, the mobile detection method in the above solution provided by the present invention may also have the following additional technical features:

[0013] In the above technical solution, determining the trend information between any two adjacent distance information specifically includes: determining the adjacent first distance information and second distance information according to the time sequence of receiving the distance information; determining the distance difference between the second distance information and the first distance information; determining the trend information according to the distance difference, wherein the trend information includes the angle formed by the straight line formed by the first distance information and the second distance information and the installation surface of the detection device.

[0014] In this technical solution, when determining trend information, it is mainly based on the order in which the detection device receives the distance information to determine two adjacent distance information, that is, the first distance information corresponding to the earlier time of receiving the information and the second distance information corresponding to the later time of receiving the information. By calculating the distance difference between the second distance information and the first distance information, the trend information can be determined according to the distance difference. Among them, the distance difference should be the second distance information-the first distance information, that is, the latter distance-the previous distance. It can be understood that under the calculation of this formula, the distance difference has positive and negative values. When the latter distance is small and the former distance is large, it means that the obstacle is gradually approaching the detection device at this time, and the distance difference is negative at this time. When the latter distance is large and the former distance is small, it means that the obstacle is gradually moving away from the detection device at this time, and the distance difference is positive at this time.

[0015] In addition, when determining the trend information based on the distance difference, the trend information includes the angle. Specifically, the first distance information will correspond to the position of an obstacle, and the second distance information will also correspond to the position of an obstacle. The two positions are connected by a straight line, and an angle is formed between them and the installation surface where the detection equipment is set. At this time, the trend information includes the positive and negative and the angle of this angle. It can be understood that the larger the above angle is, the more direct the movement of the obstacle is on the basis of the detection equipment not moving. The maximum value of the angle should be 90°. At this time, the obstacle moves directly to the detection equipment in a direction perpendicular to the installation surface.

[0016] In the above technical solution, determining the trend information between any two adjacent distance information also includes: determining a first feedback moment corresponding to the first distance information and a second feedback moment corresponding to the second distance information; determining a feedback time difference between the second feedback moment and the first feedback moment; determining the trend information based on the distance difference, specifically including: determining the trend information based on the feedback time difference and the distance difference.

[0017] In this technical solution, when determining trend information, the influence of time must also be considered. Specifically, the first feedback moment for obtaining the first distance information and the second feedback moment for obtaining the second distance information are determined respectively. By calculating the feedback time difference between the two feedback moments, when determining the trend information, a comprehensive judgment is made based on the feedback time difference and the distance difference. Specifically, the feedback time difference = the second feedback moment - the first feedback moment, that is, the time for obtaining the latter distance - the time for obtaining the previous distance. When calculating the trend information, the distance difference / feedback time difference can be directly used to obtain it. At this time, a numerical value will be obtained. The positive or negative value represents whether the obstacle is close to or far away from the detection device, and the size of the numerical value represents the angle of the obstacle toward the detection device, or the angle of the obstacle away from the detection device. By numericalizing the trend information, it is easier to conduct subsequent statistical analysis, and it is also beneficial to carry out targeted intelligent learning based on the usage habits of different users, thereby improving the user experience.

[0018] In the above technical solution, determining the movement state of the obstacle according to at least one trend information specifically includes: determining the number of trend information within a set time; and determining the movement state according to the number.

[0019] In this technical solution, when determining the movement state of an obstacle based on trend information, it is mainly determined based on the amount of trend information. Specifically, the set time is first obtained, and then the amount of trend information obtained within the set time is determined. When judging the movement state, the difference in quantity can be taken into account. Generally speaking, the more the number, the higher the accuracy of judging the movement state, that is, the more accurate it is, but correspondingly, the time required for judgment will also be longer.

[0020] It can be understood that the amount of trend information is determined based on the distance information. Generally speaking, the amount of trend information = the amount of distance information - 1, and the distance information can be obtained according to a preset time interval, possibly at a constant rate, and the acquisition frequency can be adjusted according to different operating modes or the current time.

[0021] In the above technical solution, the moving state is determined according to the quantity, specifically including: when the quantity of the trend information is one, the moving state is determined according to the value and the positive or negative of the trend information.

[0022] In this technical solution, when the number of trend information is one, there is less data available for reference. Therefore, in order to ensure the normal use of the detection equipment, the movement status of the obstacle can be simply and quickly obtained only through the numerical value and positive and negative of the trend information, which can effectively shorten the detection cycle.

[0023] In the above technical solution, the moving state is determined according to the quantity, specifically including: when the number of trend information is multiple, if within the first time, the multiple trend information are all 0, it is determined that no relative movement occurs between the obstacle and the detection device.

[0024] In this technical solution, when there are multiple trend information, there are more data available for statistical calculation. At this time, a comprehensive judgment can be made based on multiple trend information to obtain a relatively accurate movement status. In particular, within the first time, multiple trend information are detected to be 0, that is, within the first time, all trend information are 0. In each detection cycle, the previous distance and the next distance can be considered to be the same. Although there is a possibility of small swings, since multiple trend information are 0, it is approximately considered that no movement has occurred between the obstacle and the detection device.

[0025] Furthermore, when the detection device itself remains stationary, it can be considered that the movement state of the obstacle is a fixed state and no movement occurs.

[0026] The above technical solution also includes: determining distance information corresponding to the plurality of trend information, and triggering a proximity sensing instruction when the distance information is less than a first distance threshold.

[0027] In this technical solution, on the basis of the above-mentioned absence of relative movement, it is also necessary to determine the distance information corresponding to multiple trend information. When the distance information is small, the proximity sensing instruction can be triggered. That is, within the first time, when it is detected that the distance between the obstacle and the detection device is close and remains motionless for a certain period of time, it can be considered that the current obstacle is already near the detection device, and the corresponding proximity sensing instruction needs to be triggered, so that the corresponding control logic can be executed subsequently according to the proximity sensing instruction.

[0028] The above technical solution also includes: if the trend information is negative within the second time and the value of the trend information is greater than the first threshold, the proximity sensing instruction is triggered; if the trend information is positive within the third time and the value of the trend information is greater than the second threshold, the distance sensing instruction is triggered.

[0029] In this technical solution, when triggering the instruction, if the trend information obtained within the second time is negative and the value of the trend information is large, specifically, the value of the trend information is greater than the first threshold, it can be explained that the obstacle is moving closer to the detection device, thereby triggering the proximity sensing instruction; similarly, if the trend information obtained at the third time is positive and the value of the trend information is large, specifically, the value of the trend information is greater than the second threshold, it can be explained that the obstacle is moving away from the detection device, thereby triggering the distance sensing instruction.

[0030] It should be noted that when performing approach detection, the value of the trend information is greater than the first threshold, or when performing distance detection, the value of the trend information is greater than the second threshold, both of which indicate that the current obstacle is moving at a large angle and is moving more directly towards or away from the detection device.

[0031] The first threshold and the second threshold may be the same or different.

[0032] The first time, the second time and the third time may be partially the same or different from each other.

[0033] In the above technical solution, determining the movement state of the obstacle according to at least one trend information specifically includes: determining the movement state of the obstacle according to at least one trend information and distance information corresponding to each trend information.

[0034] In this technical solution, when determining the moving state based on trend information, it is mainly determined comprehensively through one or more trend information and the distance information corresponding to each trend information. Specifically, one or more trend information is first obtained based on the number of trend information, and then the distance information corresponding to each trend information is determined respectively. The moving state of the obstacle can also be determined by analyzing multiple distance information. It can be understood that different distance information can correspond to different positions of the obstacle relative to the detection device, so it is convenient to analyze the moving state under the action of multiple distance information.

[0035] In the above technical solution, determining the distance information between the detection device and the obstacle specifically includes: controlling the detection device to emit a detection signal outward and receiving a feedback signal corresponding to the detection signal; determining the time between emitting the detection signal and receiving the feedback signal; and determining the distance information based on the propagation speed and time of the detection signal and the feedback signal.

[0036] In this technical solution, when determining the distance information between the detection device and the obstacle, it is mainly achieved by the detection device emitting a detection signal outward and receiving a feedback signal, wherein the feedback signal is a feedback signal that is reflected into the detection device after the detection signal is emitted outward and contacts the obstacle. The difference between the time when the detection device emits the detection signal outward and the time when the feedback signal is received is determined, which is the time of the above solution. By obtaining the propagation speed and time, the distance information can be obtained through simple calculation, that is, distance information = propagation speed × time / 2.

[0037] It can be understood that the propagation speed of a signal varies with its type. Generally speaking, signals are divided into optical signals and acoustic signals. The propagation speeds of these two major types of signals are different. For each type of signal, the propagation speeds of its subtypes are the same. For example, the transmission of infrared light and the propagation of visible light are both the speed of light.

[0038] Among them, the detection device can be equipped with a signal transceiver to realize the sending and receiving of the same signal, and can also be equipped with a signal receiver and a signal transmitter separately to realize the sending and receiving of different types of signals. For example, the signal transmitter is a light source and the signal receiver is an infrared receiver. When the visible light is reflected by an obstacle, a certain band of light is filtered to form infrared light that can be received by infrared to realize reception. In other words, the detection signal and the feedback signal can be of the same type or of different types.

[0039] In the above technical solution, the detection signal is an optical signal, and its propagation speed is the speed of light; the detection signal is an acoustic signal, and its propagation speed is the speed of sound.

[0040] In this technical solution, the detection signal can be an optical signal or an acoustic signal. If it is an optical signal, the propagation speed is calculated according to the speed of light, that is, according to 3×10 8 m / s. If it is an acoustic signal, the propagation speed is calculated based on the speed of sound, that is, 340m / s. By determining different propagation speeds according to different signal types, the accuracy of distance information can be improved.

[0041] The above technical solution also includes: determining gait information according to the movement state of the obstacle; and triggering corresponding sensing instructions according to the gait information.

[0042] In this technical solution, in the process of determining the moving state based on the distance information and trend information, it can also be associated with the gait information. Since the application scenarios of the detection equipment will change in different usage environments, the introduction of gait information can improve the behavior judgment of multiple users fixed in the same space. For example, if there are both elderly people and children in the room, their gait information is obviously different. At this time, if it is determined that a child walks towards the detection equipment, when triggered, the child lock or the function corresponding to the child’s usage authority may be triggered, which greatly improves the user experience and improves the intelligence of the product.

[0043] An embodiment of the second aspect of the present invention provides a detection device, comprising: a signal transceiver; a processor and a memory, wherein the memory stores a program or instruction, wherein the processor is electrically connected to the signal transceiver and the memory, respectively, and the processor is used to implement the steps of the mobile detection method in the above-mentioned first aspect embodiment when executing the program or instruction.

[0044] According to the second aspect of the present invention, the detection device provided in the embodiment includes a signal transceiver, a processor and a memory. The processor is electrically connected to the memory and the signal transceiver respectively, and the processor can control the signal transceiver to send and receive detection signals. The memory stores a program or instruction, and the processor is used to implement the steps of the mobile detection method when executing the program or instruction. Therefore, the detection device of the present invention has all the beneficial effects of the mobile detection method in any of the above embodiments, which will not be repeated here.

[0045] Among them, the detection equipment can be used in drinking water machines, water purifiers, drinking water purifiers and other drinking water purification equipment.

[0046] An embodiment of the third aspect of the present invention provides a readable storage medium having a program or instruction stored thereon, and when the program or instruction is executed by a processor, the steps of any one of the motion detection methods in the embodiment of the first aspect are implemented.

[0047] Through the embodiments of the readable storage medium of the present invention, a computer program is stored thereon, and when the computer program or instructions are executed by the processor, the steps of the mobile detection method in any of the above embodiments are implemented, thereby having all the beneficial effects of the mobile detection method in any of the above embodiments, which will not be repeated here.

[0048] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 A schematic diagram showing a flow chart of a motion detection method according to an embodiment of the present invention is shown;

[0050] Figure 2A schematic diagram showing a flow chart of a motion detection method according to an embodiment of the present invention is shown;

[0051] Figure 3 A schematic diagram showing a flow chart of a motion detection method according to an embodiment of the present invention is shown;

[0052] Figure 4 A schematic diagram showing a flow chart of a motion detection method according to an embodiment of the present invention is shown;

[0053] Figure 5 A schematic diagram showing a flow chart of a motion detection method according to an embodiment of the present invention is shown;

[0054] Figure 6 A schematic diagram showing a flow chart of a motion detection method according to an embodiment of the present invention is shown;

[0055] Figure 7 A schematic diagram showing a flow chart of a motion detection method according to an embodiment of the present invention is shown;

[0056] Figure 8 A schematic diagram of the structure of a detection device according to an embodiment of the present invention is shown;

[0057] Fig. 9 A schematic flow chart of a motion detection method according to an embodiment of the present invention is shown.

[0058] in, Figure 8 The corresponding relationship between the reference numerals and the component names is as follows:

[0059] 100: detection device; 110: memory; 120: processor; 130: signal transceiver. DETAILED DESCRIPTION

[0060] In order to more clearly understand the above-mentioned purposes, features and advantages of the embodiments of the present invention, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0061] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the embodiments of the present invention may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present application is not limited to the specific embodiments disclosed below.

[0062] Refer to the following Figures 1 to 9 Some embodiments according to the invention are described.

[0063] Embodiment 1

[0064] like Figure 1As shown, this embodiment provides a method for detecting movement of a detection device, including: step S102: determining distance information between the detection device and an obstacle; step S104: determining trend information between any two adjacent distance information based on multiple distance information; step S106: determining the movement state of the obstacle based on at least one trend information.

[0065] According to the mobile detection method provided by the embodiment of the present invention, the change of the distance information between the determined detection device and the obstacle is converted into the trend information of the obstacle relative to the detection device, and then the movement state of the obstacle is obtained by analyzing the trend information. In the above manner, due to the introduction of the trend information obtained according to the distance information, the judgment of the movement state of the obstacle can be made more accurate, and the possibility of misjudgment and execution of wrong actions due to misjudgment can be reduced. When applied to the usage scenario, the user experience of judging user behavior can be greatly improved.

[0066] Specifically, when acquiring information, the possible movement states of the obstacle include multiple types, such as approaching, moving away, or remaining stationary, so the object to be acquired should be the distance information between the detection device and the obstacle. By analyzing multiple distance information, the trend information between two adjacent distance information can be obtained, that is, based on different detection devices, the trend information between the obstacle moving from the previous distance information to the next distance information. By analyzing one or more trend information, the result of the trend judgment of the obstacle during the movement process can be improved, and the accuracy of the judgment of the movement state of the obstacle can be improved.

[0067] Among them, the distance information between the detection device and the obstacle can be the length of the line segment between the center of gravity of the detection device and the center of gravity of the obstacle, or it can be the projection distance of the two centers of gravity on the placement surface of the detection device, or it can even be the distance formed by connecting the two centers of gravity with a pre-set arc or other shaped line.

[0068] In addition, the trend information may be an angle value with positive and negative values, or a weight value with a preset corresponding relationship with the angle, which is convenient for subsequent application and calculation.

[0069] Furthermore, in the process of judging the moving state according to the distance information and trend information, it can also be associated with the gait information. Since the application scenarios of the detection equipment will change in different usage environments, the introduction of gait information can improve the behavior judgment of multiple users fixed in the same space. For example, there are elderly people and children in the room at the same time, and their gait information is obviously different. At this time, if it is judged that a child walks towards the detection device, when triggered, the child lock or the function corresponding to the child’s usage authority may be triggered, which greatly improves the user experience and improves the intelligence of the product.

[0070] Embodiment 2

[0071] like Figure 2 As shown, this embodiment provides a method for detecting movement of a detection device, including: step S202: determining the distance information between the detection device and the obstacle; step S204: determining adjacent first distance information and second distance information according to the time sequence of receiving the distance information; step S206: determining the distance difference between the second distance information and the first distance information; step S208: determining trend information according to the distance difference; step S210: determining the movement state of the obstacle according to at least one trend information.

[0072] The trend information includes an angle formed by a straight line formed by the first distance information and the second distance information and an installation surface of the detection device.

[0073] When determining trend information, it is mainly based on the order in which the detection device receives the distance information to determine two adjacent distance information, that is, the first distance information corresponding to the earlier time of receiving the information and the second distance information corresponding to the later time of receiving the information. By calculating the distance difference between the second distance information and the first distance information, the trend information can be determined based on the distance difference. Among them, the distance difference should be the second distance information-first distance information, that is, the latter distance-previous distance. It can be understood that under the calculation of this formula, the distance difference has positive and negative values. When the latter distance is small and the former distance is large, it means that the obstacle is gradually approaching the detection device at this time, and the distance difference is negative at this time. When the latter distance is large and the former distance is small, it means that the obstacle is gradually moving away from the detection device at this time, and the distance difference is positive at this time.

[0074] In addition, when determining the trend information based on the distance difference, the trend information includes the angle. Specifically, the first distance information will correspond to the position of an obstacle, and the second distance information will also correspond to the position of an obstacle. The two positions are connected by a straight line, and an angle is formed between them and the installation surface where the detection equipment is set. At this time, the trend information includes the positive and negative and the angle of this angle. It can be understood that the larger the above angle is, the more direct the movement of the obstacle is on the basis of the detection equipment not moving. The maximum value of the angle should be 90°. At this time, the obstacle moves directly to the detection equipment in a direction perpendicular to the installation surface.

[0075] Furthermore, in the process of judging the moving state according to the distance information and trend information, it can also be associated with the gait information. Since the application scenarios of the detection equipment will change in different usage environments, the introduction of gait information can improve the behavior judgment of multiple users fixed in the same space. For example, there are elderly people and children in the room at the same time, and their gait information is obviously different. At this time, if it is judged that a child walks towards the detection device, when triggered, the child lock or the function corresponding to the child’s usage authority may be triggered, which greatly improves the user experience and improves the intelligence of the product.

[0076] Embodiment 3

[0077] like Figure 3 As shown, this embodiment provides a motion detection method for a detection device, including: step S302: determining the distance information between the detection device and the obstacle; step S304: determining adjacent first distance information and second distance information according to the time when the distance information is received; step S306: determining the distance difference between the second distance information and the first distance information; step S308: determining a first feedback moment corresponding to the first distance information and a second feedback moment corresponding to the second distance information; step S310: determining a feedback time difference between the second feedback moment and the first feedback moment; step S312: determining trend information according to the feedback time difference and the distance difference; step S314: determining the movement state of the obstacle according to at least one trend information.

[0078] When determining trend information, it is mainly based on the order in which the detection device receives the distance information to determine two adjacent distance information, that is, the first distance information corresponding to the earlier time of receiving the information and the second distance information corresponding to the later time of receiving the information. By calculating the distance difference between the second distance information and the first distance information, the trend information can be determined based on the distance difference. Among them, the distance difference should be the second distance information-first distance information, that is, the latter distance-previous distance. It can be understood that under the calculation of this formula, the distance difference has positive and negative values. When the latter distance is small and the former distance is large, it means that the obstacle is gradually approaching the detection device at this time, and the distance difference is negative at this time. When the latter distance is large and the former distance is small, it means that the obstacle is gradually moving away from the detection device at this time, and the distance difference is positive at this time.

[0079] In addition, when determining the trend information based on the distance difference, the trend information includes the angle. Specifically, the first distance information will correspond to the position of an obstacle, and the second distance information will also correspond to the position of an obstacle. The two positions are connected by a straight line, and an angle is formed between them and the installation surface where the detection equipment is set. At this time, the trend information includes the positive and negative and the angle of this angle. It can be understood that the larger the above angle is, the more direct the movement of the obstacle is on the basis of the detection equipment not moving. The maximum value of the angle should be 90°. At this time, the obstacle moves directly to the detection equipment in a direction perpendicular to the installation surface.

[0080] Specifically, the first feedback moment for obtaining the first distance information and the second feedback moment for obtaining the second distance information are determined respectively. By calculating the feedback time difference between the two feedback moments, when determining the trend information, a comprehensive judgment is made based on the feedback time difference and the distance difference. Specifically, the feedback time difference = the second feedback moment - the first feedback moment, that is, the time for obtaining the latter distance - the time for obtaining the previous distance. When calculating the trend information, the distance difference / feedback time difference can be directly used to obtain it. At this time, a numerical value will be obtained. The positive or negative value represents whether the obstacle is close to or far away from the detection device. The size of the numerical value represents the angle of the obstacle toward the detection device, or the angle of the obstacle away from the detection device. By numericalizing the trend information, it is easier to conduct subsequent statistical analysis, and it is also beneficial to carry out targeted intelligent learning based on the usage habits of different users, thereby improving the user experience.

[0081] Furthermore, in the process of judging the moving state according to the distance information and trend information, it can also be associated with the gait information. Since the application scenarios of the detection equipment will change in different usage environments, the introduction of gait information can improve the behavior judgment of multiple users fixed in the same space. For example, there are elderly people and children in the room at the same time, and their gait information is obviously different. At this time, if it is judged that a child walks towards the detection device, when triggered, the child lock or the function corresponding to the child’s usage authority may be triggered, which greatly improves the user experience and improves the intelligence of the product.

[0082] Embodiment 4

[0083] like Figure 4 As shown, this embodiment provides a method for detecting movement of a detection device, including: step S402: determining the distance information between the detection device and the obstacle; step S404: determining the trend information between any two adjacent distance information based on multiple distance information; step S406: determining the number of trend information within a set time; step S408: determining the movement state based on the number.

[0084] When determining the movement state of an obstacle based on trend information, it is mainly determined based on the amount of trend information. Specifically, the set time is first obtained, and then the amount of trend information obtained within the set time is determined. When judging the movement state, the difference in quantity can be taken into account. Generally speaking, the greater the number, the higher the judgment accuracy of the movement state, that is, the more accurate it is, but correspondingly, the time required for judgment will also be longer.

[0085] It can be understood that the amount of trend information is determined based on the distance information. Generally speaking, the amount of trend information = the amount of distance information - 1, and the distance information can be obtained according to a preset time interval, possibly at a constant rate, and the acquisition frequency can be adjusted according to different operating modes or the current time.

[0086] Furthermore, in the process of judging the moving state according to the distance information and trend information, it can also be associated with the gait information. Since the application scenarios of the detection equipment will change in different usage environments, the introduction of gait information can improve the behavior judgment of multiple users fixed in the same space. For example, there are elderly people and children in the room at the same time, and their gait information is obviously different. At this time, if it is judged that a child walks towards the detection device, when triggered, the child lock or the function corresponding to the child’s usage authority may be triggered, which greatly improves the user experience and improves the intelligence of the product.

[0087] Embodiment 5

[0088] like Figure 5As shown, the present embodiment provides a method for detecting movement of a detection device, including: step S502: determining the distance information between the detection device and the obstacle; step S504: determining the trend information between any two adjacent distance information according to a plurality of distance information; step S506: determining the number of trend information within a set time; step S508: when the number of trend information is one, determining the movement state according to the value and positive and negative of the trend information; step S510: when the number of trend information is multiple, if the multiple trend information are all 0 within the first time, it is determined that no relative movement occurs between the obstacle and the detection device; step S512: determining the distance information corresponding to the multiple trend information, and triggering a proximity sensing instruction when the distance information is less than a first distance threshold; step S514: if the trend information is negative within the second time, and the value of the trend information is greater than the first threshold, the proximity sensing instruction is triggered; step S516: if the trend information is positive within the third time, and the value of the trend information is greater than the second threshold, the distance sensing instruction is triggered.

[0089] When the number of trend information is one, there is less data available for reference. Therefore, in order to ensure the normal use of the detection equipment, the movement status of the obstacle can be simply and quickly obtained only through the numerical value and positive and negative of the trend information, which can effectively shorten the detection cycle.

[0090] When there are multiple trend information, there are more data available for statistical calculation. At this time, a comprehensive judgment can be made based on multiple trend information to obtain a relatively accurate movement status. In particular, in the first time, multiple trend information are detected to be 0, that is, in the first time, all trend information are 0. In each detection cycle, the previous distance and the next distance can be considered to be the same. Although there is a possibility of small swings, since multiple trend information are 0, it is approximately considered that no movement has occurred between the obstacle and the detection device.

[0091] Furthermore, when the detection device itself remains stationary, it can be considered that the movement state of the obstacle is a fixed state and no movement occurs.

[0092] On the basis of the above-mentioned absence of relative movement, it is also necessary to determine the distance information corresponding to multiple trend information. When the distance information is small, the proximity sensing instruction can be triggered. That is, when it is detected in the first time that the distance between the obstacle and the detection device is close and remains motionless for a certain period of time, it can be considered that the current obstacle is already near the detection device, and the corresponding proximity sensing instruction needs to be triggered, so that the corresponding control logic can be executed later according to the proximity sensing instruction.

[0093] When triggering the instruction, if the trend information obtained within the second time is negative and the value of the trend information is large, specifically, the value of the trend information is greater than the first threshold, it may indicate that the obstacle is moving closer to the detection device, thereby triggering the proximity sensing instruction; similarly, if the trend information obtained at the third time is positive and the value of the trend information is large, specifically, the value of the trend information is greater than the second threshold, it may indicate that the obstacle is moving away from the detection device, thereby triggering the distance sensing instruction.

[0094] It should be noted that when performing approach detection, the value of the trend information is greater than the first threshold, or when performing distance detection, the value of the trend information is greater than the second threshold, both of which indicate that the current obstacle is moving at a large angle and is moving more directly towards or away from the detection device.

[0095] The first threshold and the second threshold may be the same or different.

[0096] The first time, the second time and the third time may be partially the same or different from each other.

[0097] Furthermore, in the process of judging the moving state according to the distance information and trend information, it can also be associated with the gait information. Since the application scenarios of the detection equipment will change in different usage environments, the introduction of gait information can improve the behavior judgment of multiple users fixed in the same space. For example, there are elderly people and children in the room at the same time, and their gait information is obviously different. At this time, if it is judged that a child walks towards the detection device, when triggered, the child lock or the function corresponding to the child’s usage authority may be triggered, which greatly improves the user experience and improves the intelligence of the product.

[0098] Embodiment 6

[0099] like Figure 6 As shown, this embodiment provides a method for detecting a mobile device, including: step S602: determining the distance information between the detection device and the obstacle; step S604: determining the trend information between any two adjacent distance information based on multiple distance information; step S606: determining the movement state of the obstacle based on at least one trend information and the distance information corresponding to each trend information.

[0100] When determining the movement state based on trend information, it is mainly determined comprehensively through one or more trend information and the distance information corresponding to each trend information. Specifically, one or more trend information is first obtained according to the number of trend information, and then the distance information corresponding to each trend information is determined respectively. The movement state of the obstacle can also be determined by analyzing multiple distance information. It can be understood that different distance information can correspond to different positions of the obstacle relative to the detection device, so it is convenient to analyze the movement state under the action of multiple distance information.

[0101] Furthermore, in the process of judging the moving state according to the distance information and trend information, it can also be associated with the gait information. Since the application scenarios of the detection equipment will change in different usage environments, the introduction of gait information can improve the behavior judgment of multiple users fixed in the same space. For example, there are elderly people and children in the room at the same time, and their gait information is obviously different. At this time, if it is judged that a child walks towards the detection device, when triggered, the child lock or the function corresponding to the child’s usage authority may be triggered, which greatly improves the user experience and improves the intelligence of the product.

[0102] Embodiment 7

[0103] like Figure 7 As shown, this embodiment provides a mobile detection method for a detection device, including: step S702: controlling the detection device to emit a detection signal outward, and receiving a feedback signal corresponding to the detection signal; step S704: determining the time between emitting the detection signal and receiving the feedback signal; step S706: determining the distance information according to the propagation speed and time of the detection signal and the feedback signal; step S708: determining the trend information between any two adjacent distance information according to multiple distance information; step S710: determining the movement state of the obstacle according to at least one trend information and the distance information corresponding to each trend information.

[0104] When determining the distance information between the detection device and the obstacle, it is mainly achieved by the detection device emitting a detection signal outward and receiving a feedback signal, wherein the feedback signal is a feedback signal that is reflected into the detection device after the detection signal is emitted outward and contacts the obstacle. The difference between the time when the detection device emits the detection signal outward and the time when the feedback signal is received is determined, which is the time of the above scheme. By obtaining the propagation speed and time, the distance information can be obtained through simple calculation, that is, distance information = propagation speed × time / 2.

[0105] It can be understood that the propagation speed of a signal varies with its type. Generally speaking, signals are divided into optical signals and acoustic signals. The propagation speeds of these two major types of signals are different. For each type of signal, the propagation speeds of its subtypes are the same. For example, the transmission of infrared light and the propagation of visible light are both the speed of light.

[0106] Among them, the detection device can be equipped with a signal transceiver to realize the sending and receiving of the same signal, and can also be equipped with a signal receiver and a signal transmitter separately to realize the sending and receiving of different types of signals. For example, the signal transmitter is a light source and the signal receiver is an infrared receiver. When the visible light is reflected by an obstacle, a certain band of light is filtered to form infrared light that can be received by infrared to realize reception. In other words, the detection signal and the feedback signal can be of the same type or of different types.

[0107] Furthermore, the detection signal can be an optical signal or an acoustic signal. If it is an optical signal, the propagation speed is calculated according to the speed of light, that is, according to 3×10 8 m / s. If it is an acoustic signal, the propagation speed is calculated based on the speed of sound, that is, 340m / s. By determining different propagation speeds according to different signal types, the accuracy of distance information can be improved.

[0108] Furthermore, in the process of judging the moving state according to the distance information and trend information, it can also be associated with the gait information. Since the application scenarios of the detection equipment will change in different usage environments, the introduction of gait information can improve the behavior judgment of multiple users fixed in the same space. For example, there are elderly people and children in the room at the same time, and their gait information is obviously different. At this time, if it is judged that a child walks towards the detection device, when triggered, the child lock or the function corresponding to the child’s usage authority may be triggered, which greatly improves the user experience and improves the intelligence of the product.

[0109] Embodiment 8

[0110] like Figure 8 As shown, this embodiment provides a detection device 100, including a signal transceiver 130, a processor 120 and a memory 110. The processor 120 is electrically connected to the memory 110 and the signal transceiver 130 respectively, and the processor 120 can control the signal transceiver 130 to send and receive detection signals. The memory 110 stores programs or instructions, and the processor 120 is used to implement the steps of the mobile detection method when executing the programs or instructions. Therefore, the detection device of the present invention has all the beneficial effects of the mobile detection method in any of the above embodiments, which will not be repeated here.

[0111] Further, when the present embodiment is used to implement the motion detection method, Fig. 9 As shown, first, step S802 is used to initialize the detection device, and then step S804 is used to use the microwave module to transmit signals to obtain and store the distance value. Specifically, the signal transceiver in the detection device can transmit microwave signals to the outside. When encountering an obstacle (user), the microwave signal is reflected, and the distance value s=c×t / 2 (i.e., distance information) between the obstacle and the machine is calculated by the time difference t between the transmission and return (i.e., the time between the transmission of the detection signal and the reception of the feedback signal). During the user's movement, whether approaching the machine from a distance or moving away from the machine from a close distance, a series of distance values ​​{s0:sn} (i.e., distance information) are detected by microwave signals.

[0112] Then, step S806 is performed: the gradient value data is calculated and stored. Specifically, the adjacent distance data is taken to calculate the gradient s'=(sn-sn-1) / △t, where △t is the time interval between two measurements to obtain the distance value (i.e., the feedback time difference). That is, a series of gradient data (i.e., trend information) is obtained. The gradient data represents the trend of the user's movement. If the gradient data is -, it means that the user is walking towards the machine, and the size of the data represents the angle at which the user is walking towards the machine. Similarly, if the gradient data is +, it means that the user is walking away from the machine, and the size of the data represents the angle at which the user is leaving the machine.

[0113] Further through step S808: perform logical judgment and output a valid value. Specifically, in practice, the following settings are made: 1. If the distance value is <30cm for three consecutive times and the gradient value remains unchanged, it means that the user is standing in front of the machine without moving, and the detection output is a valid high value (i.e., triggering a proximity sensing instruction); 2. If the gradient value is -, the data size is > the preset value, and the distance value is <50cm, it means that the user is approaching the machine, and the detection output is a valid high value (i.e., triggering a proximity sensing instruction); 3. If the gradient value is +, it means that the user is away from the machine, and the detection output is a valid low value (i.e., triggering a distance sensing instruction). The machine performs subsequent operations based on the high or low effective value of the detection output.

[0114] Finally, step S810 is executed: the state of the detection device is updated. Step S810 is performed to facilitate self-learning of the detection device, which is more conducive to the next use and further improves the user experience.

[0115] Embodiment 9

[0116] This embodiment provides a readable storage medium on which a computer program is stored. When the computer program or instructions are executed by a processor, the steps of the mobile detection method in any of the above embodiments are implemented, and thus all the beneficial effects of the mobile detection method in any of the above embodiments are achieved, which will not be repeated here.

[0117] According to the embodiments of the mobile detection method, detection device and readable storage medium proposed in the present invention, trend information obtained based on distance information is introduced, so that the judgment of the movement state of the obstacle can be more accurate, and the possibility of misjudgment and execution of wrong actions due to misjudgment can be reduced. When applied to usage scenarios, the possibility of false triggering can be reduced, greatly improving the user experience of judging user behavior.

[0118] In the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance; the term "plurality" refers to two or more, unless otherwise clearly defined. The terms "installed", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, "connected" can be a fixed connection, a detachable connection, or an integral connection; "connected" can be a direct connection or an indirect connection through an intermediate medium. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0119] In the description of the present invention, it is necessary to understand that the directions or positional relationships indicated by terms such as “upper”, “lower”, “left”, “right”, “front” and “back” are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or unit referred to must have a specific direction, be constructed and operated in a specific orientation, and therefore, cannot be understood as a limitation on the present invention.

[0120] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0121] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A mobile detection method for detecting equipment, characterized in that: include: Determining distance information between the detection device and the obstacle; Determine trend information between any two adjacent distance information according to the plurality of distance information; determining a movement state of the obstacle according to at least one of the trend information; The determining of trend information between any two adjacent distance information specifically includes: Determine adjacent first distance information and second distance information according to the time when the distance information is received; determining a distance difference between the second distance information and the first distance information; Determine the trend information according to the distance difference, Wherein, the trend information includes an angle formed by a straight line formed by the first distance information and the second distance information and an installation surface of the detection device; In the process of determining the movement status based on the distance information and the trend information, the behaviors of multiple users fixed in the same space are determined by introducing the gait information.

2. The motion detection method according to claim 1, characterized in that: The determining of trend information between any two adjacent distance information further includes: Determine a first feedback time corresponding to the first distance information and a second feedback time corresponding to the second distance information; determining a feedback time difference between the second feedback moment and the first feedback moment; The determining the trend information according to the distance difference specifically includes: The trend information is determined according to the feedback time difference and the distance difference.

3. The motion detection method according to claim 1, characterized in that: The determining the movement state of the obstacle according to at least one piece of trend information specifically includes: Determine the amount of said trend information within a set time; The movement status is determined based on the quantity.

4. The motion detection method according to claim 3, characterized in that: Determining the movement state according to the quantity specifically includes: When the number of the trend information is one, the movement state is determined according to the value and the sign of the trend information.

5. The motion detection method according to claim 3, characterized in that: Determining the movement state according to the quantity specifically includes: When there are multiple pieces of the trend information, if within the first time, the multiple pieces of the trend information are all 0, it is determined that no relative movement occurs between the obstacle and the detection device.

6. The motion detection method according to claim 5, characterized in that: Also includes: Distance information corresponding to the plurality of trend information is determined, and a proximity sensing instruction is triggered when the distance information is less than a first distance threshold.

7. The motion detection method according to claim 5, characterized in that: Also includes: If within the second time, the trend information is negative and the value of the trend information is greater than the first threshold, a proximity sensing instruction is triggered; If the trend information is positive within the third time, and the value of the trend information is greater than the second threshold, the away sensing instruction is triggered.

8. The motion detection method according to any one of claims 1 to 7, characterized in that: The determining the movement state of the obstacle according to at least one piece of trend information specifically includes: The movement state of the obstacle is determined according to at least one piece of trend information and distance information corresponding to each piece of trend information.

9. The motion detection method according to any one of claims 1 to 7, characterized in that: The determining of the distance information between the detection device and the obstacle specifically includes: Controlling the detection device to emit a detection signal outwardly, and receiving a feedback signal corresponding to the detection signal; Determining the time between transmitting the detection signal and receiving the feedback signal; The distance information is determined according to the propagation speeds of the detection signal and the feedback signal, and the time.

10. The motion detection method according to claim 9, characterized in that: The detection signal is a light signal, and the propagation speed is the speed of light; The detection signal is an acoustic signal, and the propagation speed is the speed of sound.

11. The motion detection method according to any one of claims 1 to 7, characterized in that: Also includes: Determining the gait information according to the movement state of the obstacle; A corresponding sensing instruction is triggered according to the gait information.

12. A detection device, characterized in that: include: Signal transceiver; A memory and a processor, wherein the memory stores a computer program that can be run on the processor; The processor is electrically connected to the signal transceiver and the memory respectively, and the processor implements the steps of the movement detection method according to any one of claims 1 to 11 when executing the computer program.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the movement detection method according to any one of claims 1 to 11 are implemented.

Citation Information

Patent Citations

  • Terminal control method and terminal control device

    CN106650383A