Sensing threshold determination method, apparatus, and electronic device

By dynamically determining the perception threshold time window based on the data sampling and reporting frequency of the receivers, the problem of perception threshold determination failure and delay caused by receiver performance differences is solved, thus improving the real-time performance and accuracy of the perception service.

WO2026065324A1PCT designated stage Publication Date: 2026-04-02NEW H3C TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2026-04-02

AI Technical Summary

Technical Problem

In existing technologies, all receivers in the network use the same time window to determine the sensing threshold. This leads to performance differences among different receivers, causing the sensing threshold determination to fail or be delayed, thus failing to meet the requirements of real-time sensing services.

Method used

The perception server dynamically determines the time window of the perception threshold based on the data sampling frequency and data reporting frequency of each target receiver, and adaptively adjusts the determination process of the perception threshold to avoid the defects caused by a fixed time window.

Benefits of technology

This approach enables dynamic determination of the perception threshold time window for each receiver during the initialization process of the perception server, avoiding perception threshold determination failures and delays, and improving the real-time performance and accuracy of the perception service.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024122544_02042026_PF_FP_ABST
    Figure CN2024122544_02042026_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are a sensing threshold determination method, an apparatus, and an electronic device. In the present application, when it is determined, on the basis of a sensing service initialization request message from a sensing application end, to execute initialization, a time window which corresponds to each target receiver connected to a sensing server and is used for determining a sensing threshold is determined according to a data sampling frequency F_sample and a target data reporting frequency F_report of each target receiver; thus, the time window used for determining a sensing threshold is adaptively determined for each target receiver during initialization of the sensing server, thereby avoiding drawbacks caused by determining sensing thresholds for all target receivers within a same time window.
Need to check novelty before this filing date? Find Prior Art

Description

Method, apparatus and electronic device for determining a perception threshold TECHNICAL FIELD

[0001] The present application relates to network communication technology, in particular to a method and apparatus for determining a perception threshold and an electronic device. BACKGROUND

[0002] At present, a perception threshold is often used to perform perception tasks such as gesture control, fall detection, tracking, imaging, activity recognition, vital sign monitoring, etc. For example, a perception algorithm is used to perform perception operation on sampling data to obtain an operation result, and the perception tasks such as gesture control and fall detection are realized by comparing the operation result with a perception threshold. Taking the fall detection perception task as an example, if the operation result is greater than or equal to the perception threshold, it is determined that a fall has occurred, otherwise, if the operation result is less than the perception threshold, it is determined that a fall has not occurred. The perception algorithm here is, for example, an algorithm simulating the working principle of human neural cells, and its main purpose is to learn a judgment rule from data to classify different situations.

[0003] A conventional method for determining a perception threshold is to limit all receivers in a network to use the same time window to determine the perception threshold. The receiver is used to sample perception data sent by a transmitter, for example, the receiver can be all access points (APs) in a WLAN, and the transmitter can be a terminal (Station), and correspondingly, the perception threshold is a WiFi perception threshold.

[0004] If all receivers in a network use the same time window to determine the perception threshold, for example, all APs in a WLAN use the same time window to determine the perception threshold, the following problems will occur due to different performances of different receivers, such as different data sampling frequencies and / or different data reporting frequencies: for a certain receiver such as an AP, if the time window used to determine the perception threshold is too small, the perception threshold cannot be accurately determined and even the determination of the perception threshold fails, and if the time window used to determine the perception threshold is too large, the perception threshold cannot be quickly applied to actual perception services, and the actual perception services must be delayed until the end of the time window.

[0005] SUMMARY

[0006] Embodiments of the present application provide a method and apparatus for determining a perception threshold and an electronic device to adaptively and dynamically determine a time window used to determine a perception threshold for each receiver in an initialization process of a perception server, thereby avoiding the defects caused by fixing each receiver to determine the perception threshold in the same time window.

[0007] An embodiment of the present application provides a method for determining a perception threshold, which is applied to a perception server and includes:

[0008] receiving a perception service initialization request message from a perception application end;

[0009] If it is determined to perform initialization based on the perception service initialization request message, a perception threshold determination time window corresponding to each target receiver is determined according to a target data sampling frequency F_sample and a target data reporting frequency F_report of each target receiver currently connected; the target data reporting frequency F_report of the target receiver refers to a frequency at which the perception server reports a perception result corresponding to the target receiver to the perception application end; the perception result corresponding to the target receiver is determined based on data sampled by the target receiver according to the target data sampling frequency F_sample;

[0010] In the perception threshold determination time window corresponding to the target receiver, the perception threshold of the target receiver under different perception algorithms is determined based on the data sampled by the target receiver.

[0011]

[0012] Embodiments of the present application also provide a perception threshold determination device, which is applied to a perception server and includes:

[0013] A time window determination unit is configured to receive a perception service initialization request message from a perception application end, and if it is determined to perform initialization based on the perception service initialization request message, a perception threshold determination time window corresponding to each target receiver is determined according to a target data sampling frequency F_sample and a target data reporting frequency F_report of each target receiver connected to the perception server; the target data reporting frequency F_report of the target receiver refers to a frequency at which the perception server reports a perception result corresponding to the target receiver to the perception application end; the perception result corresponding to the target receiver is determined based on data sampled by the target receiver according to the target data sampling frequency F_sample;

[0014] A threshold determination unit is configured to determine, in the perception threshold determination time window corresponding to the target receiver, a perception threshold of the target receiver under different perception algorithms based on the data sampled by the target receiver.

[0015] Embodiments of the present application also provide an electronic device. The electronic device includes a processor and a machine readable storage medium;

[0016] The machine readable storage medium stores machine executable instructions that can be executed by the processor;

[0017] The processor is configured to execute the machine executable instructions to implement the steps of the method disclosed above.

[0018] From the above technical solutions can be seen, in the embodiment of the application, in the case of determining to perform initialization based on the perception service initialization request message from the perception application end, the time window corresponding to each target receiver for determining the perception threshold is determined according to the data sampling frequency F_sample of each target receiver connected by the perception server and the target data reporting frequency F_report, so as to realize adaptive and dynamic determination of the time window corresponding to each target receiver for determining the perception threshold in the initialization process of the perception server, and avoid the defects caused by fixing each target receiver in the same time window to determine the perception threshold. BRIEF DESCRIPTION OF DRAWINGS

[0019] The accompanying drawings, which are incorporated herein and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, further serve to explain the principles of the present disclosure.

[0020] FIG. 1 is a method flowchart provided by an embodiment of the present application;

[0021] FIG. 2 is a networking structure diagram provided by an embodiment of the present application;

[0022] FIG. 3 is a step 101 implementation flowchart provided by an embodiment of the present application;

[0023] FIG. 4 is an interaction structure diagram provided by an embodiment of the present application;

[0024] FIG. 5 is a device structure diagram provided by an embodiment of the present application;

[0025] FIG. 6 is an electronic device structure diagram provided by an embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the technical solution provided by the embodiments of the present application better understood by those skilled in the art, and make the above-mentioned purposes, features and advantages of the embodiments of the present application more obvious and easy to understand, the technical solutions in the embodiments of the present application will be further described in detail below with reference to the drawings.

[0027] Referring to FIG. 1, FIG. 1 is a method flowchart provided by an embodiment of the present application. The method is applied to a perception server in a network as shown in FIG. 2.

[0028] In the embodiment, the perception server is connected with the perception application end and the receivers through a network. The receivers are connected with the transmitters through the network. The perception application end herein is, for example, a perception APP or a perception application platform. In the WLAN, the receiver herein is, for example, an AP in the WLAN, and the transmitter is, for example, a Station (STA) in the WLAN, which is exemplified in FIG. 2. In the embodiment, the perception application end, for example, the perception APP or the perception application platform, can be the initiating end of the perception service, and the perception server, the receiver, for example, the AP, and the transmitter, for example, the STA, can be the responding end of the perception service.

[0029] Based on the above description, the flow shown in FIG. 1 can include the following steps:

[0030] In step 101, a perception service initialization request message is received from a perception application end. If it is determined to perform initialization based on the perception service initialization request message, a time window (referred to as a perception threshold value determination time window) for determining a perception threshold value corresponding to each target receiver is determined according to a target data sampling frequency (F_sample) and a target data reporting frequency (F_report) of each target receiver currently connected.

[0031] In an example, when the perception application end learns that the perception server is online or an event such as a new establishment of the entire perception system, the perception application end can send a perception service initialization request message to the perception server to trigger the perception server to perform initialization to determine the perception threshold value of each target receiver under different perception algorithms. In the embodiment, the target receiver described above can refer to any receiver in the network, or can be a receiver specified based on actual needs, and the embodiment does not specifically limit it.

[0032] When the perception server receives the perception service initialization request message, it will determine whether to perform initialization. For example, the perception server checks whether the current resources such as CPU or available storage resources meet the initialization requirements according to the number of target receivers that need to perform the perception service carried by the perception service initialization request message. If it meets the requirements, it is determined to perform initialization. If it does not meet the requirements, it is determined not to support initialization. The embodiment mainly relates to the case where the perception server determines to perform initialization. The case where the perception server does not perform initialization is not described herein.

[0033] As described in step 101, in the embodiment, the perception server does not need to obtain the time window (referred to as the perception threshold value determination time window) for determining the perception threshold value corresponding to each target receiver from the outside, such as the perception application end, or statically configure the perception threshold value determination time window corresponding to each target receiver, but adaptively and dynamically determine the perception threshold value determination time window corresponding to each target receiver.

[0034] Specifically, the perception server determines the perception threshold determination time window corresponding to each target receiver based on a target data sampling frequency (F_sample) and a target data reporting frequency (F_report) of each connected target receiver.

[0035] As an example, the target data reporting frequency F_report of any target receiver refers to a frequency at which the perception server reports a perception result corresponding to the target receiver to a perception application end.

[0036] Optionally, the perception result corresponding to any target receiver is determined based on data sampled by the target receiver at the target data sampling frequency F_sample. For example, the perception result corresponding to any target receiver is an operation result obtained by inputting data sampled by the target receiver at the target data sampling frequency F_sample into a perception algorithm; or, if the perception threshold of the target receiver under the perception algorithm has been determined, the perception result corresponding to the target receiver can also include an operation result obtained by inputting data sampled by the target receiver into the perception algorithm and / or a comparison result of the operation result and the perception threshold, which is not specifically limited in the present embodiment.

