CN113791408A - Method, apparatus and storage medium for indoor positioning of target object - Google Patents

Method, apparatus and storage medium for indoor positioning of target object Download PDF

Info

Publication number
CN113791408A
CN113791408A CN202110975780.1A CN202110975780A CN113791408A CN 113791408 A CN113791408 A CN 113791408A CN 202110975780 A CN202110975780 A CN 202110975780A CN 113791408 A CN113791408 A CN 113791408A
Authority
CN
China
Prior art keywords
room
target
floor
target object
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110975780.1A
Other languages
Chinese (zh)
Inventor
苏海涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Sensetime Intelligent Technology Co Ltd
Original Assignee
Shanghai Sensetime Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Sensetime Intelligent Technology Co Ltd filed Critical Shanghai Sensetime Intelligent Technology Co Ltd
Priority to CN202110975780.1A priority Critical patent/CN113791408A/en
Publication of CN113791408A publication Critical patent/CN113791408A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/66Radar-tracking systems; Analogous systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Abstract

The present disclosure relates to a method, apparatus, and storage medium for locating a target object indoors. The method for locating the target object indoors comprises the steps of determining at least one room in a target floor when the target object enters the target floor; for each room in the at least one room, obtaining access information of the room, wherein the access information comprises access records which are generated based on a non-visual sensor and used for recording behaviors of people entering the room and leaving the room; and predicting a target room into which the target object enters according to the access information. The present disclosure can promote the localization level of a target object to a room in a scenario that does not violate the privacy security of the user and also does not need to pay attention to the specific situation in each room. And the whole process does not need manual intervention, so that the use and even the inspection without using personnel can be reduced, and the cost is reduced.

Description

