A campus indoor positioning attendance method, device, equipment and storage medium

By deploying WIFI routers and RFID card readers on campus, combining signal propagation models and trilateral measurement methods, accurate positioning of students and attendance data generation is achieved, solving the problem of inaccurate positioning and attendance data in the existing technology, and improving management efficiency.

CN116012967BActive Publication Date: 2025-03-11CHINA TELECOM CORP LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211729666.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2025-03-11
Estimated Expiration
2042-12-30

AI Technical Summary

Technical Problem

The prior art cannot accurately locate students on campus and generate accurate attendance data.

Method used

By using WIFI routers and RFID card readers as positioning devices, the installation location information and coordinates of the mobile device worn by students are obtained, and the specific location of the student is calculated based on the location is generated.

Benefits of technology

It realizes accurate positioning of students on campus and accurate attendance data generation, and improves the efficiency of monitoring and management of students' activity trajectories.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116012967B_ABST
    Figure CN116012967B_ABST
Patent Text Reader

Abstract

The embodiments of the present application relate to the field of campus safety technology, and specifically to a campus indoor positioning attendance method, device, equipment and storage medium, which are intended to accurately locate the position of students on campus and generate accurate attendance data. The method includes: when it is detected that a mobile device worn by a student enters the signal coverage range of a positioning device, the installation location information and installation coordinates of all positioning devices that interact with the mobile device are obtained, and the positioning device includes a WIFI router and an RFID card reader; according to the installation coordinates of the positioning device, the coordinates of the mobile device are calculated by a fusion positioning algorithm; according to the installation location information of the positioning device and the coordinates of the mobile device, the specific location of the mobile device on campus is determined; according to the specific location and the pre-configured attendance rule information, the attendance data of the student is generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of campus safety technology, and more specifically, to a campus indoor positioning attendance method, device, equipment and storage medium. Background Art

[0002] The campus is where students study and live. Establishing a complete and reasonable attendance system on campus is conducive to the daily management of students and ensures that students can study safely and happily. In order to establish a complete attendance system, it is necessary to accurately grasp the activity trajectory of students on campus. The campus is a very complex scene. It is very difficult to locate the specific location of students on campus, specifically which classroom or activity room. The positioning method in the existing technology generally uses a single signal to locate the unit indoors.

[0003] In the existing technology, it is impossible to accurately locate students indoors on campus, and it is also impossible to obtain accurate attendance data for each student. Summary of the invention

[0004] The embodiments of the present application provide a campus indoor positioning attendance method, device, equipment and storage medium, which are intended to accurately locate the positions of students on campus and generate accurate attendance data.

[0005] The first aspect of the embodiment of the present application provides a campus indoor positioning attendance method, the method comprising:

[0006] When it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device, the installation location information and installation coordinates of all positioning devices that interact with the mobile device are obtained, and the positioning devices include WIFI routers and RFID card readers;

[0007] Calculating the coordinates of the mobile device using a fusion positioning algorithm according to the installation coordinates of the positioning device;

[0008] Determine the specific location of the mobile device on campus according to the installation location information of the positioning device and the coordinates of the mobile device;

[0009] Attendance data of the student is generated according to the specific location and pre-configured attendance rule information.

[0010] Optionally, when it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device, the installation location information and installation coordinates of all positioning devices that generate signal interactions with the mobile device are obtained, including:

[0011] When it is detected that the mobile device enters the signal coverage range of the positioning device, determining the positioning device numbers of all positioning devices that generate signal interactions with the mobile device;

[0012] According to the positioning device number, the installation location information and the installation coordinates of the positioning device are queried in the server.

[0013] Optionally, calculating the coordinates of the mobile device by a fusion positioning algorithm according to the installation coordinates of the positioning device includes:

[0014] Calculate the distance between each positioning device and the mobile device through a signal propagation model to obtain multiple distance values;

[0015] Obtaining the WIFI positioning coordinates of the mobile device through the installation coordinates of the WIFI router in the positioning device and the distance value corresponding to the WIFI router;

[0016] Obtaining the RFID positioning coordinates of the mobile device through the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader;

[0017] The WIFI positioning coordinates and the RFID positioning coordinates are averaged to obtain the coordinates of the mobile device.

[0018] Optionally, the distance between the positioning device and each of the mobile devices is calculated by using a signal propagation model to obtain multiple distance values, including:

[0019] When the positioning device is a WIFI router, an improved Kalman filter algorithm based on singular value determination is used to optimize the signal strength value of the signal received by the WIFI router to obtain an optimized signal strength value;

[0020] Inputting the optimized signal strength value into the signal propagation model to obtain a distance value between the positioning device and the mobile device;

