Method and apparatus for controlling broadcasting of wireless device, electronic device, and medium
Abstract
This disclosure provides a method and an apparatus for controlling broadcasting of a wireless device, an electronic device, and a medium. The method includes: generating, in a plurality of scanning modes, discovery delays associated with broadcast intervals in a broadcast interval set. The discovery delay includes a period of time required for a broadcast signal sent by the wireless device at the broadcast interval to be discovered by a scanning device that is in one of the plurality of scanning modes. The method includes: determining one or more broadcast intervals from the broadcast interval set based on the discovery delay; generating at least one candidate broadcast mode based on the one or more determined broadcast intervals; and determining a broadcast mode used for the wireless device from the at least one candidate broadcast mode.
Claims
exact text as granted — not AI-modified1 . A method for controlling broadcasting of a wireless device, comprising:
generating, in a plurality of scanning modes, discovery delays associated with broadcast intervals in a broadcast interval set, wherein the discovery delay comprises a period of time required for a broadcast signal sent by the wireless device at the broadcast interval to be discovered by a scanning device that is in one of the plurality of scanning modes; determining one or more broadcast intervals from the broadcast interval set based on the discovery delay; generating at least one candidate broadcast mode based on the one or more determined broadcast intervals; and determining a broadcast mode used for the wireless device from the at least one candidate broadcast mode.
2 . The method according to claim 1 , wherein the determining one or more broadcast intervals from the broadcast interval set comprises:
in each scanning mode in the plurality of scanning modes, determining a threshold of a discovery delay in the scanning mode; determining at least one candidate broadcast interval from the broadcast interval set based on the threshold; and determining the one or more broadcast intervals based on the at least one candidate broadcast interval in each scanning mode in the plurality of scanning modes.
3 . The method according to claim 2 , wherein the determining the one or more broadcast intervals comprises:
determining the one or more broadcast intervals based on an intersection set of the at least one candidate broadcast interval in each scanning mode in the plurality of scanning modes.
4 . The method according to claim 2 , wherein the determining a threshold of a discovery delay in the scanning mode comprises:
determining the threshold based on a tolerance parameter and a minimum discovery delay in the scanning mode.
5 . The method according to claim 1 , wherein the generating at least one candidate broadcast mode comprises generating at least one of the following:
an alternate mode, wherein the alternate mode indicates that the wireless device sends broadcast signals at different broadcast intervals in the one or more broadcast intervals; and a superimposition mode, wherein the superimposition mode indicates that the wireless device sends a broadcast signal at a broadcast interval that is a multiple of the one or more broadcast intervals.
6 . The method according to claim 1 , further comprising:
determining an equivalent broadcast interval in the at least one candidate broadcast mode; and filtering the at least one candidate broadcast mode based on the equivalent broadcast interval and a power consumption constraint of the wireless device.
7 . The method according to claim 1 , wherein the determining a broadcast mode used for the wireless device from the at least one candidate broadcast mode comprises:
determining, in each candidate broadcast mode in the at least one candidate broadcast mode, a comprehensive discovery delay in the candidate broadcast mode relative to the plurality of scanning modes; and selecting a candidate broadcast mode with a minimum comprehensive discovery delay from the at least one candidate broadcast mode as the broadcast mode used for the wireless device.
8 . The method according to claim 7 , wherein the determining a comprehensive discovery delay in the candidate broadcast mode relative to the plurality of scanning modes comprises:
determining, through simulation, a discovery delay in the candidate broadcast mode relative to each scanning mode; and determining the comprehensive discovery delay based on weights of the plurality of scanning modes and the determined discovery delay.
9 . The method according to claim 1 , wherein a scanning mode in the plurality of scanning modes specifies a scanning interval and a scanning window within the scanning interval, and the scanning mode is capable of being applied to the scanning device for the scanning device to listen to the broadcast signal from the wireless device in the scanning window.
10 . The method according to claim 1 , wherein the generating, in a plurality of scanning modes, discovery delays associated with broadcast intervals in a broadcast interval set comprises:
in each scanning mode in the plurality of scanning modes, determining, through simulation, a discovery delay corresponding to the broadcast interval in the scanning mode, wherein the discovery delay is associated with a given percentile value.
11 . An electronic device, comprising:
a processing unit and a memory, wherein the processing unit executes instructions in the memory, so that the electronic device performs actions, wherein the actions comprise:
generating, in a plurality of scanning modes, discovery delays associated with broadcast intervals in a broadcast interval set, wherein the discovery delay comprises a period of time required for a broadcast signal sent by the wireless device at the broadcast interval to be discovered by a scanning device that is in one of the plurality of scanning modes;
determining one or more broadcast intervals from the broadcast interval set based on the discovery delay;
generating at least one candidate broadcast mode based on the one or more determined broadcast intervals; and
determining a broadcast mode used for the wireless device from the at least one candidate broadcast mode.
12 . The electronic device according to claim 11 , wherein the determining one or more broadcast intervals from the broadcast interval set comprises:
in each scanning mode in the plurality of scanning modes, determining a threshold of a discovery delay in the scanning mode; determining at least one candidate broadcast interval from the broadcast interval set based on the threshold; and determining the one or more broadcast intervals based on the at least one candidate broadcast interval in each scanning mode in the plurality of scanning modes.
13 . The electronic device according to claim 12 , wherein the determining the one or more broadcast intervals comprises:
determining the one or more broadcast intervals based on an intersection set of the at least one candidate broadcast interval in each scanning mode in the plurality of scanning modes.
14 . The electronic device according to claim 12 , wherein the determining a threshold of a discovery delay comprises:
determining the threshold based on a tolerance parameter and a minimum discovery delay in the scanning mode.
15 . The electronic device according to claim 11 , wherein the generating at least one candidate broadcast mode comprises generating at least one of the following:
an alternate mode, wherein the alternate mode indicates that the wireless device sends broadcast signals at different broadcast intervals in the one or more broadcast intervals; and a superimposition mode, wherein the superimposition mode indicates that the wireless device sends a broadcast signal at a broadcast interval that is a multiple of the one or more broadcast intervals.
16 . The electronic device according to claim 11 , the actions further comprise:
determining an equivalent broadcast interval in the at least one candidate broadcast mode; and filtering the at least one candidate broadcast mode based on the equivalent broadcast interval and a power consumption constraint of the wireless device.
17 . The electronic device according to claim 11 , wherein the determining a broadcast mode used for the wireless device from the at least one candidate broadcast mode comprises:
determining, in each candidate broadcast mode in the at least one candidate broadcast mode, a comprehensive discovery delay in the candidate broadcast mode relative to the plurality of scanning modes; and selecting a candidate broadcast mode with a minimum comprehensive discovery delay from the at least one candidate broadcast mode as the broadcast mode used for the wireless device.
18 . A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable storage medium and that, when executed by a processor, cause a device to:
generate, in a plurality of scanning modes, discovery delays associated with broadcast intervals in a broadcast interval set, wherein the discovery delay comprises a period of time required for a broadcast signal sent by a wireless device at the broadcast interval to be discovered by a scanning device that is in one of the plurality of scanning modes; determine one or more broadcast intervals from the broadcast interval set based on the discovery delay; generate at least one candidate broadcast mode based on the one or more determined broadcast intervals; and determine a broadcast mode used for the wireless device from the at least one candidate broadcast mode.
19 . The non-transitory computer-readable storage medium according to claim 18 , wherein the determining one or more broadcast intervals from the broadcast interval set, further cause the device to:
in each scanning mode in the plurality of scanning modes, determine a threshold of a discovery delay in the scanning mode; determine at least one candidate broadcast interval from the broadcast interval set based on the threshold; and determine the one or more broadcast intervals based on the at least one candidate broadcast interval in each scanning mode in the plurality of scanning modes.
20 . The non-transitory computer-readable storage medium according to claim 19 , wherein the determining the one or more broadcast intervals, further cause the device to:
determine the one or more broadcast intervals based on an intersection set of the at least one candidate broadcast interval in each scanning mode in the plurality of scanning modes.Join the waitlist — get patent alerts
Track US2025260951A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.