[go: up one dir, main page]

CN115134900A - Low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable device and related medium - Google Patents

Low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable device and related medium Download PDF

Info

Publication number
CN115134900A
CN115134900A CN202210744132.XA CN202210744132A CN115134900A CN 115134900 A CN115134900 A CN 115134900A CN 202210744132 A CN202210744132 A CN 202210744132A CN 115134900 A CN115134900 A CN 115134900A
Authority
CN
China
Prior art keywords
wifi
feature
features
wearable device
historical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210744132.XA
Other languages
Chinese (zh)
Inventor
张创军
郭洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jimi Iot Co ltd
Original Assignee
Shenzhen Jimi Iot Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jimi Iot Co ltd filed Critical Shenzhen Jimi Iot Co ltd
Priority to CN202210744132.XA priority Critical patent/CN115134900A/en
Publication of CN115134900A publication Critical patent/CN115134900A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本发明公开了基于WiFi特征的低功耗控制方法、可穿戴设备及相关介质,该方法包括:根据定位周期,采集可穿戴设备所处环境的WiFi特征,并将采集的WiFi特征存储于当前WiFi特征中;将所述当前WiFi特征与历史WiFi特征统计结果中的WiFi特征进行相似度比较;根据相似度比较结果对可穿戴设备进行低功耗控制;根据当前WiFi特征对历史WiFi特征统计结果进行更新。本发明基于WiFi特征对可穿戴设备的位置进行判断,从而根据可穿戴设备是否发生位置变化对其功耗进行控制,如此提高对于可穿戴设备的功耗管理效果,为可穿戴设备节省功耗。

Figure 202210744132

The invention discloses a WiFi feature-based low power consumption control method, a wearable device and a related medium. The method includes: collecting WiFi features of the environment where the wearable device is located according to a positioning cycle, and storing the collected WiFi features in a current WiFi In the feature; compare the similarity between the current WiFi feature and the WiFi feature in the historical WiFi feature statistical result; perform low power consumption control on the wearable device according to the similarity comparison result; perform the historical WiFi feature statistical result according to the current WiFi feature. renew. The present invention judges the position of the wearable device based on the WiFi feature, so as to control the power consumption of the wearable device according to whether the position of the wearable device changes, thus improving the power consumption management effect for the wearable device and saving power consumption for the wearable device.

Figure 202210744132

Description