[0021] When the positioning device is an RFID card reader, the signal strength value of the signal received by the RFID card reader is input into the signal propagation model to obtain the distance value between the positioning device and the mobile device.

[0022] Optionally, obtaining the WIFI positioning coordinates of the mobile device by using the installation coordinates of the WIFI router in the positioning device and the device distance value corresponding to the WIFI router includes:

[0023] The WIFI routers are grouped into three, and a plurality of WIFI router groups that can form an equilateral triangle are screened out from the WIFI routers;

[0024] The WIFI positioning coordinates of the mobile device are determined by using a trilateration method according to the distance value between each WIFI router in the plurality of WIFI router groups and the mobile device and the installation coordinates of the WIFI routers.

[0025] Optionally, obtaining the RFID positioning coordinates of the mobile device by using the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader includes:

[0026] The RFID card readers are grouped into three, and a plurality of RFID card reader groups that can form an equilateral triangle are selected from the RFID card readers;

[0027] The RFID positioning coordinates of the mobile device are determined by using a trilateration method according to the distance value between each RFID reader in the plurality of RFID reader groups and the mobile device and the installation coordinates of the RFID reader.

[0028] Optionally, the method further comprises:

[0029] Sending the attendance data to the mobile device of the administrator corresponding to the student;

[0030] Generate corresponding alarm information according to the attendance data;

[0031] The warning information is sent to the relevant contacts of the student.

[0032] A second aspect of an embodiment of the present application provides a campus indoor positioning attendance device, the device comprising:

[0033] A positioning device information acquisition module is used to obtain the installation location information and installation coordinates of all positioning devices that interact with the mobile device when it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device. The positioning device includes a WIFI router and an RFID card reader.

[0034] A mobile device coordinate determination module, used to calculate the coordinates of the mobile device through a fusion positioning algorithm according to the installation coordinates of the positioning device;

[0035] A specific location determination module, used to determine the specific location of the mobile device on campus based on the installation location information of the positioning device and the coordinates of the mobile device;

[0036] The attendance data generating module is used to generate the attendance data of the student according to the specific location and the pre-configured attendance rule information.

[0037] Optionally, the positioning device information acquisition module includes:

[0038] A positioning device number acquisition submodule, used to determine the positioning device numbers of all positioning devices that have signal interactions with the mobile device when it is detected that the mobile device enters the signal coverage range of the positioning device;

[0039] The positioning device information acquisition submodule is used to query the installation location information and installation coordinates of the positioning device in the server according to the positioning device number.

[0040] Optionally, the mobile device coordinate determination module includes:

[0041] A distance value determination submodule, used to calculate the distance between each positioning device and the mobile device through a signal propagation model to obtain multiple distance values;

[0042] A WIFI positioning coordinate determination submodule, used to obtain the WIFI positioning coordinates of the mobile device through the installation coordinates of the WIFI router in the positioning device and the distance value corresponding to the WIFI router;

[0043] An RFID positioning coordinate determination submodule, used to obtain the RFID positioning coordinates of the mobile device through the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader;

[0044] The mobile device coordinate determination submodule is used to average the WIFI positioning coordinates and the RFID positioning coordinates to obtain the coordinates of the mobile device.

[0045] Optionally, the distance value determination submodule includes:

[0046] A signal strength value optimization submodule, used for optimizing the signal strength value of the signal received by the WIFI router using an improved Kalman filter algorithm based on singular value determination when the positioning device is a WIFI router, to obtain an optimized signal strength value;

[0047] A first distance value calculation submodule, configured to input the optimized signal strength value into the signal propagation model to obtain a distance value between the positioning device and the mobile device;

[0048] The second distance value calculation submodule is used to input the signal strength value of the signal received by the RFID card reader into the signal propagation model when the positioning device is an RFID card reader, so as to obtain the distance value between the positioning device and the mobile device.

[0049] Optionally, the WIFI positioning coordinate determination submodule includes:

[0050] A WIFI grouping submodule, used for grouping the WIFI routers into three groups, and screening out a plurality of WIFI router groups that can form an equilateral triangle from the WIFI routers;

[0051] The WIFI positioning coordinate calculation submodule is used to determine the WIFI positioning coordinates of the mobile device by using trilateration according to the distance value between each WIFI router in the plurality of WIFI router groups and the mobile device and the installation coordinates of the WIFI router.

[0052] Optionally, the RFID positioning coordinate determination submodule includes:

[0053] An RFID grouping submodule, used to group the RFID readers into three and screen out a plurality of RFID reader groups that can form an equilateral triangle from the RFID readers;