[0037] How the perception server determines the perception threshold determination time window corresponding to each target receiver based on a target data sampling frequency (F_sample) and a target data reporting frequency (F_report) of each connected target receiver will be described by way of example below, which is not described here in detail.

[0038] Step 102: within the perception threshold determination time window corresponding to each target receiver, determine the perception threshold of the target receiver under different perception algorithms based on data sampled by the target receiver.

[0039] As an example, for the perception threshold determination time window corresponding to a target receiver, the perception server can start a timer (the timing duration of the timer is the perception threshold determination time window) to determine the perception threshold of the above-mentioned target receiver under different perception algorithms within the timing duration of the timer. As an example, the different perception algorithms here are perception algorithms configured on the perception server.

[0040] As for how to determine the perception threshold of each target receiver under each perception algorithm, there are many specific implementation manners, such as: for each perception algorithm, the following steps are performed: for each target receiver, divide data sampled by the target receiver at the target data sampling frequency F_sample into N_min unit samples; input the N_min units into the perception algorithm respectively to obtain N_min operation results, and determine the perception threshold of the target receiver under the perception algorithm based on the N_min operation results.

[0041] Optionally, each unit sample includes at least N_sample samples, and N_sample refers to the minimum number of samples required by the perception algorithm. When the perception algorithm is input with at least N_sample samples, an operation result can be obtained. N_sample can be pre-configured in the perception server. In this embodiment, each of the N_sample samples includes multiple data sampled by the target receiver (such as data collected at different time points).

[0042] Optionally, N_min refers to the minimum number of perception results required to determine the perception threshold. At least two of the N_min operation results are different. N_min can be pre-configured in the perception server.

[0043] Optionally, there are various implementation manners for determining the perception threshold of the target receiver under the perception algorithm by using the N_min operation results corresponding to the target receiver. For example, the operation result with the maximum value is selected as the perception threshold of the target receiver under the perception algorithm, or the operation result with the minimum value is selected as the perception threshold of the target receiver under the perception algorithm, or an intermediate parameter is obtained by performing a specified operation on the N_min operation results corresponding to the target receiver, and the perception threshold of the target receiver under the perception algorithm is determined according to the intermediate parameter.

[0044] As an embodiment, the specified operation can be a mean operation or a standard deviation operation, etc. Correspondingly, determining the perception threshold of the target receiver under the perception algorithm according to the intermediate parameter can include: taking the intermediate parameter as the perception threshold of the target receiver under the perception algorithm; or taking the result of multiplying the intermediate parameter by a set value as the perception threshold of the target receiver under the perception algorithm. This embodiment is not specifically limited.

[0045] As another embodiment, the specified operation can include a first operation and a second operation. The first operation and the second operation are two different operations, including that the first operation is a mean operation, the second operation is a standard deviation operation, etc., and the embodiment is not specifically limited. Based on this, the intermediate parameter obtained by performing the specified operation on the N_min operation results corresponding to the target receiver includes: performing the first operation on the N_min operation results corresponding to the target receiver to obtain a first intermediate parameter, and performing the second operation on the N_min operation results corresponding to the target receiver to obtain a second intermediate parameter. Correspondingly, determining the sensing threshold of the target receiver under the sensing algorithm according to the intermediate parameter can include: determining the sensing threshold of the target receiver under the sensing algorithm based on the first intermediate parameter and the second intermediate parameter. For example, the sum of the first intermediate parameter and the second intermediate parameter is taken as the sensing threshold of the target receiver under the sensing algorithm; or, taking the first intermediate parameter as the mean (denoted as μ) and the second intermediate parameter as the standard deviation (denoted as σ) as an example, the sensing threshold of the target receiver under the sensing algorithm can be determined according to the following formula: μ+k*σ. Wherein, k represents a set standard deviation expansion factor.

[0046] It should be noted that the specific implementation of determining the sensing threshold of the target receiver under the different sensing algorithms can be the same or different, and can be set according to actual needs, and the embodiment is not specifically limited.

[0047] The above describes step 102.

[0048] So far, the process shown in FIG. 1 is completed. Through the process shown in FIG. 1, the sensing threshold of each target receiver under each sensing algorithm is determined in the time window determined based on the target data sampling frequency F_sample and the target data reporting frequency F_report of the target receiver. In the embodiment, the sensing thresholds of different target receivers under the same sensing algorithm can be different due to different environments.

[0049] As can be seen from the process shown in FIG. 1, in the embodiment of the present application, in the case of determining to perform initialization based on the sensing service initialization request message from the sensing application end, the time window for determining the sensing threshold corresponding to each target receiver is determined according to the data sampling frequency F_sample and the target data reporting frequency F_report of each target receiver connected to the sensing server, so as to adaptively and dynamically determine the time window for determining the sensing threshold corresponding to each target receiver in the initialization process of the sensing server, and avoid the defects caused by fixing each target receiver in the same time window to determine the sensing threshold.

[0050] As an embodiment, the target data sampling frequency F_sample and the target data reporting frequency F_report of each target receiver can be carried in the above-mentioned perception service initialization request message.

[0051] As an embodiment, the target data sampling frequency F_sample and the target data reporting frequency F_report of each target receiver can be carried in the above-mentioned perception service initialization request message in the following manner:

[0052] First, for the convenience of management, the embodiment can pre-set the binding relationship between each target receiver and the room in units of rooms. For any room, the binding relationship between the room and the target receiver can be configured according to actual needs, such as configuring each target receiver in the room as the target receiver bound to the room, and the like. FIG. 2 illustrates the case where each target receiver in the room is configured as the target receiver bound to the room.

[0053] Based on the above description, in the embodiment, the above-mentioned perception service initialization request message carries at least a room number (roomNumber) field and a room information (roomInfo) field corresponding to each room. Optionally, the roomNumber field can carry the number of rooms, occupying 2 bytes.

[0054] As an embodiment, the roomInfo field corresponding to each room can include a room identifier (roomID) field, a target receiver number (Number) field, and a target receiver information (Info) field. Optionally, the roomID field and the Number field can occupy 2 bytes.

[0055] In the roomInfo field corresponding to each room, the Number field carries the number of target receivers bound to the room, and the Info field carries the information of the target receivers bound to the room.

[0056] As an embodiment, in the embodiment, the roomInfo field at least includes a target receiver identifier (the target receiver identifier is, for example, a MAC address) field, a sampling frequency information (sampleRate) field, and a reporting frequency information (reportRate) field.

[0057] For each room, the target receiver identifier field corresponding to the room is used to carry the identifier of each target receiver bound to the room (for example, the target receiver identifier is a MAC address (occupying 6 bytes)). The sampleRate field is used to carry the target data sampling frequency F_sample of each target receiver bound to the room; the reportRate field is used to carry the target data reporting frequency F_report of each target receiver bound to the room.

[0058] In the embodiment, the target data sampling frequencies F_sample of the target receivers bound to the same room can be the same or different, which is not specifically limited in the embodiment. Optionally, the sampleRate field records the target data sampling frequencies F_sample of the target receivers by using an enumeration type, for example, 10 Hz, 20 Hz, 30 Hz, 50 Hz, 100 Hz, 200 Hz, 300 Hz, and 500 Hz. Optionally, the sampleRate field can occupy 1 byte.

[0059] Optionally, the target data reporting frequencies F_report of the target receivers bound to the same room can be the same or different. If the target data reporting frequencies F_report of at least two target receivers bound to the same room are different, as an embodiment, the minimum value of the target data reporting frequencies F_report of all target receivers bound to the same room can be selected as the target data reporting frequency F_report of all target receivers bound to the same room and carried in the reportRate field.

[0060] The target data reporting frequency F_report carried in the reportRate field can be one of the optional frequencies, for example, 1 Hz, 0.5 Hz, 0.2 Hz, 0.1 Hz, and the like. The optional frequency range can include 256 optional frequencies.

[0061] As an embodiment, the reportRate field can indicate the target data reporting frequency F_report by using an enumeration type, and the size can occupy 1 byte.

[0062] The above realizes, by means of the room, that the identifier of each target receiver bound to the room, the target data reporting frequency F_report, and the target data sampling frequency F_sample are carried in the perception service initialization request message.

[0063] As an embodiment, the above-mentioned perception service initialization request message can further carry a number field (which can occupy 2 bytes) of target receivers not bound with the room, and an identification (such as a MAC address, which can occupy 6 bytes) of each target receiver not bound with the room, a target data reporting frequency F_report (which can occupy 1 byte), and a target data sampling frequency F_sample (which can occupy 1 byte).

[0064] In the embodiment, the above-mentioned perception service initialization request message further carries a target data type, which indicates that the target receiver samples data of a data type conforming to the target data type. Correspondingly, the data type of the data sampled by the above-mentioned target receiver is the above-mentioned target data type.

[0065] Optionally, for the target receiver, if the target receiver has a binding relationship with the room, the above-mentioned roomInfo field can further include a target data type (dataType) field. As an embodiment, each target receiver having a binding relationship with the same room samples data of the same data type, based on which, the target data type (dataType) field of the roomInfo field corresponding to any room can carry a data type supported by each target receiver having a binding relationship with the room, such as one of 16 types of NULL data, QoS NULL data, Data, QoSData, and the like. Optionally, the target data type field can indicate the target data type by using an enumeration type, and the size can occupy 1 byte.

[0066] Optionally, for the target receiver, if the target receiver is not bound with the room, the perception service initialization request message can further carry a target data type (dataType) field of the target receiver not bound with the room. For example, the target data type field carries one of 16 types of NULL data, QoS NULL data, Data, QoSData, and the like. Similarly, the target data type field here can also indicate each data type by using an enumeration type, and the size can occupy 1 byte.

[0067] Based on the above description, Table 1 takes the target server identification as a MAC address as an example to illustrate the perception service initialization request message:

[0068] Table 1

[0069] The step 101 is described below as an example:

[0070] Referring to FIG. 3, FIG. 3 is a flowchart of implementing step 101 according to an embodiment of the present application. As shown in FIG. 3, the flowchart can include the following steps:

[0071] In step 301, for each target receiver, based on the minimum sample number N_sample and the target data sampling frequency F_sample of the target receiver, a minimum calculation time T_sample for calculating the perception result corresponding to the target receiver is determined.

