CN108958451A - A kind of data acquisition and communication means and device for wearable device - Google Patents
A kind of data acquisition and communication means and device for wearable device Download PDFInfo
- Publication number
- CN108958451A CN108958451A CN201810595508.9A CN201810595508A CN108958451A CN 108958451 A CN108958451 A CN 108958451A CN 201810595508 A CN201810595508 A CN 201810595508A CN 108958451 A CN108958451 A CN 108958451A
- Authority
- CN
- China
- Prior art keywords
- wearable device
- data
- threshold value
- acquisition
- data acquisition
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3212—Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
Abstract
The invention discloses a kind of data acquisitions for wearable device and communication means and device, method includes the following steps: the supply voltage value of S100, the current wearable device of acquisition;S200, judge whether the supply voltage value of current wearable device is greater than acquisition threshold value, if so, carrying out data acquisition according to the data volume stored in current wearable device caching, and execute step S300;Conversely, then terminating process;S300, judge whether the supply voltage value of current wearable device is greater than transmitting threshold value, if so, reading the data stored in wearable device caching, and send read data to host computer;Conversely, then terminating process.The present invention optimizes the utilization rate of self generation type wearable device electric energy by threshold decision, and extend self generation type wearable device uses the time, to improve the stability of self generation type wearable device.The present invention can be widely applied to self generation type wearable device field.
Description
Technical field
The present invention relates to self generation type wearable device field, especially a kind of data acquisition for wearable device and
Communication means and device.
Background technique
As technology develops, wearable device is popularized, and the type of wearable device increasingly increases in recent years.These
Equipment can be divided into battery power supply type and self generation type, the power supply module of the wearable device of self generation type according to its power supply mode
Generally it is made of storage unit (such as super capacitor) and generator unit, and often there is energy supply energy in self generation type wearable device
It measures small, energizes the problems such as unstable.
For this problem, traditional approach mainly passes through the energy supply ability that promoted, the design of optimization electric power management circuit and makes
Alleviate this problem with the hardware thinking such as low-power consumption element, however in reality, energy supply ability is often by generating set
The factors such as cost, volume, the quality of part restrict, and for the optimization of gas gauge circuit, there is also its objective limit, and mainstream is first
Device is while realizing low-power consumption, often to sacrifice partial properties as cost.Therefore, the optimization on plain hardware is insufficient
To meet the power demands of self generation type wearable device.It needs to improve in software strategy.
By the application scenarios analysis to wearable device, researcher has found that the main energetic consumption of wearable device exists
In the data acquisition of sensor and wireless communication.And the data acquisition of wearable device and communication strategy are mainly by dressing at present
It carries out to formula device periodically data acquisition and sends data to host computer.The problem of this strategy is that self generation type is dressed
The energy supply of formula equipment is mode that is unstable, acquiring and communicate according to periodic data, is not ensured that in each work
Wearable device can have enough electric energy to come data acquisition and communication in period, if self generation type wearable device exists
Data acquisition and communication are executed in the insufficient situation of electric energy, only electric energy can be consumed in vain, so that script electric energy is with regard to insufficient spontaneous
Electric type wearable device falls into unstable working condition.
In conclusion the data of the prior art, which are acquired, has that utilization rate of electrical is low with communication strategy.
Summary of the invention
In order to solve the above technical problems, it is an object of the invention to: provide a kind of utilization rate of electrical it is high for wearable
The data acquisition of equipment and communication means and device.
The first technical solution adopted by the present invention is:
A kind of data acquisition and communication means for wearable device, comprising the following steps:
S100, the supply voltage value for obtaining current wearable device;
S200, judge whether the supply voltage value of current wearable device is greater than acquisition threshold value, if so, according to currently wearing
It wears the data volume stored in formula equipment caching and carries out data acquisition, and execute step S300;Conversely, then terminating process;
S300, judge whether the supply voltage value of current wearable device is greater than transmitting threshold value, if so, reading wearable
The data stored in equipment caching, and read data are sent to host computer;Conversely, then terminating process;
The acquisition threshold value is less than transmitting threshold value, and the acquisition threshold value and transmitting threshold value are setting value.
Further, the step S200 is specifically included:
S201, judge whether the supply voltage value of current wearable device is greater than acquisition threshold value, if so, thening follow the steps
S202;Conversely, then terminating process;
S202, judge whether the data volume in current wearable device caching has reached the setting upper limit, if so, executing
Step S300;Conversely, then carrying out data acquisition, and will be in collected data write-in caching.
Further, following steps are additionally provided between step S100 and S200:
S150, judge whether the current voltage value of power supply is less than minimum operation threshold value, if so, thening follow the steps S151;Instead
It, thens follow the steps S200;
S151, by wearable device cache in data promptly sent or by wearable device cache in data
It stores in non-volatility memorizer, and terminates process;
The minimum operation threshold value is less than acquisition threshold value, and the minimum operation threshold value is setting value.
Further, the caching of the wearable device carries out the write-in and reading of data by the way of FIFO.
Further, step S100~S300 is periodically executed to set.
Further, the non-volatility memorizer is E2PROM or flash memory.
Second of technical solution adopted by the present invention is:
A kind of data acquisition and communication device for wearable device, including processor and program storage, the journey
Sequence memory is used to load described program to execute the data acquisition for wearable device for storing program, the processor
And communication means.
The beneficial effects of the present invention are: the present invention is by judging whether the supply voltage of current wearable device reaches acquisition
Threshold value and transmitting threshold value send operation to carry out data acquisition operations and data, can be avoided self generation type it is wearable electric energy not
Data acquisition is executed in the case where foot or data send the problem of operating and leading to waste of energy, and the present invention can guarantee data
The validity that acquisition and data are sent, optimizes the utilization rate of self generation type wearable device electric energy, extends self generation type and wear
That wears formula equipment uses the time, to improve the stability of self generation type wearable device.
Detailed description of the invention
Fig. 1 is a kind of flow chart of data acquisition and communication means for wearable device of the present invention;
Fig. 2 is the process of the data acquisition and communication means for wearable device of a kind of specific embodiment of the present invention
Figure;
Fig. 3 is the change curve of the supply voltage value of wearable device in a kind of specific embodiment of the present invention.
Specific embodiment
Referring to Fig.1, a kind of data acquisition and communication means for wearable device, comprising the following steps:
S100, the supply voltage value for obtaining current wearable device;
S200, judge whether the supply voltage value of current wearable device is greater than acquisition threshold value, if so, according to currently wearing
It wears the data volume stored in formula equipment caching and carries out data acquisition, and execute step S300;Conversely, then terminating process;
S300, judge whether the supply voltage value of current wearable device is greater than transmitting threshold value, if so, reading wearable
The data stored in equipment caching, and read data are sent to host computer;Conversely, then terminating process;
The acquisition threshold value is less than transmitting threshold value, and the acquisition threshold value and transmitting threshold value are setting value.
It is further used as preferred embodiment, the step S200 is specifically included:
S201, judge whether the supply voltage value of current wearable device is greater than acquisition threshold value, if so, thening follow the steps
S202;Conversely, then terminating process;
S202, judge whether the data volume in current wearable device caching has reached the setting upper limit, if so, executing
Step S300;Conversely, then carrying out data acquisition, and will be in collected data write-in caching.
It is further used as preferred embodiment, is additionally provided with following steps between step S100 and S200:
S150, judge whether the current voltage value of power supply is less than minimum operation threshold value, if so, thening follow the steps S151;Instead
It, thens follow the steps S200;
S151, by wearable device cache in data promptly sent or by wearable device cache in data
It stores in non-volatility memorizer, and terminates process;
The minimum operation threshold value is less than acquisition threshold value, and the minimum operation threshold value is setting value.
It is further used as preferred embodiment, the caching of the wearable device carries out data by the way of FIFO
Write-in and reading.
It is further used as preferred embodiment, periodically executes step S100~S300 to set.
It is further used as preferred embodiment, the non-volatility memorizer is E2PROM or flash memory.
A kind of data acquisition and communication device for wearable device corresponding with method in Fig. 1, including processor and
Program storage, described program memory is for storing program, and the processor is for loading described program to execute for wearing
Wear data acquisition and the communication means of formula equipment.
The present invention is further detailed with specific embodiment with reference to the accompanying drawings of the specification.
Referring to Fig. 2, a kind of data acquisition for wearable device and communication means, this method packet are present embodiments provided
Include following steps:
S100, the supply voltage value for obtaining current wearable device;
S150, judge whether the current voltage value of power supply is less than minimum operation threshold value, if so, thening follow the steps S151;Instead
It, thens follow the steps S201;
S151, by wearable device cache in data promptly sent or by wearable device cache in data
It stores in non-volatility memorizer, and terminates process;
S201, judge whether the supply voltage value of current wearable device is greater than acquisition threshold value, if so, thening follow the steps
S202;Conversely, then terminating process;
S202, judge whether the data volume in current wearable device caching has reached the setting upper limit, if so, executing
Step S300;Conversely, then carrying out data acquisition, and will be in collected data write-in caching.
S300, judge whether the supply voltage value of current wearable device is greater than transmitting threshold value, if so, reading wearable
The data stored in equipment caching, and read data are sent to host computer;Conversely, then terminating process;
The minimum operation threshold value is less than acquisition threshold value, and the acquisition threshold value is less than transmitting threshold value, the minimum operation threshold
Value, acquisition threshold value and transmitting threshold value are setting value.Those skilled in the art can the (energy of energy supply according to the actual situation
Power, the capacity of energy storage and device power consumption) flexibly set these values.
Each step in the present embodiment is executed according to certain period, for example, being executed once per second.It retouches for convenience
It states, in the present embodiment, a step S100~S300 will be executed and be referred to as a duty cycle.
Table 1
Fig. 3 shows the change curve of the supply voltage value of the wearable device during the work time of the present embodiment.Table 1 shows
Go out caching numerical value change corresponding with the change curve of the supply voltage value of wearable device in Fig. 3, in the present embodiment,
The capacity of caching is 3 datas, and the period in Fig. 3 and table 1 refers to the duty cycle.As shown in Figure 3 and Table 1, the present embodiment exists
Period 1, the supply voltage value of wearable device was all larger than acquisition threshold value into the period 3, and therefore, wearable device can be
Period 1 to the period 3 successively acquires data 1 to data 3, and data 1 to data 3 are in turn stored in cache unit 1
To cache unit 3.When the period 4 arrives, although the supply voltage value of wearable device has been more than acquisition threshold value,
Be since the data volume in caching at this time has reached the upper limit, then in the period 4, wearable device and without data
Acquisition.Therefore step S201 and step S202 are added, can avoids repeating data acquisition and leading to wave in the reasonable scope
Power-consuming energy.Since in the period 4, the supply voltage value of wearable device has reached transmitting threshold value, therefore wearable device meeting
Data in caching are read into the data in caching in the way of FIFO, and to host computer (including electronics such as mobile phone and plate
Equipment) send data 1 to 3, i.e., data 1 are first sent, data 2 are retransmited, finally just send data 3.After data 1-3 is sent,
It will empty the cache.In the present embodiment, the data in caching are disposably sent.In alternative embodiments, in caching
Data can also be sent by the way of one using primary.In the period 5, the supply voltage value of wearable device reaches acquisition
Threshold value, and the data in caching are sent completely, therefore wearable device can carry out data acquisition in the period 5, obtain
Obtain data 4.Come temporarily when the period 6, the supply voltage value of wearable device is dressed at this time already below minimum operation threshold value
Formula equipment promptly can be sent or be directly stored in E2PROM/ flash memory to the data 4 in cache unit.Add step S150
And S151, it is therefore intended that so that the acquired data of protection that have an opportunity before wearable device power down.
From the supply voltage value change curve of the wearable device in Fig. 3 can be seen that every time execute data acquisition or
After person's data are sent, the supply voltage value of wearable device can decline, reality of this phenomenon in self generation type wearable device
It is generally existing in the work of border.It is a kind of ideal working condition, i.e., each data acquisition or data hair shown in Fig. 3
After sending, wearable device produces enough electric energy again, so that carrying out interim, the power supply of wearable device in next duty cycle
Voltage value can achieve acquisition threshold value or transmitting threshold value again.However in a practical situation, since the wearable of self generation type is set
Standby electric energy production be it is unstable, the supply voltage value of wearable device may not can reach in each duty cycle to be adopted
Collect threshold value, therefore between the acquisition of data twice, multiple duty cycles may be separated by.Similarly, foot is generated in wearable device
In the case where enough electric energy, the supply voltage value of wearable device may be maintained always on transmitting threshold value, at this point, wearing
After data acquisition of the every execution of formula equipment, the operation of data transmission can be executed.It is with Intelligent insole (or intelligent shoe bottom)
Example, if user walks about always, electricity caused by Intelligent insole is enough that data sampling and data is maintained to send always, works as user
After stopping walking a period of time, the electric energy in insole has been not enough to that data is maintained to have sent, but still some is
Acquired data are not sent, and when the voltage of Intelligent insole drops to last operation threshold value, Intelligent insole is carried out most
It once sends afterwards or data saves, avoid the data for losing the part.Determine user not at this point, Intelligent insole is equivalent to
It moves again.When user walks again, Intelligent insole obtains electric energy again, if there being data in E2PROM, in intelligence
Data in E2PROM can be loaded into caching by the MCU of insole when powering on again, and send these data according to threshold decision.
The present embodiment judges the opportunity that data acquisition and data are sent according to the supply voltage value of wearable device, changes
Communication strategy between wearable device and host computer (mobile phone or plate etc.), optimizes the electricity of self generation type wearable device
It can utilize, avoid the problem of wearable device expends electric energy because executing invalid operation in electric energy deficiency situation, improve
The utilization rate of electric energy, increase self generation type wearable device uses the time, to increase self generation type wearable device
Stability.
Present embodiments provide a kind of device for executing method as shown in Figure 2, the device can be Intelligent bracelet or
The wearable devices such as Intelligent insole, described device include program storage and processor, and described program processor is for loading journey
The program stored in sequence memory is to execute method as shown in Figure 2.
It is to be illustrated to preferable implementation of the invention, but the present invention is not limited to the embodiment above, it is ripe
Various equivalent deformation or replacement can also be made on the premise of without prejudice to spirit of the invention by knowing those skilled in the art, this
Equivalent deformation or replacement are all included in the scope defined by the claims of the present application a bit.
Claims (6)
1. a kind of data acquisition and communication means for wearable device, which comprises the following steps:
S100, the supply voltage value for obtaining current wearable device;
S200, judge whether the supply voltage value of current wearable device is greater than acquisition threshold value, if so, according to current wearable
The data volume stored in equipment caching carries out data acquisition, and executes step S300;Conversely, then terminating process;
S300, judge whether the supply voltage value of current wearable device is greater than transmitting threshold value, if so, reading wearable device
The data stored in caching, and read data are sent to host computer;Conversely, then terminating process;
The acquisition threshold value is less than transmitting threshold value, and the acquisition threshold value and transmitting threshold value are setting value.
2. a kind of data acquisition and communication means for wearable device according to claim 1, it is characterised in that: institute
Step S200 is stated to specifically include:
S201, judge whether the supply voltage value of current wearable device is greater than acquisition threshold value, if so, thening follow the steps S202;
Conversely, then terminating process;
S202, judge whether the data volume in current wearable device caching has reached the setting upper limit, if so, thening follow the steps
S300;Conversely, then carrying out data acquisition, and will be in collected data write-in caching.
3. a kind of data acquisition and communication means for wearable device according to claim 1, it is characterised in that:
Following steps are additionally provided between step S100 and S200:
S150, judge whether the current voltage value of power supply is less than minimum operation threshold value, if so, thening follow the steps S151;Conversely, then
Execute step S200;
S151, by wearable device cache in data promptly sent or by wearable device cache in data store
Into non-volatility memorizer, and terminate process;
The minimum operation threshold value is less than acquisition threshold value, and the minimum operation threshold value is setting value.
4. a kind of data acquisition and communication means for wearable device according to claim 2, it is characterised in that: institute
The caching for stating wearable device carries out the write-in and reading of data by the way of FIFO.
5. a kind of data acquisition and communication means for wearable device according to claim 1, it is characterised in that: institute
Stating non-volatility memorizer is E2PROM or flash memory.
6. a kind of data acquisition and communication device for wearable device, it is characterised in that: stored including processor and program
Device, described program memory execute as described in claim 1 for storing program, the processor for loading described program
For wearable device data acquisition and communication means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810595508.9A CN108958451B (en) | 2018-06-11 | 2018-06-11 | Data acquisition and communication method and device for wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810595508.9A CN108958451B (en) | 2018-06-11 | 2018-06-11 | Data acquisition and communication method and device for wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108958451A true CN108958451A (en) | 2018-12-07 |
CN108958451B CN108958451B (en) | 2021-09-21 |
Family
ID=64488457
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810595508.9A Active CN108958451B (en) | 2018-06-11 | 2018-06-11 | Data acquisition and communication method and device for wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108958451B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110033598A (en) * | 2019-03-14 | 2019-07-19 | 李功伯 | Apparatus for correcting |
CN113155613A (en) * | 2021-04-22 | 2021-07-23 | 中煤科工集团重庆研究院有限公司 | Transmission device and method for transmitting electromagnetic waves through concrete |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783427A (en) * | 2010-01-19 | 2010-07-21 | 中兴通讯股份有限公司 | Intelligent charging method and intelligent charging device of terminal |
CN104641245A (en) * | 2014-05-30 | 2015-05-20 | 华为技术有限公司 | Method for detecting electric quantity of equipment, equipment, and system |
CN105244964A (en) * | 2015-10-31 | 2016-01-13 | 华为技术有限公司 | Intelligent wearable equipment and power supplying method thereof |
CN106712243A (en) * | 2017-01-06 | 2017-05-24 | 北京微能高芯科技有限公司 | Self-powered system of wearable device |
CN106961139A (en) * | 2017-04-14 | 2017-07-18 | 上海斐讯数据通信技术有限公司 | The continuation of the journey method for improving and Intelligent worn device of a kind of Intelligent worn device |
US9729693B1 (en) * | 2016-06-07 | 2017-08-08 | Huami Inc. | Determining measurement confidence for data collected from sensors of a wearable device |
CN107888750A (en) * | 2016-09-30 | 2018-04-06 | 河南星云慧通信技术有限公司 | It is a kind of to prevent that electricity exhausts and the method for lost contact in communication terminal device communication process |
-
2018
- 2018-06-11 CN CN201810595508.9A patent/CN108958451B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101783427A (en) * | 2010-01-19 | 2010-07-21 | 中兴通讯股份有限公司 | Intelligent charging method and intelligent charging device of terminal |
CN104641245A (en) * | 2014-05-30 | 2015-05-20 | 华为技术有限公司 | Method for detecting electric quantity of equipment, equipment, and system |
CN105244964A (en) * | 2015-10-31 | 2016-01-13 | 华为技术有限公司 | Intelligent wearable equipment and power supplying method thereof |
US9729693B1 (en) * | 2016-06-07 | 2017-08-08 | Huami Inc. | Determining measurement confidence for data collected from sensors of a wearable device |
CN107888750A (en) * | 2016-09-30 | 2018-04-06 | 河南星云慧通信技术有限公司 | It is a kind of to prevent that electricity exhausts and the method for lost contact in communication terminal device communication process |
CN106712243A (en) * | 2017-01-06 | 2017-05-24 | 北京微能高芯科技有限公司 | Self-powered system of wearable device |
CN106961139A (en) * | 2017-04-14 | 2017-07-18 | 上海斐讯数据通信技术有限公司 | The continuation of the journey method for improving and Intelligent worn device of a kind of Intelligent worn device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110033598A (en) * | 2019-03-14 | 2019-07-19 | 李功伯 | Apparatus for correcting |
CN113155613A (en) * | 2021-04-22 | 2021-07-23 | 中煤科工集团重庆研究院有限公司 | Transmission device and method for transmitting electromagnetic waves through concrete |
Also Published As
Publication number | Publication date |
---|---|
CN108958451B (en) | 2021-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9235252B2 (en) | Dynamic balancing of power across a plurality of processor domains according to power policy control bias | |
CN105830035B (en) | Multi-core dynamic workload management | |
CN103890693B (en) | Report updated threshold level based on parameter | |
CN102937830B (en) | Electric quantity management method and device of mobile equipment and mobile equipment | |
CN103201702B (en) | To the method and system that evaluation work load manages | |
JP2001229040A (en) | Method and device for managing intelligent power for distributed processing system | |
US20130124891A1 (en) | Efficient control of power consumption in portable sensing devices | |
CN106991030A (en) | A kind of light weight method of the system power dissipation optimization based on on-line study | |
TWI628538B (en) | Apparatus, energy management circuitry, and method for power signal interface | |
CN105359057A (en) | Setting computer parameters to operate the power supply within a range based on a peak power efficiency of the power supply | |
CN108958451A (en) | A kind of data acquisition and communication means and device for wearable device | |
Calhoun et al. | System design principles combining sub-threshold circuit and architectures with energy scavenging mechanisms | |
CN108521837A (en) | A kind of method for managing power supply, device and micro-energy charger based on micro-energy acquisition | |
CN105893141A (en) | Regulation control method and apparatus for multi-core processor and mobile terminal using method | |
Xiang et al. | Run-time management for multicore embedded systems with energy harvesting | |
Anagnostou et al. | Energy and power awareness in hardware schedulers for energy harvesting IoT SoCs | |
CN103677199B (en) | The method of information processing and the first electronic equipment | |
CN114090227A (en) | Energy efficient core voltage selection apparatus and method | |
CN103617475B (en) | A kind of energy efficiency management system and method for micro remote tracker | |
Fan et al. | Q-learning based backup for energy harvesting powered embedded systems | |
CN109714804A (en) | Cluster head election algorithm based on relative surplus energy and SEP agreement | |
Usman et al. | A comparative study of voltage/frequency scaling in NoC | |
CN102749869B (en) | On-satellite energy control system based on ARM (Advanced RISC Machine) | |
CN102999363A (en) | Method for starting field programmable gate array (FPGA)/digital signal processor (DSP) embedded system | |
CN109408242B (en) | Server resource online and offline method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |