Access state detection method and device, and electronic device
By acquiring and analyzing the difference between the signal strength of the tag object and the number of recognitions using antenna devices on both sides of the entrance and exit, the problem of inaccurate entry and exit status judgment in the existing technology is solved, and high-accuracy entry and exit status judgment is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHUHAI UNITECH POWER TECHNOLOGY CO LTD
- Filing Date
- 2024-02-18
- Publication Date
- 2026-07-21
AI Technical Summary
In existing technologies, the determination of inbound and outbound status is easily affected by environmental factors, resulting in low accuracy. In particular, it is difficult to distinguish the inbound and outbound status of items when personnel and goods enter and leave the warehouse at the same time.
By installing first and second antenna devices on both sides of the target entrance/exit, the signal strength and recognition count of the tag object within multiple scanning cycles are acquired and analyzed. The location of the tag object is determined by the difference between the signal strength and the recognition count, thereby determining the entry/exit status.
It improves the accuracy of entry and exit status judgment, avoids misjudgment due to environmental factors, simplifies the judgment process, and does not rely on other data as indirect basis.
Smart Images

Figure CN118038574B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of detection, and in particular to a method, apparatus, and electronic device for detecting entry and exit status. Background Technology
[0002] Among related technologies, there are two common methods for warehouse entry and exit management. One method uses UHF antenna technology combined with facial recognition, card swiping, or access control. When personnel enter or exit the warehouse, in addition to scanning the UHF tag, the facial recognition, card swiping, or access control information of personnel entering or leaving the warehouse is used as the basis for judging the direction of entry and exit to count the entry and exit status, or indirectly count the inventory data of the items carried by the personnel to assist in the judgment. However, when personnel and items enter and exit the warehouse at the same time, it is difficult to distinguish the entry and exit status of the items.
[0003] In another approach, antennas are placed both inside and outside the warehouse door. The antenna inside the door identifies RFID tags in the area inside the door, while the antenna outside the door identifies RFID tags in the area outside the door. The entry / exit status of the person or item corresponding to the RFID tag is determined based on the order or number of times the same RFID tag is identified by the antennas inside and outside the door. However, because antenna signals are easily reflected, the antenna inside the door may identify RFID tags in the area outside the door, or vice versa, leading to incorrect entry / exit status determination and reducing the accuracy of entry / exit status statistics. Summary of the Invention
[0004] In view of this, the purpose of the present invention is to provide a method, apparatus and electronic device for detecting entry and exit status, so as to improve the accuracy of judging entry and exit status and to locate the area corresponding to multiple scanning cycles.
[0005] In a first aspect, embodiments of the present invention provide a method for detecting entry / exit status. The method includes: determining that a target tag object in a moving state exists within a target area; acquiring a first tag object signal collected by a first antenna device and a second tag object signal collected by a second antenna device; wherein the target area includes: a first scanning area corresponding to the first antenna device and a second scanning area corresponding to the second antenna device; the first and second scanning areas are respectively located on both sides of a target entry / exit; the signal content of the first and second tag object signals is the same; the signal content corresponds to the target tag object; determining signal detection parameters of the first tag object signal and the second tag object signal in multiple scanning cycles; wherein the signal detection parameters include at least a signal strength parameter; determining the location of the target tag object corresponding to the scanning cycle based on the parameter value relationship between the signal detection parameters of the first and second tag object signals in the same scanning cycle; wherein the location includes at least the first or second scanning area; and determining the entry / exit status of the target tag object based on the location corresponding to the multiple scanning cycles.
[0006] The steps described above for determining that a target tag object exists in a moving state within the target area include: detecting the target area using a microwave sensor, and determining that a target tag object exists in a moving state within the target area when a detection signal from the microwave sensor is received.
[0007] The steps described above for acquiring the first tag object signal collected by the first antenna device and the second tag object signal collected by the second antenna device include: when there is a target tag object in a moving state in the target area, activating the UHF sensor to enter the working state; in the working state, controlling the first antenna device and the second antenna device to transmit radio frequency signals through the UHF sensor, and acquiring the first return signal of the radio frequency signal collected by the first antenna device and the second return signal of the radio frequency signal collected by the second antenna device; using the first return signal as the first tag object signal and the second return signal as the second tag object signal.
[0008] The steps described above for determining the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in multiple scanning cycles include: for each scanning cycle, acquiring the first tag object signal at least once in the scanning cycle, and determining the average signal strength of the first tag object signal at least once as the signal strength parameter of the first tag object signal in the scanning cycle; acquiring the second tag object signal at least once in the scanning cycle, and determining the average signal strength of the second tag object signal at least once as the signal strength parameter of the second tag object signal in the scanning cycle.
[0009] The aforementioned signal detection parameters also include the number of signal recognitions; the steps of determining the signal detection parameters of the first tag object signal and the second tag object signal in multiple scanning cycles include: for each scanning cycle, acquiring the first tag object signal at least once in the scanning cycle, and determining the number of times the first tag object signal acquired in the scanning cycle and the first tag object signal being recognized as signal recognition count of the first tag object signal in the scanning cycle; acquiring the second tag object signal at least once in the scanning cycle, and determining the number of times the second tag object signal acquired in the scanning cycle and the second tag object signal being recognized as signal recognition count of the second tag object signal in the scanning cycle.
[0010] The aforementioned signal detection parameters include signal strength parameters and the number of signal recognitions. The step of determining the region of the target tag object corresponding to the scanning period based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning period includes: for each scanning period, determining the difference in the number of signal recognitions between the first tag object signal and the second tag object signal, and determining the difference in the signal strength parameters of the first tag object signal and the second tag object signal; and determining the region of the target tag object corresponding to the scanning period based on the difference in the number of recognitions and the difference in the signal strength parameters.
[0011] The steps for determining the region of the target label object corresponding to the scanning cycle based on the difference in number of scans and the difference in intensity include: if the difference in number of scans is greater than a preset threshold for difference in number of scans and the difference in intensity is greater than a preset threshold for difference in intensity, the region of the target label object corresponding to the scanning cycle is determined as the first scanning region; if the difference in number of scans is less than a preset threshold for difference in number of scans and the difference in intensity is less than a preset threshold for difference in intensity, the region of the target label object corresponding to the scanning cycle is determined as the second scanning region.
[0012] The aforementioned target area also includes: the area where the target entrance / exit is located; the area where the entrance / exit is located is located between the first scanning area and the second scanning area; the aforementioned method further includes: if the difference in the number of scans is not less than a preset difference in the number of scans threshold and the difference in intensity is not greater than a preset difference in intensity threshold, determining the area where the target label object corresponding to the scanning cycle is located as the area where the entrance / exit is located; if the difference in the number of scans is not greater than a preset difference in the number of scans threshold and the difference in intensity is not less than a preset difference in intensity threshold, determining the area where the target label object corresponding to the scanning cycle is located as the area where the entrance / exit is located.
[0013] The first scanning area is located inside the target entrance / exit, and the second scanning area is located outside the target entrance / exit. The step of determining the entry / exit status of the target tag object based on the areas corresponding to multiple scanning cycles includes: if, in the multiple scanning cycles, the area corresponding to the first scanning cycle is the first scanning area and the area corresponding to the second scanning cycle is the second scanning area, the entry / exit status of the target tag object is determined to be: exiting from the target entrance / exit; if, in the multiple scanning cycles, the area corresponding to the first scanning cycle is the second scanning area and the area corresponding to the second scanning cycle is the first scanning area, the entry / exit status of the target tag object is determined to be: entering from the target entrance / exit; wherein, the multiple scanning cycles are arranged in chronological order, and the first scanning cycle precedes the second scanning cycle in chronological order; the first scanning cycle includes at least one, and the second scanning cycle includes multiple, and the multiple second scanning cycles are consecutive.
[0014] The above method also includes: when there are no moving target tags in the target area, and the duration of the absence of moving target tags in the target area reaches a preset duration, controlling the UHF sensor to stop working.
[0015] Secondly, embodiments of the present invention provide an entry / exit status detection device, comprising: an object signal acquisition module, configured to determine that a target tag object in a moving state exists within a target area, and acquire a first tag object signal collected by a first antenna device, and a second tag object signal collected by a second antenna device; wherein, the target area includes: a first scanning area corresponding to the first antenna device, and a second scanning area corresponding to the second antenna device; the first scanning area and the second scanning area are respectively located on both sides of a target entry / exit; the signal content of the first tag object signal and the second tag object signal is the same; the signal content corresponds to the target tag object; a detection parameter determination module, configured to determine signal detection parameters of the first tag object signal and the second tag object signal in multiple scanning cycles; wherein, the signal detection parameters include at least a signal strength parameter; a location area determination module, configured to determine the location area of the target tag object corresponding to the scanning cycle based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning cycle; wherein, the location area includes at least the first scanning area or the second scanning area; and an entry / exit status determination module, configured to determine the entry / exit status of the target tag object based on the location areas corresponding to the multiple scanning cycles.
[0016] The embodiments of the present invention bring the following beneficial effects:
[0017] The above provides a method, apparatus, and electronic device for detecting entry and exit status. The method includes determining that a target tag object in a moving state exists within a target area; acquiring a first tag object signal collected by a first antenna device and a second tag object signal collected by a second antenna device; determining signal detection parameters of the first tag object signal and the second tag object signal in multiple scanning cycles; determining the location of the target tag object corresponding to the scanning cycle based on the parameter value relationship between the signal detection parameters of the first tag object signal and the second tag object signal in the same scanning cycle; and determining the entry and exit status of the target tag object based on the location of the target tag object in multiple scanning cycles.
[0018] In this method, the first and second antenna devices correspond to the scanning areas on both sides of the target entrance / exit, respectively. They acquire signal detection parameters of different object signals in multiple scanning cycles. Then, based on the parameter values of different signal detection parameters in the same scanning cycle, the corresponding areas for multiple scanning cycles can be determined, thereby determining the entry / exit status of the target tag object. This method avoids misjudging the entry / exit status of the target tag object due to environmental influences, improving the accuracy of entry / exit status determination. Furthermore, it simplifies the process of determining entry / exit status by eliminating the need for additional data or information as indirect judgment criteria.
[0019] Other features and advantages of the invention will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the invention. The objects and other advantages of the invention are realized and obtained in accordance with the structures particularly pointed out in the description, claims and drawings.
[0020] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0021] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0022] Figure 1 A flowchart illustrating an entry / exit status detection method provided in an embodiment of the present invention;
[0023] Figure 2 A system block diagram of an entry / exit status detection method provided in an embodiment of the present invention;
[0024] Figure 3 This is a schematic diagram illustrating the entry and exit status of a target tag object according to an embodiment of the present invention.
[0025] Figure 4 This is a schematic diagram illustrating the scanning of the entry and exit status of a target tag object according to an embodiment of the present invention;
[0026] Figure 5 A flowchart for a person taking away or returning an item is provided as an embodiment of the present invention;
[0027] Figure 6 A schematic diagram of the structure of an entry / exit status detection device provided in an embodiment of the present invention;
[0028] Figure 7 This is a schematic diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0030] Currently, ultra-high frequency RFID (Radio Frequency Identification) technology is widely used in warehouse management. Among related technologies, two common methods for warehouse management are: One method uses facial recognition, card swiping, or access control to track personnel entry and exit, indirectly tracking the entry and exit of items carried by those personnel. This method combines ultra-high frequency antennas with access control. When personnel enter or leave the warehouse, they scan the high-frequency tag, and this is combined with facial recognition, card swiping, or access control operation to determine whether they are entering or leaving. However, when personnel and items enter and leave the warehouse simultaneously, this method struggles to distinguish the entry and exit status of items.
[0031] Another approach involves placing antennas both inside and outside the warehouse door. The antenna inside the door identifies RFID tags in the area inside the door, while the antenna outside the door identifies RFID tags in the area outside the door. The entry / exit status of the person or item corresponding to the RFID tag is determined based on the order in which the antenna inside and outside the door identifies the same RFID tag. However, this method is affected by environmental factors. Because antenna signals are easily reflected, for example, when there are highly reflective objects such as metal near the doorway, the antenna inside the door may identify RFID tags in the area outside the door, or vice versa, leading to incorrect entry / exit status determination and reducing the accuracy of entry / exit status statistics.
[0032] Based on the above, embodiments of the present invention provide a method, apparatus, and electronic device for detecting entry and exit status. This technology can be applied to the detection of the entry and exit status of personnel or goods in scenarios such as warehouse management and asset management.
[0033] To facilitate understanding of this embodiment, a specific process of this embodiment is described below. Please refer to [link / reference]. Figure 1 An embodiment of an entry / exit status detection method according to the present invention includes:
[0034] Step S101: Determine that a target tag object in a moving state exists within the target area, and acquire the first tag object signal collected by the first antenna device and the second tag object signal collected by the second antenna device; wherein, the target area includes: the first scanning area corresponding to the first antenna device and the second scanning area corresponding to the second antenna device; the first scanning area and the second scanning area are located on both sides of the target entrance / exit respectively; the signal content of the first tag object signal and the second tag object signal is the same; the signal content corresponds to the target tag object;
[0035] The executing entity of this invention can be a terminal or a server, which runs an intelligent inbound / outbound system. This system can acquire object signals collected by an ultra-high frequency sensor, and use an inbound / outbound algorithm to perform functions such as detection, display, and voice broadcasting of inbound / outbound data, and send the detection information to a host computer in real time. The following description uses a terminal as an example of the executing entity; this terminal is typically an intelligent management terminal.
[0036] Here, the host computer can be understood as the management unit of the intelligent inbound and outbound system, including personnel access control, receiving various information from the terminal, and displaying the status of items entering and leaving the warehouse in real time.
[0037] The aforementioned first and second antenna devices can be installed on both sides of the target entrance / exit, typically in conjunction with UHF sensors, to identify UHF tags in the areas on both sides of the target entrance / exit. For example, UHF directional antennas can be installed above the inner and outer door frames. The target tag object can be a person or an object carrying an UHF tag.
[0038] In actual implementation, the terminal can receive specified information sent by the target sensor to determine that a target tag object in motion exists within the target area. The target area includes a first scanning area corresponding to the first antenna device and a second scanning area corresponding to the second antenna device; the first scanning area and the second scanning area are located inside and outside the target entrance / exit, respectively, i.e., the scanning area inside the door and the scanning area outside the door.
[0039] After the first and second antenna devices transmit target signals and collect the feedback first and second tag object signals, the terminal acquires the first tag object signal collected by the first antenna device and the second tag object signal collected by the second antenna device. The signal content of the first and second tag object signals is the same, and this signal content corresponds to the target tag object.
[0040] Step S102: In multiple scanning cycles, determine the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal; wherein, the signal detection parameters include at least the signal strength parameters;
[0041] Here, if the continuous process of the target tag being acquired by the first antenna device and the second antenna device is taken as the start time of the scanning process, the time period of this scanning process can be divided into multiple scanning periods t.
[0042] The duration of a single scan cycle t is typically determined by the entry and exit speed of the target tag and the scanning rate of the UHF tag; that is, the scan cycle t varies with the moving speed of the target tag. Specifically, it can be set between 0.1 seconds and 0.5 seconds. The faster the target tag enters and exits, the shorter the duration of the single scan cycle t, and the higher the accuracy.
[0043] In actual implementation, the target tag object moves within the target area. For a single scan cycle out of multiple scan cycles, the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal can be determined.
[0044] The signal detection parameters mentioned above can be signal strength parameters, signal recognition counts, or both.
[0045] Step S103: Based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning cycle, determine the region where the target tag object is located corresponding to the scanning cycle; wherein the region includes at least the first scanning region or the second scanning region.
[0046] The parameter values mentioned above are typically set according to the type of signal detection parameter, which can be a signal strength parameter, the number of signal recognitions, or both. The aforementioned area may also include the channel region between the first and second scanning areas.
[0047] In actual implementation, within the same scanning cycle, the signal detection parameters of the first tag object signal and the second tag object signal can be interpolated to obtain the target difference.
[0048] Next, the target difference is compared with the target preset threshold to obtain the parameter value relationship, thereby determining the area where the target label object is located corresponding to the scanning cycle.
[0049] For example, the signal detection parameters are the signal strength parameter and the number of signal recognitions. The first difference in the signal strength parameter of the first tag object signal and the second difference in the number of signal recognitions can be calculated separately. Then, these differences are compared with zero. If both the first and second differences are positive, the area where the target tag object is located corresponding to the scanning period is determined as the first scanning area. If both the first and second differences are negative, the area where the target tag object is located corresponding to the scanning period is determined as the second scanning area. If one of the first and second differences is positive and the other is negative, the area where the target tag object is located corresponding to the scanning period is determined as the channel area.
[0050] Step S104: Determine the entry and exit status of the target label object based on the area corresponding to multiple scanning cycles.
[0051] Here, the terminal can determine whether the target tag object is in or out based on the area corresponding to multiple scanning cycles.
[0052] In practice, the first and second scanning areas are pre-set to be located inside or outside the target entrance / exit.
[0053] Next, based on the time order of multiple scanning cycles, the correspondence between the first scanning area and at least one scanning cycle, and the correspondence between the second scanning area and multiple scanning cycles, the order in which the first and second scanning areas are scanned can be obtained, thereby determining the entry and exit status of the target label object.
[0054] The aforementioned entry / exit status detection method determines that a target tag object in a moving state exists within the target area, acquires the first tag object signal collected by the first antenna device, and the second tag object signal collected by the second antenna device; wherein, the target area includes: a first scanning area corresponding to the first antenna device, and a second scanning area corresponding to the second antenna device; the first scanning area and the second scanning area are located on both sides of the target entry / exit, respectively; the signal content of the first tag object signal and the second tag object signal are the same; the signal content corresponds to the target tag object; in multiple scanning cycles, the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal are determined; wherein, the signal detection parameters include at least a signal strength parameter; based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning cycle, the area where the target tag object is located corresponding to the scanning cycle is determined; wherein, the area where the target tag object is located includes at least the first scanning area or the second scanning area; based on the area where the target tag object is located corresponding to multiple scanning cycles, the entry / exit status of the target tag object is determined.
[0055] In this method, the first and second antenna devices correspond to the scanning areas on both sides of the target entrance / exit, respectively. They acquire signal detection parameters of different object signals in multiple scanning cycles. Then, based on the parameter values of different signal detection parameters in the same scanning cycle, the corresponding areas for multiple scanning cycles can be determined, thereby determining the entry / exit status of the target tag object. This method avoids misjudging the entry / exit status of the target tag object due to environmental influences, improving the accuracy of entry / exit status determination. Furthermore, it simplifies the process of determining entry / exit status by eliminating the need for additional data or information as indirect judgment criteria.
[0056] In one embodiment, see Figure 2 The system block diagram shown is for the method of detecting entry and exit status. The system block diagram includes the following parts: host computer 1, face recognition access control 2, intelligent management terminal 3, UHF sensor 4, personnel 5, microwave sensor 6, UHF directional antenna inside the door 71, UHF directional antenna outside the door 72, and item 8 (tag).
[0057] Among them, the facial recognition door is used to identify people's identity information, control the door to open or close automatically, and can send people's identity information and door status information to the intelligent management terminal; people can take or return items; items are affixed or installed with UHF tags.
[0058] Also see Figure 3 The diagram shown illustrates the entry and exit status of the target label object, providing an installation method for the above system block diagram in the application.
[0059] like Figure 3In the example shown, the first antenna device is installed at the upper edge of the door frame inside the door, with the antenna radiating diagonally inward and downward, covering the first scanning area and the door passage area inside the door; the second antenna device is installed at the upper edge of the door frame outside the door, with the antenna radiating diagonally outward and downward, covering the second scanning area and the door passage area outside the door.
[0060] Facial recognition access control systems can be installed on the exterior wall of the door, facilitating facial recognition and automatic door opening upon entry. Microwave sensors can be installed inside the doorway and on the exterior ceiling to detect personnel entry and exit. Intelligent management terminals and UHF sensors can be installed inside or near the door for easy operation and management. The host computer can be located in the central control room.
[0061] In one approach, a target area is detected using a microwave sensor. When a detection signal from the microwave sensor is received, it is determined that a target tag object in a moving state exists within the target area.
[0062] Microwave sensors can be used to detect moving people or objects. Typically, one microwave sensor can be installed on each side of a target entrance or exit. When a tagged object enters or exits, the microwave sensor can send a detection signal to the terminal.
[0063] For example, the target area is detected by microwave sensors on both sides of the target entrance / exit. When the terminal receives the detection signal sent by the microwave sensor, it determines that there is a target tag object in a moving state in the first or second scanning area on both sides of the target entrance / exit.
[0064] In one approach, when a target tag object in a moving state exists within the target area, the ultra-high frequency sensor is activated and enters a working state. In the working state, the ultra-high frequency sensor controls the first antenna device and the second antenna device to transmit radio frequency signals, and acquires the first return signal of the radio frequency signal collected by the first antenna device and the second return signal of the radio frequency signal collected by the second antenna device. The first return signal is used as the first tag object signal, and the second return signal is used as the second tag object signal.
[0065] The first return signal mentioned above is the return signal collected by the first antenna device. However, the radio frequency signal reflected by the first return signal may be a radio frequency signal emitted by the first antenna device or a radio frequency signal emitted by the second antenna device. Similarly, the second return signal mentioned above is the return signal collected by the second antenna device. However, the radio frequency signal reflected by the second return signal may be a radio frequency signal emitted by the first antenna device or a radio frequency signal emitted by the second antenna device.
[0066] Specifically, if a moving target tag exists within the target area, the terminal sends a first command to the UHF sensor, activating it and putting it into operation. Once operational, the UHF sensor can control the first and second antenna devices to transmit radio frequency signals.
[0067] Next, the UHF tag carried by the target tag can be scanned and identified by radio frequency signals, and the first and second return signals are fed back to the first and second antenna devices. Then, the UHF sensor acquires the first return signal of the radio frequency signal collected by the first antenna device and the second return signal of the radio frequency signal collected by the second antenna device, and then uses the first return signal as the first tag object signal and the second return signal as the second tag object signal.
[0068] The following embodiments provide specific implementation methods for determining signal detection parameters.
[0069] In one approach, for each scan cycle, at least one first tag object signal is acquired during the scan cycle, and the average signal strength of the at least one first tag object signal is determined as the signal strength parameter of the first tag object signal during the scan cycle; at least one second tag object signal is acquired during the scan cycle, and the average signal strength of the at least one second tag object signal is determined as the signal strength parameter of the second tag object signal during the scan cycle.
[0070] Specifically, for each scan period t, the first antenna device can acquire one or more first tag object signals. Then, for a single scan period t, based on one first tag object signal, or by calculating the average signal strength of multiple first tag object signals, the signal strength parameter S1 of the first tag object signal in that scan period is obtained.
[0071] Similarly, the second antenna device can acquire signals from one or more second tag objects. Then, for a single scan period t, based on one second tag object signal, or by calculating the average signal strength of multiple second tag object signals, the signal strength parameter S2 of the second tag object signal in that scan period is obtained.
[0072] In one embodiment, the signal detection parameters further include the number of signal recognitions; for each scanning cycle, at least one first tag object signal is acquired during the scanning cycle, and the number of times the first tag object signal is acquired during the scanning cycle and the signal content of the first tag object signal is recognized is determined as the number of signal recognitions of the first tag object signal during the scanning cycle; at least one second tag object signal is acquired during the scanning cycle, and the number of times the second tag object signal is acquired during the scanning cycle and the signal content of the first tag object signal is recognized is determined as the number of signal recognitions of the second tag object signal during the scanning cycle.
[0073] Specifically, the signal detection parameter can also be the number of signal recognitions; for each scan cycle t, the first antenna device can acquire the first tag object signal once or multiple times. Then, for a single scan cycle t, the number of times the first tag object signal is acquired and the signal content of the first tag object signal is recognized is determined as the number of signal recognitions N1 of the first tag object signal in that scan cycle.
[0074] Similarly, the second antenna device can acquire the second tag object signal once or multiple times. Then, for a single scan cycle t, the number of times the second tag object signal is acquired and the signal content of the second tag object signal is identified is determined as the signal identification count N2 of the second tag object signal in that scan cycle.
[0075] In practical applications, there may be situations where the first and second tag object signals are weak, or other factors may exist, causing the first and second tag object signals to be detected but not recognized. In such cases, the number of times the first and second tag object signals are detected without recognizing the signal content is considered an invalid count and is not included in the signal recognition count.
[0076] In one approach, the signal detection parameters include a signal strength parameter and a signal recognition count; for each scanning cycle, the difference between the number of signal recognition counts of the first tag object signal and the second tag object signal is determined, and the difference in signal strength parameters of the first tag object signal and the second tag object signal is determined; based on the difference in the number of recognition counts and the difference in signal strength, the region where the target tag object is located corresponding to the scanning cycle is determined.
[0077] Specifically, the signal detection parameters can be signal strength parameters and the number of signal recognitions; for each scanning cycle t, the terminal can determine the difference between the number of signal recognitions N1 of the first tag object signal and the number of signal recognitions N2 of the second tag object signal, X = N1 - N2, and determine the difference between the signal strength parameters S1 of the first tag object signal and the signal strength parameters S2 of the second tag object signal, Y = S1 - S2.
[0078] Next, the terminal can compare the difference in the number of scans and the difference in intensity with the target threshold to determine the area where the target tag object is located for a single scan cycle.
[0079] Furthermore, if the difference in the number of scans is greater than a preset threshold for the difference in the number of scans, and the difference in intensity is greater than a preset threshold for the difference in intensity, the area where the target label object is located corresponding to the scan cycle is determined as the first scan area; if the difference in the number of scans is less than a preset threshold for the difference in the number of scans, and the difference in intensity is less than a preset threshold for the difference in intensity, the area where the target label object is located corresponding to the scan cycle is determined as the second scan area.
[0080] The preset frequency difference threshold a includes zero and positive integers, with the unit being times; the preset intensity difference threshold b includes zero and positive numbers, with the unit being dBm (The dBm Scale, milliwatt decibel); the values of the preset frequency difference threshold a and intensity difference threshold b can be adjusted according to the actual application.
[0081] Specifically, within a single scanning cycle t, if the difference in the number of scans X is greater than a preset threshold for the difference in the number of scans a, and the difference in intensity Y is greater than a preset threshold for the difference in intensity b, then the area where the target label object corresponding to that scanning cycle is located can be determined as the first scanning area. That is, when X > a and Y > b, the target label object corresponding to that single scanning cycle is determined to be located in the first scanning area.
[0082] Similarly, if the difference in number of scans X is less than a preset threshold value a, and the difference in intensity Y is less than a preset threshold value b, then the area where the target label object corresponding to the scanning cycle is located can be determined as the second scanning area. That is, when X < a and Y < a, the target label object corresponding to a single scanning cycle is determined to be located in the second scanning area.
[0083] Furthermore, the aforementioned target area also includes: the area where the target entrance / exit is located; the area where the entrance / exit is located is located between the first scanning area and the second scanning area; if the difference in the number of scans is not less than a preset difference in the number of scans threshold, and the difference in intensity is not greater than a preset difference in intensity threshold, the area where the target label object corresponding to the scanning cycle is located is determined to be the area where the entrance / exit is located; if the difference in the number of scans is not greater than a preset difference in the number of scans threshold, and the difference in intensity is not less than a preset difference in intensity threshold, the area where the target label object corresponding to the scanning cycle is determined to be the area where the entrance / exit is located.
[0084] Specifically, the target area can also be the area where the entrance / exit of the target entrance / exit is located, which is located between the first scanning area and the second scanning area, such as the door passage and its vicinity.
[0085] Here, if the difference in number of scans X is not less than a preset threshold value a, and the difference in intensity Y is not greater than a preset threshold value b, then the area where the target label object corresponding to the scanning cycle is located can be determined as the area where the entrance / exit is located. Similarly, if the difference in number of scans X is not greater than a preset threshold value a, and the difference in intensity Y is not less than a preset threshold value b, then the area where the target label object corresponding to the scanning cycle is located is determined as the area where the entrance / exit is located. That is, when X ≥ a and Y ≤ b or X ≤ a and Y ≥ b, the target label object corresponding to a single scanning cycle is determined to be located in the area where the entrance / exit is located.
[0086] In one example, when a equals zero and b equals zero, if the state changes from X > 0 and Y > 0 to X < 0 and Y < 0 and remains unchanged for multiple scan cycles t, the entry / exit state is determined to be "leaving"; if the state changes from X < 0 and Y < 0 to X > 0 and Y > 0 and remains unchanged for multiple scan cycles t, the entry / exit state is determined to be "entering".
[0087] In the above method, by statistically analyzing the difference in the number of times the tag is collected by the antenna devices inside and outside the door and the difference in the average signal strength within each scanning cycle t, and combining the two for calculation, the area where the tag is located can be dynamically determined, thereby accurately judging the tag's entry and exit status.
[0088] To facilitate understanding of the above inbound / outbound determination algorithm, an embodiment is provided here, see [link to embodiment]. Figure 4 The diagram shown illustrates the scanning of the entry and exit status of the target label object.
[0089] Theoretically, when a person carrying an item with a label enters the doorway from the outside area, the item is first scanned and identified by the antenna device outside the door. The label returns a radio frequency signal, which is received by the antenna device outside the door. Then, it is scanned and identified by both the antenna devices outside and inside the doorway, and the label returns a radio frequency signal, which is received by both antenna devices. Finally, the item with the label is scanned and identified by the antenna device inside the door, and the label returns a radio frequency signal, which is received by the antenna device inside the door. Thus, by determining the order or number of times the label is scanned by the antenna devices outside and inside the door, the entry / exit status can be determined.
[0090] In practical applications, such as Figure 4As shown, there are many objects reflecting electromagnetic waves, such as walls, cabinets, and appliances, both inside and near the target entrance / exit, especially objects with smooth surfaces and high reflectivity. Simply judging the order or number of times the label is scanned by the antenna device inside or outside the door is insufficient to accurately determine the entry / exit status. Therefore, misreading is common: an item with a label may be outside the door but identified by electromagnetic wave signals reflected from the antenna device inside, or vice versa.
[0091] like Figure 4 In the example shown, when the tagged item is outside the door, the antenna device outside the door detects the electromagnetic wave signal path of the item as L1; the antenna device inside the door detects the electromagnetic wave signal path as L2+L3. When the electromagnetic wave signal passes through the electromagnetic wave reflection object inside the door, some energy is absorbed, so path L1 is shorter than L2+L3. Simultaneously, some electromagnetic field is absorbed by the emitting object. Therefore, when the item is outside the door area, the signal strength received by the tagged item by the antenna device outside the door is greater than the signal strength received by the antenna device inside the door. Similarly, when the tagged item is inside the door, the signal strength received by the tagged item by the antenna device inside the door is greater than the signal strength received by the antenna device outside the door.
[0092] Based on the above analysis, the order and number of times the tag is scanned and read by the antenna devices inside and outside the door can be combined with the strength of the received signal to determine the area where the tag is located, thereby improving the accuracy of judging the entry and exit status and reducing the probability of misjudgment.
[0093] In one embodiment, the first scanning area is located inside the target entrance / exit, and the second scanning area is located outside the target entrance / exit. If, in multiple scanning cycles, the area corresponding to the first scanning cycle is the first scanning area, and the area corresponding to the second scanning cycle is the second scanning area, the entry / exit status of the target label object is determined to be: exiting from the target entrance / exit. If, in multiple scanning cycles, the area corresponding to the first scanning cycle is the second scanning area, and the area corresponding to the second scanning cycle is the first scanning area, the entry / exit status of the target label object is determined to be: entering from the target entrance / exit. The multiple scanning cycles are arranged in chronological order, with the first scanning cycle preceding the second scanning cycle in chronological order. The first scanning cycle includes at least one, and the second scanning cycle includes multiple, with the multiple second scanning cycles being consecutive.
[0094] Here, it is assumed that the first scanning area is located inside the target entrance / exit, and the second scanning area is located outside the target entrance / exit. When determining the entry / exit status of the target tag object based on the areas corresponding to multiple scanning cycles, the multiple scanning cycles are arranged in chronological order.
[0095] In actual implementation, the target tag object enters the scanning area and is in a moving state within the scanning area. At this time, if the area corresponding to the first scanning cycle is the first scanning area and the area corresponding to the second scanning cycle is the second scanning area in multiple scanning cycles, then the terminal can determine that the entry and exit state of the target tag object is exiting from the target entry and exit point.
[0096] Similarly, if in multiple scanning cycles, the area corresponding to the first scanning cycle is the second scanning area, and the area corresponding to the second scanning cycle is the first scanning area, then the terminal can determine that the entry and exit status of the target tag object is from the target entry / exit point.
[0097] It should be noted that the first scan cycle precedes the second scan cycle in time sequence. There is at least one first scan cycle, while there are usually multiple second scan cycles, and these multiple second scan cycles are consecutive. For example, if the first scan cycle is scan cycle t3, the second scan cycles could be t6, t7, and t8.
[0098] In one approach, when there are no moving target tags in the target area, and the duration of the absence of moving target tags in the target area reaches a preset duration, the ultra-high frequency sensor is controlled to stop working.
[0099] For example, if the microwave sensor does not provide a feedback detection signal, that is, there is no target tag object in the target area in a moving state, and the target area has no target tag object in the moving state for a duration of a preset duration, usually 20 seconds, then the terminal sends a second instruction to the UHF sensor to control the UHF sensor to stop working and enter a low power state.
[0100] In one embodiment, see Figure 5 The flowchart shown illustrates the process of people taking or returning items.
[0101] (1) Personnel undergo facial recognition access control;
[0102] (2) The facial recognition access control system automatically recognizes and opens the door, and at the same time, the facial recognition access control system reports personnel information and door status information to the host computer.
[0103] (3) The microwave sensor continuously scans people in motion and sends the information of the detected people to the intelligent management terminal;
[0104] (4) The intelligent management terminal sends a command to the UHF sensor to start the UHF sensor and put it into working state.
[0105] (5) The UHF sensor in working state continuously scans the tag; specifically, the UHF sensor controls the antenna devices inside and outside the door to emit radio frequency signals, and acquires the return signals of the tag to the radio frequency signals collected by the antenna devices inside and outside the door.
[0106] (6) The tagged item is taken away or returned; specifically, if the tagged item is taken away, steps (7) to (9) are performed when the tag leaves, and if the tagged item is returned, steps (7) to (9) are performed when the tag enters.
[0107] (7) When the UHF sensor scans the tag, the tag information of the item with the tag is recorded. Based on the returned signal, the number of times the tag is identified by the antenna device inside the door and the antenna device outside the door in each scanning cycle and the average value of the signal strength of each tag are counted. Then, the tag information is continuously reported to the intelligent management terminal.
[0108] (8) The intelligent management terminal uses an entry / exit status determination algorithm to calculate the tag information, determine the entry / exit status, and broadcast it via voice. In addition, it reports the tag's entry / exit status information to the host computer via a wireless local area network. Specifically, if the tag leaves, the tag's entry / exit status is "out"; if the tag enters, the tag's entry / exit status is "in".
[0109] (9) The host computer updates the entry and exit status of items in the system;
[0110] (10) By default, if the microwave sensor does not detect a person in motion after 20 seconds, it will send the information to the intelligent management terminal.
[0111] (11) The intelligent management terminal sends a command to the UHF sensor to notify the UHF sensor to stop working; specifically, the UHF sensor stops scanning and enters a low power consumption state.
[0112] In the above embodiments, this solution considers the detection of multiple people carrying multiple items entering and exiting the premises. It uses antenna devices inside and outside the door to record the tag information of the target tag object in motion in real time. For multiple scanning cycles, the number of times the antenna devices inside and outside the door identify the tag in a single scanning cycle, as well as the average signal strength of the received tag reflection, are used as signal detection parameters. Combined with the entry / exit status determination algorithm, the entry / exit status of the target tag object is determined, reducing misjudgments caused by reflection factors. Simultaneously, when the microwave sensor detects movement of personnel or items, it sends information to the intelligent management terminal. The intelligent management terminal then sends instructions to the ultra-high frequency sensor to turn it on or off, achieving low-power operation and intelligent management of the system.
[0113] For the corresponding method embodiments described above, see [link to relevant documentation]. Figure 6 The diagram shows a structural schematic of an entry / exit status detection device, which includes:
[0114] The object signal acquisition module 601 is used to determine that a target tag object in a moving state exists within the target area, and to acquire a first tag object signal collected by a first antenna device and a second tag object signal collected by a second antenna device; wherein, the target area includes: a first scanning area corresponding to the first antenna device and a second scanning area corresponding to the second antenna device; the first scanning area and the second scanning area are respectively located on both sides of the target entrance / exit; the signal content of the first tag object signal and the second tag object signal is the same; the signal content corresponds to the target tag object;
[0115] The detection parameter determination module 602 is used to determine the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in multiple scanning cycles; wherein, the signal detection parameters include at least a signal strength parameter;
[0116] The location determination module 603 is used to determine the location of the target tag object corresponding to the scanning cycle based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning cycle; wherein, the location includes at least the first scanning region or the second scanning region;
[0117] The entry / exit status determination module 604 is used to determine the entry / exit status of the target label object based on the area corresponding to the multiple scanning cycles.
[0118] The aforementioned entry / exit detection device determines that a target tag object in a moving state exists within the target area, acquires a first tag object signal collected by a first antenna device, and a second tag object signal collected by a second antenna device; wherein, the target area includes: a first scanning area corresponding to the first antenna device, and a second scanning area corresponding to the second antenna device; the first scanning area and the second scanning area are located on both sides of the target entry / exit, respectively; the signal content of the first tag object signal and the second tag object signal are the same; the signal content corresponds to the target tag object; in multiple scanning cycles, the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal are determined; wherein, the signal detection parameters include at least a signal strength parameter; based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning cycle, the area where the target tag object is located corresponding to the scanning cycle is determined; wherein, the area where the target tag object is located includes at least the first scanning area or the second scanning area; based on the area where the target tag object is located corresponding to multiple scanning cycles, the entry / exit state of the target tag object is determined.
[0119] In this method, the first and second antenna devices correspond to the scanning areas on both sides of the target entrance / exit, respectively. They acquire signal detection parameters of different object signals in multiple scanning cycles. Then, based on the parameter values of different signal detection parameters in the same scanning cycle, the corresponding areas for multiple scanning cycles can be determined, thereby determining the entry / exit status of the target tag object. This method avoids misjudging the entry / exit status of the target tag object due to environmental influences, improving the accuracy of entry / exit status determination. Furthermore, it simplifies the process of determining entry / exit status by eliminating the need for additional data or information as indirect judgment criteria.
[0120] The aforementioned object signal acquisition module is also used to detect the target area through a microwave sensor, and when the detection signal from the microwave sensor is received, to determine that there is a target tag object in a moving state within the target area.
[0121] The aforementioned object signal acquisition module is further configured to activate the UHF sensor to enter a working state when a moving target tag object exists within the target area; in the working state, the UHF sensor controls the first antenna device and the second antenna device to transmit radio frequency signals, and acquires the first return signal of the radio frequency signal collected by the first antenna device and the second return signal of the radio frequency signal collected by the second antenna device; the first return signal is used as the first tag object signal, and the second return signal is used as the second tag object signal.
[0122] The aforementioned detection parameter determination module is also used to, for each scanning cycle, acquire at least one first tag object signal in the scanning cycle, and determine the average signal strength of the first tag object signal in the scanning cycle as the signal strength parameter of the first tag object signal in the scanning cycle; acquire at least one second tag object signal in the scanning cycle, and determine the average signal strength of the second tag object signal in the scanning cycle as the signal strength parameter of the second tag object signal in the scanning cycle.
[0123] The aforementioned signal detection parameters also include the number of signal recognitions; the aforementioned detection parameter determination module is further configured to, for each scanning cycle, acquire at least one first tag object signal in the scanning cycle, and determine the number of times the first tag object signal is acquired and the signal content is recognized in the scanning cycle as the number of signal recognitions of the first tag object signal in the scanning cycle; acquire at least one second tag object signal in the scanning cycle, and determine the number of times the second tag object signal is acquired and the signal content is recognized in the scanning cycle as the number of signal recognitions of the second tag object signal in the scanning cycle.
[0124] The aforementioned signal detection parameters include signal strength parameters and the number of signal recognitions; the aforementioned region determination module is also used to determine, for each scanning cycle, the difference in the number of signal recognitions between the first tag object signal and the second tag object signal, and the difference in the signal strength parameters between the first tag object signal and the second tag object signal; based on the difference in the number of recognitions and the difference in the signal strength, the region where the target tag object is located corresponding to the scanning cycle is determined.
[0125] The aforementioned region determination module is further configured to determine the region where the target label object corresponding to the scanning cycle is located as the first scanning region if the difference in the number of scans is greater than a preset difference in the number of scans threshold and the difference in intensity is greater than a preset difference in intensity threshold; and to determine the region where the target label object corresponding to the scanning cycle is located as the second scanning region if the difference in the number of scans is less than a preset difference in the number of scans threshold and the difference in intensity is less than a preset difference in intensity threshold.
[0126] The aforementioned target area also includes: the area where the target entrance / exit is located; the aforementioned device also includes a difference module, used to determine the area where the target label object corresponding to the scanning cycle is located as the area where the entrance / exit is located if the difference in the number of scans is not less than a preset difference in the number of scans threshold and the difference in intensity is not greater than a preset difference in intensity threshold; and to determine the area where the target label object corresponding to the scanning cycle is located as the area where the entrance / exit is located if the difference in the number of scans is not greater than a preset difference in the number of scans threshold and the difference in intensity is not less than a preset difference in intensity threshold.
[0127] The first scanning area is located inside the target entrance / exit, and the second scanning area is located outside the target entrance / exit. The entry / exit status determination module is further configured to determine the entry / exit status of the target label object as: exiting from the target entrance / exit if, in multiple scanning cycles, the area corresponding to the first scanning cycle is the first scanning area and the area corresponding to the second scanning cycle is the second scanning area; and to determine the entry / exit status of the target label object as: entering from the target entrance / exit if, in multiple scanning cycles, the area corresponding to the first scanning cycle is the second scanning area and the area corresponding to the second scanning cycle is the first scanning area. The multiple scanning cycles are arranged in chronological order, with the first scanning cycle preceding the second scanning cycle in chronological order. The first scanning cycle includes at least one, and the second scanning cycle includes multiple, with the multiple second scanning cycles being consecutive.
[0128] The aforementioned device also includes a stop module, which controls the UHF sensor to stop working when there is no moving target tag object in the target area and the duration of the absence of moving target tag object in the target area reaches a preset duration.
[0129] This embodiment also provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor. The processor executes the machine-executable instructions to implement the aforementioned method for detecting entry and exit states. This electronic device can be a server or a terminal device.
[0130] See Figure 7 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100. The processor 100 executes the machine-executable instructions to implement the above-mentioned method for detecting entry and exit states.
[0131] Furthermore, Figure 7 The electronic device shown also includes a bus 102 and a communication interface 103, with the processor 100, the communication interface 103 and the memory 101 connected via the bus 102.
[0132] The memory 101 may include high-speed random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Communication between this system network element and at least one other network element is achieved through at least one communication interface 103 (which can be wired or wireless), such as the Internet, wide area network, local area network, or metropolitan area network. The bus 102 may be an ISA bus, PCI bus, or EISA bus, etc. The bus can be divided into address bus, data bus, control bus, etc. For ease of representation, Figure 7The symbol is represented by a single double-headed arrow, but this does not mean that there is only one bus or one type of bus.
[0133] Processor 100 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuitry in the hardware of processor 100 or by instructions in software form. Processor 100 may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of this invention can be directly manifested as execution by a hardware decoding processor, or execution by a combination of hardware and software modules in the decoding processor. The software module can reside in a readily available storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, or registers. This storage medium is located in memory 101, and the processor 100 reads the information from memory 101 and, in conjunction with its hardware, completes the steps of the method described in the foregoing embodiments.
[0134] This embodiment also provides a machine-readable storage medium storing machine-executable instructions. When the machine-executable instructions are called and executed by the processor, the machine-executable instructions cause the processor to implement the above-mentioned method for detecting entry and exit states.
[0135] The computer program product of the method, apparatus, electronic device, and storage medium for detecting entry and exit status provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.
[0136] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system and apparatus described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0137] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0138] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0139] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0140] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for detecting entry / exit status, characterized in that, The method includes: A target tag object in a moving state is identified within the target area. The signal of the first tag object collected by the first antenna device and the signal of the second tag object collected by the second antenna device are acquired. The target area includes a first scanning area corresponding to the first antenna device and a second scanning area corresponding to the second antenna device. The first and second scanning areas are located on opposite sides of the target entrance / exit. The signal content of the first and second tag object signals is identical, and the signal content corresponds to the target tag object. In multiple scanning cycles, signal detection parameters of the first tag object signal and signal detection parameters of the second tag object signal are determined; wherein, the signal detection parameters include at least signal strength parameters; Based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning cycle, the region where the target tag object is located corresponding to the scanning cycle is determined; wherein, the region where the target tag object is located includes at least the first scanning region or the second scanning region; Based on the regions corresponding to the multiple scanning cycles, the entry and exit status of the target label object is determined; The signal detection parameters include signal strength parameters and the number of signal recognitions. The step of determining the region of the target tag object corresponding to the scanning period based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning period includes: for each scanning period, determining the difference in the number of signal recognitions of the first tag object signal and the second tag object signal, and determining the difference in the signal strength parameters of the first tag object signal and the second tag object signal; and determining the region of the target tag object corresponding to the scanning period based on the difference in the number of recognitions and the difference in the signal strength parameters.
2. The method according to claim 1, characterized in that, The steps to determine if a target tag object exists in a moving state within the target area include: The target area is detected by a microwave sensor. When the detection signal of the microwave sensor is received, it is determined that there is a target tag object in motion within the target area.
3. The method according to claim 1, characterized in that, The steps of acquiring the first tag target signal collected by the first antenna device and the second tag target signal collected by the second antenna device include: When a target tag object in a moving state exists within the target area, the UHF sensor is activated and enters the working state. In the working state, the UHF sensor controls the first antenna device and the second antenna device to transmit radio frequency signals, and acquires the first return signal of the target tag object in response to the radio frequency signal collected by the first antenna device, and the second return signal of the target tag object in response to the radio frequency signal collected by the second antenna device. The first return signal is used as the first tag object signal, and the second return signal is used as the second tag object signal.
4. The method according to claim 1, characterized in that, The step of determining the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal during multiple scanning cycles includes: For each scanning cycle, the first tag object signal is acquired at least once in the scanning cycle, and the average value of the signal strength of the first tag object signal at least once is determined as the signal strength parameter of the first tag object signal in the scanning cycle. At least one second tag object signal is acquired during the scanning cycle, and the average signal strength of the at least one second tag object signal is determined as the signal strength parameter of the second tag object signal during the scanning cycle.
5. The method according to claim 1, characterized in that, The signal detection parameters also include the number of signal recognitions; the step of determining the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in multiple scanning cycles includes: For each scanning cycle, the first tag object signal is acquired at least once in the scanning cycle. The number of times the first tag object signal is acquired in the scanning cycle and the signal content of the first tag object signal is identified is determined as the number of signal identifications of the first tag object signal in the scanning cycle. The second tag object signal is acquired at least once during the scanning cycle. The number of times the second tag object signal is acquired and the signal content of the second tag object signal is identified during the scanning cycle is determined as the number of signal recognitions of the second tag object signal during the scanning cycle.
6. The method according to claim 5, characterized in that, The step of determining the region of the target label object corresponding to the scanning cycle based on the difference in number of scans and the difference in intensity includes: If the difference in the number of scans is greater than a preset threshold for the difference in the number of scans, and the difference in intensity is greater than a preset threshold for the difference in intensity, the area where the target label object is located corresponding to the scanning cycle is determined to be the first scanning area. If the difference in the number of scans is less than a preset threshold for the difference in the number of scans, and the difference in intensity is less than a preset threshold for the difference in intensity, the area where the target label object is located corresponding to the scanning cycle is determined to be the second scanning area.
7. The method according to claim 6, characterized in that, The target area further includes: the area where the target entrance / exit is located; the area where the entrance / exit is located is situated between the first scanning area and the second scanning area; the method further includes: If the difference in the number of scans is not less than a preset threshold for the difference in the number of scans, and the difference in intensity is not greater than a preset threshold for the difference in intensity, then the area where the target label object corresponding to the scanning cycle is located is determined to be the area where the entrance / exit is located. If the difference in the number of scans is not greater than a preset threshold for the difference in the number of scans, and the difference in intensity is not less than a preset threshold for the difference in intensity, the area where the target label object corresponding to the scanning cycle is located is determined to be the area where the entrance / exit is located.
8. The method according to claim 1, characterized in that, The first scanning area is located inside the target entrance / exit, and the second scanning area is located outside the target entrance / exit; The step of determining the entry / exit status of the target label object based on the regions corresponding to multiple scanning cycles includes: If, in a plurality of scanning cycles, the area corresponding to the first scanning cycle is the first scanning area, and the area corresponding to the second scanning cycle is the second scanning area, the entry and exit status of the target label object is determined to be: exiting from the target entry and exit point; If, in a plurality of scanning cycles, the area corresponding to the first scanning cycle is the second scanning area, and the area corresponding to the second scanning cycle is the first scanning area, the entry / exit status of the target label object is determined to be: entering from the target entry / exit point; The multiple scan cycles are arranged in chronological order, with the first scan cycle preceding the second scan cycle in chronological order; the first scan cycle includes at least one, the second scan cycle includes multiple, and the multiple second scan cycles are consecutive.
9. The method according to claim 1, characterized in that, The method further includes: When there are no moving target tags in the target area, and the duration of the absence of moving target tags in the target area reaches a preset duration, the ultra-high frequency sensor is controlled to stop working.
10. A device for detecting entry / exit status, characterized in that, The device includes: The object signal acquisition module is used to determine that a target tag object in a moving state exists within the target area, and to acquire a first tag object signal collected by a first antenna device and a second tag object signal collected by a second antenna device; wherein, the target area includes: a first scanning area corresponding to the first antenna device and a second scanning area corresponding to the second antenna device; the first scanning area and the second scanning area are respectively located on both sides of the target entrance / exit; the signal content of the first tag object signal and the second tag object signal is the same; the signal content corresponds to the target tag object; The detection parameter determination module is used to determine the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in multiple scanning cycles; wherein, the signal detection parameters include at least a signal strength parameter; The location determination module is used to determine the location of the target tag object corresponding to the scanning cycle based on the parameter value relationship between the signal detection parameters of the first tag object signal and the signal detection parameters of the second tag object signal in the same scanning cycle; wherein, the location includes at least the first scanning region or the second scanning region; The entry / exit status determination module is used to determine the entry / exit status of the target label object based on the area corresponding to multiple scanning cycles. The signal detection parameters include signal strength parameters and the number of signal recognitions; the location determination module is specifically used to: for each scanning cycle, determine the difference in the number of signal recognitions between the first tag object signal and the second tag object signal, and determine the difference in the signal strength parameters between the first tag object signal and the second tag object signal; based on the difference in the number of recognitions and the difference in the signal strength parameters, determine the location of the target tag object corresponding to the scanning cycle.
11. An electronic device, characterized in that, It includes a processor and a memory, the memory storing machine-executable instructions that can be executed by the processor, the processor executing the machine-executable instructions to implement the entry / exit status detection method according to any one of claims 1-9.
12. A machine-readable storage medium, characterized in that, The machine-readable storage medium stores machine-executable instructions, which, when invoked and executed by a processor, cause the processor to implement the entry / exit state detection method according to any one of claims 1-9.