[0072] As described above, N_sample is the minimum sample number required by the perception algorithm configured by the perception server. Alternatively, the minimum sample number required by different perception algorithms configured by the perception server can be the same, such as N_sample described above.

[0073] As an embodiment, T_sample can be calculated according to the following formula: T_sample = ceil(N_sample / F_sample). ceil() represents rounding up.

[0074] In step 302, the data reporting interval T_report of the target receiver is obtained according to the target data reporting frequency F_report of the target receiver.

[0075] Alternatively, T_report can be calculated according to the following formula: T_report = ceil(1 / F_report).

[0076] In step 303, based on T_sample and T_report, the perception threshold determination time window corresponding to the target receiver is determined.

[0077] As an embodiment, when step 303 is implemented, it can include the following steps:

[0078] If T_report is greater than or equal to T_sample, the perception threshold determination time window corresponding to the target receiver is determined based on N_min and T_report described above. For example, T_window = N_min*T_report. For example, N_min = 30, T_report = 2s, then T_window = 30*2 = 60s. It should be noted that if T_report > T_sample, there will be a situation that part of the sample data in T_report is not used. When the perception is calculated, the latest sample data can be used, and the older data is not used.

[0079] If T_report is less than T_sample, a reference time window T0_window is calculated based on T_sample, T_report and N_min. For example, T0_window = T_sample + (N_min-1) * T_report. For example, N_min = 30, T_sample = 10s, T_report = 2s, T0_window = 10 + (30-1) * 2 = 68s.

[0080] Then, T0_window is compared with a preset minimum time window T_window_min. If T0_window is greater than or equal to the preset minimum time window T_window_min, the perception threshold determination time window corresponding to the target receiver is determined as T0_window. If T0_window is less than the preset minimum time window T_window_min, the perception threshold determination time window corresponding to the target receiver is determined as T_window_min.

[0081] It should be noted that, in the embodiment, the preset minimum time window T_window_min is because: if T_report is much less than T_sample (i.e., T_report << T_sample), the number of samples can not be enough, and if there is a sudden abnormal sample in the current samples, it will affect the determination of the perception threshold. In order to eliminate this influence, a minimum time window T_window_min, for example, 120s, can be set to avoid the above influence.

[0082] At this point, the flow shown in FIG. 3 is completed.

[0083] Through the flow shown in FIG. 3, how to determine the perception threshold determination time window corresponding to the target receiver is realized.

[0084] In the specific implementation, for each target receiver, the perception threshold determination time window corresponding to the target receiver is determined. The calculation amount involved in the determination is very small, and the perception threshold determination time windows corresponding to all target receivers can be calculated in a very short time, so the perception threshold determination time windows corresponding to all target receivers can be returned to the perception application end through a message.

[0085] Optionally, the message can be a perception service initialization response message. As shown in FIG. 4, the perception server can send the perception threshold determination time windows corresponding to the target receivers in the perception service initialization response message to the perception application end, so that the perception application end knows the perception threshold determination time windows corresponding to the target receivers.

[0086] As an embodiment, in order to reduce the number of bytes occupied by the perception threshold determination time window corresponding to each target receiver in the perception service initialization response message, the perception threshold determination time window corresponding to each target receiver can be converted into a unit. The converted time unit is larger than the original time unit. For example, the original unit is second, and the converted time unit is minute. The time unit of the time window T_window is converted from second to minute according to the following formula: T1_window = ceil(T_window / 60). T_window represents the above-mentioned time window, and T1_window represents the converted time window. Then, the converted perception threshold determination time window corresponding to each target receiver is carried in the above-mentioned perception service initialization response message and sent to the perception application end.

[0087] As an embodiment, the perception threshold determination time window corresponding to each target receiver is carried in the above-mentioned perception service initialization response message and sent to the perception application end. The purpose is to let the perception application end have a time expectation for determining the perception threshold corresponding to each target receiver. For example, the time length for determining the perception threshold corresponding to each target receiver is the perception threshold determination time window corresponding to each target receiver.

[0088] As an embodiment, the above-mentioned perception service initialization response message at least carries: a number (Number) field of target receivers (which can occupy 2 bytes), and an information (Info) field of each target receiver.

[0089] The information (Info) field of each target receiver at least carries: the identification (such as MAC address) of the target receiver, and the perception threshold determination time window (denoted as initTimeWindow) corresponding to the target receiver.

[0090] As an embodiment, the above-mentioned perception service initialization response message carries a response result (Results) field. The response result is used to indicate that the perception server performs initialization (denoted as Succeed) or does not perform initialization (denoted as Failure). It should be noted that the above-mentioned Number field and Info field are carried on the premise that the response result is Succeed. If the response result is Failure, the above-mentioned Number field and Info field can not be carried. At this time, the perception service initialization response message can further carry a failure reason (failureReason) field, which is used to indicate the reason why it is determined not to perform initialization, such as insufficient computing power, insufficient storage space, etc.

[0091] Table 2 takes the target server identification as an example of MAC address to illustrate the perception service initialization response message:

[0092] Table 2

[0093] The step 102 is described as follows:

[0094] In the step 102, for each target receiver, when the awareness server determines the awareness threshold of the target receiver under each awareness algorithm, the awareness server not only stores the awareness threshold of the target receiver under each awareness algorithm locally for subsequent awareness decision, but also further sends the awareness threshold of the target receiver under each awareness algorithm to the awareness application end in a message, so that the awareness application end knows the awareness threshold of the target receiver under each awareness algorithm.

[0095] As an embodiment, the awareness threshold of the target receiver under each awareness algorithm can be sent to the awareness application end in the awareness service initialization result (also referred to as awareness service initialization result message) corresponding to the target receiver for each target receiver. The awareness service initialization results corresponding to different target receivers are different.

[0096] Table 3 illustrates the awareness service initialization result corresponding to any target receiver:

[0097] Table 3

[0098] In this embodiment, the awareness application end knows the WiFi awareness threshold of the target receiver under each awareness algorithm, which is convenient for further outputting the awareness threshold and the like when outputting the result decided by the awareness server, so as to intuitively display the decision result and the awareness threshold and the like. This embodiment is not specifically limited.

[0099] It should be noted that each awareness algorithm described above can be an awareness algorithm configured by the awareness server.

[0100] The method provided by the embodiments of the present application is described above, and the device provided by the embodiments of the present application is described as follows:

[0101] Referring to FIG. 5, FIG. 5 is a device structure diagram provided by the embodiments of the present application. The device is applied to an awareness server and includes:

[0102] a time window determining unit, configured to receive a perception service initialization request message from a perception application end, and if it is determined to perform initialization based on the perception service initialization request message, determine a perception threshold value 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 connected to the perception server; the target data reporting frequency F_report of the target receiver refers to a frequency at which the perception server reports a perception result corresponding to the target receiver to the perception application end; the perception result corresponding to the target receiver is determined based on data sampled by the target receiver according to the target data sampling frequency F_sample;

[0103] a threshold value determining unit, configured to determine a perception threshold value of the target receiver under different perception algorithms based on data sampled by the target receiver within the perception threshold value determination time window corresponding to the target receiver.

[0104] Optionally, the perception service initialization request message carries at least:

[0105] the target data sampling frequency F_sample of each target receiver;

[0106] and the target data reporting frequency F_report of each target receiver.

[0107] Optionally, the perception service initialization request message carries a number of rooms and room information of each room.

[0108] The room information of each room at least includes an identifier of each target receiver bound to the room, the target data reporting frequency F_report and the target data sampling frequency F_sample.

[0109] Optionally, the perception service initialization request message carries at least a number of target receivers not bound to a room, and an identifier, the target data reporting frequency F_report and the target data sampling frequency F_sample of each target receiver not bound to a room.

[0110] Optionally, the determination of the perception threshold value determination time window corresponding to 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 includes, for each target receiver, determining a minimum calculation time T_sample for calculating a perception result corresponding to the target receiver based on a minimum sample number N_sample and the target data sampling frequency F_sample of the target receiver; the N_sample refers to a minimum sample number required by the perception algorithm.

[0111] obtaining a data reporting interval T_report of the target receiver according to a target data reporting frequency F_report of the target receiver;

[0112] determining a perception threshold determination time window corresponding to the target receiver based on the T_sample and the T_report.

[0113] Optionally, the determining the perception threshold determination time window corresponding to the target receiver based on the T_sample and the T_report comprises:

[0114] if the T_report is less 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 perception results required for determining a perception threshold, and if the T_window is greater than or equal to a preset minimum time window T_window_min, determining the perception threshold determination time window corresponding to the target receiver as the T_window, and if the T_window is less than the preset minimum time window T_window_min, determining the perception threshold determination time window corresponding to the target receiver as the T_window_min.

[0115] if the T_report is greater than or equal to the T_sample, determining the perception threshold determination time window corresponding to the target receiver based on the N_min and the T_report.

[0116] Optionally, the threshold determination unit is further configured to:

[0117] carry the perception threshold determination time window corresponding to each target receiver in a perception service initialization response message and send the perception service initialization response message to the perception application end, so that the perception application end learns the perception threshold determination time window corresponding to each target receiver.

[0118] Optionally, the carrying the perception threshold determination time window corresponding to each target receiver in the perception service initialization response message and sending the perception service initialization response message to the perception application end comprises:

[0119] unit conversion is performed on the perception threshold determination time window corresponding to each target receiver; wherein the time unit after conversion is greater than the time unit before conversion, so as to shorten the number of bytes occupied by the perception threshold determination time window.

[0120] The converted perception threshold determination time window corresponding to each target receiver is carried in the perception service initialization response message and sent to the perception application end.

[0121] Optionally, the perception service initialization response message carries at least: the number of target APs, information of each target AP.

[0122] The information of any target AP carries at least: the identification of the target AP, and the perception threshold determination time window corresponding to the target AP.

[0123] Optionally, the determining of 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:

[0124] For each perception algorithm, the following steps are performed:

[0125] For each target receiver, the data sampled by the target receiver at a target data sampling frequency F_sample is divided into N_min unit samples; each unit sample includes N_sample samples, N_sample being the minimum number of samples required for input by the perception algorithm, and each sample in the N_sample samples including multiple data sampled by the target receiver; N_min being the minimum number of perception results required for determining the perception threshold; at least two of the N_min operation results are different.