Method, apparatus and storage medium for indoor positioning of target object
Technical Field
The present disclosure relates to the field of computer vision technology, and more particularly, to a method, an apparatus, and a storage medium for locating a target object indoors.
Background
Building security management is important to maintaining the security of personnel within a building. In many cases, people in non-buildings may need to enter and exit the building, such as couriers, takeout persons, or some miscellaneous people, and the entering and exiting of the people in the non-buildings further causes difficulty in building safety management. In the related art, the building safety management still depends on manual work to a large extent, and the direction of personnel entering the building is difficult to locate, so that hidden dangers exist in the building safety management.
Disclosure of Invention
To solve at least one technical problem posed above, the present disclosure proposes a method, apparatus, and storage medium for locating a target object indoors.
According to an aspect of the present disclosure, there is provided a method of locating a target object indoors, including: determining at least one room in a target floor in case a target object enters the target floor; for each room of the at least one room, obtaining access information for the room, the access information including an access record, the access record being based on a non-visual sensor-generated record for recording the activities of persons entering and exiting the room; and predicting a target room into which the target object enters according to the access information. Based on the above configuration, it is possible to raise the localization level of the target object to the room in a scene that does not violate the privacy security of the user and also does not need to pay attention to the specific situation in each room. And the whole process does not need manual intervention, so that the use and even the inspection without using personnel can be reduced, and the cost is reduced.
In some possible embodiments, the method further comprises: acquiring a message of an object to be analyzed entering a floor, wherein the message comprises a first image shot after the object to be analyzed enters the floor; extracting a face image in the first image; matching the face images in the first image according to a face database, and obtaining a matching result, wherein the face images allowed to enter the building are recorded in the face database; and under the condition that the matching result is failure, determining that the target object enters the target floor, wherein the object to be analyzed is determined as the target object, and the floor where the object to be analyzed enters is determined as the target floor. Based on the configuration, indoor positioning can be carried out only on the person suspected of illegally entering the building, and the specific flow direction of the person is monitored, so that the starting frequency of the method is reduced, and resources are saved.
In some possible embodiments, the method further comprises: receiving a first information input instruction, wherein the first information input instruction comprises a first room identifier, the number of registered persons and facial images of the registered persons; generating a first data record according to the first room identifier and the number of the registered personnel; and storing the first data record in a room management database, and storing the face image of the registered person in a face database. Based on the configuration, personnel allowed to enter the building can be managed in time, positioning of the target object can be started only under certain conditions by combining management information, starting frequency of positioning of the target object is reduced, and resources are saved.
In some possible embodiments, the method is applied to a device for indoor positioning of a target object, the device comprising a room tracker, the method further comprising: starting a room tracker pointed by the first room identifier, wherein the room tracker is used for tracking the behaviors of people entering the room and leaving the room and generating an entrance and exit record corresponding to the first room identifier; generating a second data record according to the first room identifier and an access record corresponding to the first room identifier; storing the second data record in the room management database. Based on the above configuration, management of the entry and exit records can be automatically performed, so as to improve the speed of positioning the target object based on the entry and exit records.
In some possible embodiments, the method further comprises: acquiring a second information input instruction, wherein the second information input instruction comprises a second room identifier; closing the room tracker to which the second room identification points; and updating the face database based on the second room identifier. Based on the configuration, the room tracker can be closed in time, and the resource consumption of the room tracker is saved. By updating the face database, the consistency of the face images in the face database and the face images allowed to enter the building can be maintained.
In some possible embodiments, the determining at least one room in the target floor includes: determining a floor identification of the target floor; inquiring a room management database according to the floor identification to obtain a room identification to be analyzed, wherein the room identification to be analyzed is a room identification of a room registered and used in the target floor; and determining the at least one room according to the room identifier to be analyzed. Based on the configuration, at least one room which is possibly entered by the target object can be automatically determined according to the registration condition of the target floor and the legal user which is allowed to enter, so that the suspicious going direction can be further narrowed down based on the at least one room subsequently, and the accurate flowing direction of the target object can be further determined.
In some possible embodiments, the target room includes a first target room, and the predicting the target room entered by the target object according to the access information includes: determining a target time interval according to a target time, wherein the target time interval is positioned after the target time, and the target time is the time when the target object enters the target floor; and predicting a first target room according to the personnel entrance and exit record of each room in the at least one room, wherein the first target room is a room with personnel entering in a target time interval. Based on the configuration, the destination of the target object with high probability can be directly and roughly judged, and the target room judging method is high in speed. Compared with the related art that can only roughly locate the floor where the target object enters, the accuracy of locating the target object can be improved to the room level.
In some possible embodiments, the person access information further includes a target person number, the method further comprising: determining a target time interval according to a target time, wherein the target time interval is positioned after the target time, and the target time is the time when the target object enters the target floor; and determining the number of target people in a second target room in the target time interval according to the people access record of the second target room, wherein the second target room is any one of the at least one room, and the number of the target people is the total number of people in the second target room in the target time interval. Based on the above configuration, the number of target persons can be obtained, and the number of target persons is used for further accurately determining the target room, so that the positioning accuracy of the flow direction of the target object is improved.
In some possible embodiments, after predicting the first target room according to the person entry and exit record of each room of the at least one room, the method further comprises: in the case where there is only one first target room, determining the first target room as a target room into which the target object enters; and under the condition that at least two first target rooms exist, acquiring the number of registered persons and the number of target persons of each first target room, and determining the first target room with the number of target persons inconsistent with the number of registered persons as a target room into which the target object enters. Based on the configuration, the first target room is determined by considering the personnel travel records, the range can be further narrowed in the range formed by the first target room by combining the number of registered personnel and the number of target personnel in the first target room, the target room into which the target object enters is accurately determined, and the accuracy of the flow direction positioning of the target object is improved.
In some possible embodiments, the target room includes a first target room, and the predicting the target room entered by the target object according to the access information includes: acquiring the number of target persons and the number of registered persons in each room of the at least one room; and determining the room with the target person number inconsistent with the registered person number as the first target room. Based on the above configuration, only by taking the number of target persons and the number of registered persons as the criterion of the first target room, which has a high probability that the target object enters the target room, the accuracy is slightly weaker than that of the previous embodiment but the prediction speed can be improved.
In some possible embodiments, the method further comprises: generating first early warning information under the condition that the target object enters the target floor; and/or after determining a first target room in a target room according to the personnel entrance and exit information, generating second early warning information according to the first target room, wherein the second early warning information comprises a second image, and the second image comprises the target object. Based on the configuration, relevant managers can know the flow direction of the personnel in the building through early warning, the safety management efficiency is improved, and the working pressure of the relevant managers is reduced.
According to a second aspect of the present disclosure, there is provided an apparatus for locating a target object indoors, the apparatus comprising: a room determination module for determining at least one room in a target floor if a target object enters the target floor; an access information acquisition module, configured to acquire access information of each room in the at least one room, where the access information includes an access record, and the access record is a record generated based on a non-visual sensor and used for recording a behavior of a person entering and leaving the room; and the target room prediction module is used for predicting a target room into which the target object enters according to the access information.
In some possible embodiments, the apparatus further includes an indoor positioning triggering module, where the indoor positioning triggering module is configured to acquire a message that an object to be analyzed enters a floor, where the message includes a first image captured after the object to be analyzed enters the floor; extracting a face image in the first image; matching the face images in the first image according to a face database, and obtaining a matching result, wherein the face images allowed to enter the building are recorded in the face database; and under the condition that the matching result is failure, determining that the target object enters the target floor, wherein the object to be analyzed is determined as the target object, and the floor where the object to be analyzed enters is determined as the target floor.
In some possible embodiments, the apparatus further comprises a management module for receiving a first information input instruction, the first information input instruction comprising a first room identification, a number of registered persons, and a face image of the registered person; generating a first data record according to the first room identifier and the number of the registered personnel; and storing the first data record in a room management database, and storing the face image of the registered person in a face database.
In some possible embodiments, the management module is further configured to start a room tracker pointed to by the first room identifier, the room tracker is configured to track behaviors of people entering and leaving the room, and generate an entrance and exit record corresponding to the first room identifier; generating a second data record according to the first room identifier and an access record corresponding to the first room identifier; storing the second data record in the room management database.
In some possible embodiments, the management module is further configured to obtain a second information input instruction, where the second information input instruction includes a second room identifier; closing the room tracker to which the second room identification points; and updating the face database based on the second room identifier.
In some possible embodiments, the room determination module is to determine a floor identification of the target floor; inquiring a room management database according to the floor identification to obtain a room identification to be analyzed, wherein the room identification to be analyzed is a room identification of a room registered and used in the target floor; and determining the at least one room according to the room identifier to be analyzed.
In some possible embodiments, the target room prediction module is configured to determine a target time interval according to a target time, where the target time interval is located after the target time, and the target time is a time when the target object enters the target floor; and predicting a first target room according to the personnel entrance and exit record of each room in the at least one room, wherein the first target room is a room with personnel entering in a target time interval.
In some possible embodiments, the person access information further includes a number of target persons, and the access information obtaining module is further configured to determine a target time interval according to a target time, where the target time interval is located after the target time, and the target time is a time when the target object enters the target floor; and determining the number of target people in a second target room in the target time interval according to the people access record of the second target room, wherein the second target room is any one of the at least one room, and the number of the target people is the total number of people in the second target room in the target time interval.
In some possible embodiments, the target room prediction module is further configured to determine, in a case where there is only one first target room, the first target room as a target room into which the target object enters; and under the condition that at least two first target rooms exist, acquiring the number of registered persons and the number of target persons of each first target room, and determining the first target room with the number of target persons inconsistent with the number of registered persons as a target room into which the target object enters.
In some possible embodiments, the target room prediction module is configured to obtain a target person number and a registered person number for each of the at least one room; and determining the room with the target person number inconsistent with the registered person number as the first target room.
In some possible embodiments, the apparatus further includes an early warning module, configured to generate first early warning information if the target object enters the target floor; and/or after determining a first target room in a target room according to the personnel entrance and exit information, generating second early warning information according to the first target room, wherein the second early warning information comprises a second image, and the second image comprises the target object.
According to a third aspect of the present disclosure, there is provided an electronic device comprising at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the at least one processor implements the method of locating a target object indoors as in any one of the first aspect by executing the instructions stored by the memory.
According to a fourth aspect of the present disclosure, there is provided a computer-readable storage medium having at least one instruction or at least one program stored therein, the at least one instruction or at least one program being loaded and executed by a processor to implement the method for indoor positioning of a target object according to any one of the first aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present specification, and other drawings can be obtained by those skilled in the art without inventive efforts.
Fig. 1 shows a flow diagram of a method of locating a target object indoors according to an embodiment of the disclosure;
fig. 2 shows a flow diagram of a method of determining a situation where a target object enters a target floor according to an embodiment of the present disclosure;
FIG. 3 shows a flow diagram of at least one room determination method according to an embodiment of the present disclosure;
FIG. 4 shows a flow diagram of a method of controlling a room tracker according to an embodiment of the present disclosure;
FIG. 5 shows a flow diagram of a target room prediction method according to an embodiment of the present disclosure;
FIG. 6 illustrates a flow diagram of a target person quantity determination method according to an embodiment of the present disclosure;
FIG. 7 illustrates a scene schematic diagram of a target object indoor positioning method according to an embodiment of the present disclosure;
FIG. 8 shows a block diagram of an apparatus for locating a target object indoors according to an embodiment of the present disclosure;
FIG. 9 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure;
FIG. 10 shows a block diagram of another electronic device in accordance with an embodiment of the disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments in the present description, belong to the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Building safety management is ubiquitous in life, and various buildings such as hotels, museums and libraries which can be opened to the public need to be subjected to building safety management. In real life, legal users allowed to enter the building can surely enter the building, but in many cases, illegal users can also enter the building, thereby further causing difficulty in building safety management. Taking a hotel as an example, the hotel is used as a place for providing short-term accommodation for passengers, but some unregistered personnel can also come in and go out of the hotel, so that great risk is brought to public security management of the hotel.
In the related art, the building can be monitored safely by configuring a camera in a public area, but the safety management method is difficult to accurately position the flow direction of the personnel, for example, it is impossible to determine which room the personnel enter. The related art can also incorporate manual inspection of the building due to the difficulty in accurately locating the direction of the flow of people, but this obviously costs more labor and is less efficient. Of course, some related technologies also propose to accurately locate the flow direction of people by installing a visual camera indoors, but the use condition of the visual camera is severe, and the way causes harm to the privacy of users, and the application is obviously limited. Some buildings can be provided with a face recognition module in a room, so that people entering the room can be subjected to face recognition, but only legal users can enter the room, the situation that illegal users enter the room through illegal means cannot be detected, and the flow direction of the illegal users still cannot be positioned.
In view of the above, the embodiments of the present disclosure provide a method for locating a target object indoors, which may determine a room into which the target object enters by combining floor monitoring inside a building and people entering and exiting information of the room in the floor. The scheme not only protects the privacy of personnel, but also can position the directions of the personnel in the building. The embodiment of the present disclosure does not limit the application scenario of the provided technical solution. For example, the technical solution provided by the embodiment of the present disclosure may be applied to various scenes in which building security management is required, such as hotels, hospitals, meeting rooms, museums, shopping malls, office buildings, and the like.
The method for locating a target object indoors provided by the embodiments of the present disclosure may be performed by a terminal device, a server, or other types of electronic devices, where the terminal device may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, or the like. In some possible implementations, the method of locating a target object indoors may be implemented by a processor invoking computer readable instructions stored in a memory. The method for locating a target object indoors according to the embodiments of the present disclosure is described below by taking an electronic device as an execution subject.
Fig. 1 is a schematic flow chart illustrating a method for locating a target object indoors according to an embodiment of the disclosure, as shown in fig. 1, the method includes:
s101: in case a target object enters a target floor, at least one room in the above-mentioned target floor is determined.
In the embodiment of the disclosure, at least one floor in a building can be monitored. Specifically, in the embodiment of the present disclosure, a single floor, a part of floors, or all floors in a building may be monitored, and the embodiment of the present disclosure does not limit the monitored floors, and may be set according to actual situations. For example, if all floors in a building are open to the public, that is, the public can enter any floor, each floor in the building can be monitored. If the partial floors in the building are open to the public, only the open floors can be monitored.
The monitoring method is not limited in the embodiment of the disclosure, and the floor monitoring can be performed based on a floor sensor, which can be a visual sensor, an infrared sensor, a radar sensor, or the like, but the embodiment of the disclosure is not limited thereto. Taking a visual sensor as an example, the visual sensor can be arranged at the entrance of each floor so as to monitor the condition of entering and exiting the floor, the entrance of the floor belongs to a public area, and the visual monitoring of the public area does not relate to the privacy safety problem. In one embodiment, if an elevator is installed in a building, a visual sensor may be installed at an elevator entrance, or a visual sensor may be installed at a walking ladder or a safety entrance.
In one embodiment, if the vision sensor is located at the elevator entrance, the vision sensor can be linked with the elevator controller, for example, when the elevator entrance is opened, the vision sensor photographs the condition of people in the elevator, so as to monitor the floor. In other embodiments, the visual sensor may be activated by timing, remote, manual, etc., and the embodiments of the present disclosure do not limit the triggering manner of the visual sensor.
The condition that the target object enters the target floor can be captured by a sensor arranged in the floor in the embodiment of the disclosure. In one embodiment, when it is monitored that there is an object entering a floor, the floor sensor may generate a message, which may be used to trigger the execution of step S101, the object in the message being the target object in step S101, and the floor in the message being the target floor in step S101.
In another embodiment, in order to reduce the frequency of the activation of step S101, the activation of step S101 may be triggered only in case of a suspected illegal person entering a floor. As shown in fig. 2, which shows a flow chart of a determination method of a situation where a target object enters a target floor according to an embodiment of the present disclosure, the determination method includes:
s201: and acquiring a message of an object to be analyzed entering a floor, wherein the message comprises a first image shot after the object to be analyzed enters the floor.
When an object to be analyzed enters a floor, the floor sensor of that floor may generate a relevant message. The floor sensor may be a visual sensor in order to obtain an image of the object after entering the floor. Specifically, if the floor sensor is located at the elevator entrance, people who get out of the elevator can be photographed when the elevator door is opened, and the photographed first image includes an object entering the floor. If the floor sensor is positioned at the walking stairway, a person can take a picture when entering a floor through the walking stairway, so that a first image is obtained.
In the embodiment of the present disclosure, the number of the first images captured by the vision sensor is not limited, a single image may be captured, or a continuous shooting mode may be set to capture at least two images, and one image with the best image quality is determined as the first image. The embodiment of the present disclosure does not limit the image quality determination method. The embodiment of the present disclosure does not limit the image quality determination method, for example, the image quality determination method may measure the image quality from many angles, such as brightness, contrast, sharpness, signal-to-noise ratio, sharpness, and human face completeness.
S202: and extracting the face image in the first image.
In an embodiment of the present disclosure, the specific method for extracting a face image is not limited, and in an embodiment, the face image may be determined according to a recognition result by performing face recognition based on a neural network. In another embodiment, face-based feature extraction may be performed based on a neural network, and the face image may be characterized using the extracted face feature information. The embodiment of the present disclosure does not limit the specific number of face images, and may be one or multiple. The embodiment of the present disclosure does not limit the specific method of the above feature extraction or face recognition.
S203: and matching the face images in the first image according to a face database, and obtaining a matching result, wherein the face images allowed to enter the building are recorded in the face database.
In the embodiment of the disclosure, all face images of legal persons allowed to enter the building can be recorded into the face database. Illustratively, the face image may be registered in the face database. Specifically, a first information input instruction is received, which may be used for registration. The first information input instruction includes a first room identification, the number of registered persons, and face images of the registered persons. And generating a first data record according to the first room identifier and the number of the registered persons. And storing the first data record in a room management database, and storing the face image of the registered person in a face database. Taking a hotel as an example, a passenger needs to register before entering the hotel, and some basic information and face images are input in the registration process. A first information input instruction may be triggered according to a result of the passenger registration, and in response to the first information input instruction, the room registered to live, and the number and detailed information of the people who live may be stored in the room management database, and the face image may be stored in the face database. Based on the configuration, personnel allowed to enter the building can be managed in time, positioning of the target object can be started only under certain conditions by combining management information, starting frequency of positioning of the target object is reduced, and resources are saved.
In an embodiment, the step S202 identifies a face image in the first image, and may directly compare the identified face image with a face image in the face database in terms of similarity, and if a face image with a similarity higher than a first preset threshold exists in the face database, the matching result may be regarded as successful, otherwise, the matching result is regarded as failed. The first preset threshold is not limited in the embodiment of the disclosure, and can be set according to actual needs.
In another embodiment, in step S202, facial feature information (first facial feature information) corresponding to the facial image in the first image may be extracted, and corresponding facial feature information (second facial feature information) may also be extracted for each facial image in the facial database, and if there is second facial feature information whose distance from the first facial feature information is lower than a second preset threshold in the facial database, the matching result may be considered as successful, otherwise, the matching result is considered as failed. The second preset threshold is not limited in the embodiment of the disclosure, and can be set according to actual needs.
S204: and if the matching result is failure, determining that the target object enters the target floor, wherein the object to be analyzed is determined as the target object, and the floor to which the object to be analyzed enters is determined as the target floor.
A failure to match indicates that the object to be analyzed is not a legitimate person allowed to enter the building, and the specific flow direction of the object can be monitored, so that the object is determined as a target object and the floor is determined as a target floor, in which case the step S101 may be triggered.
Based on the configuration, indoor positioning can be carried out only on the person suspected of illegally entering the building, and the specific flow direction of the person is monitored, so that the starting frequency of the method is reduced, and resources are saved.
In the embodiment of the present disclosure, a room that may be intruded illegally in the target floor may be determined as at least one room in step S101. The present disclosure does not limit the determination method of the at least one room, and for example, a room that is open to a user in the target floor may be determined as the at least one room. Referring to fig. 3, a flow chart of at least one room determination method according to an embodiment of the disclosure is shown, including:
s301: the floor identification of the target floor is determined.
S302: and inquiring a room management database according to the floor identification to obtain a room identification to be analyzed, wherein the room identification to be analyzed is the room identification of the registered room in the target floor.
As can be seen from the foregoing, in the embodiments of the present disclosure, the related information of registering the person in response to the first information input instruction may be provided
Figure BDA0003227210270000091
The database is managed in the room. The room identification of the room in the checked-in state can be determined by querying the room management database, and the room identification of the room on the target floor and in the checked-in state is determined as the room identification to be analyzed.
S303: and determining the at least one room according to the room identifier to be analyzed.
In one embodiment, the rooms corresponding to the room identifier to be analyzed obtained in step S302 may be directly determined as the at least one room in step S303. Of course, in some embodiments, other rooms may also be determined as the at least one room according to user settings, such as a conference room, a gymnasium, and a classroom. Or, in the room corresponding to the room identifier to be analyzed obtained in step S302, a known room that is unlikely to be intruded illegally may be excluded to obtain the at least one room, which is not limited in the embodiment of the present disclosure.
Based on the configuration, at least one room which is possibly entered by the target object can be automatically determined according to the registration condition of the target floor and the legal user which is allowed to enter, so that the suspicious going direction can be further narrowed down based on the at least one room subsequently, and the accurate flowing direction of the target object can be further determined.
S102: for each room in the at least one room, access information of the room is acquired, the access information comprises access records, and the access records are records generated based on non-visual sensors and used for recording behaviors of people entering the room and leaving the room.
To protect user privacy, the disclosed embodiments do not install a visual camera at the room level, and to obtain a record that records the activities of people entering and leaving the room, the disclosed embodiments use a non-visual sensor (room tracker) to further narrow down the suspicious destination of the target object based on the entry and exit information generated by the non-visual sensor.
This embodiment of this disclosure does not restrict the room tracker that the tracking personnel passed in and out the room and used, for example, can use radar sensor, radar sensor can trail the orbit that personnel passed in and out the room to application conditions is loose, does not have the requirement to the light, compares in the vision sensor who uses among the correlation technique, and radar sensor can fully honor user privacy, does not have the requirement and the false alarm rate is low to the light, compares in the infrared sensor who uses among the correlation technique, and radar sensor can judge the direction that personnel passed in and out, distinguishes to get into the room or leave the room.
The disclosed embodiments may automatically control the room tracker described above. Referring to fig. 4, a flow chart of a control method for a room tracker according to an embodiment of the present disclosure is shown, including:
s401: and starting a room tracker pointed by the first room identifier, wherein the room tracker is used for tracking the behaviors of personnel entering and leaving the room and generating an entrance and exit record corresponding to the first room identifier.
After receiving the first information command, the state of the room to which the first information command is corresponding may be set to the registration state, and the room is open to the outside, and the room tracker of the room may be automatically started accordingly. The room tracker makes indifferent recordings of the entry into and exit from the room and generates an entry and exit record corresponding to the first room identification.
S402: and generating a second data record according to the first room identifier and the access record corresponding to the first room identifier.
Specifically, a second data record may be generated based on the mapping relationship between the access record and the first room identifier, and the second data record has the first room identifier as a primary key.
S403: and storing the second data record in the room management database.
In the disclosed embodiment, the room management database may be used for room management, management of personnel who check in and check out rooms, and management of access records generated for rooms. Based on the above configuration, management of the entry and exit records can be automatically performed, so as to improve the speed of positioning the target object based on the entry and exit records.
In one embodiment, a second information input instruction may also be obtained, where the second information input instruction includes a second room identifier. The second information input command may be a room logout command, and accordingly, the room corresponding to the second room identifier may be reset to the non-registered state. After the room is logged out, the room tracker pointed by the second room identifier can be automatically closed correspondingly, and the face database is updated based on the second room identifier. Specifically, the person who registers in the room pointed by the second room identifier requests to log out the room, and after logging out, the person no longer qualifies to enter the room, and the face image corresponding to the person should be deleted in the face database. Based on the configuration, the room tracker can be closed in time, and the resource consumption of the room tracker is saved. By updating the face database, the consistency of the face images in the face database and the face images allowed to enter the building can be maintained.
S103: and predicting a target room into which the target object enters according to the access information.
In the embodiment of the present disclosure, the target room into which the target object enters can be predicted by the access information. The embodiments of the present disclosure do not limit the specific methods of the above prediction. In one embodiment, please refer to fig. 5, which illustrates a flowchart of a target room prediction method according to an embodiment of the present disclosure, the method includes:
s501: and determining a target time interval according to a target time, wherein the target time interval is positioned after the target time, and the target time is the time when the target object enters the target floor.
In the embodiment of the present disclosure, the time when the target object enters the target floor may be taken as the target time. Referring to the foregoing, if the target object and the target floor are determined in step S204, the time when the first image is captured in step S201 may be taken as the target time. After the target object enters the target floor, the target object may enter a certain room within a preset time interval, where the preset time interval is the target time interval.
S502: and predicting a first target room according to the personnel entrance and exit record of each room in the at least one room, wherein the first target room is a room in which personnel enter the target time interval.
If the entering condition exists in the target time interval, the person which the room is likely to enter is the target object, and therefore the room is determined as the first target room. The first target room of the embodiment of the present disclosure may be considered as a room into which the target object enters with a high probability, that is, the first target room is a target room into which the target object enters with a high probability, and the determination of the first target room aims to further narrow the heading of the target object.
Based on the configuration, the destination of the target object with high probability can be directly and roughly judged, and the target room judging method is high in speed. Compared with the related art that can only roughly locate the floor where the target object enters, the accuracy of locating the target object can be improved to the room level.
In one embodiment, the person access information further includes a number of target persons. Referring to fig. 6, a flowchart of a target person number determination method according to an embodiment of the disclosure is shown. The method comprises the following steps:
s601, determining a target time interval according to a target time, wherein the target time interval is positioned after the target time, and the target time is the time when the target object enters the target floor.
For the description of the target time interval in the embodiments of the present disclosure, please refer to the foregoing, which is not described herein.
S602, determining the number of target people in a second target room in the target time interval according to the people entering and exiting record of the second target room, wherein the second target room is any one of the at least one room, and the number of the target people is the total number of people in the second target room in the target time interval.
In one embodiment, each of the at least one room may be taken as the second target room, that is, the number of target persons in the room in the target time interval may be counted for each room. In other embodiments, people statistics may be performed only on some rooms with a high probability as target rooms into which the target object enters, and the corresponding target person number may be determined.
Based on the above configuration, the number of target persons can be obtained, and the number of target persons is used for further accurately determining the target room, so that the positioning accuracy of the flow direction of the target object is improved.
In the embodiment of the present disclosure, the target room into which the target object enters may be inferred by combining the obtained personnel entry and exit records and the number of the target personnel.
In another embodiment, in the case that there is only one first target room, determining the first target room as a target room into which the target object enters; and under the condition that at least two first target rooms exist, acquiring the number of registered persons and the number of target persons of each first target room, and determining the first target room with the number of target persons inconsistent with the number of registered persons as a target room into which the target object enters. Based on the configuration, the first target room is determined by considering the personnel travel records, the range can be further narrowed in the range formed by the first target room by combining the number of registered personnel in the first target room and the number of target personnel, the target room into which the target object enters is accurately determined, and the accuracy of the flow direction positioning of the target object is improved.
In another embodiment, the target person number and the registered person number of each room in the at least one room can be directly obtained; the room in which the number of target persons does not coincide with the number of registered persons is determined as the first target room. Based on this configuration, only by taking the number of target persons and the number of registered persons as the criterion of the first target room, which has a high probability that the target object enters the target room, the accuracy is slightly weaker than that of the previous embodiment but the prediction speed can be improved.
In another embodiment, a room that satisfies the following two requirements may be directly determined as the target room. The method comprises the following steps of 1: the target person number of the room is inconsistent with the registered person number of the room; the method comprises the following steps: the situation that people enter the room in the target time interval exists.
According to the embodiment of the disclosure, the target room into which the target object enters can be inferred through the monitoring condition (floor monitoring) and the access information of the public area, so that the positioning accuracy of the target object is improved to the room level, and the privacy security of legal users in the building is not violated. The method for positioning the target object indoors can be implemented fully automatically, dependence on manpower is low, and therefore cost can be reduced, and omission is avoided.
In the embodiment of the disclosure, the condition that the target object leaves can be further analyzed by combining the floor monitoring and the access information. For example, after the target room is determined, if the person leaves the target room, the floor sensor is triggered to shoot the person leaving the floor within a preset time, and if the target object exists in the person leaving the floor, the target object can be determined to have left the target room.
In some embodiments, in a case where it is determined that the target object enters the target floor, first warning information may be generated according to the first image acquired in step S201, where the first warning information is used to indicate that there is a case where the target object enters the target floor. After the first target room is determined, second early warning information may be generated according to the first image and the determined first target room, and of course, the second early warning information may also be generated according to the first image and the determined target room, and the second early warning information is used for prompting the destination of the target object. Further, when it is determined that the target object has left the target room, third warning information may be generated, where the third warning information is used to prompt the target object to leave the target room. The embodiment of the present disclosure does not limit the expression forms of the first warning information, the second warning information, and the third warning information, and the first warning information, the second warning information, and the third warning information may be in a text form, a voice form, or a combination of text and voice.
Please refer to fig. 7, which illustrates a scene diagram of a target object indoor positioning method according to an embodiment of the present disclosure. When the target object enters a room of the target floor, the personnel entrance and exit record and the number of the target personnel of the room change correspondingly, and the change information generated by the change can be captured by a room tracker of the room. By analyzing the variation information, it is possible to determine which room the target object has entered roughly, and thereby determine the target room. The indoor positioning method for the target object does not violate the privacy security of the user and does not pay attention to the specific situation in each room, but can improve the positioning level of the target object to the room. And the whole process does not need manual intervention, so that the use and even the inspection without using personnel can be reduced, and the cost is reduced.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing of the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
It is understood that the above-mentioned method embodiments of the present disclosure can be combined with each other to form a combined embodiment without departing from the logic of the principle, which is limited by the space, and the detailed description of the present disclosure is omitted.
Fig. 8 illustrates a block diagram of an apparatus for locating a target object indoors according to an embodiment of the present disclosure. As shown in fig. 8, the above apparatus includes:
a room determining module 101, configured to determine at least one room in the target floor when the target object enters the target floor.
An access information obtaining module 102, configured to obtain access information of each of the at least one room, where the access information includes an access record, and the access record is a record generated based on a non-visual sensor and used for recording behaviors of a person entering the room and leaving the room.
And a target room prediction module 103, configured to predict a target room into which the target object enters according to the access information.
In some possible embodiments, the apparatus further includes an indoor positioning triggering module, where the indoor positioning triggering module is configured to acquire a message that an object to be analyzed enters a floor, where the message includes a first image captured after the object to be analyzed enters the floor; extracting a face image in the first image; matching the face images in the first image according to a face database, and obtaining a matching result, wherein the face images allowed to enter the building are recorded in the face database; and if the matching result is failure, determining that the target object enters the target floor, wherein the object to be analyzed is determined as the target object, and the floor to which the object to be analyzed enters is determined as the target floor.
In some possible embodiments, the apparatus further comprises a management module, wherein the management module is configured to receive a first information input instruction, and the first information input instruction comprises a first room identifier, the number of registered people, and a face image of the registered people; generating a first data record according to the first room identifier and the number of the registered persons; and storing the first data record in a room management database, and storing the face image of the registered person in a face database.
In some possible embodiments, the management module is further configured to start a room tracker pointed by the first room identifier, where the room tracker is configured to track behaviors of people entering and leaving the room, and generate an entry and exit record corresponding to the first room identifier; generating a second data record according to the first room identifier and the access record corresponding to the first room identifier; and storing the second data record in the room management database.
In some possible embodiments, the management module is further configured to obtain a second information input instruction, where the second information input instruction includes a second room identifier; closing the room tracker pointed by the second room identifier; and updating the face database based on the second room identifier.
In some possible embodiments, the room determination module is configured to determine a floor identification of the target floor; inquiring a room management database according to the floor identification to obtain a room identification to be analyzed, wherein the room identification to be analyzed is a room identification of a room registered and used in the target floor; and determining the at least one room according to the room identifier to be analyzed.
In some possible embodiments, the target room prediction module is configured to determine a target time interval according to a target time, where the target time interval is after the target time, and the target time is a time when the target object enters the target floor; and predicting a first target room according to the personnel entrance and exit record of each room in the at least one room, wherein the first target room is a room in which personnel enter the target time interval.
In some possible embodiments, the person entering and exiting information further includes a target person number, and the entering and exiting information obtaining module is further configured to determine a target time interval according to a target time, where the target time interval is located after the target time, and the target time is a time when the target object enters the target floor; and determining the number of target persons in a second target room in the target time interval according to the person entering and exiting record of the second target room, wherein the second target room is any one of the at least one room, and the number of the target persons is the total number of persons in the second target room in the target time interval.
In some possible embodiments, the target room prediction module is further configured to determine, in a case that there is only one first target room, the first target room as a target room into which the target object enters; and under the condition that at least two first target rooms exist, acquiring the number of registered persons and the number of target persons of each first target room, and determining the first target room with the number of target persons inconsistent with the number of registered persons as a target room into which the target object enters.
In some possible embodiments, the target room prediction module is configured to obtain a target person number and a registered person number of each room in the at least one room; the room in which the number of target persons does not coincide with the number of registered persons is determined as the first target room.
In some possible embodiments, the apparatus further includes an early warning module, where the early warning module is configured to generate first early warning information when the target object enters the target floor; and/or after determining a first target room in a target room according to the personnel entrance and exit information, generating second early warning information according to the first target room, wherein the second early warning information comprises a second image, and the second image comprises the target object.
In some embodiments, functions of or modules included in the apparatus provided in the embodiments of the present disclosure may be used to execute the method described in the above method embodiments, and specific implementation thereof may refer to the description of the above method embodiments, and for brevity, will not be described again here.
The embodiment of the present disclosure also provides a computer-readable storage medium, where at least one instruction or at least one program is stored in the computer-readable storage medium, and the at least one instruction or the at least one program is loaded by a processor and executed to implement the method. The computer readable storage medium may be a non-volatile computer readable storage medium.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured as the method.
The electronic device may be provided as a terminal, server, or other form of device.
Fig. 9 shows a block diagram of an electronic device in accordance with an embodiment of the disclosure. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like terminal.
Referring to fig. 9, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, images, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user as described above. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G, 5G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the above-mentioned communication component 816 further comprises a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as the memory 804, is also provided that includes computer program instructions executable by the processor 820 of the electronic device 800 to perform the above-described methods.
FIG. 10 shows a block diagram of another electronic device in accordance with an embodiment of the disclosure. For example, the electronic device 1900 may be provided as a server. Referring to fig. 10, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium, such as the memory 1932, is also provided that includes computer program instructions executable by the processing component 1922 of the electronic device 1900 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (14)