[0054] The RFID positioning coordinate calculation submodule is used to determine the RFID positioning coordinates of the mobile device by using trilateration according to the distance value between each RFID reader in the plurality of RFID reader groups and the mobile device and the installation coordinates of the RFID reader.

[0055] Optionally, the device further comprises:

[0056] An attendance data sending module, used for sending the attendance data to a mobile device of a manager corresponding to the student;

[0057] An alarm information generation module, used to generate corresponding alarm information according to the attendance data;

[0058] The warning information sending module is used to send the warning information to the relevant contacts of the student.

[0059] A third aspect of an embodiment of the present application provides a readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the method described in the first aspect of the present application are implemented.

[0060] A fourth aspect of an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method described in the first aspect of the present application are implemented.

[0061] The campus indoor positioning attendance method provided by the present application is adopted. When it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device, the installation location information and installation coordinates of all positioning devices that generate signal interactions with the mobile device are obtained, and the positioning device includes a WIFI router and an RFID card reader; according to the installation coordinates of the positioning device, the coordinates of the mobile device are calculated by a fusion positioning algorithm; according to the installation location information of the positioning device and the coordinates of the mobile device, the specific location of the mobile device in the campus is determined; according to the specific location and the pre-configured attendance rule information, the student's attendance data is generated. Using the WIFI router and the RFID card reader as positioning devices, according to the specific installation floor and installation coordinates of the positioning device, the specific location of the mobile device worn by the student in the campus is calculated by a fusion positioning algorithm, which can be accurate to the specific floor and specific classroom, and the student's location in the campus is accurately calculated, and according to the student's location in the campus and the preset attendance rules, the student's attendance data is generated, realizing efficient management of student attendance, which is conducive to the school's effective management of students. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0063] Figure 1 This is a flow chart of a campus indoor positioning attendance method proposed in an embodiment of the present application;

[0064] Figure 2 It is a schematic diagram of a campus indoor positioning attendance device proposed in one embodiment of the present application. DETAILED DESCRIPTION

[0065] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0066] refer to Figure 1 , Figure 1 Flowchart of the campus indoor positioning attendance method proposed in one embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0067] S11: When it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device, the installation location information and installation coordinates of all positioning devices that generate signal interactions with the mobile device are obtained, and the positioning devices include WIFI routers and RFID card readers.

[0068] In this embodiment, the mobile device worn by the student is integrated with a WIFI signal transceiver and an RFID signal transceiver. It is a device dedicated to locating the student's position and can be installed in a campus card or an electronic student card. There are two types of positioning devices, one is a WIFI (mobile hotspot) router for receiving and sending WIFI signals, and the other is an RFID (Radio Frequency Identification) reader for users to receive and send radio frequency signals. The installation location information of the positioning device indicates the specific building and specific floor where the positioning device is installed on the campus. The installation coordinates of the positioning device are the installation coordinates of the positioning device in the two-dimensional plane.

[0069] In this embodiment, WIFI routers and RFID readers are installed in multiple locations on campus, such as classrooms, canteens, laboratories, offices, etc. During installation, multiple WIFI routers and multiple RFID readers are deployed in an equilateral triangle. The system will record the specific location of each positioning device installation, including the floor, classroom, installation coordinates in a two-dimensional plane, and other location information, and store these location information in the server for easy access at any time. When the mobile device worn by the student enters the signal coverage range of the positioning device, the positioning device that receives the signal of the mobile device will send the signal to the server, and the server can obtain the installation location information and installation coordinates of all positioning devices that can receive the signal sent by the mobile device.

[0070] In this embodiment, when it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device, the location information of all positioning devices that can receive the signal sent by the mobile device is obtained, including:

[0071] S11-1: When it is detected that the mobile device enters the signal coverage range of the positioning device, the positioning device numbers of all positioning devices that generate signal interactions with the mobile device are determined.

[0072] In this embodiment, the device number is a unique number set for each device when the positioning device is deployed.

[0073] In this embodiment, when the mobile device worn by the student enters the signal coverage range of the positioning device, the WIFI signal transceiver in the mobile device worn by the student will generate signal interaction with the WIFI router, and the WIFI router will send the received signal to the server, and the RFID signal transceiver in the mobile device worn by the student will generate signal interaction with the RFID card reader, and the RFID card reader will send the received signal to the server. When the positioning device sends the received signal of the mobile device to the server, it will also send its own device number, and the server will simultaneously obtain the device numbers of all positioning devices that have generated signal interaction with the mobile device.

[0074] For example, when three devices send signals of received mobile devices to the server, the server receives the signals of the three devices and simultaneously obtains the device numbers of the three devices as 1, 2, and 3 respectively.