[0126] The N_min units are input into the perception algorithm respectively to obtain N_min operation results, and the perception threshold of the target receiver under the perception algorithm is determined based on the N_min operation results.

[0127] Optionally, the threshold determination unit is further configured to:

[0128] For each target receiver, the perception threshold of the target receiver under each perception algorithm that has been determined is carried in the perception service initialization result message corresponding to the target receiver and sent to the perception application end, so that the perception application end learns the perception threshold of the target receiver under each perception algorithm.

[0129] Thus far, the structural description of the device shown in FIG. 5 is completed.

[0130] The embodiment of the present application further provides a hardware structure of the device shown in Figure 5. Referring to Figure 6, Figure 6 is a structure diagram of an electronic device provided by the embodiment of the present application. As shown in Figure 6, the hardware structure can include: a processor and a machine readable storage medium, the machine readable storage medium stores machine executable instructions capable of being executed by the processor; and the processor is used to execute the machine executable instructions to implement the method disclosed in the above examples of the present application.

[0131] Based on the same application concept as the above method, the embodiment of the present application further provides a machine readable storage medium, the machine readable storage medium stores computer instructions, and the computer instructions can implement the method disclosed in the above examples of the present application when executed by a processor.

[0132] For example, the machine readable storage medium can be: a RAM (Random Access Memory), a volatile memory, a non-volatile memory, a flash memory, a storage drive (such as a hard disk drive), a solid state disk, any type of storage disk (such as an optical disk, a DVD, etc.), or similar storage medium, or a combination thereof.

[0133] The above only describes the embodiments of the present application and is not used to limit the present application. The present application can have various changes and modifications for those skilled in the art. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application shall be included in the scope of claims of the present application.

Claims

1. A method of perceptual threshold determination, the method comprising: The method is applied to a perception server, and comprises: receiving a perception service initialization request message from a perception application end; if it is determined to perform initialization based on the perception service initialization request message, determining a perception 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 currently connected; the target data reporting frequency F_report of the target receiver refers to a frequency at which the perception server reports a perception result corresponding to the target receiver to the perception application end; the perception result corresponding to the target receiver is determined based on data sampled by the target receiver according to the target data sampling frequency F_sample; within the perception threshold determination time window corresponding to the target receiver, determining a perception threshold of the target receiver under different perception algorithms based on the data sampled by the target receiver.

2. The method of claim 1, wherein, The perception service initialization request message at least carries: a target data sampling frequency F_sample of each target receiver; and a target data reporting frequency F_report of each target receiver.

3. The method of claim 2, wherein, The perception service initialization request message carries a number of rooms, room information of each room; the room information of each room at least includes an identifier of each target receiver bound to the room, a target data reporting frequency F_report and a target data sampling frequency F_sample.

4. The method according to claim 2 or 3, characterized in that, The perception service initialization request message at least carries a number of target receivers not bound to a room, and an identifier, a target data reporting frequency F_report and a target data sampling frequency F_sample of each target receiver not bound to a room.

5. The method of claim 1, wherein, The determination of the perception threshold determination time window corresponding to 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: for each target receiver, determining a minimum calculation time T_sample for calculating a perception result corresponding to the target receiver based on a minimum sample number N_sample and the target data sampling frequency F_sample of the target receiver; the N_sample refers to a minimum sample number required 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; determining a perception threshold determination time window corresponding to the target receiver based on the T_sample and the T_report. The determination of the perception threshold determination time window corresponding to the target receiver based on the T_sample and the T_report comprises:

6. The method of claim 5, wherein, ​ If the T_report is less than the T_sample, a reference time window T_window is calculated based on the T_sample, the T_report, and a minimum number N_min of perception results required for determining a perception threshold; if the T_window is greater than or equal to a preset minimum time window T_window_min, the perception threshold determination time window corresponding to the target receiver is determined as the T_window; if the T_window is less than the preset minimum time window T_window_min, the perception threshold determination time window corresponding to the target receiver is determined as the T_window_min; If the T_report is greater than or equal to the T_sample, the perception threshold determination time window corresponding to the target receiver is determined based on the N_min and the T_report.

7. The method of claim 1, wherein, After the perception threshold determination time window corresponding to each target receiver is determined, the method further includes: The perception threshold determination time window corresponding to each target receiver is carried in a perception service initialization response message and sent to the perception application end, so that the perception threshold determination time window corresponding to each target receiver is known by the perception application end.

8. The method of claim 7, wherein, The perception threshold determination time window corresponding to each target receiver is carried in a perception service initialization response message and sent to the perception application end, which includes: The perception threshold determination time window corresponding to each target receiver is unit-converted; wherein the time unit after conversion is greater than the time unit before conversion, so as to shorten the number of bytes occupied by the perception threshold determination time window; The perception threshold determination time window corresponding to each target receiver after conversion is carried in a perception service initialization response message and sent to the perception application end.