Low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable device and related medium
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a low-power-consumption control method based on WiFi characteristics, wearable equipment and a related medium.
Background
Currently, for power consumption management of the wearable device, a motion state is usually detected based on motion and inertia of the gsensor, that is, when an object is stationary, the wearable device is controlled to enter a low-power sleep state, for example, a closed position is acquired, and high-frequency positioning data is uploaded.
For wearing equipment such as wrist-watch, bracelet, when wearing personnel in scenes such as classroom, kindergarten, office, the object is because the live body action to because the action such as walking, playing, can not really be static, then obviously lack efficiency and accuracy through the sound judgement of gsensor this moment.
Moreover, compared with absolute still, activities in a fixed place are a scene with a high probability, so that how to accurately manage power consumption of wearable devices when activities are performed in fixed places such as classrooms, kindergartens, offices and the like is a problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the invention provides a low-power-consumption control method based on WiFi (wireless fidelity) characteristics, wearable equipment, computer equipment and a storage medium, and aims to improve the power consumption management effect of the wearable equipment and save power consumption for the wearable equipment.
In a first aspect, an embodiment of the present invention provides a WiFi feature-based low power consumption control method, which is applicable to a wearable device, and includes:
acquiring WiFi characteristics of the environment where the wearable equipment is located according to the positioning period, and storing the acquired WiFi characteristics in the current WiFi characteristics;
comparing the similarity of the current WiFi characteristic with the WiFi characteristics in the historical WiFi characteristic statistical results;
performing low-power consumption control on the wearable equipment according to the similarity comparison result;
and updating the historical WiFi characteristic statistical result according to the current WiFi characteristic.
In a second aspect, an embodiment of the present invention provides a wearable device, including:
the first acquisition unit is used for acquiring WiFi characteristics of the environment where the wearable equipment is located according to the positioning period and storing the acquired WiFi characteristics in the current WiFi characteristics;
the similarity comparison unit is used for comparing the similarity of the current WiFi characteristic with the similarity of the WiFi characteristics in the historical WiFi characteristic statistical results;
the low-power consumption control unit is used for performing low-power consumption control on the wearable equipment according to the similarity comparison result;
and the characteristic updating unit is used for updating the historical WiFi characteristic statistical result according to the current WiFi characteristic.
In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the WiFi feature-based low power consumption control method according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the WiFi feature-based low power consumption control method according to the first aspect.
The embodiment of the invention provides a low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable equipment, computer equipment and a storage medium, wherein the method is suitable for the wearable equipment and comprises the following steps: acquiring WiFi characteristics of the environment where the wearable equipment is located according to the positioning period, and storing the acquired WiFi characteristics in the current WiFi characteristics; comparing the similarity of the current WiFi characteristic with the WiFi characteristics in the historical WiFi characteristic statistical results; performing low-power consumption control on the wearable equipment according to the similarity comparison result; and updating the historical WiFi characteristic statistical result according to the current WiFi characteristic. The embodiment of the invention judges the position of the wearable device based on the WiFi characteristic, thereby controlling the power consumption of the wearable device according to whether the wearable device has position change or not, improving the power consumption management effect of the wearable device and saving the power consumption of the wearable device.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a low power consumption control method based on WiFi features according to an embodiment of the present invention;
fig. 2 is a first logic block diagram of a WiFi-feature-based low power consumption control method according to an embodiment of the present invention;
fig. 3 is a second logic block diagram of a WiFi-feature-based low power consumption control method according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a wearable device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flowchart of a WiFi-feature-based low power consumption control method provided in an embodiment of the present invention, where the method is applied to a wearable device, and specifically includes: steps S101 to S104.
S101, acquiring WiFi characteristics of the environment where the wearable equipment is located according to a positioning period, and storing the acquired WiFi characteristics in current WiFi characteristics;
s102, comparing the similarity of the current WiFi characteristic with the WiFi characteristics in the historical WiFi characteristic statistical results;
s103, performing low-power consumption control on the wearable equipment according to the similarity comparison result;
and S104, updating the historical WiFi characteristic statistical result according to the current WiFi characteristic.
In this embodiment, the WiFi features corresponding to the environment where the wearable device is located are collected and stored in the current WiFi features. And comparing the current WiFi characteristic with the historical WiFi characteristic statistical result for the collected current WiFi characteristic, so as to perform low power consumption control on the wearable equipment according to the comparison result, and updating the historical WiFi characteristic statistical result by using the current WiFi characteristic, so as to facilitate the next low power consumption control on the wearable equipment. Here, the preset feature set may exist in the form of an array, a linked list, a dictionary, and the like.
This embodiment judges wearable device's position based on the wiFi characteristic to whether take place the position change according to wearable device and control its consumption, so improve the consumption management effect to wearable device, save the consumption for wearable device.
In a specific embodiment, by the WiFi feature-based low power consumption control method provided in this embodiment, the wearable device can be in an actual positioning device, so that power consumption is greatly saved, and the total working time is increased by more than one time (for example, except for daily working hours and the original effect, most of other home and office time is in a low power consumption state), which is much longer than the total working time of the gsensor-based stationary algorithm version in the prior art.
In one embodiment, the step S101 includes:
based on the requirement of position real-time performance, WiFi characteristics are collected at each preset interval time through a WiFi scanning function of the wearable device;
aiming at each WiFi feature, a feature node is created by taking a WiFi MAC address as an index, and a feature element is set for each feature node; the characteristic elements comprise MAC addresses, signal strength, accumulated occurrence times and timestamps;
storing all of the feature nodes in a current WiFi feature.
In this embodiment, a corresponding feature node is created for each WiFi feature, and all feature nodes are stored in the current WiFi feature (maximum capacity M) for the WiFi feature. In a specific embodiment, each feature node may be regarded as an array node, also equivalent to a WiFi feature, and the array node elements include: the MAC address of WiFi, signal strength, number of cumulative occurrences, and timestamp, etc. For example, as shown in table 1:
1 MAC1 signal strength Cumulative number of occurrences Time stamp
2 MAC2 Signal strength Cumulative number of occurrences Time stamp
3 MAC3 Signal strength Cumulative number of occurrences Time stamp
4 MAC4 Signal strength Cumulative number of occurrences Time stamp
5 MAC5 Signal strength Cumulative number of occurrences Time stamp
6 MAC6 Signal strength Cumulative number of occurrences Time stamp
TABLE 1
Specifically, the step S101 further includes:
when the WiFi characteristics of the environment where the wearable equipment is located are collected for the first time, the collected WiFi characteristics are stored in historical WiFi characteristic statistical results for the first time, and the accumulated occurrence times of all WiFi characteristics in the historical WiFi characteristic statistical results are set to be 1.
In one embodiment, the step S102 includes:
selecting a target WiFi feature with the signal intensity larger than N from the current WiFi features;
judging whether the number of the target WiFi features meets the requirement of a preset number K; and the preset number K is K WiFi characteristics in the previous Q WiFi characteristics in the historical WiFi characteristic statistical result.
In this embodiment, as shown in fig. 2, for the current WiFi feature created according to the collected current WiFi feature, it is determined whether the signal strength of each WiFi feature included in the current WiFi feature is greater than N (for example, -80dbm), and the WiFi feature whose signal strength is greater than N is selected as the target WiFi feature, or as shown in fig. 2, the selected WiFi features are collected into a qualified feature set. And then, judging the number P of the selected qualified feature sets to determine whether the requirement of a preset number K is met, for example, if the P number of the target WiFi features meets the condition, and if the preset number requirement is K, judging the number relation between the P number and the K number, so as to judge whether the wearable equipment is changed according to the number relation. Here, the preset number K is K WiFi features in the top Q WiFi features in the historical WiFi feature statistics.
Further, in an embodiment, the WiFi feature-based low power consumption control method further includes:
a position counter is preset to count the position change of the wearable device, and the power consumption state switching is controlled through the counter. The switching once judgment is avoided, and the misjudgment is caused.
The step S103 includes:
when the number of the target WiFi features reaches the requirement of the preset number K, judging that the position of the wearable device is not changed, and controlling the wearable device to switch or maintain a low power consumption state;
when the number of the target WiFi features does not reach the requirement of the preset number K, adding 1 to the numerical value of the position change counter;
when the value of the position change counter reaches a preset counting threshold value, the position of the wearable device is judged to be changed, the position change is reported, the position of the wearable device is updated, and the value of the position change counter is cleared.
In this embodiment, when the number P of the target WiFi features reaches the preset number requirement K, it may be determined that the current WiFi features are similar to the WiFi features collected several times before, so as to determine that the position of the wearable device does not change, and thus the wearable device may continue to maintain low-power operation. When the number P of the target WiFi features does not reach the preset number requirement K, adding 1 to the numerical value of the position change counter, judging whether the numerical value of the position change counter reaches a preset counting threshold value, and when the numerical value of the position change counter reaches the preset counting threshold value, judging that the position of the wearable device is changed. After the position of the wearable device is determined to change, the changed position can be reported so as to update the position of the wearable device. And meanwhile, the numerical value of the position change counter is reset, so that the subsequent position judgment is facilitated. The embodiment does not limit the manner of reporting the location change and updating the location of the wearable device.
In an embodiment, the step S104 further includes:
judging whether the current WiFi characteristic and the historical WiFi characteristic statistical result have WiFi characteristics with the same MAC;
if the same WiFi features exist, adding 1 to the occurrence times of the same WiFi features in the historical WiFi feature statistical results, and updating the corresponding timestamps;
if the same WiFi features do not exist, judging whether the total number of the WiFi features in the historical WiFi feature statistical result reaches a preset number threshold value or not;
when the total number of the WiFi features in the historical WiFi feature statistical result does not reach a preset number threshold value, inserting the WiFi features in the current WiFi features into the historical WiFi feature statistical result;
when the total number of the WiFi features in the historical WiFi feature statistical results reaches a preset number threshold value, deleting the WiFi feature with the timestamp farthest from the current time in the historical WiFi feature statistical results according to the number of the WiFi features to be inserted into the historical WiFi feature statistical results, and inserting the WiFi feature to be inserted into the historical WiFi feature statistical results after deletion;
and after the historical WiFi characteristic statistical results are updated, arranging the WiFi characteristics in the historical WiFi characteristic statistical results according to the accumulated occurrence times.
In this embodiment, with reference to fig. 3, when the historical WiFi feature statistical result is updated, it is first determined that the WiFi feature in the current WiFi feature already exists in the historical WiFi feature statistical result. And if the WiFi characteristic exists, adding 1 to the accumulated occurrence frequency of the corresponding WiFi characteristic in the historical WiFi characteristic statistical result, and updating the time stamp. If not, it is determined whether the capacity of the historical WiFi feature statistics is full (for example, whether the total WiFi feature number in fig. 3 is greater than M), that is, whether the total WiFi feature number in the historical WiFi feature statistics reaches a preset number threshold. If not, directly inserting the WiFi characteristics in the current WiFi characteristics into historical WiFi characteristic statistical results; and if the capacity is full or the capacity is full after a plurality of WiFi features are inserted, deleting the WiFi features with the same quantity and the latest far timestamps in the historical WiFi feature statistical results according to the quantity of the WiFi features to be inserted, so that all the WiFi features to be inserted can be inserted into the historical WiFi feature statistical results.
The updating of the historical WiFi feature statistical results can be completed through the above steps, further, after the updating is completed, the WiFi features in the historical WiFi feature statistical results are sorted, for example, sorted in a descending order according to the accumulated occurrence number, of course, an ascending order may also be adopted, as long as it is ensured that the target of comparison (selecting Q from the tail) in S103 is the WiFi feature set Q with the largest occurrence number.
Fig. 4 is a schematic block diagram of a wearable device 400 according to an embodiment of the present invention, where the wearable device 400 includes:
the first acquisition unit 401 is configured to acquire WiFi characteristics of an environment where the wearable device is located according to a positioning period, and store the acquired WiFi characteristics in current WiFi characteristics;
a similarity comparison unit 402, configured to compare similarity between the current WiFi feature and WiFi features in historical WiFi feature statistics results;
a low power consumption control unit 403, configured to perform low power consumption control on the wearable device according to the similarity comparison result;
a feature updating unit 404, configured to update the historical WiFi feature statistics according to the current WiFi feature.
In an embodiment, the first acquisition unit 401 includes:
the second acquisition unit is used for acquiring WiFi characteristics at each preset interval time through a WiFi scanning function of the wearable equipment based on the position real-time requirement;
the node creating unit is used for creating a characteristic node by taking the WiFi MAC address as an index aiming at each WiFi characteristic and setting a characteristic element for each characteristic node; the characteristic elements comprise MAC addresses, signal strength, accumulated occurrence times and timestamps;
a first storage unit, configured to store all the feature nodes in a current WiFi feature.
In an embodiment, the first acquisition unit 401 further includes:
and the second storage unit is used for storing the first acquired WiFi characteristics in the historical WiFi characteristic statistical result when the WiFi characteristics of the environment where the wearable equipment is located are acquired for the first time, and setting the accumulated occurrence times of all the WiFi characteristics in the historical WiFi characteristic statistical result to be 1.
In an embodiment, the similarity comparing unit 402 includes:
the characteristic selection unit is used for selecting a target WiFi characteristic with the signal intensity larger than N from the current WiFi characteristics;
the quantity judgment unit is used for judging whether the quantity of the target WiFi features meets the requirement of a preset quantity K; and the preset number K is K WiFi characteristics in the previous Q WiFi characteristics in the historical WiFi characteristic statistical result.
In an embodiment, the wearable device 400 further comprises:
and the position counting unit is used for presetting a position counter to count the position change of the wearable equipment and controlling the power consumption state switching through the counter.
In one embodiment, the low power consumption control unit 403 includes:
the first judging unit is used for judging that the position of the wearable device is not changed when the number of the target WiFi features reaches a preset number requirement K, and controlling the wearable device to switch or maintain a low power consumption state;
a counting and 1 adding unit, configured to add 1 to the value of the position change counter when the number of the target WiFi features does not meet a preset number K requirement;
and the second judgment unit is used for judging that the position of the wearable device is changed when the value of the position change counter reaches a preset counting threshold value, reporting the position change, updating the position of the wearable device, and clearing the value of the position change counter.
In an embodiment, the feature updating unit 404 further includes:
the characteristic judging unit is used for judging whether the current WiFi characteristic and the historical WiFi characteristic statistical result have the same WiFi characteristic or not;
the timestamp updating unit is used for adding 1 to the occurrence frequency of the same WiFi feature in the historical WiFi feature statistical result and updating the corresponding timestamp if the same WiFi feature exists;
the characteristic total judging unit is used for judging whether the total WiFi characteristics in the historical WiFi characteristic statistical results reach a preset quantity threshold value or not if the same WiFi characteristics do not exist;
the characteristic inserting unit is used for inserting the WiFi characteristics in the current WiFi characteristics into the historical WiFi characteristic statistical results when the total WiFi characteristics in the historical WiFi characteristic statistical results do not reach a preset quantity threshold value;
the characteristic deleting unit is used for deleting the WiFi characteristic with the timestamp farthest away from the current time in the historical WiFi characteristic statistical result according to the WiFi characteristic quantity to be inserted into the historical WiFi characteristic statistical result when the total WiFi characteristic quantity in the historical WiFi characteristic statistical result reaches a preset quantity threshold value, and inserting the WiFi characteristic to be inserted into the historical WiFi characteristic statistical result after deletion;
and the characteristic arrangement unit is used for arranging the WiFi characteristics in the historical WiFi characteristic statistical results according to the accumulated occurrence times after the historical WiFi characteristic statistical results are updated.
Since the embodiment of the wearable device portion and the embodiment of the method portion correspond to each other, please refer to the description of the embodiment of the method portion for the embodiment of the wearable device portion, which is not repeated here.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the steps provided by the above embodiments can be implemented. The storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiment of the present invention further provides a computer device, which may include a memory and a processor, where the memory stores a computer program, and the processor may implement the steps provided in the above embodiment when calling the computer program in the memory. Of course, the computer device may also include various network interfaces, power supplies, and the like.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1.一种基于WiFi特征的低功耗控制方法,适用于可穿戴设备,其特征在于,包括:1. a low power consumption control method based on WiFi feature, applicable to wearable device, is characterized in that, comprises: 根据定位周期,采集可穿戴设备所处环境的WiFi特征,并将采集的WiFi特征存储于当前WiFi特征中;According to the positioning cycle, the WiFi characteristics of the environment where the wearable device is located are collected, and the collected WiFi characteristics are stored in the current WiFi characteristics; 将所述当前WiFi特征与历史WiFi特征统计结果中的WiFi特征进行相似度比较;comparing the similarity between the current WiFi feature and the WiFi feature in the historical WiFi feature statistical results; 根据相似度比较结果对可穿戴设备进行低功耗控制;Carry out low-power control on wearable devices according to the similarity comparison results; 根据当前WiFi特征对历史WiFi特征统计结果进行更新。Update historical WiFi feature statistics based on current WiFi features. 2.根据权利要求1所述的基于WiFi特征的低功耗控制方法,其特征在于,所述根据定位周期,采集可穿戴设备所处环境的WiFi特征,并将采集的WiFi特征存储于当前WiFi特征中,包括:2. The low-power consumption control method based on WiFi features according to claim 1, wherein, according to the positioning cycle, the WiFi features of the environment where the wearable device is located are collected, and the collected WiFi features are stored in the current WiFi Features include: 基于位置实时性要求,通过可穿戴设备的WiFi扫描功能每个预设间隔时间采集WiFi特征;Based on the real-time location requirements, the WiFi features are collected at each preset interval through the WiFi scanning function of the wearable device; 针对每一WiFi特征,以WiFi MAC地址为索引创建特征节点,并为每一特征节点设置特征元素;所述特征元素包括MAC地址、信号强度、累计出现次数和时间戳。For each WiFi feature, a feature node is created with the WiFi MAC address as an index, and a feature element is set for each feature node; the feature element includes MAC address, signal strength, cumulative occurrence times and timestamp. 将所有的所述特征节点存储于所述当前WiFi特征中。All the feature nodes are stored in the current WiFi feature. 3.根据权利要求2所述的基于WiFi特征的低功耗控制方法,其特征在于,所述根据定位周期,采集可穿戴设备所处环境的WiFi特征,并将采集的WiFi特征存储于当前WiFi特征中,还包括:3. The WiFi feature-based low power consumption control method according to claim 2, wherein the WiFi feature of the environment where the wearable device is located is collected according to the positioning cycle, and the collected WiFi feature is stored in the current WiFi Features also include: 当首次采集可穿戴设备所处环境的WiFi特征时,将首次采集到的WiFi特征更新于历史WiFi特征统计结果中,并将历史WiFi特征统计结果中的所有WiFi特征的累计出现次数设置为1。When the WiFi features of the environment in which the wearable device is located are collected for the first time, the WiFi features collected for the first time are updated in the historical WiFi feature statistical results, and the cumulative number of occurrences of all WiFi features in the historical WiFi feature statistical results is set to 1. 4.根据权利要求3所述的基于WiFi特征的低功耗控制方法,其特征在于,所述将所述当前WiFi特征与历史WiFi特征统计结果中的WiFi特征进行相似度比较,包括:4. The method for controlling low power consumption based on WiFi features according to claim 3, wherein the comparison of the similarity between the current WiFi features and the WiFi features in historical WiFi feature statistical results, comprising: 在所述当前WiFi特征中选取信号强度大于N的目标WiFi特征;Selecting a target WiFi feature whose signal strength is greater than N in the current WiFi features; 判断所述目标WiFi特征的数量是否达到预设数量K要求;其中,预设数量K为所述历史WiFi特征统计结果中前Q个WiFi特征中的K个WiFi特征。It is judged whether the number of the target WiFi features meets the requirement of a preset number K; wherein, the preset number K is the K WiFi features in the first Q WiFi features in the historical WiFi feature statistics. 5.根据权利要求4所述的基于WiFi特征的低功耗控制方法,其特征在于,还包括:5. The WiFi feature-based low power consumption control method according to claim 4, further comprising: 预置一位置计数器对可穿戴设备的位置变化进行计数,并通过所述计数器控制功耗状态切换。A position counter is preset to count the position change of the wearable device, and the power consumption state switching is controlled by the counter. 6.根据权利要求5所述的基于WiFi特征的低功耗控制方法,其特征在于,所述根据相似度比较结果对可穿戴设备进行低功耗控制,包括:6. The WiFi feature-based low power consumption control method according to claim 5, wherein the low power consumption control on the wearable device according to the similarity comparison result comprises: 当所述目标WiFi特征的数量达到预设数量K要求时,则判定可穿戴设备所处位置未发生变化,并控制可穿戴设备切换或者维持低功耗状态;When the number of the target WiFi features reaches the preset number K requirement, it is determined that the position of the wearable device has not changed, and the wearable device is controlled to switch or maintain a low power consumption state; 当所述目标WiFi特征的数量未达到预设数量K要求时,则将所述位置变化计数器的数值加1;When the number of the target WiFi features does not meet the requirement of the preset number K, then add 1 to the value of the position change counter; 当所述位置变化计数器的数值达到预设计数阈值时,则判定可穿戴设备所处位置发生变化,并上报位置变化及进行可穿戴设备位置更新,以及将所述位置变化计数器的数值清零。When the value of the position change counter reaches the preset count threshold, it is determined that the position of the wearable device has changed, the position change is reported and the position of the wearable device is updated, and the value of the position change counter is cleared. 7.根据权利要求5所述的基于WiFi特征的低功耗控制方法,其特征在于,所述根据当前WiFi特征对历史WiFi特征统计结果进行更新,包括:7. The WiFi feature-based low power consumption control method according to claim 5, wherein the updating historical WiFi feature statistical results according to the current WiFi feature, comprising: 判断所述当前WiFi特征与历史WiFi特征统计结果是否存在MAC相同的WiFi特征;Determine whether the current WiFi feature and the historical WiFi feature statistical results have WiFi features with the same MAC; 若存在相同的WiFi特征,则在所述预设特征集中对相同的WiFi特征的出现次数加1,并更新对应的时间戳;If there is the same WiFi feature, add 1 to the number of occurrences of the same WiFi feature in the preset feature set, and update the corresponding timestamp; 若未存在相同的WiFi特征,则判断历史WiFi特征统计结果中的WiFi特征总数是否达到预设数量阈值;If the same WiFi features do not exist, determine whether the total number of WiFi features in the historical WiFi feature statistics results reaches a preset number threshold; 当所述历史WiFi特征统计结果中的WiFi特征总数未达到预设数量阈值时,则将当前WiFi特征中的WiFi特征插入历史WiFi特征统计结果中;When the total number of WiFi features in the historical WiFi feature statistical results does not reach the preset number threshold, insert the WiFi features in the current WiFi features into the historical WiFi feature statistical results; 当所述历史WiFi特征统计结果中的WiFi特征总数达到预设数量阈值时,则根据历史WiFi特征统计结果中的WiFi特征数量,删除历史WiFi特征统计结果中时间戳距离当前时间最远的WiFi特征,并在删除后将待插入至历史WiFi特征统计结果中的WiFi特征插入至历史WiFi特征统计结果中;When the total number of WiFi features in the historical WiFi feature statistical results reaches the preset number threshold, then delete the WiFi features whose timestamp is farthest from the current time in the historical WiFi feature statistical results according to the number of WiFi features in the historical WiFi feature statistical results , and after deletion, insert the WiFi features to be inserted into the historical WiFi feature statistical results into the historical WiFi feature statistical results; 在所述历史WiFi特征统计结果完成更新后,根据累计出现次数对历史WiFi特征统计结果中的WiFi特征进行排列。After the historical WiFi feature statistical results are updated, the WiFi features in the historical WiFi feature statistical results are arranged according to the cumulative number of occurrences. 8.一种可穿戴设备,其特征在于,包括:8. A wearable device, comprising: 第一采集单元,用于根据定位周期,采集可穿戴设备所处环境的WiFi特征,并将采集的WiFi特征存储于当前WiFi特征中;a first collection unit, configured to collect the WiFi features of the environment where the wearable device is located according to the positioning cycle, and store the collected WiFi features in the current WiFi features; 相似度比较单元,用于将所述当前WiFi特征与历史WiFi特征统计结果中的WiFi特征进行相似度比较;a similarity comparison unit, configured to compare the similarity between the current WiFi feature and the WiFi feature in the historical WiFi feature statistical results; 低功耗控制单元,用于根据相似度比较结果对可穿戴设备进行低功耗控制;The low-power control unit is used to perform low-power control on the wearable device according to the similarity comparison result; 特征更新单元,用于根据当前WiFi特征对历史WiFi特征统计结果进行更新。The feature updating unit is configured to update the historical WiFi feature statistical results according to the current WiFi feature. 9.一种计算机设备,其特征在于,包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的基于WiFi特征的低功耗控制方法。9. A computer device, characterized in that it comprises a memory, a processor and a computer program stored on the memory and running on the processor, the processor implementing the computer program as claimed in the claims The WiFi feature-based low power consumption control method according to any one of 1 to 7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的基于WiFi特征的低功耗控制方法。10. A computer-readable storage medium, characterized in that, a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented. A low-power control method for WiFi features.
CN202210744132.XA 2022-06-27 2022-06-27 Low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable device and related medium Pending CN115134900A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210744132.XA CN115134900A (en) 2022-06-27 2022-06-27 Low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable device and related medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210744132.XA CN115134900A (en) 2022-06-27 2022-06-27 Low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable device and related medium