[0075] S11-2: According to the positioning device number, query the installation location information and installation coordinates of the positioning device in the server.

[0076] In this embodiment, the installation process information of the device includes the floor of the building where the positioning device is installed, and the installation coordinates are the coordinates of the positioning device on the two-dimensional plane.

[0077] In this embodiment, after determining the device number of the positioning device that generates signal interaction with the mobile device, the installation location information and installation coordinates of the positioning device are queried in the server. This information is stored in the server during installation and deployment. The server can directly call this information to obtain the installation location information and installation coordinates of the positioning device. A coordinate system is established on the plane of each floor. The specific location of the positioning device on each floor can be determined based on the installation coordinates of the positioning device.

[0078] For example, the server finds that the installation floor of device No. 1 is the 1st floor of teaching building No. 1, and the installation coordinates are (300, 100).

[0079] S12: Calculate the coordinates of the mobile device using a fusion positioning algorithm according to the installation coordinates of the positioning device.

[0080] In this embodiment, the fusion positioning algorithm is an algorithm that fuses the positioning results of WIFI positioning and RFID positioning.

[0081] In this embodiment, according to the installation coordinates of the positioning device, the specific coordinates of the mobile device worn by the student can be calculated by integrating the positioning algorithm. The specific steps include:

[0082] S12-1 calculates the distance between each positioning device and the mobile device through a signal propagation model to obtain multiple distance values.

[0083] In this embodiment, the signal propagation model (Shadowing model) is a mathematical model for calculating the distance between the mobile device and the network access point (Access Point, AP) according to the signal strength.

[0084] In this embodiment, the positioning device WIFI router and the RFID card reader are used as network access points to calculate the distance between the access point and the mobile device. The distance between each positioning device and the mobile device among all positioning devices that receive the signal from the mobile device is calculated through the signal propagation model.

[0085] In this embodiment, the specific steps of calculating the distance between each positioning device and the mobile device through the signal propagation model to obtain multiple distance values ​​are:

[0086] S12-1-1: When the positioning device is a WIFI router, an improved Kalman filter algorithm based on singular value determination is used to optimize the signal strength value of the signal received by the WIFI router to obtain an optimized signal strength value.

[0087] In this embodiment, an improved Cartesian slow filter algorithm based on singular value judgment (Kalman Filter Algorithm based on Singular Value Judgement, KFASVJ) can optimize the WIFI signal and improve the problem of the influence of indoor noise on positioning accuracy.

[0088] In this embodiment, when the positioning device is a WIFI router, the signal sent by each WIFI router to the server is optimized using an improved Cartesian filter algorithm based on singular value determination to obtain an optimized signal value.

[0089] S12-1-2: Input the optimized signal strength value into the signal propagation model to obtain the distance value between the positioning device and the mobile device.

[0090] In this embodiment, the optimized signal strength value is input into the signal propagation model to obtain the distance value between the WIFI router and the mobile device.

[0091] S12-1-3: When the positioning device is an RFID card reader, the signal strength value of the signal received by the RFID card reader is input into the signal propagation model to obtain the distance value between the positioning device and the mobile device.

[0092] In this embodiment, when the positioning device is an RFID card reader, the signal strength value of the signal received by the RFID card reader is directly input into the signal propagation model to obtain the distance value between the RFID card reader and the mobile device.

[0093] In this embodiment, the distance between each WIFI router, the RFID card reader and the mobile device is calculated by a signal propagation model. The specific formula of the signal propagation model is:

[0094]

[0095] In the formula, α is the path consumption coefficient, and the specific value is an empirical value; d is the distance between the mobile device and the AP; RSSI is the received signal strength of the mobile device; RSSI0 is the signal strength value at a distance of 1m from the AP node.

[0096] S12-2: Obtain the WIFI positioning coordinates of the mobile device through the installation coordinates of the WIFI router in the positioning device and the distance value corresponding to the WIFI router.

[0097] In this embodiment, the WIFI positioning coordinates are the position coordinates of the mobile device estimated based on the signal sent by the WIFI router.

[0098] In this embodiment, the WIFI positioning coordinates of the mobile device are obtained through the installation coordinates of the WIFI router and the distance value between the WIFI router and the mobile device.

[0099] In this embodiment, the specific steps of obtaining the WIFI positioning coordinates of the mobile device through the installation coordinates of the WIFI router in the positioning device and the distance value corresponding to the WIFI router are:

[0100] S12-2-1: group the WIFI routers into three, and select a plurality of WIFI router groups that can form an equilateral triangle from the WIFI routers.