9. The method of claim 1, wherein, The perception threshold determination time window corresponding to each target receiver is carried in a perception service initialization response message and sent to the perception application end, which includes: For each perception algorithm, the following steps are performed: For each target receiver, the data sampled by the target receiver at a target data sampling frequency F_sample is divided into N_min unit samples; each unit sample includes at least N_sample samples, N_sample being the minimum number of samples required for input by the perception algorithm, each sample of the N_sample samples including a plurality of data sampled by the target receiver; N_min is the minimum number of perception results required for determining a perception threshold; at least two of the N_min operation results are different; N_min units are input into the perception algorithm to obtain N_min operation results, and the perception threshold of the target receiver under the perception 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 includes: For each target receiver, the determined perception threshold of the target receiver under each perception algorithm is carried in a perception service initialization result message corresponding to the target receiver and sent to the perception application end, so that the perception application end learns the perception threshold of the target receiver under each perception algorithm.

11. A perception threshold determination apparatus characterized by comprising: The device is applied to a perception server and comprises: a time window determination unit configured to receive a perception service initialization request message from a perception application end, and if it is determined to perform initialization based on the perception service initialization request message, determine a perception threshold determination time window corresponding to each target receiver connected to the perception server according to a target data sampling frequency F_sample and a target data reporting frequency F_report of each target receiver; the target data reporting frequency F_report of the target receiver refers to a frequency at which the perception server reports a perception result corresponding to the target receiver to the perception application end; the perception result corresponding to the target receiver is determined based on data sampled by the target receiver according to the target data sampling frequency F_sample; a threshold determination unit configured to determine a perception threshold of the target receiver under different perception algorithms based on data sampled by the target receiver within the perception threshold determination time window corresponding to the target receiver.

12. The apparatus of claim 11, wherein, The perception service initialization request message at least carries: the target data sampling frequency F_sample of each target receiver; and the target data reporting frequency F_report of each target receiver.

13. The apparatus of claim 12, wherein, The perception service initialization request message carries the number of rooms, room information of each room; the room information of each room at least includes an identifier of each target receiver bound to the room, a target data reporting frequency F_report and a target data sampling frequency F_sample.

14. The apparatus of claim 12 or 13, wherein, The perception service initialization request message at least carries the number of target receivers not bound to a room, and an identifier, a target data reporting frequency F_report and a target data sampling frequency F_sample of each target receiver not bound to a room.

15. The apparatus of claim 11, wherein, The determination of the perception threshold determination time window corresponding to 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: for each target receiver, determining a minimum calculation time T_sample for calculating a perception result corresponding to the target receiver based on a minimum sample number N_sample and a target data sampling frequency F_sample of the target receiver; the N_sample refers to a minimum sample number required by the perception algorithm; obtaining a data reporting interval T_report related to the target receiver according to a target data reporting frequency F_report of the target receiver; determining the perception threshold determination time window corresponding to the target receiver based on the T_sample and the T_report. ​ 16. The apparatus of claim 15, wherein, The determining of the 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 less 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 perception results required for determining a perception threshold; if the T_window is greater than or equal to a preset minimum time window T_window_min, determining the perception threshold determination time window corresponding to the target receiver as the T_window; if the T_window is less than the preset minimum time window T_window_min, determining the perception threshold determination time window corresponding to the target receiver as the T_window_min; If the T_report is greater than or equal to the T_sample, determining the perception threshold determination time window corresponding to the target receiver based on the N_min and the T_report.

17. The apparatus of claim 11, wherein, The threshold determination unit is further configured to: carry the perception threshold determination time window corresponding to each target receiver in a perception service initialization response message and send to the perception application end, so that the perception application end learns the perception threshold determination time window corresponding to each target receiver.

18. The apparatus of claim 17, wherein, The carrying of the perception threshold determination time window corresponding to each target receiver in the perception service initialization response message and sending to the perception application end comprises: unit conversion of the perception threshold determination time window corresponding to each target receiver; wherein the time unit after conversion is greater than the time unit before conversion, so as to shorten the number of bytes occupied by the perception threshold determination time window; carrying the converted perception threshold determination time window corresponding to each target receiver in the perception service initialization response message and sending to the perception application end.

19. The apparatus of claim 11, wherein, The determining of 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 perception algorithm, the following steps are performed: For each target receiver, the data sampled by the target receiver at a target data sampling frequency F_sample is divided into N_min unit samples; each unit sample comprises N_sample samples, N_sample being the minimum number of samples required for input by the perception algorithm, each sample of the N_sample samples comprising a plurality of data sampled by the target receiver; N_min is the minimum number of perception results required for determining a perception threshold; at least two of the N_min operation results are different; inputting the N_min units into the perception algorithm respectively to obtain N_min operation results, and determining the perception threshold of the target receiver under the perception algorithm based on the N_min operation results.

20. The apparatus of claim 1 or 19, wherein, The threshold determination unit is further configured to: For each target receiver, the determined perception threshold of the target receiver under each perception algorithm is sent to the perception application end in a perception service initialization result message corresponding to the target receiver, so that the perception application end learns the perception threshold of the target receiver under each perception algorithm.

21. An electronic device, comprising: The electronic device includes a processor and a machine-readable storage medium; The machine-readable storage medium stores machine-executable instructions that can be executed by the processor; The processor is configured to execute the machine-executable instructions to implement the method steps of any one of claims 1-10.

Citation Information

Patent Citations

  • Sensing method and communication device

    CN112350809A

  • Communication method and device, access point, station and computer readable medium

    CN118118918A

  • Method and device for generating wireless local area network sensing configuration scheme

    CN118382099A

  • Controlling concurrent execution of perception algorithms

    WO2023098999A1