Publications (1)

Publication Number Publication Date
CN115134900A true CN115134900A (en) 2022-09-30

Family

ID=83380479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210744132.XA Pending CN115134900A (en) 2022-06-27 2022-06-27 Low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable device and related medium

Country Status (1)

Country Link
CN (1) CN115134900A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160219408A1 (en) * 2013-12-20 2016-07-28 Intel Corporation Wi-fi scan scheduling and power adaptation for low-power indoor location
WO2017219598A1 (en) * 2016-06-24 2017-12-28 华为技术有限公司 Positioning method and wearable device
CN110475333A (en) * 2019-08-19 2019-11-19 Oppo广东移动通信有限公司 Disconnect the method and relevant device of WIFI network
CN110505568A (en) * 2019-07-29 2019-11-26 广州杰赛科技股份有限公司 Power control method and device for wearable device and wearable device
US10575131B1 (en) * 2019-05-30 2020-02-25 Snap Inc. Wearable device location accuracy systems
CN111757439A (en) * 2019-08-08 2020-10-09 广东小天才科技有限公司 A kind of power consumption control method of wearable device and wearable device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160219408A1 (en) * 2013-12-20 2016-07-28 Intel Corporation Wi-fi scan scheduling and power adaptation for low-power indoor location
WO2017219598A1 (en) * 2016-06-24 2017-12-28 华为技术有限公司 Positioning method and wearable device
US10575131B1 (en) * 2019-05-30 2020-02-25 Snap Inc. Wearable device location accuracy systems
CN110505568A (en) * 2019-07-29 2019-11-26 广州杰赛科技股份有限公司 Power control method and device for wearable device and wearable device
CN111757439A (en) * 2019-08-08 2020-10-09 广东小天才科技有限公司 A kind of power consumption control method of wearable device and wearable device
CN110475333A (en) * 2019-08-19 2019-11-19 Oppo广东移动通信有限公司 Disconnect the method and relevant device of WIFI network

