CN106873770A - A kind of user behavior data storage method and system and a kind of wearable device - Google Patents

A kind of user behavior data storage method and system and a kind of wearable device Download PDF

Info

Publication number
CN106873770A
CN106873770A CN201611267606.7A CN201611267606A CN106873770A CN 106873770 A CN106873770 A CN 106873770A CN 201611267606 A CN201611267606 A CN 201611267606A CN 106873770 A CN106873770 A CN 106873770A
Authority
CN
China
Prior art keywords
user behavior
wearable device
event
caching
write
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
Application number
CN201611267606.7A
Other languages
Chinese (zh)
Other versions
CN106873770B (en
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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201611267606.7A priority Critical patent/CN106873770B/en
Publication of CN106873770A publication Critical patent/CN106873770A/en
Application granted granted Critical
Publication of CN106873770B publication Critical patent/CN106873770B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of user behavior data storage method and system and a kind of wearable device, the method includes:The event of some classifications is preset, using wearable device real-time monitoring user behavior, judges whether user behavior triggers a certain event;When monitoring that user behavior triggers a certain event, the event is stored in wearable device with the time for triggering the event;The user behavior data stored in wearable device is obtained using intelligent terminal, and user behavior data is sent to cloud server, cloud server can be analyzed and processed to user behavior data, in order to preferably be directed to the statistics of user behavior, for wearable product is upgraded and is safeguarded, so as to improve the Consumer's Experience of product, solve the problems, such as that existing wearable device cannot carry out simple efficient storage and upload to user behavior.

Description

A kind of user behavior data storage method and system and a kind of wearable device
Technical field
The present invention relates to technical field of electronic equipment, and in particular to a kind of user behavior data storage method and system and one Plant wearable device.
Background technology
User behavior data memory mechanism in wearable device, can make the main equipments such as mobile phone will pass through bluetooth etc. wireless User behavior data is read out in communication from wearable device, then stores data in cloud server by wireless network On, staff just can gather out the behavior record of user from this server, it is analyzed and is processed, can be preferably For the statistics of user behavior, wearable product is upgraded and safeguarded, or even later update, make product strengthen using Family is experienced, and is more suitable for the market demand.
User behavior data needs to be combined with big data treatment, user behavior could be effectively processed, so as to improve use Experience at family.In current most wearable device, the crawl of user data could not realize simple efficient storage and upload, And the treatment for facilitating the terminals such as mobile phone with the division of clearly form in storage of user behavior.General Intelligent bracelet class Equipment can only register the essential information of storage user, and such as height, body weight, age, sex can not be realized by dynamic system The motor behavior for counting user accurately to determine user movement rule that Consumer's Experience is not enough.
The content of the invention
The invention provides a kind of user behavior data storage method and system and a kind of wearable device, in order to user The efficient storage of behavioral data, in upload, is that wearable product is upgraded and safeguarded offer data basis, improves the use of product Experience at family.
According to an aspect of the present invention, the invention provides a kind of user behavior data storage method, including:
The event of some classifications is preset, using wearable device real-time monitoring user behavior, judges whether user behavior touches A certain event is sent out;
When monitoring that user behavior triggers a certain event, the event is arrived described with the time storage for triggering the event In wearable device;
Obtain the user behavior data stored in the wearable device using intelligent terminal, and by the user behavior number According to being sent to cloud server.
According to another aspect of the present invention, the invention provides a kind of wearable device, including:Sensor, storage are single Unit and communication unit;
The sensor, for real-time monitoring user behavior, judges whether user behavior triggers a certain default event;
The memory cell, for when the Sensor monitoring to user behavior triggers a certain event, storing the thing Part and the time for triggering the event;
The communication unit, is connected for being set up with intelligent terminal, the user behavior data that the memory cell is stored Cloud server is sent to by the intelligent terminal.
According to a further aspect of the invention, the invention provides a kind of user behavior data storage system, including:High in the clouds Server, intelligent terminal and above-mentioned wearable device;
The wearable device, for real-time monitoring user behavior, stores user behavior data;
The intelligent terminal, for obtaining the user behavior data stored in the wearable device, and by the user Behavioral data is sent to cloud server.
The beneficial effects of the invention are as follows:The embodiment of the present invention utilizes wearable device real-time monitoring user behavior, judges to use Whether family behavior triggers default a certain event;When monitoring that user behavior triggers a certain event, by the event and triggering The time of the event is stored in wearable device, and the user stored in wearable device is obtained using intelligent terminals such as mobile phones Behavioral data, most user behavior data is sent to cloud server at last, realizes real-time, the simple height of user behavior data The storage of effect and upload.Cloud server can be analyzed and processed to user behavior data, in order to preferably for use The statistics of family behavior, is that wearable product is upgraded and safeguarded, so as to improve the Consumer's Experience of product.
Brief description of the drawings
Fig. 1 is a kind of flow chart of user behavior data storage method that one embodiment of the invention is provided;
Fig. 2 is the schematic diagram of flash memory circulation storage in one embodiment of the invention;
Fig. 3 is a kind of particular flow sheet of user behavior data storage method that one embodiment of the invention is provided;
Fig. 4 is a kind of functional block diagram of wearable device that one embodiment of the invention is provided;
Fig. 5 is a kind of functional block diagram of user behavior data storage system that one embodiment of the invention is provided.
Specific embodiment
Design concept of the invention is:Existing wearable device cannot realize that user behavior data is simply efficiently stored With upload, many wearable devices can only register the essential information of storage user, such as height, body weight, age, sex, it is impossible to Dynamic statistics user behavior feeds back upgrading products, and Consumer's Experience is not enough.For such case, the present invention utilizes wearable device Real-time monitoring user behavior, judges whether user behavior triggers default a certain event;When monitoring that user behavior triggers certain During one event, the event is stored in wearable device with the time for triggering the event, and obtained using intelligent terminals such as mobile phones The user behavior data stored in wearable device is taken, most user behavior data is sent to cloud server at last, realizes use Real-time, simple efficient storage and the upload of family behavioral data.Cloud server can be analyzed user behavior data And treatment, it is that wearable product is upgraded and safeguarded, so as to improve product in order to preferably be directed to the statistics of user behavior Consumer's Experience.
Embodiment one
Fig. 1 is a kind of flow chart of user behavior data storage method that one embodiment of the invention is provided, such as Fig. 1 institutes Show, the user behavior data storage method that the present embodiment is provided includes:
Step S110:The event (event) of some classifications is preset, using wearable device real-time monitoring user behavior, is sentenced Whether disconnected user behavior triggers a certain event.
Wearable device can be the equipment, the exercise data of real-time monitoring user such as intelligent watch, bracelet.Certainly, user Behavioral data is not limited to exercise data, and it includes all of user behavior, the even behavior of animal and machinery or state.
Step S120:When monitoring that user behavior triggers a certain event, the event is deposited with the time for triggering the event In storing up wearable device.
The RCT times of wearable device are converted into the UNIX times by a preferred embodiment of the present invention, and by user behavior The event of triggering is assembled into data frame with the UNIX times for triggering the event, and the basic format of frame is as shown in the table:
Each data frame packet contains eight bytes, wherein the event information of different stage can be preserved, the event of different stage can To be the relation for including up and down, for example, wrist bright screen event is once lifted, be then Sensor Events, next stage lift wrist thing by classification storage Part, then next stage bright screen event.
In the caching (buffer) of the data frame write-in wearable device for assembling, caching is dimensioned to one page 512 Byte, aligns data frame with caching when in the data frame write-in caching by 8 bytes, the first start of frame bits that will be write Put and alignd with the original position of caching, in order to caching be write into full, be easy to operation, be also sufficiently used spatial cache.
After caching is write completely, all data frames that will be stored in caching write the flash memory (nor flash) of wearable device Appropriate address in preserve and empty caching, a corresponding user behavior data is preserved in each data frame.Flash memory write expires Afterwards, return to user behavior data original position in a flash memory to continue to write to so that flash chip can be reused, downward Before one adjacent sector (sector) write-in data, first by the sector erasing, data are then write, make the user of new acquisition Behavioral data covers old user behavior data, as shown in Figure 2.
In order to improve Real time Efficiency, it is further preferred that the caching of wearable device is ping-pong buffer, including two pieces slow Deposit, alternate and use, when one piece of caching write-in, another piece of caching can improve operation speed simultaneously in processing data Degree.
Step S130:The user behavior data stored in wearable device is obtained using intelligent terminals such as mobile phones, and will be used Family behavioral data is sent to cloud server.
Server is analyzed and processed to user behavior data beyond the clouds, can preferably for the system of user behavior Meter, is that wearable product is upgraded and safeguarded, so as to wearable device be combined with the analysis of user behavior big data, is carried The Consumer's Experience of high product, makes product be more suitable for the market demand.
Embodiment two
Fig. 3 is a kind of particular flow sheet of user behavior data storage method that one embodiment of the invention is provided, such as Fig. 3 Shown, in the present embodiment, user behavior data storage method is specifically included:
Step S310:Start with the wearable devices such as Intelligent bracelet carries out real-time monitoring to user behavior.
Step S320:Judge whether user behavior triggers default a certain event, such as bright screen, lift wrist, event of running, If then continuing executing with step S330, otherwise return to step S310, continue to monitor user behavior.
Step S330:The event of triggering and the time for triggering the event are assembled into framing, is now needed smart machine Built-in RTC time is converted into the UNIX times.
Step S340:The frame write-in caching that will be assembled, frame should align with caching.Ping-pong buffer can be selected, to carry Operational efficiency high.
Step S350:Judge whether caching writes full, if caching does not write full, return to step S310 continues to monitor user's row If caching has write full, to continue executing with step S360.
Step S360:Judge whether the sector for needing to wipe flash memory, if then performing step S370;Otherwise directly perform step Rapid S380.
Step S370:Erasing sector.
Step S380:By the appropriate address in data cached write-in flash memory, message can be stored by sending a page To memory threads, the data write-in of flash memory is carried out.
Step S390:The data in caching, and then return to step S310 are emptied, continues to monitor user behavior.
Embodiment three
Fig. 4 is a kind of functional block diagram of wearable device that one embodiment of the invention is provided, as shown in figure 4, this implementation The wearable device 400 that example is provided includes sensor 410, memory cell 420 and communication unit 430.
Sensor 410 is used for real-time monitoring user behavior, judges whether user behavior triggers a certain default event, such as Gyroscope, accelerometer, magnetometer, range sensor etc..Memory cell 420 is used to monitor user behavior when sensor 410 When triggering a certain event, store the event and trigger the time of the event.Communication unit 430 is used to be set up with intelligent terminal 440 Connection, the user behavior data that memory cell 420 is stored is sent to cloud server by intelligent terminal 440.
In a preferred embodiment, wearable device 400 also includes clock chip 450 and frame module units 460.
The RCT times that frame module units 460 provides clock chip 450 are converted into UNIX times, and the event that will be triggered Data frame is assembled into the UNIX times for triggering the event.
Memory cell 420 includes caching 421 and flash memory 422.The number that memory cell 420 assembles frame module units 460 According to frame write-in caching 421, after caching 421 is write completely, memory cell 420 will cache the user behavior data stored in 421 and write Enter preservation in flash memory 422, and empty caching 421.
In order to improve operational efficiency, ping-pong buffer can be selected, the size for setting caching is 512 bytes, sets data frame Size be 8 bytes, frame alignment caching is stored, caching just can be write full.
In another preferred embodiment, after a sector of flash memory 422 is write completely, memory cell 420 is wiped and currently write Enter the adjacent next adjacent sector in position, and continue to write data to the sector;After flash memory 422 is write completely, memory cell The original position of 420 return flash memories 422 re-writes user behavior data.
Example IV
Fig. 5 is a kind of functional block diagram of user behavior data storage system that one embodiment of the invention is provided, such as Fig. 5 institutes Show, the user behavior data storage system that the present embodiment is provided includes cloud server 510, intelligent terminal 520 and above-mentioned reality Apply the wearable device 530 in example three.
The real-time monitoring user behavior of wearable device 530, stores user behavior data, and intelligent terminal 520, such as mobile phone set It is standby, the user behavior data stored in wearable device 530 is obtained, and user behavior data is sent to cloud server 510, Cloud server 510 can be analyzed and processed to user behavior data, in order to preferably be directed to the statistics of user behavior, For wearable product is upgraded and is safeguarded, so as to improve the Consumer's Experience of product.
The above, specific embodiment only of the invention, under above-mentioned teaching of the invention, those skilled in the art Other improvement or deformation can be carried out on the basis of above-described embodiment.It will be understood by those skilled in the art that above-mentioned tool The purpose of the present invention is simply preferably explained in body description, and protection scope of the present invention should be defined by scope of the claims.

Claims (9)

1. a kind of user behavior data storage method, it is characterised in that including:
The event of some classifications is preset, using wearable device real-time monitoring user behavior, judges whether user behavior triggers A certain event;
When monitoring that user behavior triggers a certain event, the event can be worn with the time storage for triggering the event to described In wearing equipment;
The user behavior data stored in the wearable device is obtained using intelligent terminal, and the user behavior data is sent out It is sent to cloud server.
2. the method for claim 1, it is characterised in that described by the event and to trigger the time storage of the event and arrive In the wearable device, specifically include:
The RCT times of the wearable device are converted into the UNIX times, by the event and the UNIX times for triggering the event It is assembled into data frame;
By in the caching of the data frame write-in wearable device;
After the caching of the wearable device is write completely, the user behavior data write-in that will be stored in the caching is described wearable Preserved in the flash memory of equipment, and empty the caching.
3. method as claimed in claim 2, it is characterised in that methods described also includes:
When a sector of the flash memory of the wearable device is write it is full after, wipe adjacent with presently written position next adjacent Sector, and continue to the sector write data;
After the flash memory write of the wearable device is full, the original position for returning to the flash memory re-writes.
4. method as claimed in claim 2, it is characterised in that the caching of the wearable device is ping-pong buffer, size is 512 bytes, the size of the data frame is 8 bytes.
5. a kind of wearable device, it is characterised in that including sensor, memory cell and communication unit;
The sensor, for real-time monitoring user behavior, judges whether user behavior triggers a certain default event;
The memory cell, for when the Sensor monitoring to user behavior triggers a certain event, store the event with Trigger the time of the event;
The communication unit, is connected for being set up with intelligent terminal, and the user behavior data that the memory cell is stored is passed through The intelligent terminal is sent to cloud server.
6. wearable device as claimed in claim 5, it is characterised in that the wearable device also includes clock chip and frame Module units;
The frame module units, for the RCT times that the clock chip is provided to be converted into the UNIX times, by the event with The UNIX times for triggering the event are assembled into data frame;
The memory cell includes caching and flash memory;
The memory cell is specifically for by the data frame write-in caching;After the caching writes full, will be described slow The user behavior data of storage is preserved in writing the flash memory, and empties the caching.
7. wearable device as claimed in claim 6, it is characterised in that the memory cell is additionally operable to:
After a sector of the flash memory is write completely, the erasing next adjacent sector adjacent with presently written position, and after Continue and write data to the sector;
After the flash memory write is full, the original position for returning to the flash memory re-writes.
8. wearable device as claimed in claim 6, it is characterised in that the caching is ping-pong buffer, size is 512 words Section, the size of the data frame is 8 bytes.
9. a kind of user behavior data storage system, it is characterised in that including cloud server, intelligent terminal and as right will Seek the wearable device described in any one of 5-8;
The wearable device, for real-time monitoring user behavior, stores user behavior data;
The intelligent terminal, for obtaining the user behavior data stored in the wearable device, and by the user behavior Data is activation is to cloud server.
CN201611267606.7A 2016-12-31 2016-12-31 User behavior data storage method and system and wearable device Active CN106873770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611267606.7A CN106873770B (en) 2016-12-31 2016-12-31 User behavior data storage method and system and wearable device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611267606.7A CN106873770B (en) 2016-12-31 2016-12-31 User behavior data storage method and system and wearable device

Publications (2)

Publication Number Publication Date
CN106873770A true CN106873770A (en) 2017-06-20
CN106873770B CN106873770B (en) 2020-07-10

Family

ID=59164166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611267606.7A Active CN106873770B (en) 2016-12-31 2016-12-31 User behavior data storage method and system and wearable device

Country Status (1)

Country Link
CN (1) CN106873770B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111376255A (en) * 2018-12-29 2020-07-07 深圳市优必选科技有限公司 Robot data acquisition method and device and terminal equipment
CN111724878A (en) * 2020-06-23 2020-09-29 歌尔科技有限公司 A data acquisition method, device and equipment thereof
CN114220515A (en) * 2021-12-16 2022-03-22 珠海格力电器股份有限公司 Data processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166827A (en) * 2011-12-09 2013-06-19 北京神州泰岳软件股份有限公司 Method and system for user behavior data reporting
US20140249891A1 (en) * 2013-02-14 2014-09-04 Sociometric Solutions, Inc. Social Sensing And Behavior Analysis System
CN104301528A (en) * 2014-09-28 2015-01-21 小米科技有限责任公司 Information displaying method and device
CN104867309A (en) * 2015-04-30 2015-08-26 深圳市全球锁安防系统工程有限公司 Middle aged and elderly people good health service intelligent wearing device and deep learning method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103166827A (en) * 2011-12-09 2013-06-19 北京神州泰岳软件股份有限公司 Method and system for user behavior data reporting
US20140249891A1 (en) * 2013-02-14 2014-09-04 Sociometric Solutions, Inc. Social Sensing And Behavior Analysis System
CN104301528A (en) * 2014-09-28 2015-01-21 小米科技有限责任公司 Information displaying method and device
CN104867309A (en) * 2015-04-30 2015-08-26 深圳市全球锁安防系统工程有限公司 Middle aged and elderly people good health service intelligent wearing device and deep learning method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111376255A (en) * 2018-12-29 2020-07-07 深圳市优必选科技有限公司 Robot data acquisition method and device and terminal equipment
CN111376255B (en) * 2018-12-29 2022-06-24 深圳市优必选科技有限公司 Robot data acquisition method and device and terminal equipment
CN111724878A (en) * 2020-06-23 2020-09-29 歌尔科技有限公司 A data acquisition method, device and equipment thereof
CN114220515A (en) * 2021-12-16 2022-03-22 珠海格力电器股份有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN106873770B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN107577706B (en) User behavior data processing method, device and computer readable storage medium
WO2016209517A1 (en) Techniques to save or delete a video clip
CN106873770A (en) A kind of user behavior data storage method and system and a kind of wearable device
CN108509299A (en) Message treatment method, equipment and computer readable storage medium
CN102981944B (en) A kind of log storing method based on file system
CN109872362A (en) A kind of object detection method and device
CN104346224B (en) It is terminated using group page fault descriptor to handle context switching and process
CN107229673A (en) Method for writing data, Hbase terminals and the storage medium of Hbase databases
CN207306182U (en) A kind of Intelligent fire-fighting helmet device based on WIFI transmission
CN108737487B (en) Data synchronization method and device, storage medium and electronic device
CN114090375A (en) Log storage method and device and storage medium
CN108030467A (en) Electronic bracelet and computer readable storage medium
CN104243683B (en) A kind of method, terminal, Subscriber Identity Module and system handling data
CN113949673A (en) Sensor data processing method and device, wearable electronic equipment and storage medium
CN107864408A (en) Information displaying method, apparatus and system
CN108052516A (en) The display methods of picture, device and mobile terminal in multidate information
CN108377292A (en) Solve method, terminal, server and the computer storage media of RAM leakage
CN106682014B (en) Game display data generation method and device
CN108062669A (en) A kind of method of payment, terminal and computer readable storage medium
CN104967770B (en) Video capture method and device
CN101998135A (en) System for collecting and playing mobile television signal and control method
CN107704591A (en) A kind of data processing method of the intelligent wearable device based on cloud computing non-database framework
CN104503867B (en) A kind of extension cabinet go offline and reconnect after disaster automatic recovery method
CN101741574A (en) A data card with traffic statistics, data card use system and implementation method
CN201608730U (en) A data card with traffic statistics and a data card usage system

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