1. A method of locating a target object indoors, the method comprising:
determining at least one room in a target floor in case a target object enters the target floor;
for each room of the at least one room, obtaining access information for the room, the access information including an access record, the access record being based on a non-visual sensor-generated record for recording the activities of persons entering and exiting the room;
and predicting a target room into which the target object enters according to the access information.
2. The method of claim 1, further comprising:
acquiring a message of an object to be analyzed entering a floor, wherein the message comprises a first image shot after the object to be analyzed enters the floor;
extracting a face image in the first image;
matching the face images in the first image according to a face database, and obtaining a matching result, wherein the face images allowed to enter the building are recorded in the face database;
and under the condition that the matching result is failure, determining that the target object enters the target floor, wherein the object to be analyzed is determined as the target object, and the floor where the object to be analyzed enters is determined as the target floor.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving a first information input instruction, wherein the first information input instruction comprises a first room identifier, the number of registered persons and facial images of the registered persons;
generating a first data record according to the first room identifier and the number of the registered personnel;
and storing the first data record in a room management database, and storing the face image of the registered person in a face database.
4. The method of claim 3, applied to a device for indoor positioning of a target object, the device comprising a room tracker, the method further comprising:
starting a room tracker pointed by the first room identifier, wherein the room tracker is used for tracking the behaviors of people entering the room and leaving the room and generating an entrance and exit record corresponding to the first room identifier;
generating a second data record according to the first room identifier and an access record corresponding to the first room identifier;
storing the second data record in the room management database.
5. The method of claim 4, further comprising:
acquiring a second information input instruction, wherein the second information input instruction comprises a second room identifier;
closing the room tracker to which the second room identification points; and updating the face database based on the second room identifier.
6. The method of any one of claims 1 to 5, wherein the determining at least one room in the target floor comprises:
determining a floor identification of the target floor;
inquiring a room management database according to the floor identification to obtain a room identification to be analyzed, wherein the room identification to be analyzed is a room identification of a room registered and used in the target floor;
and determining the at least one room according to the room identifier to be analyzed.
7. The method of any one of claims 1 to 6, wherein the target room comprises a first target room, and wherein predicting the target room for entry of the target object based on the access information comprises:
determining a target time interval according to a target time, wherein the target time interval is positioned after the target time, and the target time is the time when the target object enters the target floor;
and predicting a first target room according to the personnel entrance and exit record of each room in the at least one room, wherein the first target room is a room with personnel entering in a target time interval.
8. The method of any one of claims 1 to 7, wherein the person access information further comprises a target person number, the method further comprising:
determining a target time interval according to a target time, wherein the target time interval is positioned after the target time, and the target time is the time when the target object enters the target floor;
and determining the number of target people in a second target room in the target time interval according to the people access record of the second target room, wherein the second target room is any one of the at least one room, and the number of the target people is the total number of people in the second target room in the target time interval.
9. The method of claim 7 or 8, wherein after predicting a first target room based on the person access record for each of the at least one room, the method further comprises:
in the case where there is only one first target room, determining the first target room as a target room into which the target object enters;
and under the condition that at least two first target rooms exist, acquiring the number of registered persons and the number of target persons of each first target room, and determining the first target room with the number of target persons inconsistent with the number of registered persons as a target room into which the target object enters.
10. The method of claim 8, wherein the target room comprises a first target room, and wherein predicting a target room for entry of a target object based on the access information comprises:
acquiring the number of target persons and the number of registered persons in each room of the at least one room;
and determining the room with the target person number inconsistent with the registered person number as the first target room.
11. The method according to any one of claims 1 to 10, further comprising:
generating first early warning information under the condition that the target object enters the target floor;
and/or the presence of a gas in the gas,
after a first target room in a target room is determined according to the personnel entrance and exit information, second early warning information is generated according to the first target room, wherein the second early warning information comprises a second image, and the second image comprises the target object.
12. An apparatus for locating a target object indoors, the apparatus comprising:
a room determination module for determining at least one room in a target floor if a target object enters the target floor;
an access information acquisition module, configured to acquire access information of each room in the at least one room, where the access information includes an access record, and the access record is a record generated based on a non-visual sensor and used for recording a behavior of a person entering and leaving the room;
and the target room prediction module is used for predicting a target room into which the target object enters according to the access information.
13. A computer-readable storage medium, in which at least one instruction or at least one program is stored, which is loaded and executed by a processor to implement the method for indoor positioning of a target object according to any one of claims 1 to 11.
14. An electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the at least one processor implementing the method of locating a target object indoors as claimed in any one of claims 1-11 by executing the instructions stored by the memory.
CN202110975780.1A 2021-08-24 2021-08-24 Method, apparatus and storage medium for indoor positioning of target object Pending CN113791408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110975780.1A CN113791408A (en) 2021-08-24 2021-08-24 Method, apparatus and storage medium for indoor positioning of target object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110975780.1A CN113791408A (en) 2021-08-24 2021-08-24 Method, apparatus and storage medium for indoor positioning of target object

