CN-121986335-A - Perception threshold determining method and device and electronic equipment
Abstract
The application provides a perception threshold determining method and device and electronic equipment. In the application, under the condition that the initialization is determined to be executed based on the sensing service initialization request message from the sensing application end, the time window corresponding to each target receiver for determining the sensing threshold value is determined according to the data sampling frequency F_sample and the target data reporting frequency F_report of each target receiver connected with the sensing server, so that the time window for determining the sensing threshold value is adaptively determined for each target receiver in the initialization process of the sensing server, and the defect brought by the fact that each target receiver is fixed under the same time window for determining the sensing threshold value is avoided.
Inventors
- ZHU ZHIYUAN
- LI FEI
- SUN QIANG
- KONG LEI
Assignees
- 新华三技术有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20240929
Claims (20)
- 1. A method for determining a perception threshold, wherein the method is applied to a perception server and comprises: receiving a perception service initialization request message from a perception application terminal; if the initialization is determined to be executed based on the sensing service initialization request message, determining a sensing threshold determination time window corresponding to each target receiver according to a target data sampling frequency F_sample and a target data reporting frequency F_report of each target receiver which are connected currently, wherein the target data reporting frequency F_report of the target receiver refers to the frequency of reporting a sensing result corresponding to the target receiver to the sensing application terminal by the sensing server; And determining the perception threshold value of the target receiver under different perception algorithms based on the data sampled by the target receiver in a perception threshold value determination time window corresponding to the target receiver.
- 2. The method of claim 1, wherein the perceived service initialization request message carries at least: a target data sampling frequency f_sample for each target receiver; And, the target data reporting frequency f_report for each target receiver.
- 3. The method of claim 2, wherein the perceived service initialization request message carries the number of rooms, room information for each room; The room information of each room at least comprises an identification of each target receiver bound with the room, a target data reporting frequency F_report and a target data sampling frequency F_sample.
- 4.A method according to claim 2 or 3, characterized in that the perceived service initialization request message carries at least the number of target receivers not bound to the room, as well as the identity of each target receiver not bound to the room, the target data reporting frequency f_report and the target data sampling frequency f_sample.
- 5. The method of claim 1, wherein determining the corresponding perception threshold determination time window of each target receiver according to the target data sampling frequency f_sample and the target data reporting frequency f_report of each target receiver currently connected comprises: Determining a minimum calculation time T_sample for calculating a perception result corresponding to each target receiver based on a minimum sample number N_sample and a target data sampling frequency F_sample of the target receiver, wherein N_sample refers to the minimum sample number required to be input by the perception algorithm; obtaining a data reporting interval T_report related to the target receiver according to the target data reporting frequency F_report of the target receiver; and determining a perception threshold corresponding to the target receiver to determine a time window based on the T_sample and the T_report.
- 6. The method of claim 5, wherein determining a perception threshold determination time window corresponding to the target receiver based on the t_sample and the t_report comprises: If the T_report is smaller than the T_sample, calculating a reference time window T_window based on the T_sample, the T_report and a minimum number N_min of sensing results required for determining a sensing threshold, if the T_window is larger than or equal to a preset minimum time window T_window_min, determining that the sensing threshold corresponding to the target receiver is the T_window, and if the T_window is smaller than the preset minimum time window T_window_min, determining that the sensing threshold corresponding to the target receiver is the T_window_min; And if the T_report is greater than or equal to the T_sample, determining a perception threshold corresponding to the target receiver based on the N_min and the T_report to determine a time window.
- 7. The method of claim 1, wherein after determining the perception threshold determination time window for each target receiver, the method further comprises: And carrying the sensing threshold value determining time windows corresponding to the target receivers in a sensing service initialization response message and sending the sensing service initialization response message to the sensing application end so that the sensing application end can acquire the sensing threshold value determining time windows corresponding to the target receivers.
- 8. The method of claim 7, wherein the step of sending the perception threshold determination time window corresponding to each target receiver to the perception application terminal in a perception service initialization response message includes: performing unit conversion on a perception threshold determination time window corresponding to each target receiver, wherein the converted time unit is larger than the time unit before conversion so as to shorten the byte number occupied by the perception threshold determination time window; And carrying the converted sensing threshold value determining time window corresponding to each target receiver in a sensing service initialization response message and sending the sensing service initialization response message to the sensing application end.
- 9. The method of claim 1, wherein determining the perception threshold of the target receiver under different perception algorithms based on the data sampled by the target receiver within the perception threshold determination time window corresponding to the target receiver comprises: For each perceptual algorithm, the following steps are performed: Dividing data sampled by the target receiver according to a target data sampling frequency F_sample into N_min unit samples, wherein each unit sample at least comprises N_sample samples, N_sample is the minimum sample number required to be input by the sensing algorithm, each sample in the N_sample samples comprises a plurality of data sampled by the target receiver, N_min is the minimum number of sensing results required to determine a sensing threshold value, and at least two operation results in the N_min operation results are different; N_min units are respectively input into the sensing algorithm to obtain N_min operation results, and a sensing threshold value of the target receiver under the sensing algorithm is determined based on the N_min operation results.
- 10. The method according to claim 1 or 9, characterized in that the method further comprises: And aiming at each target receiver, carrying the determined perception threshold of the target receiver under each perception algorithm in a perception service initialization result message corresponding to the target receiver, and sending the perception threshold to the perception application end so that the perception application end can know the perception threshold of the target receiver under each perception algorithm.
- 11. A perception threshold determining apparatus, characterized in that the apparatus is applied to a perception server, comprising: the system comprises a sensing server, a time window determining unit, a sensing application end and a target server, wherein the sensing server is used for receiving a sensing service initialization request message from the sensing application end, and determining a sensing threshold determining time window corresponding to each target receiver according to a target data sampling frequency F_sample and a target data reporting frequency F_report of each target receiver if the initialization is determined to be executed based on the sensing service initialization request message, wherein the target data reporting frequency F_report of each target receiver refers to the frequency of reporting a sensing result corresponding to the target receiver to the sensing application end by the sensing server; And the threshold determining unit is used for determining the perception threshold of the target receiver under different sensing algorithms based on the data sampled by the target receiver in a perception threshold determining time window corresponding to the target receiver.
- 12. The apparatus of claim 11, wherein the perceived service initialization request message carries at least: a target data sampling frequency f_sample for each target receiver; And, the target data reporting frequency f_report for each target receiver.
- 13. The apparatus of claim 12, wherein the awareness services initialization request message carries a number of rooms, room information for each room; The room information of each room at least comprises an identification of each target receiver bound with the room, a target data reporting frequency F_report and a target data sampling frequency F_sample.
- 14. The apparatus according to claim 12 or 13, wherein the perceived service initialization request message carries at least the number of target receivers not bound to the room, and the identity of each target receiver not bound to the room, the target data reporting frequency f_report, and the target data sampling frequency f_sample.
- 15. The apparatus of claim 11, wherein the determining the corresponding perception threshold determination time window of each target receiver according to the target data sampling frequency f_sample and the target data reporting frequency f_report of each target receiver currently connected comprises: Determining a minimum calculation time T_sample for calculating a perception result corresponding to each target receiver based on a minimum sample number N_sample and a target data sampling frequency F_sample of the target receiver, wherein N_sample refers to the minimum sample number required to be input by the perception algorithm; obtaining a data reporting interval T_report related to the target receiver according to the target data reporting frequency F_report of the target receiver; and determining a perception threshold corresponding to the target receiver to determine a time window based on the T_sample and the T_report.
- 16. The apparatus of claim 15, wherein the determining a perception threshold determination time window corresponding to the target receiver based on the t_sample and the t_report comprises: If the T_report is smaller than the T_sample, calculating a reference time window T_window based on the T_sample, the T_report and a minimum number N_min of sensing results required for determining a sensing threshold, if the T_window is larger than or equal to a preset minimum time window T_window_min, determining that the sensing threshold corresponding to the target receiver is the T_window, and if the T_window is smaller than the preset minimum time window T_window_min, determining that the sensing threshold corresponding to the target receiver is the T_window_min; And if the T_report is greater than or equal to the T_sample, determining a perception threshold corresponding to the target receiver based on the N_min and the T_report to determine a time window.
- 17. The apparatus of claim 11, wherein the threshold determination unit, after determining the perception threshold determination time window corresponding to each target receiver, is further configured to: And carrying the sensing threshold value determining time windows corresponding to the target receivers in a sensing service initialization response message and sending the sensing service initialization response message to the sensing application end so that the sensing application end can acquire the sensing threshold value determining time windows corresponding to the target receivers.
- 18. The apparatus of claim 17, wherein the sending the perception threshold determination time window corresponding to each target receiver carried in a perception service initialization response message to the perception application terminal comprises: performing unit conversion on a perception threshold determination time window corresponding to each target receiver, wherein the converted time unit is larger than the time unit before conversion so as to shorten the byte number occupied by the perception threshold determination time window; And carrying the converted sensing threshold value determining time window corresponding to each target receiver in a sensing service initialization response message and sending the sensing service initialization response message to the sensing application end.
- 19. The apparatus of claim 11, wherein the determining, based on the data sampled by the target receiver, the perception threshold of the target receiver under different perception algorithms within the perception threshold determination time window corresponding to the target receiver comprises: For each perceptual algorithm, the following steps are performed: Dividing data sampled by each target receiver according to a target data sampling frequency F_sample into N_min unit samples, wherein each unit sample comprises N_sample samples, N_sample refers to the minimum sample number required to be input by the sensing algorithm, each sample in the N_sample samples comprises a plurality of data sampled by the target receiver, N_min refers to the minimum number of sensing results required for determining a sensing threshold value, and at least two operation results in the N_min operation results are different; N_min units are respectively input into the sensing algorithm to obtain N_min operation results, and a sensing threshold value of the target receiver under the sensing algorithm is determined based on the N_min operation results.
- 20. The apparatus according to claim 1 or 19, wherein the threshold determination unit is further configured to: And aiming at each target receiver, carrying the determined perception threshold of the target receiver under each perception algorithm in a perception service initialization result message corresponding to the target receiver, and sending the perception threshold to the perception application end so that the perception application end can know the perception threshold of the target receiver under each perception algorithm.
Description
Perception threshold determining method and device and electronic equipment Technical Field The present application relates to network communication technologies, and in particular, to a method and an apparatus for determining a perception threshold, and an electronic device. Background Currently, sensing tasks such as gesture control, fall detection, tracking, imaging, activity recognition, vital sign monitoring, etc., are often performed using sensing thresholds. For example, a sensing algorithm is utilized to perform sensing operation on the sampling data to obtain an operation result, and the sensing tasks such as gesture control, fall detection and the like are realized by comparing the operation result with a sensing threshold value. Taking a falling detection sensing task as an example, if the operation result is greater than or equal to a sensing threshold, determining that a falling occurs, otherwise, if the operation result is less than the sensing threshold, determining that no falling occurs. The sensing algorithm is, for example, an algorithm simulating the working principle of human nerve cells, and the main purpose of the sensing algorithm is to learn a judgment rule from data so as to classify different situations. A conventional method of determining the perception threshold is to define that all receivers in the network use the same time window to determine the perception threshold. The receiver is used for sampling the sensing data sent by the transmitter, for example, the receiver may be all Access Points (APs) in the WLAN, and the transmitter may be a terminal (Station), and correspondingly, the sensing threshold is a WiFi sensing threshold. If all receivers in the network use the same time window to determine the perception threshold, for example, all APs in the WLAN use the same time window to determine the perception threshold, then the problem arises that for a certain receiver, for example, an AP, if the time window used for determining the perception threshold is too small, the perception threshold cannot be accurately determined, even the perception threshold determination fails, and if the time window used for determining the perception threshold is too large, the perception threshold cannot be quickly applied to an actual perception service, and the time window must be waited until the end of the above time window, so that an actual perception service delay is caused. Disclosure of Invention The embodiment of the application provides a method and a device for determining a perception threshold and electronic equipment, which are used for adaptively and dynamically determining a time window corresponding to each receiver for determining the perception threshold in the initialization process of a perception server, so that the defects caused by the fact that each receiver is fixed under the same time window for determining the perception threshold are avoided. The embodiment of the application provides a perception threshold determining method, which is applied to a perception server and comprises the following steps: receiving a perception service initialization request message from a perception application terminal; if the initialization is determined to be executed based on the sensing service initialization request message, determining a sensing threshold determination time window corresponding to each target receiver according to a target data sampling frequency F_sample and a target data reporting frequency F_report of each target receiver which are connected currently, wherein the target data reporting frequency F_report of the target receiver refers to the frequency of reporting a sensing result corresponding to the target receiver to the sensing application terminal by the sensing server; And determining the perception threshold value of the target receiver under different perception algorithms based on the data sampled by the target receiver in a perception threshold value determination time window corresponding to the target receiver. The embodiment of the application also provides a device for determining the perception threshold, which is applied to the perception server and comprises the following steps: the system comprises a sensing server, a time window determining unit, a sensing application end and a target server, wherein the sensing server is used for receiving a sensing service initialization request message from the sensing application end, and determining a sensing threshold determining time window corresponding to each target receiver according to a target data sampling frequency F_sample and a target data reporting frequency F_report of each target receiver if the initialization is determined to be executed based on the sensing service initialization request message, wherein the target data reporting frequency F_report of each target receiver refers to the frequency of reporting a sensing result corresponding to the target receiver to the sensing applica