[0101] S12-2-2: Using trilateration, determine the WIFI positioning coordinates of the mobile device according to the distance value between each WIFI router in the plurality of WIFI router groups and the mobile device and the installation coordinates of the WIFI router.

[0102] In this embodiment, the trilateration method, namely the reference node selection algorithm based on trilateration (RNST), is an algorithm for calculating the position of a target node using the distances between the target node and three reference nodes.

[0103] In this embodiment, the WIFI router is regarded as a reference node for trilateral measurement, and the mobile device worn by the student is regarded as a target node. When the coordinates of the WIFI router are known, the distance between the WIFI router and the mobile device is calculated by the signal strength value meter, and the coordinates of the mobile device can be calculated by the trilateral measurement method.

[0104] For example, assume that the mobile device can receive signals from n WIFI nodes. Take 3 WIFI nodes as a group and select all WIFI node groups that can form an approximately equilateral triangle. There are n groups in total. The distance between the WIFI router in each group and the mobile device is known, and the coordinates of the WIFI router are also known. Use the triangulation method to compare the n groups of WIFI nodes that conform to the equilateral triangle distribution with other The group of WIFI nodes calculates the estimated coordinates (x′i, y′i) and (x i ,y i ), and then find the average of all coordinate values ​​to get the positioning coordinates (x, y). The expression is:

[0105]

[0106] S12-3: Obtain the RFID positioning coordinates of the mobile device through the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader.

[0107] In this embodiment, the RFID positioning coordinates are the position coordinates of the mobile device estimated based on the signal sent by the RFID reader.

[0108] In this embodiment, the RFID positioning coordinates of the mobile device are calculated through the installation coordinates of the RFID card reader and the distance value between each RFID card reader and the mobile device.

[0109] In this embodiment, the specific steps of obtaining the RFID positioning coordinates of the mobile device through the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader include:

[0110] S12-3-1: group the RFID readers into three, and select a plurality of RFID reader groups that can form an equilateral triangle from the RFID readers.

[0111] S12-3-2: Using trilateration, determine the RFID positioning coordinates of the mobile device according to the distance value between each RFID reader in the plurality of RFID reader groups and the mobile device and the installation coordinates of the RFID reader.

[0112] In this embodiment, the trilateral measurement method is used, the RFID reader is used as the reference point, and the mobile device is used as the target point. When the coordinates of the reference point are known and the distance between the reference point and the mobile device is known, the coordinates of the target point can be calculated. The coordinates of the target point are the coordinates of the mobile device.

[0113] For example, when the mobile device receives n RFID signals, the distance between each RFID reader and the mobile device has been calculated through the corresponding signal strength value, and the position of the mobile device is calculated using the trilateral measurement method to obtain the coordinates (x j ,y j ), and finally take the average of the obtained coordinate values ​​to get the positioning coordinates (x, y). The expression is as follows:

[0114]

[0115] S12-4: Calculate an average value of the WIFI positioning coordinates and the RFID positioning coordinates to obtain the coordinates of the mobile device.

[0116] In this embodiment, the coordinates of the mobile device are the two-dimensional coordinates of the mobile device on the floor where it is located.

[0117] In this embodiment, the calculated WIFI positioning coordinates and RFID positioning coordinates are averaged to obtain the coordinates of the mobile device.

[0118] For example, when a mobile device receives a WIFI router signal and an RFID signal, the position of the mobile device is estimated based on the signal strength value of the RFID signal combined with the trilateral measurement method, and the position coordinates (x′, y′) based on RFID are obtained. The position of the mobile device is estimated based on the signal strength value of the WIFI router and the trilateral measurement combined with the trilateral measurement method, and the position estimation coordinates (x″, y″) based on WIFI are obtained, and finally the positioning coordinates (x, y) of the mobile device are obtained. The expression is:

[0119] (x,y)=(1 / 2)((x′,y′)+(x″,y″)) (5)

[0120] S13: Determine the specific location of the mobile device on campus according to the installation location information of the positioning device and the coordinates of the mobile device.

[0121] In this embodiment, the specific location of the mobile device in the campus can be determined based on the installation location information of the positioning device and the coordinates of the mobile device. The server stores the two-dimensional map information of each floor of each building in the school. After obtaining the coordinates of the mobile device, the specific building and specific floor where the mobile device is located are determined based on the installation location information of the positioning device, and then the specific classroom where the mobile device is located is determined based on the two-dimensional map information of the floor.

[0122] For example, the installation location information of the positioning device is that the positioning device is installed on the 2nd floor of Teaching Building 1, and the coordinates are (100, 200). The server determines that the 2nd floor of Teaching Building 1 and the location with coordinates (100, 200) is the classroom of Class 1, Grade 2, and thus determines that the mobile device is in the classroom of Class 1, Grade 2.