Publications (1)

Publication Number Publication Date
CN113791408A true CN113791408A (en) 2021-12-14

Family

ID=79182194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110975780.1A Pending CN113791408A (en) 2021-08-24 2021-08-24 Method, apparatus and storage medium for indoor positioning of target object

Country Status (1)

Country Link
CN (1) CN113791408A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116090796A (en) * 2023-04-06 2023-05-09 威海海洋职业学院 Hotel intelligent management system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062809A (en) * 2017-11-28 2018-05-22 特斯联(北京)科技有限公司 A kind of house access control system for realizing personnel's big data collection analysis
CN110473320A (en) * 2019-08-02 2019-11-19 浙江天地人科技有限公司 A kind of judgment method of rental housing personnel management system, permanent personnel and its corresponding door
WO2019223608A1 (en) * 2018-05-25 2019-11-28 阿里巴巴集团控股有限公司 Service providing method and apparatus
CN112330514A (en) * 2020-09-29 2021-02-05 佳都新太科技股份有限公司 Community public security information evaluation method, device, equipment and storage medium
CN112562161A (en) * 2020-12-08 2021-03-26 福建红点科技有限公司 Based on 5G thing networking and AI intelligent entrance guard integrated management system
CN112597848A (en) * 2020-12-14 2021-04-02 北京软通智慧城市科技有限公司 Community personnel management method, device, medium and electronic equipment
CN112700571A (en) * 2020-12-11 2021-04-23 广脉科技股份有限公司 Intelligent community personnel management system
CN113095155A (en) * 2021-03-19 2021-07-09 深圳力维智联技术有限公司 Check-in management method, device, system and computer readable storage medium
CN113159632A (en) * 2021-05-06 2021-07-23 重庆国科应用技术研究所有限公司 Building management method and system based on user portrait

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108062809A (en) * 2017-11-28 2018-05-22 特斯联(北京)科技有限公司 A kind of house access control system for realizing personnel's big data collection analysis
WO2019104949A1 (en) * 2017-11-28 2019-06-06 特斯联(北京)科技有限公司 Residential entrance access control system which achieves human big data acquisition and analysis
WO2019223608A1 (en) * 2018-05-25 2019-11-28 阿里巴巴集团控股有限公司 Service providing method and apparatus
CN110473320A (en) * 2019-08-02 2019-11-19 浙江天地人科技有限公司 A kind of judgment method of rental housing personnel management system, permanent personnel and its corresponding door
CN112330514A (en) * 2020-09-29 2021-02-05 佳都新太科技股份有限公司 Community public security information evaluation method, device, equipment and storage medium
CN112562161A (en) * 2020-12-08 2021-03-26 福建红点科技有限公司 Based on 5G thing networking and AI intelligent entrance guard integrated management system
CN112700571A (en) * 2020-12-11 2021-04-23 广脉科技股份有限公司 Intelligent community personnel management system
CN112597848A (en) * 2020-12-14 2021-04-02 北京软通智慧城市科技有限公司 Community personnel management method, device, medium and electronic equipment
CN113095155A (en) * 2021-03-19 2021-07-09 深圳力维智联技术有限公司 Check-in management method, device, system and computer readable storage medium
CN113159632A (en) * 2021-05-06 2021-07-23 重庆国科应用技术研究所有限公司 Building management method and system based on user portrait

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
田晓燕;陈雷;刘志强;: "基于ODMA网络的楼宇环境监测系统设计", 电视技术, no. 15, 2 August 2015 (2015-08-02) *
薛力群;: "关于人脸识别技术在智慧楼宇中的应用研究", 智能计算机与应用, no. 06, 1 November 2019 (2019-11-01) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116090796A (en) * 2023-04-06 2023-05-09 威海海洋职业学院 Hotel intelligent management system