Similar Documents

Publication Publication Date Title
CN108415952B (en) User data storage method, label calculation method and calculation equipment
CN102129442B (en) Distributed database system and data accessing method
CN112180752A (en) System and method for automatically generating intelligent household scene linkage setting
CN102033882B (en) Method and system for storing performance data
CN110825733A (en) Multi-sampling-stream-oriented time series data management method and system
CN108171550B (en) Behavioral data analysis method, device and storage medium
CN110232074A (en) Flow data and dimension table correlating method and stream calculation device
CN104933175B (en) Performance data correlation analysis method and performance monitoring system
CN116860789A (en) Data distribution optimization method and distributed database system
CN103218416A (en) Method, device and system for loading database
CN109242176A (en) A kind of household electrical appliances user's behavior prediction method and device based on hidden Markov model
CN111143158A (en) Monitoring data real-time storage method and system, electronic equipment and storage medium
CN111505944B (en) Energy-saving control strategy learning method, and method and device for realizing air conditioning energy control
CN112988846B (en) Flow real-time statistical method and engine based on absolute time sliding window
CN106294546A (en) A kind of method of memory storage particular device port status data
CN115134900A (en) Low-power-consumption control method based on WiFi (Wireless Fidelity) characteristics, wearable device and related medium
CN117851846A (en) A method and device for enhancing load data based on user electricity usage habits
CN107291746B (en) Method and equipment for storing and reading data
CN111819550B (en) A data processing method and network device
CN110413607B (en) Distributed counting method, server and system
CN114676400A (en) Identity determination method, storage medium and electronic device
CN119511750A (en) A smart home control system based on artificial intelligence
CN117768870A (en) Device query method, electronic device and storage medium
CN118885492A (en) A label updating method based on LRU
CN100373379C (en) A method for collecting and processing equipment performance statistical data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220930