[0123] S14: Generate the student's attendance data according to the specific location and pre-configured attendance rule information.

[0124] In this embodiment, the attendance rule information includes specific rules for attendance, attendance time, etc. Attendance data is generated based on the activity tracks of students at various times during school. In this embodiment, the service is pre-configured with attendance rule information. The attendance rule mainly stipulates that each student should be in that specific time period. For example, students should be inside the campus when arriving at school, students cannot leave the campus when leaving school, students must be in the classroom during class time, and students can move freely in the school except for the distribution room, rooftop, etc. during free time.

[0125] In this embodiment, the position of the student is monitored in real time. When the server detects the specific position of the student, it is checked according to the attendance rules to see whether the position of the student is the position specified in the attendance rules. When the position of the student meets the requirements of the attendance rules, the position and detection time of the student are recorded as attendance data. When the position of the student does not meet the requirements of the attendance rules, for example, the student is not present inside the campus at the time of arrival, leaves the campus before the time of departure, and is located on the playground during the cultural class, the position and detection time of the student at this time are recorded, and the specific attendance failures of the student are recorded, for example, being late for class on XX, leaving school early on XX, and not being in the classroom on XX.

[0126] In this embodiment, based on the WIFI and RFID data fusion technology, the WIFI hotspot and the RFID tag are combined as the access point AP. On the basis of data fusion, the mobile devices with WIFI and RFID signal receiving and sending functions worn by the students are accurately positioned to determine the floor, classroom, and dormitory where the students are located, and accurately grasp the students' arrival at class, school, and sign-in. According to the students' location and the school's attendance rules, the students' attendance data is generated, and the students' activities on campus are managed accurately and effectively.

[0127] In another embodiment of the present application, the method further includes:

[0128] S21: Send the attendance data to the mobile device of the manager corresponding to the student.

[0129] In this embodiment, after the student's attendance data is generated, the student's attendance data is sent to a mobile device of a manager corresponding to the student.

[0130] For example, the server detects the location of all students at the beginning of the class, and sends the attendance status of each student to the mobile device of the student's homeroom teacher and substitute teacher. The sending method can be sent via SMS or the campus network platform. The teacher needs to log in to the campus network application or the web page through the mobile device to view it. When a student is not in the classroom, the teacher can see the name of the absent student and the current location of the student.

[0131] S22: Generate corresponding alarm information according to the attendance data.

[0132] In this embodiment, the server generates corresponding alarm information according to the attendance data of each student, and the alarm information is information that serves as a warning.

[0133] For example, when the attendance data shows that a student has not arrived at school, an alarm message "XX student did not arrive at school on time on XX day" will be generated. In dormitory attendance, the server can count the number of students who have arrived in each dormitory. When the number of students is different from the number of students recorded in the server, it is determined that the student has not arrived at the dormitory, and a corresponding alarm message "XX student did not arrive at the dormitory today" is generated.

[0134] S23: Send the warning information to the relevant contacts of the student.

[0135] In this embodiment, after the alarm information is generated, the alarm information is sent to the relevant contacts of the student. The relevant contacts are information pre-registered in the server, such as the student's class teacher, the student's parents, etc.

[0136] For example, when a student does not show up at school, the server queries the student's relevant contact information, obtains the contact information of the student's class teacher and parents, and sends the alarm message "Student XX did not arrive at school on time today" to the mobile devices of the student's class teacher and parents. The message can be sent via text message, email, or phone.

[0137] In another embodiment of the present application, the server can calculate the attendance rate of each class on the day, the number of students in each dormitory, etc. based on the obtained attendance data. School administrators can log in to the server to view the attendance statistics of all students. For example, the principal can see the attendance rate of each class on the day, and the dormitory administrator can see the number of students in each dormitory, etc. Multiple large visual screens can also be set up on campus, which are connected to the server and play the attendance rate of each class on the day, etc., for the convenience of school administrators to view.

[0138] In this embodiment, an attendance system is established through the campus server. By accurately locating the students, the students' attendance data is generated, and the number of students attending classes and the number of dormitory residents in the school can be counted based on the attendance data. An alarm system is also established to generate alarm information based on the attendance data, and the alarm information is sent to the corresponding personnel. Based on the precise positioning of the students' positions, the students are effectively managed, which can assist in solving the roll call and sign-in problems in various scenarios in the school.

[0139] Based on the same inventive concept, an embodiment of the present application provides a campus indoor positioning attendance device. Figure 2 , Figure 2 FIG. 2 is a schematic diagram of a campus indoor positioning attendance device 200 proposed in an embodiment of the present application. Figure 2 As shown, the device comprises:

[0140] The positioning device information acquisition module 201 is used to acquire the installation location information and installation coordinates of all positioning devices that interact with the mobile device when it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device, wherein the positioning device includes a WIFI router and an RFID card reader;

[0141] A mobile device coordinate determination module 202 is used to calculate the coordinates of the mobile device through a fusion positioning algorithm according to the installation coordinates of the positioning device;

[0142] A specific location determination module 203, configured to determine the specific location of the mobile device on campus based on the installation location information of the positioning device and the coordinates of the mobile device;

[0143] The attendance data generating module 204 is used to generate the student's attendance data according to the specific location and pre-configured attendance rule information.

[0144] Optionally, the positioning device information acquisition module includes:

[0145] A positioning device number acquisition submodule, used to determine the positioning device numbers of all positioning devices that have signal interactions with the mobile device when it is detected that the mobile device enters the signal coverage range of the positioning device;

[0146] The positioning device information acquisition submodule is used to query the installation location information and installation coordinates of the positioning device in the server according to the positioning device number.

[0147] Optionally, the mobile device coordinate determination module includes:

[0148] A distance value determination submodule, used to calculate the distance between each positioning device and the mobile device through a signal propagation model to obtain multiple distance values;

[0149] A WIFI positioning coordinate determination submodule, used to obtain the WIFI positioning coordinates of the mobile device through the installation coordinates of the WIFI router in the positioning device and the distance value corresponding to the WIFI router;

[0150] An RFID positioning coordinate determination submodule, used to obtain the RFID positioning coordinates of the mobile device through the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader;

[0151] The mobile device coordinate determination submodule is used to average the WIFI positioning coordinates and the RFID positioning coordinates to obtain the coordinates of the mobile device.

[0152] Optionally, the distance value determination submodule includes:

[0153] A signal strength value optimization submodule, used for optimizing the signal strength value of the signal received by the WIFI router using an improved Kalman filter algorithm based on singular value determination when the positioning device is a WIFI router, to obtain an optimized signal strength value;

[0154] A first distance value calculation submodule, configured to input the optimized signal strength value into the signal propagation model to obtain a distance value between the positioning device and the mobile device;

[0155] The second distance value calculation submodule is used to input the signal strength value of the signal received by the RFID card reader into the signal propagation model when the positioning device is an RFID card reader, so as to obtain the distance value between the positioning device and the mobile device.

[0156] Optionally, the WIFI positioning coordinate determination submodule includes:

[0157] A WIFI grouping submodule, used for grouping the WIFI routers into three groups, and screening out a plurality of WIFI router groups that can form an equilateral triangle from the WIFI routers;

[0158] The WIFI positioning coordinate calculation submodule is used to determine the WIFI positioning coordinates of the mobile device by using trilateration according to the distance value between each WIFI router in the plurality of WIFI router groups and the mobile device and the installation coordinates of the WIFI router.

[0159] Optionally, the RFID positioning coordinate determination submodule includes:

[0160] An RFID grouping submodule, used to group the RFID readers into three and screen out a plurality of RFID reader groups that can form an equilateral triangle from the RFID readers;

[0161] The RFID positioning coordinate calculation submodule is used to determine the RFID positioning coordinates of the mobile device by using trilateration according to the distance value between each RFID reader in the plurality of RFID reader groups and the mobile device and the installation coordinates of the RFID reader.

[0162] Optionally, the device further comprises:

[0163] An attendance data sending module, used for sending the attendance data to a mobile device of a manager corresponding to the student;

[0164] An alarm information generation module, used to generate corresponding alarm information according to the attendance data;

[0165] The warning information sending module is used to send the warning information to the relevant contacts of the student.

[0166] Based on the same inventive concept, another embodiment of the present application provides a readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the campus indoor positioning attendance method described in any of the above embodiments of the present application are implemented.

[0167] Based on the same inventive concept, another embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes, the steps of the campus indoor positioning attendance method described in any of the above embodiments of the present application are implemented.

[0168] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0169] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0170] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the embodiments of the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0171] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0172] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0173] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0174] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0175] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0176] The campus indoor positioning attendance method, device, equipment and storage medium provided by this application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method of this application and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​this application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on this application.

Claims

1. A campus indoor positioning attendance method, characterized in that: The method comprises: When it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device, the installation location information and installation coordinates of all positioning devices that interact with the mobile device are obtained, and the positioning devices include WIFI routers and RFID card readers; Calculating the coordinates of the mobile device using a fusion positioning algorithm according to the installation coordinates of the positioning device; Determine the specific location of the mobile device on campus according to the installation location information of the positioning device and the coordinates of the mobile device; Generating attendance data of the student according to the specific location and pre-configured attendance rule information; The step of calculating the coordinates of the mobile device by a fusion positioning algorithm according to the installation coordinates of the positioning device includes: Calculate the distance between each positioning device and the mobile device through a signal propagation model to obtain multiple distance values; Obtaining the WIFI positioning coordinates of the mobile device through the installation coordinates of the WIFI router in the positioning device and the distance value corresponding to the WIFI router; Obtaining the RFID positioning coordinates of the mobile device through the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader; The WIFI positioning coordinates and the RFID positioning coordinates are averaged to obtain the coordinates of the mobile device.

2. The method according to claim 1, characterized in that When it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device, the installation location information and installation coordinates of all positioning devices that generate signal interactions with the mobile device are obtained, including: When it is detected that the mobile device enters the signal coverage range of the positioning device, determining the positioning device numbers of all positioning devices that generate signal interactions with the mobile device; According to the positioning device number, the installation location information and the installation coordinates of the positioning device are queried in the server.

3. The method according to claim 1, characterized in that The distance between the positioning device and each of the mobile devices is calculated by using a signal propagation model to obtain multiple distance values, including: When the positioning device is a WIFI router, an improved Kalman filter algorithm based on singular value determination is used to optimize the signal strength value of the signal received by the WIFI router to obtain an optimized signal strength value; Inputting the optimized signal strength value into the signal propagation model to obtain a distance value between the positioning device and the mobile device; When the positioning device is an RFID card reader, the signal strength value of the signal received by the RFID card reader is input into the signal propagation model to obtain the distance value between the positioning device and the mobile device.

4. The method according to claim 1, characterized in that: The step of obtaining the WIFI positioning coordinates of the mobile device by using the installation coordinates of the WIFI router in the positioning device and the device distance value corresponding to the WIFI router includes: The WIFI routers are grouped into three, and a plurality of WIFI router groups that can form an equilateral triangle are screened out from the WIFI routers; The WIFI positioning coordinates of the mobile device are determined by using a trilateration method according to the distance value between each WIFI router in the plurality of WIFI router groups and the mobile device and the installation coordinates of the WIFI routers.

5. The method according to claim 1, characterized in that The step of obtaining the RFID positioning coordinates of the mobile device by using the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader includes: The RFID card readers are grouped into three, and a plurality of RFID card reader groups that can form an equilateral triangle are selected from the RFID card readers; The RFID positioning coordinates of the mobile device are determined by using a trilateration method according to the distance value between each RFID reader in the plurality of RFID reader groups and the mobile device and the installation coordinates of the RFID reader.

6. The method according to claim 1, characterized in that The method further comprises: Sending the attendance data to the mobile device of the administrator corresponding to the student; Generate corresponding alarm information according to the attendance data; The warning information is sent to the relevant contacts of the student.

7. A campus indoor positioning attendance device, characterized in that: The device comprises: A positioning device information acquisition module is used to obtain the installation location information and installation coordinates of all positioning devices that interact with the mobile device when it is detected that the mobile device worn by the student enters the signal coverage range of the positioning device. The positioning device includes a WIFI router and an RFID card reader. A mobile device coordinate determination module, used to calculate the coordinates of the mobile device through a fusion positioning algorithm according to the installation coordinates of the positioning device; A specific location determination module, used to determine the specific location of the mobile device on campus based on the installation location information of the positioning device and the coordinates of the mobile device; An attendance data generating module, used for generating the attendance data of the student according to the specific location and the pre-configured attendance rule information; Wherein, the mobile device coordinate determination module includes: A distance value determination submodule, used to calculate the distance between each positioning device and the mobile device through a signal propagation model to obtain multiple distance values; A WIFI positioning coordinate determination submodule, used to obtain the WIFI positioning coordinates of the mobile device through the installation coordinates of the WIFI router in the positioning device and the distance value corresponding to the WIFI router; An RFID positioning coordinate determination submodule, used to obtain the RFID positioning coordinates of the mobile device through the installation coordinates of the RFID card reader in the positioning device and the distance value corresponding to the RFID card reader; The mobile device coordinate determination submodule is used to average the WIFI positioning coordinates and the RFID positioning coordinates to obtain the coordinates of the mobile device.

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

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Attendance management method and device, server and base stations

    CN109272592A

  • Positioning attendance management method and system

    CN110443562A

  • Positioning method and device, computer readable storage medium and electronic device

    CN111123199A

  • Attendance positioning method and device, electronic equipment and storage medium

    CN113438597A