Similar Documents

Publication Publication Date Title
CN109658572B (en) Image processing method and device, electronic equipment and storage medium
US10123196B2 (en) Method and device for alarm triggering
CN109145560B (en) Method and device for accessing monitoring equipment
CN110675539B (en) Identity verification method and device, electronic equipment and storage medium
CN110942036B (en) Person identification method and device, electronic equipment and storage medium
CN110555930B (en) Door lock control method and device, electronic equipment and storage medium
CN111274426A (en) Category labeling method and device, electronic equipment and storage medium
WO2022160616A1 (en) Passage detection method and apparatus, electronic device, and computer readable storage medium
CN109842612B (en) Log security analysis method and device based on graph library model and storage medium
CN109325336B (en) Unlocking method, unlocking device and computer readable storage medium
KR20170080739A (en) Outer Visitor Watching System using QR Code and Controlling Method for the Same
CN110992562A (en) Access control method and device, electronic equipment and storage medium
CN113093578A (en) Control method and device, electronic equipment and storage medium
EP3226128A1 (en) Method and device for online payment
CN114882681A (en) Work order processing method and device, electronic equipment and storage medium
CN110609933A (en) Image processing method and device, electronic equipment and storage medium
CN113791408A (en) Method, apparatus and storage medium for indoor positioning of target object
EP3477545A1 (en) Video identification method and device
CN113011291A (en) Event detection method and device, electronic equipment and storage medium
CN110543928B (en) Method and device for detecting number of people on trackless rubber-tyred vehicle
CN111651627A (en) Data processing method and device, electronic equipment and storage medium
CN111368701A (en) Character management and control method and device, electronic equipment and storage medium
CN113822216A (en) Event detection method, device, system, electronic equipment and storage medium
CN113569749A (en) Elevator trapping detection method and device, electronic equipment and storage medium
CN106919912B (en) Indoor monitoring method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination