CN104580403B - A kind of data statistical approach and its system, user terminal, application server - Google Patents
A kind of data statistical approach and its system, user terminal, application server Download PDFInfo
- Publication number
- CN104580403B CN104580403B CN201410814242.4A CN201410814242A CN104580403B CN 104580403 B CN104580403 B CN 104580403B CN 201410814242 A CN201410814242 A CN 201410814242A CN 104580403 B CN104580403 B CN 104580403B
- Authority
- CN
- China
- Prior art keywords
- exercise data
- wearable device
- movable information
- user terminal
- record moment
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols 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)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
The embodiment of the present invention discloses a kind of data statistical approach and its system, user terminal, application server, and wherein method comprises the steps:User terminal sends movable information request to wearable device, and obtains the movable information currently being recorded that described wearable device returns according to the request of described movable information;Described user terminal calculates the exercise data increment in the current preset time period according to described movable information, and described exercise data increment is packaged process using the ID based on interactive application;Described user terminal sends the described exercise data increment after encapsulation process to application server;Described application server is updated to the corresponding exercise data list of described ID using described exercise data increment, and exports described exercise data list.Can realize the intercommunication of movable information, increase the function of wearable device, between lifting user based on movable information can be interactive.
Description
Technical field
The present invention relates to Internet technical field, more particularly, to a kind of data statistical approach and its system, user terminal, should
Use server.
Background technology
Constantly develop and perfect with computer technology, portable computer gradually steps in daily life,
By by portable computer with wearable items (for example:Wrist-watch, bracelet, chaining, glasses etc.) be combined formation wearable
Equipment, convenient for users to use.
Wearable device carries out the small electronic equipment of activity out as being worn on user, it can record
The exercise data of user's daily exercise is (for example:Walking and/or the step number run, distance etc.), to provide user more intuitively
Quantity of motion is shown, but user is only capable of understanding the exercise data of itself by wearable device, leads to the function of wearable device
More single, and due to wearable device between cannot set up connection, therefore user also cannot be by understanding the fortune of other users
Dynamic data, is combined analysis to the exercise data of itself, and then have impact on interactive between wearable device.
Content of the invention
The embodiment of the present invention provides a kind of data statistical approach and its system, user terminal, application server, it is possible to achieve
The intercommunication of movable information, increase wearable device function, lifting user between based on movable information can be interactive.
In order to solve above-mentioned technical problem, embodiment of the present invention first aspect provides a kind of data statistical approach, can wrap
Include:
User terminal sends movable information request to wearable device, and obtains described wearable device according to described motion
The movable information currently being recorded that information request returns;
Described user terminal calculates the exercise data increment in the current preset time period according to described movable information, and adopts
ID based on interactive application is packaged to described exercise data increment processing;
Described user terminal sends the described exercise data increment after encapsulation process to application server;
Described application server is entered to the corresponding exercise data list of described ID using described exercise data increment
Row updates, and exports described exercise data list.
Embodiment of the present invention second aspect provides a kind of data statistical approach, it may include:
Send movable information request to wearable device, and obtain described wearable device and returned according to described request of data
The movable information currently being recorded;
Exercise data increment in the current preset time period is calculated according to described movable information, and using based on interactive application
ID described exercise data increment is packaged process;
Described exercise data increment after encapsulation process is sent to application server, so that described application server adopts
Described exercise data increment is updated to the corresponding exercise data list of described ID, and makes described application server defeated
Go out described exercise data list.
The embodiment of the present invention third aspect provides a kind of data statistical approach, it may include:
Exercise data increment after the encapsulation process that receive user terminal sends, the exercise data after described encapsulation process increases
Measure the movable information currently being recorded returning by described user terminal according to wearable device calculated, and using being based on
The ID of interactive application is packaged the exercise data increment in the current preset time period of process;
Using described exercise data increment, the corresponding exercise data list of described ID is updated;
Export described exercise data list.
Embodiment of the present invention fourth aspect provides a kind of user terminal, it may include:
Information acquisition unit, for sending movable information request to wearable device, and obtains described wearable device root
The movable information currently being recorded returning according to described request of data;
Data packaging unit, for calculating the exercise data increment in the current preset time period according to described movable information,
And described exercise data increment is packaged process using the ID based on interactive application;
Data transmission unit, for the described exercise data increment after encapsulation process is sent to application server, so that
Described application server is updated to the corresponding exercise data list of described ID using described exercise data increment, and
Described application server is made to export described exercise data list.
The embodiment of the present invention the 5th aspect provides a kind of application server, it may include:
Data receipt unit, the exercise data increment after the encapsulation process sending for receive user terminal, described encapsulation
The movable information meter currently being recorded that exercise data increment after process returns according to wearable device by described user terminal
Obtain, and using the exercise data being packaged based on the ID of interactive application in the current preset time period of process
Increment;
List update unit, for using described exercise data increment to the corresponding exercise data list of described ID
It is updated;
List output unit, for exporting described exercise data list.
The embodiment of the present invention the 6th aspect provides a kind of data statistics system, it may include the use that above-mentioned fourth aspect provides
Family terminal and the application server of above-mentioned 5th aspect offer, also include wearable device;Wherein,
Described wearable device, for when receiving the movable information request that described user terminal sends, according to described
The movable information currently being recorded is back to described user terminal by movable information request.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of data statistical approach provided in an embodiment of the present invention;
Fig. 2 is a kind of flow process sequential chart of data statistical approach provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind data statistical approach provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another data statistical approach provided in an embodiment of the present invention;
Fig. 5 is the schematic flow sheet of another data statistical approach provided in an embodiment of the present invention;
Fig. 6 is the schematic flow sheet of another data statistical approach provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of user terminal provided in an embodiment of the present invention;
Fig. 8 is the structural representation of information acquisition unit provided in an embodiment of the present invention;
Fig. 9 is the structural representation of data packaging unit provided in an embodiment of the present invention;
Figure 10 is the structural representation embodiments providing another kind of user terminal;
Figure 11 is the structural representation of another user terminal provided in an embodiment of the present invention;
Figure 12 is a kind of structural representation of application server provided in an embodiment of the present invention;
Figure 13 is the structural representation embodiments providing another kind of application server;
Figure 14 is the structural representation of list update unit provided in an embodiment of the present invention;
Figure 15 is the structural representation of another application server provided in an embodiment of the present invention;
Figure 16 is a kind of structural representation of data statistics system provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of not making creative work
Embodiment, broadly falls into the scope of protection of the invention.
Data statistical approach described in the embodiment of the present invention can apply to the scene of the statistics of user's daily exercise information,
For example:The wearable device that user terminal is worn to user sends movable information request, and obtain described wearable device according to
The movable information currently being recorded that described movable information request returns, described user terminal calculates according to described movable information works as
Exercise data increment in front preset time period, and using the ID based on interactive application, described exercise data increment is entered
Row encapsulation process, described user terminal sends the described exercise data increment after encapsulation process to application server, described should
Using described exercise data increment, the corresponding exercise data list of described ID is updated with server, and exports institute
State exercise data list.Achieve the intercommunication of exercise data by the output of exercise data list, extracted and can be worn by user terminal
Wear the movable information in equipment and finally realize the displaying of exercise data list, indirectly increased the function of wearable device,
Exercise data can mutually be checked between user, improve between user based on movable information can be interactive.
The present embodiments relate to wearable device can be to comprise the wearable items of portable computer, for example:
Wrist-watch, bracelet, chaining, glasses etc., it can also comprise motion sensor, for example:Inertial sensor, inertial sensor includes adding
Velocity sensor and angular-rate sensor, and the single, double, triple axle combination Inertial Measurement Unit of both sensors
(Inertial Measurement Unit, IMU) and attitude heading reference system (Automatic Heading Reference
System, AHRS), acceleration transducer preferably MEMS (Micro-Electro-Mechanical System,
MEMS) accelerometer, it is the sensor of the inertia force measurement using sensing quality, generally has standard quality block (sensing element)
Form with testing circuit, described IMU is mainly made up of three mems accelerometers, three gyros and resolving circuit;Described use
Family terminal can include:Panel computer, smart mobile phone, notebook computer, palm PC and mobile internet device (MID) etc.
Terminal unit, or can be the data statisticss client in described terminal unit;Described application server can be for comprising to count
According to statistics, the function such as data storage, data publication is in interior background devices.
Below in conjunction with accompanying drawing 1- accompanying drawing 6, a kind of data statistical approach provided in an embodiment of the present invention is situated between in detail
Continue.
Refer to Fig. 1, for embodiments providing a kind of schematic flow sheet of data statistical approach.As shown in figure 1,
The embodiment of the present invention illustrates the idiographic flow of data processing method, the method bag jointly from subscriber terminal side and application server side
Include following steps S101- step S104.
S101, user terminal sends movable information request to wearable device, and obtains described wearable device according to institute
State the movable information currently being recorded that movable information request returns;
Specifically, user terminal can send movable information to wearable device and ask it is preferred that described user terminal can
Movable information request is sent to described wearable device with timing, for example:Send a movable information request every two hours
Deng described wearable device can read exercise data total amount from the sensor of itself, such as:Walking and/or the step run
Number, distance etc., obtain the current record moment simultaneously, and described wearable device will carry described current record moment, Yi Jisuo
The movable information stating current record moment corresponding exercise data total amount sends to described user terminal to respond described motion letter
Breath request, described user terminal obtains the movable information currently being recorded that described wearable device returns.
It is understood that described user terminal, before sending movable information request to described wearable device, needs
Set up communication connection with described wearable device in advance, described communication connection can be to enter using wired or wireless connected mode
Row is set up, and radio connection can include wireless network, bluetooth, wireless near field communication (Near Field
Communication, NFC) etc., due to needing extra data wire etc. to be attached using wired connection mode, easily cause
Cost wastes, and then needs just can carry out in the environment of possessing wireless network using the connected mode of wireless network, affects number
Efficiency according to statistics, and certain customers' terminal may not possess the function of NFC, the therefore embodiment of the present invention adopts bluetooth connection side
Formula is set up Bluetooth communication with described wearable device and is connected.Described user terminal can remain and described wearable device
Communication connection, it is of course also possible to the time in movable information request transmission is interim, carries out communication link with described wearable device
The foundation connecing.
S102, described user terminal calculates the exercise data increment in the current preset time period according to described movable information,
And described exercise data increment is packaged process using the ID based on interactive application;
Specifically, because the exercise data of described wearable device record will not be reset, therefore a certain pre- to calculate
If in the time period (for example:In two hours) exercise data, then described user terminal require to look up based on the current record moment
A upper record moment corresponding exercise data total amount, and record moment corresponding exercise data total amount and institute to described upper one
State current record moment corresponding exercise data total amount to be calculated, obtain a described upper record moment to during described current record
Exercise data increment between quarter, described user terminal can be increased to described exercise data based on the ID logging in interactive application
Amount is packaged processing, and described ID is divided when described interactive application being registered by described user terminal owning user
The user's serial number (Identity, ID) joined or inputted.Increased in preset time period described in described exercise data incremental representation
Plus exercise data, for ending motion corresponding to ID described in the current record moment for subsequent applications server statistics
Data provides the foundation that data increases.Described interactive application is preferably instant messaging application.
S103, described user terminal sends the described exercise data increment after encapsulation process to application server;
Specifically, described user terminal sends the described exercise data increment after encapsulation process to described application service
Device, the described exercise data increment after described encapsulation process carries described ID.
S104, described application server adopts described exercise data increment, and to described ID, corresponding exercise data arranges
Table is updated, and exports described exercise data list;
Specifically, described application server receives the described motion number after the described encapsulation process that described user terminal sends
According to increment, and using described exercise data increment, the corresponding exercise data list of described ID is updated it is preferred that
Described application server can obtain the corresponding exercise data of described ID being stored, and is increased using described exercise data
To described ID, corresponding exercise data is updated amount, and described application server is obtained and is associated with described ID
At least one interactive user mark in each interactive user identify corresponding exercise data, described application server is using default
Sortord, identifies corresponding motion number to the corresponding exercise data of ID after updating and each interactive user described
According to be ranked up process, and sequence process after generate exercise data list.
It is understood that the corresponding exercise data of described ID in described application server is for recording certain
In one time period (for example:The 0 of the same day is when the 24 of the same day) summation of the exercise data increment of described user terminal uploads, example
As:If described user terminal uploads an exercise data increment every two hours, described application server can be from the 0 of the same day
When start that corresponding exercise data is updated to described ID every two hours, until the same day 24 when, enter every time
After row updates, it is required for the described exercise data list of corresponding renewal, also exist and institute in described exercise data list meanwhile
State other associated interactive user of ID to identify (for example:Possess the other users mark of friend relation) corresponding motion
Data, by being ranked up to these exercise datas, generates exercise data list.Described application server can be to described motion
Data list is exported, it should be noted that the mode that described application server exports to described exercise data list is permissible
It is to send described exercise data list according to described ID to be shown to described user terminal, or can will be described
Exercise data list sends to the corresponding public group of the public identifier based on described interactive application, belonging to described user terminal
User can enter described public group by described ID and consult described exercise data list.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive.
Refer to Fig. 2, for embodiments providing a kind of flow process sequential chart of data statistical approach.As shown in Fig. 2
The embodiment of the present invention illustrates the concrete of data processing method jointly from wearable device side, subscriber terminal side and application server side
Flow process, the method comprises the following steps S201- step S213.
S201, user terminal is set up Bluetooth communication using bluetooth connection mode and wearable device and is connected;
Specifically, user terminal, before being communicated with wearable device, needs to build with described wearable device in advance
Vertical communication connection, described communication connection can be to be set up using wired or wireless connected mode, and radio connection can
To include wireless network, bluetooth, NFC etc., due to needing extra data wire etc. to be attached using wired connection mode, easily
Cause cost to waste, and then need just can carry out in the environment of possessing wireless network using the connected mode of wireless network, shadow
Ring the efficiency of data statisticss, and certain customers' terminal may not possess the function of NFC, the therefore embodiment of the present invention adopts bluetooth even
The mode that connects is set up Bluetooth communication with described wearable device and is connected.Described user terminal can remain and wearable set with described
Standby communication connection, it is of course also possible to the time in movable information request transmission is interim, is led to described wearable device
Letter establishment of connection.
It should be noted that described wearable device can include at least one wearable device, that is, when user can be only
Have a wearable device, or multiple wearable devices can be had simultaneously, therefore described user terminal need with described
The foundation that each wearable device at least one wearable device is all communicatively coupled.
S202, user terminal sends movable information request to each wearable device at least one wearable device,
And obtain the movable information that each wearable device described returns according to the request of described movable information;
Specifically, described user terminal sends motion to each wearable device at least one wearable device described
Information request is it is preferred that described user terminal timing can send movable information request, example to each wearable device described
As:Send movable information request etc. every two hours, each wearable device described can be from the sensor of itself
Read exercise data total amount, for example:Walking and/or the step number run, distance etc., obtain the current record moment simultaneously, described every
Individual wearable device will carry the described current record moment, and corresponding exercise data total amount of described current record moment
Movable information sends to described user terminal to respond described movable information request, and described in described user terminal acquisition, each can be worn
Wear the movable information of equipment return.
S203, described user terminal is using default screening rule in the movable information that each wearable device described returns
Determine the movable information currently being recorded;
Specifically, if only one of which wearable device, the motion that this wearable device returns is believed by described user terminal
Breath is defined as the movable information currently being recorded;If there being multiple wearable devices, described user terminal can be worn multiple
Wear and in the exercise data total amount of equipment return, choose the maximum movable information of total amount value, be defined as the motion currently being recorded
Information, or described user terminal can to multiple wearable devices return exercise data total amount average, by meansigma methodss
It is defined as corresponding exercise data total amount of described current record moment in the movable information currently being recorded etc..
S204, the upper record moment corresponding exercise data that described user terminal was searched based on the current record moment is total
Amount;
Specifically, described movable information includes the current record moment and corresponding exercise data of described current record moment is total
Amount, the exercise data due to described wearable device record will not be reset, therefore to calculate (example in a certain preset time period
As:In two hours) exercise data, then described user terminal require to look up based on the current record moment upper one record the moment
Corresponding exercise data total amount.
S205, described user terminal is to a described upper record moment corresponding exercise data total amount and described current record
Moment corresponding exercise data total amount is calculated, and obtains the motion between described upper record moment to a described current record moment
Data increment;
Specifically, described user terminal can be by corresponding for described current record moment exercise data total amount and described upper
The difference of record moment corresponding exercise data total amount records as described upper one and (presets between moment to the described current record moment
In time period) exercise data increment.
S206, described user terminal is packaged to described exercise data increment using the ID based on interactive application
Process;
Specifically, described user terminal can be entered to described exercise data increment based on the ID logging in interactive application
Row encapsulation process, described ID distributed when described interactive application being registered by described user terminal owning user or
The ID being inputted.The exercise data being increased in preset time period described in described exercise data incremental representation, for for after
Continuous application server statistics cut-off to the corresponding exercise data of ID described in the current record moment provide that data increases according to
According to.Described interactive application is preferably instant messaging application.
S207, described user terminal sends the described exercise data increment after encapsulation process to application server;
Specifically, described user terminal sends the described exercise data increment after encapsulation process to described application service
Device, the described exercise data increment after described encapsulation process carries described ID.
S208, described application server judges whether current time reaches predetermined time;
Specifically, described exercise data increment after described application server receives described encapsulation process, described should
Can first judge whether current time reaches predetermined time it is to be understood that institute in described application server with server
Stating the corresponding exercise data of ID is for recording in certain time period (for example:The 0 of the same day is when the 24 of the same day) institute
State the summation of the exercise data increment of user terminal uploads, for example:If described user terminal uploads every two hours and once transports
Dynamic data increment, then described application server can start when the 0 of the same day corresponding to described ID every two hours
Exercise data is updated, until the same day 24 when, now described application server may determine that whether current time reaches 24
When, that is, during next day 0, if so, then proceed to execution step S209;If it is not, then proceeding to execution step S210.
S209, described application server is carried out clearly to the exercise data in the corresponding exercise data list of described ID
Zero process;
Specifically, when judging that described current time reaches described predetermined time, described application server can be to described
Exercise data in ID corresponding exercise data list is zeroed out processing it is to be understood that described exercise data
There is other interactive user being associated with described ID in list to identify (for example:Possess the other users of friend relation
Mark) corresponding exercise data, and the corresponding exercise data of described ID, therefore when reaching described predetermined time,
All exercise datas in described exercise data list can be zeroed out by described application server.
Preferably, described application server, can also be to the complete motion number on the same day while being zeroed out processing
Preserved according to list (i.e. complete exercise data when the same day 0 is up to the same day 24), user can check at any time to go through
The Records of the Historian is recorded, certainly, in order to save the memory space of described application server it is also possible to directly be zeroed out processing, not to the same day
Complete exercise data list preserved, or can by the complete exercise data list on the same day preserve one section default when
Between, then deleted.
S210, the corresponding exercise data of described ID that described application server acquisition is stored, and using described
To described ID, corresponding exercise data is updated exercise data increment;
Specifically, when judging that described current time does not reach described predetermined time, described application server can obtain
The corresponding exercise data of described ID being stored, and will be corresponding with described ID for acquired exercise data increment
Exercise data be added, complete the renewal to the corresponding exercise data of described ID.
S211, described application server obtains every at least one interactive user mark being associated with described ID
Individual interactive user identifies corresponding exercise data;
Specifically, due to identifying corresponding fortune at this point at least one interactive application being associated with described ID
Dynamic data also likely to be present change, and therefore described application server can obtain each in described at least one interactive application mark
Interactive application identifies corresponding exercise data.
It should be noted that described interactive application mark represents there is incidence relation (for example with described ID:Good friend
Relation etc.) application identities, it can be distributed when registering to described interactive application by other users or be inputted
ID, the user terminal of other users equally can upload respective exercise data increment, and the process that it is realized can be with this
The implementation procedure of inventive embodiments is identical, and here is not repeated.
S212, described application server adopts predetermined order mode, to the corresponding exercise data of ID after updating
And described each interactive user identifies corresponding exercise data and is ranked up processing, and generate exercise data after sequence is processed
List;
Specifically, described application server can be with using predetermined order mode, to the corresponding fortune of ID after updating
Dynamic data and each interactive user described identify corresponding exercise data and are ranked up processing, and described predetermined order method is preferred
It is that all exercise datas are ranked up successively from high to low, so that user checks, certainly, using other sortords, for example:
It is ranked up from as little as high, or the corresponding exercise data of ID after updating is ranked the first, each interaction described is used
Family identifies corresponding exercise data and is ranked up from high to low, all can realize the ordering process of the embodiment of the present invention.
Described application server generates exercise data list after sequence process, can include multiple users in described exercise data list
Mark, and the corresponding exercise data of each ID in multiple ID.
S213, described application server exports described exercise data list;
Specifically, described application server can export to described exercise data list, it should be noted that described
The mode that application server exports to described exercise data list can be to mark described exercise data list according to described user
Know to send and shown to described user terminal, or described exercise data list can be sent to based on described interactive application
The corresponding public group of public identifier in, described user terminal owning user can by described ID enter described public affairs
Common group group is to consult described exercise data list.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;Bluetooth communication is set up even by bluetooth connection mode and wearable device
Connect it is ensured that the transmission of data message can be carried out between user terminal and wearable device in real time, pass through default screening rule simultaneously
Then determine the movable information currently being recorded it is ensured that the uniqueness of movable information and accuracy;By to exercise data list
It is timed renewal it is achieved that user can improve recreational between user with the moving situation of real time inspection other users, rich
The rich application scenarios of wearable device.
Refer to Fig. 3, for embodiments providing the schematic flow sheet of another kind of data statistical approach.As Fig. 3 institute
Show, the embodiment of the present invention illustrates the idiographic flow of data processing method from subscriber terminal side, the method comprises the following steps S301-
Step S303.
S301, asks to wearable device transmission movable information, and obtains described wearable device to be asked according to described data
Seek the movable information currently being recorded of return;
Specifically, user terminal can send movable information to wearable device and ask it is preferred that described user terminal can
Movable information request is sent to described wearable device with timing, for example:Send a movable information request every two hours
Deng described wearable device can read exercise data total amount from the sensor of itself, such as:Walking and/or the step run
Number, distance etc., obtain the current record moment simultaneously, and described wearable device will carry described current record moment, Yi Jisuo
The movable information stating current record moment corresponding exercise data total amount sends to described user terminal to respond described motion letter
Breath request, described user terminal obtains the movable information currently being recorded that described wearable device returns.
It is understood that described user terminal, before sending movable information request to described wearable device, needs
Set up communication connection with described wearable device in advance, described communication connection can be to enter using wired or wireless connected mode
Row is set up, and radio connection can include wireless network, bluetooth, NFC etc., extra due to being needed using wired connection mode
Data wire etc. is attached, and easily causes cost and wastes, and then needs possessing wireless network using the connected mode of wireless network
Just can carry out in the environment of network, the efficiency of impact data statisticss, and certain customers' terminal may not possess the function of NFC, therefore
The embodiment of the present invention is set up Bluetooth communication using bluetooth connection mode with described wearable device and is connected.Described user terminal is permissible
Remain the communication connection with described wearable device, it is of course also possible to the time in movable information request transmission is interim,
The foundation being communicatively coupled with described wearable device.
S302, calculates the exercise data increment in the current preset time period according to described movable information, and using based on friendship
Mutually the ID of application is packaged to described exercise data increment processing;
Specifically, because the exercise data of described wearable device record will not be reset, therefore a certain pre- to calculate
If in the time period (for example:In two hours) exercise data, then described user terminal require to look up based on the current record moment
A upper record moment corresponding exercise data total amount, and record moment corresponding exercise data total amount and institute to described upper one
State current record moment corresponding exercise data total amount to be calculated, obtain a described upper record moment to during described current record
Exercise data increment between quarter, described user terminal can be increased to described exercise data based on the ID logging in interactive application
Amount is packaged processing, and described ID is divided when described interactive application being registered by described user terminal owning user
The ID joined or inputted.The exercise data being increased in preset time period described in described exercise data incremental representation, is used for
Ending for subsequent applications server statistics provides data to increase to the corresponding exercise data of ID described in the current record moment
Foundation.Described interactive application is preferably instant messaging application.
S303, the described exercise data increment after encapsulation process is sent to application server, so that described application service
Device is updated to the corresponding exercise data list of described ID using described exercise data increment, and makes described application clothes
Business device exports described exercise data list;
Specifically, described user terminal sends the described exercise data increment after encapsulation process to described application service
Device, the described exercise data increment after described encapsulation process carries described ID.
Described application server receives the described exercise data increment after the described encapsulation process that described user terminal sends,
And the corresponding exercise data list of described ID is updated it is preferred that described should using described exercise data increment
The corresponding exercise data of described ID being stored can be obtained with server, and using described exercise data increment to institute
State the corresponding exercise data of ID to be updated, described application server is obtained and is associated at least with described ID
In one interactive user mark, each interactive user identifies corresponding exercise data, and described application server adopts predetermined order side
Formula, identifies corresponding exercise data to the corresponding exercise data of ID after updating and each interactive user described and carries out
Sequence is processed, and generates exercise data list after sequence is processed.
It is understood that the corresponding exercise data of described ID in described application server is for recording certain
In one time period (for example:The 0 of the same day is when the 24 of the same day) summation of the exercise data increment of described user terminal uploads, example
As:If described user terminal uploads an exercise data increment every two hours, described application server can be from the 0 of the same day
When start that corresponding exercise data is updated to described ID every two hours, until the same day 24 when, enter every time
After row updates, it is required for the described exercise data list of corresponding renewal, also exist and institute in described exercise data list meanwhile
State other associated interactive user of ID to identify (for example:Possess the other users mark of friend relation) corresponding motion
Data, by being ranked up to these exercise datas, generates exercise data list.Described application server can be to described motion
Data list is exported, it should be noted that the mode that described application server exports to described exercise data list is permissible
It is to send described exercise data list according to described ID to be shown to described user terminal, or can will be described
Exercise data list sends to the corresponding public group of the public identifier based on described interactive application, belonging to described user terminal
User can enter described public group by described ID and consult described exercise data list.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive.
Refer to Fig. 4, for embodiments providing the schematic flow sheet of another data statistical approach.As Fig. 4 institute
Show, the embodiment of the present invention illustrates the idiographic flow of data processing method from subscriber terminal side, the method comprises the following steps S401-
Step S407.
S401, sets up Bluetooth communication using bluetooth connection mode and wearable device and is connected;
Specifically, user terminal, before being communicated with wearable device, needs to build with described wearable device in advance
Vertical communication connection, described communication connection can be to be set up using wired or wireless connected mode, and radio connection can
To include wireless network, bluetooth, NFC etc., due to needing extra data wire etc. to be attached using wired connection mode, easily
Cause cost to waste, and then need just can carry out in the environment of possessing wireless network using the connected mode of wireless network, shadow
Ring the efficiency of data statisticss, and certain customers' terminal may not possess the function of NFC, the therefore embodiment of the present invention adopts bluetooth even
The mode that connects is set up Bluetooth communication with described wearable device and is connected.Described user terminal can remain and wearable set with described
Standby communication connection, it is of course also possible to the time in movable information request transmission is interim, is led to described wearable device
Letter establishment of connection.
It should be noted that described wearable device can include at least one wearable device, that is, when user can be only
Have a wearable device, or multiple wearable devices can be had simultaneously, therefore described user terminal need with described
The foundation that each wearable device at least one wearable device is all communicatively coupled.
S402, sends movable information request to each wearable device at least one wearable device, and obtains institute
State the movable information that each wearable device returns according to the request of described movable information;
Specifically, described user terminal sends motion to each wearable device at least one wearable device described
Information request is it is preferred that described user terminal timing can send movable information request, example to each wearable device described
As:Send movable information request etc. every two hours, each wearable device described can be from the sensor of itself
Read exercise data total amount, for example:Walking and/or the step number run, distance etc., obtain the current record moment simultaneously, described every
Individual wearable device will carry the described current record moment, and corresponding exercise data total amount of described current record moment
Movable information sends to described user terminal to respond described movable information request, and described in described user terminal acquisition, each can be worn
Wear the movable information of equipment return.
S403, is determined in the movable information that each wearable device described returns using default screening rule and is currently remembered
The movable information of record;
Specifically, if only one of which wearable device, the motion that this wearable device returns is believed by described user terminal
Breath is defined as the movable information currently being recorded;If there being multiple wearable devices, described user terminal can be worn multiple
Wear and in the exercise data total amount of equipment return, choose the maximum movable information of total amount value, be defined as the motion currently being recorded
Information, or described user terminal can to multiple wearable devices return exercise data total amount average, by meansigma methodss
It is defined as corresponding exercise data total amount of described current record moment in the movable information currently being recorded etc..
S404, searches the upper record moment corresponding exercise data total amount based on the current record moment;
Specifically, described movable information includes the current record moment and corresponding exercise data of described current record moment is total
Amount, the exercise data due to described wearable device record will not be reset, therefore to calculate (example in a certain preset time period
As:In two hours) exercise data, then described user terminal require to look up based on the current record moment upper one record the moment
Corresponding exercise data total amount.
S405, to a described upper record moment corresponding exercise data total amount and corresponding fortune of described current record moment
Dynamic data total amount is calculated, and obtains the exercise data increment between described upper record moment to a described current record moment;
Specifically, described user terminal can be by corresponding for described current record moment exercise data total amount and described upper
The difference of record moment corresponding exercise data total amount records as described upper one and (presets between moment to the described current record moment
In time period) exercise data increment.
S406, is packaged to described exercise data increment processing using the ID based on interactive application;
Specifically, described user terminal can be entered to described exercise data increment based on the ID logging in interactive application
Row encapsulation process, described ID distributed when described interactive application being registered by described user terminal owning user or
The ID being inputted.The exercise data being increased in preset time period described in described exercise data incremental representation, for for after
Continuous application server statistics cut-off to the corresponding exercise data of ID described in the current record moment provide that data increases according to
According to.Described interactive application is preferably instant messaging application.
S407, the described exercise data increment after encapsulation process is sent to application server, so that described application service
Device is updated to the corresponding exercise data list of described ID using described exercise data increment, and makes described application clothes
Business device exports described exercise data list.
Wherein, step S303 that step S407 of the embodiment of the present invention may refer to embodiment illustrated in fig. 3, here is not carried out
Repeat.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;Bluetooth communication is set up even by bluetooth connection mode and wearable device
Connect it is ensured that the transmission of data message can be carried out between user terminal and wearable device in real time, pass through default screening rule simultaneously
Then determine the movable information currently being recorded it is ensured that the uniqueness of movable information and accuracy.
Refer to Fig. 5, for embodiments providing the schematic flow sheet of another data statistical approach.As Fig. 5 institute
Show, the embodiment of the present invention illustrates the idiographic flow of data processing method from application server side, the method comprises the following steps
S501- step S503.
S501, the exercise data increment after the encapsulation process that receive user terminal sends, the motion after described encapsulation process
The movable information currently being recorded that data increment returns according to wearable device by described user terminal is calculated, and adopts
With the exercise data increment being packaged based on the ID of interactive application in the current preset time period of process;
Specifically, user terminal can send movable information to wearable device and ask it is preferred that described user terminal can
Movable information request is sent to described wearable device with timing, for example:Send a movable information request every two hours
Deng described wearable device can read exercise data total amount from the sensor of itself, such as:Walking and/or the step run
Number, distance etc., obtain the current record moment simultaneously, and described wearable device will carry described current record moment, Yi Jisuo
The movable information stating current record moment corresponding exercise data total amount sends to described user terminal to respond described motion letter
Breath request, described user terminal obtains the movable information currently being recorded that described wearable device returns.
It is understood that described user terminal, before sending movable information request to described wearable device, needs
Set up communication connection with described wearable device in advance, described communication connection can be to enter using wired or wireless connected mode
Row is set up, and radio connection can include wireless network, bluetooth, NFC etc., extra due to being needed using wired connection mode
Data wire etc. is attached, and easily causes cost and wastes, and then needs possessing wireless network using the connected mode of wireless network
Just can carry out in the environment of network, the efficiency of impact data statisticss, and certain customers' terminal may not possess the function of NFC, therefore
The embodiment of the present invention is set up Bluetooth communication using bluetooth connection mode with described wearable device and is connected.Described user terminal is permissible
Remain the communication connection with described wearable device, it is of course also possible to the time in movable information request transmission is interim,
The foundation being communicatively coupled with described wearable device.
Exercise data due to described wearable device record will not be reset, therefore to calculate a certain preset time period
Interior (for example:In two hours) exercise data, then described user terminal require to look up the upper note based on the current record moment
Record moment corresponding exercise data total amount, and to a described upper record moment corresponding exercise data total amount and described current note
Record moment corresponding exercise data total amount is calculated, and obtains the fortune between described upper record moment to a described current record moment
Dynamic data increment, described user terminal can be sealed to described exercise data increment based on the ID logging in interactive application
Dress is processed, and described ID is distributed or defeated when described interactive application being registered by described user terminal owning user
The ID entering.The exercise data being increased in preset time period described in described exercise data incremental representation, for for subsequently should
Being ended to the corresponding exercise data of ID described in the current record moment with server statistics provides the foundation of data increase.Institute
State interactive application and be preferably instant messaging application.
Described user terminal sends the described exercise data increment after encapsulation process to described application server, described envelope
Described exercise data increment after dress is processed carries described ID, and described application server receives described user terminal and sends
Described encapsulation process after described exercise data increment.
S502, is updated to the corresponding exercise data list of described ID using described exercise data increment;
Specifically, described application server adopt described exercise data increment to described ID corresponding exercise data
List is updated it is preferred that described application server can obtain the corresponding exercise data of described ID being stored,
And to described ID, corresponding exercise data is updated using described exercise data increment, described application server obtains
In at least one interactive user mark being associated with described ID, each interactive user identifies corresponding exercise data, institute
State application server and adopt predetermined order mode, to the corresponding exercise data of ID after updating and each interaction described
The corresponding exercise data of ID is ranked up processing, and generates exercise data list after sequence is processed.
It is understood that the corresponding exercise data of described ID in described application server is for recording certain
In one time period (for example:The 0 of the same day is when the 24 of the same day) summation of the exercise data increment of described user terminal uploads, example
As:If described user terminal uploads an exercise data increment every two hours, described application server can be from the 0 of the same day
When start that corresponding exercise data is updated to described ID every two hours, until the same day 24 when, enter every time
After row updates, it is required for the described exercise data list of corresponding renewal, also exist and institute in described exercise data list meanwhile
State other associated interactive user of ID to identify (for example:Possess the other users mark of friend relation) corresponding motion
Data, by being ranked up to these exercise datas, generates exercise data list.
S503, exports described exercise data list;
Specifically, described application server can export to described exercise data list, it should be noted that described
The mode that application server exports to described exercise data list can be to mark described exercise data list according to described user
Know to send and shown to described user terminal, or described exercise data list can be sent to based on described interactive application
The corresponding public group of public identifier in, described user terminal owning user can by described ID enter described public affairs
Common group group is to consult described exercise data list.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive.
Refer to Fig. 6, for embodiments providing the schematic flow sheet of another data statistical approach.As Fig. 6 institute
Show, the embodiment of the present invention illustrates the idiographic flow of data processing method from application server side, the method comprises the following steps
S601- step S607.
S601, the exercise data increment after the encapsulation process that receive user terminal sends, the motion after described encapsulation process
The movable information currently being recorded that data increment returns according to wearable device by described user terminal is calculated, and adopts
With the exercise data increment being packaged based on the ID of interactive application in the current preset time period of process;
S602, judges whether current time reaches predetermined time;
Specifically, described exercise data increment after described application server receives described encapsulation process, described should
Can first judge whether current time reaches predetermined time it is to be understood that institute in described application server with server
Stating the corresponding exercise data of ID is for recording in certain time period (for example:The 0 of the same day is when the 24 of the same day) institute
State the summation of the exercise data increment of user terminal uploads, for example:If described user terminal uploads every two hours and once transports
Dynamic data increment, then described application server can start when the 0 of the same day corresponding to described ID every two hours
Exercise data is updated, until the same day 24 when, now described application server may determine that whether current time reaches 24
When, that is, during next day 0, if so, then proceed to execution step S603;If it is not, then proceeding to execution step S604.
S603, is zeroed out to the exercise data in the corresponding exercise data list of described ID processing;
Specifically, when judging that described current time reaches described predetermined time, described application server can be to described
Exercise data in ID corresponding exercise data list is zeroed out processing it is to be understood that described exercise data
There is other interactive user being associated with described ID in list to identify (for example:Possess the other users of friend relation
Mark) corresponding exercise data, and the corresponding exercise data of described ID, therefore when reaching described predetermined time,
All exercise datas in described exercise data list can be zeroed out by described application server.
Preferably, described application server, can also be to the complete motion number on the same day while being zeroed out processing
Preserved according to list (i.e. complete exercise data when the same day 0 is up to the same day 24), user can check at any time to go through
The Records of the Historian is recorded, certainly, in order to save the memory space of described application server it is also possible to directly be zeroed out processing, not to the same day
Complete exercise data list preserved, or can by the complete exercise data list on the same day preserve one section default when
Between, then deleted.
S604, obtains the corresponding exercise data of described ID being stored, and adopts described exercise data increment pair
The corresponding exercise data of described ID is updated;
Specifically, when judging that described current time does not reach described predetermined time, described application server can obtain
The corresponding exercise data of described ID being stored, and will be corresponding with described ID for acquired exercise data increment
Exercise data be added, complete the renewal to the corresponding exercise data of described ID.
S605, obtains each interactive user mark at least one interactive user mark being associated with described ID
Corresponding exercise data;
Specifically, due to identifying corresponding fortune at this point at least one interactive application being associated with described ID
Dynamic data also likely to be present change, and therefore described application server can obtain each in described at least one interactive application mark
Interactive application identifies corresponding exercise data.
It should be noted that described interactive application mark represents there is incidence relation (for example with described ID:Good friend
Relation etc.) application identities, it can be distributed when registering to described interactive application by other users or be inputted
ID, the user terminal of other users equally can upload respective exercise data increment, and the process that it is realized can be with this
The implementation procedure of inventive embodiments is identical, and here is not repeated.
S606, using predetermined order mode, to the corresponding exercise data of ID after updating and each friendship described
Mutually the corresponding exercise data of ID is ranked up processing, and generates exercise data list after sequence is processed;
Specifically, described application server can be with using predetermined order mode, to the corresponding fortune of ID after updating
Dynamic data and each interactive user described identify corresponding exercise data and are ranked up processing, and described predetermined order method is preferred
It is that all exercise datas are ranked up successively from high to low, so that user checks, certainly, using other sortords, for example:
It is ranked up from as little as high, or the corresponding exercise data of ID after updating is ranked the first, each interaction described is used
Family identifies corresponding exercise data and is ranked up from high to low, all can realize the ordering process of the embodiment of the present invention.
Described application server generates exercise data list after sequence process, can include multiple users in described exercise data list
Mark, and the corresponding exercise data of each ID in multiple ID.
S607, exports described exercise data list.
Wherein, the step that step S601 of the embodiment of the present invention and step S607 can distinguish embodiment shown in Figure 6
S501 and S503, here is not repeated.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;By exercise data list being timed with renewal it is achieved that user
Can improve recreational between user, enrich the applied field of wearable device with the moving situation of real time inspection other users
Scape.
Below in conjunction with accompanying drawing 7- accompanying drawing 10, user terminal provided in an embodiment of the present invention is described in detail.Need
Illustrate, the user terminal shown in accompanying drawing 7- accompanying drawing 10, the method for executing Fig. 3 of the present invention and embodiment illustrated in fig. 4, be
It is easy to illustrate, illustrate only the part related to the embodiment of the present invention, particular technique details does not disclose, and refer to the present invention
Embodiment shown in Fig. 3 and Fig. 4.
Refer to Fig. 7, for embodiments providing a kind of structural representation of user terminal.As shown in fig. 7, this
The described user terminal 1 of bright embodiment can include:Information acquisition unit 11, data packaging unit 12 data transmitting element
13.
Information acquisition unit 11, for sending movable information request to wearable device, and obtains described wearable device
The movable information currently being recorded being returned according to described request of data;
In implementing, described information acquiring unit 11 can to wearable device send movable information request it is preferred that
Described information acquiring unit 11 timing can send movable information request to described wearable device, for example:Every two hours
Send movable information request etc., described wearable device can read exercise data total amount, example from the sensor of itself
As:Walking and/or the step number run, distance etc., obtain the current record moment simultaneously, and described wearable device will carry described
The current record moment, and the movable information of corresponding exercise data total amount of described current record moment sends to described user eventually
End 1 obtains currently being remembered of described wearable device return to respond described movable information request, described information acquiring unit 11
The movable information of record.
It is understood that described information acquiring unit 11 is asking it to described wearable device transmission movable information
Before, described user terminal 1 needs to set up communication connection with described wearable device in advance, and described communication connection can be using having
Line or wireless connected mode are set up, and radio connection can include wireless network, bluetooth, NFC etc., due to using having
Line connected mode needs extra data wire etc. to be attached, and easily causes cost and wastes, and adopts the connection side of wireless network
Formula then needs just can carry out in the environment of possessing wireless network, the efficiency of impact data statisticss, and certain customers' terminal 1 may
Do not possess the function of NFC, the therefore embodiment of the present invention sets up Bluetooth communication using bluetooth connection mode and described wearable device
Connect.Described user terminal 1 can remain the communication connection with described wearable device, it is of course also possible in motion letter
The time that breath request sends is interim, the foundation being communicatively coupled with described wearable device.
Specifically, please also refer to Fig. 8, for embodiments providing the structural representation of information acquisition unit.As
Shown in Fig. 8, described information acquiring unit 11 can include:
Acquisition of information subelement 111, for sending motion to each wearable device at least one wearable device
Information request, and obtain the movable information that each wearable device described returns according to the request of described movable information;
In implementing, described information obtains subelement 111 and can wear to each at least one wearable device described
Equipment of wearing send movable information request it is preferred that described information obtain subelement 111 can timing to described each wearable set
Preparation send movable information to ask, for example:Send movable information request etc., each wearable device described every two hours
Exercise data total amount can be read from the sensor of itself, for example:Walking and/or the step number run, distance etc., obtain simultaneously
In the current record moment, each wearable device described will carry the described current record moment, and the described current record moment
The movable information of corresponding exercise data total amount sends to described user terminal 1 to respond described movable information request, described letter
Breath obtains subelement 111 and obtains the movable information that each wearable device described returns.
Information determination subelement 112, for the motion being returned in each wearable device described using default screening rule
The movable information currently being recorded is determined in information;
In implementing, if only one of which wearable device, described information determination subelement 112 is by this wearable device
The movable information returning is defined as the movable information currently being recorded;If there being multiple wearable devices, described information determines son
Unit 112 can choose the maximum movable information of total amount value in the exercise data total amount that multiple wearable devices return, by it
It is defined as the movable information currently being recorded, or described information determination subelement 112 can return to multiple wearable devices
Exercise data total amount average, meansigma methodss are defined as the described current record moment in the movable information currently being recorded
Corresponding exercise data total amount etc..
Data packaging unit 12, increases for calculating the exercise data in the current preset time period according to described movable information
Amount, and described exercise data increment is packaged process using the ID based on interactive application;
In implementing, the exercise data due to described wearable device record will not be reset, therefore to calculate certain
In one preset time period (for example:In two hours) exercise data, then described data packaging unit 12 require to look up based on work as
A upper record moment corresponding exercise data total amount in front record moment, and to a described upper record moment corresponding exercise data
Total amount and corresponding exercise data total amount of described current record moment are calculated, and obtain a described upper record moment extremely described
Exercise data increment between the current record moment, described data packaging unit 12 can be based on the ID logging in interactive application
Described exercise data increment is packaged process, described ID is described user terminal 1 owning user to described interaction
The ID that application is distributed or inputted when being registered.Increased in preset time period described in described exercise data incremental representation
Plus exercise data, for ending motion corresponding to ID described in the current record moment for subsequent applications server statistics
Data provides the foundation that data increases.Described interactive application is preferably instant messaging application.
Specifically, please also refer to Fig. 9, for embodiments providing the structural representation of data packaging unit.As
Shown in Fig. 9, described data packaging unit 12 can include:
Data search subelement 121, for searching the upper record moment corresponding motion number based on the current record moment
According to total amount;
In implementing, described movable information includes current record moment and corresponding motion number of described current record moment
According to total amount, the exercise data due to described wearable device record will not be reset, therefore to calculate a certain preset time period
Interior (for example:In two hours) exercise data, then described data search subelement 121 require to look up based on the current record moment
Upper one record moment corresponding exercise data total amount.
Data acquisition subelement 122, for described upper one record moment corresponding exercise data total amount and described work as
Front record moment corresponding exercise data total amount is calculated, and obtains between described upper record moment to a described current record moment
Exercise data increment;
In implementing, described data acquisition subelement 122 can be by corresponding for described current record moment exercise data
Total amount records the moment to described current note with the difference of a described upper record moment corresponding exercise data total amount as described upper one
The exercise data increment of (i.e. in preset time period) between the record moment.
Data encapsulates subelement 123, for being entered to described exercise data increment using the ID based on interactive application
Row encapsulation process;
In implementing, described data encapsulates subelement 123 can be based on logging in the ID of interactive application to described
Exercise data increment is packaged processing, and described ID is entered to described interactive application for described user terminal 1 owning user
The ID being distributed or being inputted during row registration.The fortune being increased in preset time period described in described exercise data incremental representation
Dynamic data, carries to the corresponding exercise data of ID described in the current record moment for ending for subsequent applications server statistics
The foundation increasing for data.Described interactive application is preferably instant messaging application.
Data transmission unit 13, for the described exercise data increment after encapsulation process is sent to application server, with
Described application server is made using described exercise data increment, the corresponding exercise data list of described ID to be updated,
And make described application server export described exercise data list;
In implementing, described data transmission unit 13 sends the described exercise data increment after encapsulation process to described
Application server, the described exercise data increment after described encapsulation process carries described ID.
Described application server receives the described motion number after the described encapsulation process that described data transmission unit 13 sends
According to increment, and using described exercise data increment, the corresponding exercise data list of described ID is updated it is preferred that
Described application server can obtain the corresponding exercise data of described ID being stored, and is increased using described exercise data
To described ID, corresponding exercise data is updated amount, and described application server is obtained and is associated with described ID
At least one interactive user mark in each interactive user identify corresponding exercise data, described application server is using default
Sortord, identifies corresponding motion number to the corresponding exercise data of ID after updating and each interactive user described
According to be ranked up process, and sequence process after generate exercise data list.
It is understood that the corresponding exercise data of described ID in described application server is for recording certain
In one time period (for example:The 0 of the same day is when the 24 of the same day) summation of exercise data increment that uploads of described user terminal 1,
For example:If described user terminal 1 uploads an exercise data increment every two hours, described application server can be from the same day
0 when start that corresponding exercise data is updated to described ID every two hours, until the same day 24 when, every time
After being updated, be required for corresponding renewal described exercise data list, meanwhile, in described exercise data list also exist with
Other interactive user that described ID is associated identify (for example:Possess the other users mark of friend relation) corresponding fortune
Dynamic data, by being ranked up to these exercise datas, generates exercise data list.Described application server can be to described fortune
Dynamic data list is exported, it should be noted that the mode that described application server exports to described exercise data list can
Think to send described exercise data list according to described ID and shown to described user terminal 1, or can be by
Described exercise data list sends to the corresponding public group of the public identifier based on described interactive application, described user terminal
1 owning user can enter described public group by described ID and consult described exercise data list.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;The movable information currently being recorded by default screening rule determination,
Ensure that uniqueness and the accuracy of movable information.
Refer to Figure 10, for embodiments providing the structural representation of another kind of user terminal.As shown in Figure 10,
The described user terminal 1 of the embodiment of the present invention can include:Information acquisition unit 11, data packaging unit 12, data is activation list
Unit 13 and connection establishment unit 14;Wherein, information acquisition unit 11, data packaging unit 12 data transmitting element 13 concrete
Structure may refer to the specific descriptions of embodiment illustrated in fig. 7, and here is not repeated.
Connection establishment unit 14, is connected for setting up Bluetooth communication using bluetooth connection mode and wearable device;
In implementing, described user terminal 1 before being communicated with wearable device, described connection establishment unit 14
Need to set up communication connection with described wearable device in advance, described communication connection can be using wired or wireless connection side
Formula is set up, and radio connection can include wireless network, bluetooth, NFC etc., due to needing volume using wired connection mode
Outer data wire etc. is attached, and easily causes cost and wastes, and then needs possessing nothing using the connected mode of wireless network
Just can carry out in the environment of gauze network, the efficiency of impact data statisticss, and certain customers' terminal 1 may not possess the function of NFC,
Therefore the embodiment of the present invention is set up Bluetooth communication using bluetooth connection mode with described wearable device and is connected.Described user terminal
1 can remain the communication connection with described wearable device, it is of course also possible to the time sending in movable information request
Temporarily, the foundation being communicatively coupled with described wearable device.
It should be noted that described wearable device can include at least one wearable device, that is, when user can be only
Have a wearable device, or multiple wearable devices can be had simultaneously, therefore described connection establishment unit 14 needs
The foundation being all communicatively coupled with each wearable device at least one wearable device described.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;Bluetooth communication is set up even by bluetooth connection mode and wearable device
Connect it is ensured that the transmission of data message can be carried out between user terminal and wearable device in real time, pass through default screening rule simultaneously
Then determine the movable information currently being recorded it is ensured that the uniqueness of movable information and accuracy.
Refer to Figure 11, for embodiments providing the structural representation of another user terminal.As shown in figure 11,
Described user terminal 1000 can include:At least one processor 1001, such as CPU, at least one network interface 1004, user
Interface 1003, memorizer 1005, at least one communication bus 1002.Wherein, communication bus 1002 be used for realizing these assemblies it
Between connection communication.Wherein, user interface 1003 can include display screen (Display), keyboard (Keyboard), handwriting pad,
Phonographic recorder, optional user interface 1003 can also include the wireline interface of standard, wave point.Network interface 1004 optionally may be used
To include wireline interface, the wave point (as WI-FI interface) of standard.Memorizer 1005 can be high-speed RAM memorizer, also may be used
To be non-labile memorizer (non-volatile memory), for example, at least one disk memory.Memorizer 1005 can
That selects can also be that at least one is located remotely from the storage device of aforementioned processor 1001.As shown in figure 11, calculate as a kind of
Operating system, network communication module, Subscriber Interface Module SIM and data system can be included in the memorizer 1005 of machine storage medium
Meter application program.
In user terminal 1000 shown in Figure 11, network interface 1004 is mainly used in connecting application server, and described
Application server enters row data communication;And user interface 1003 is mainly used in providing the interface of input for wearable device, obtain
The data of wearable device input;And processor 1001 can be used for calling the data statisticss application journey of storage in memorizer 1005
Sequence, and specifically execute following steps:
Send movable information request to wearable device, and obtain described wearable device and returned according to described request of data
The movable information currently being recorded;
Exercise data increment in the current preset time period is calculated according to described movable information, and using based on interactive application
ID described exercise data increment is packaged process;
Described exercise data increment after encapsulation process is sent to application server, so that described application server adopts
Described exercise data increment is updated to the corresponding exercise data list of described ID, and makes described application server defeated
Go out described exercise data list.
In one embodiment, described wearable device includes at least one wearable device;
Described processor 1001 sends movable information request in execution to wearable device, and obtains described wearable device
According to described movable information request return currently recorded movable information when, specifically execute following steps:
Send movable information request to each wearable device at least one wearable device, and obtain described each
The movable information that wearable device returns according to the request of described movable information;
Determined in the movable information that each wearable device described returns using default screening rule and currently to be recorded
Movable information.
In one embodiment, described movable information includes current record moment and corresponding fortune of described current record moment
Dynamic data total amount;
Described processor 1001 calculates the exercise data in the current preset time period in execution and increases according to described movable information
During amount, specifically execute following steps:
Search the upper record moment corresponding exercise data total amount based on the current record moment;
To a described upper record moment corresponding exercise data total amount and corresponding motion number of described current record moment
Calculated according to total amount, obtained the exercise data increment between described upper record moment to a described current record moment.
In one embodiment, described processor 1001 execution to wearable device send movable information request before,
Also execute following steps:
Set up Bluetooth communication using bluetooth connection mode and wearable device to be connected.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;Bluetooth communication is set up even by bluetooth connection mode and wearable device
Connect it is ensured that the transmission of data message can be carried out between user terminal and wearable device in real time, pass through default screening rule simultaneously
Then determine the movable information currently being recorded it is ensured that the uniqueness of movable information and accuracy.
Below in conjunction with accompanying drawing 12- accompanying drawing 14, application server provided in an embodiment of the present invention is described in detail.Need
It is noted that the application server shown in accompanying drawing 12- accompanying drawing 14, for executing the side of Fig. 5 of the present invention and embodiment illustrated in fig. 6
Method, for convenience of description, illustrate only the part related to the embodiment of the present invention, particular technique details does not disclose, and refer to
Embodiment shown in Fig. 5 and Fig. 6 of the present invention.
Refer to Figure 12, for embodiments providing a kind of structural representation of application server.As shown in figure 12,
The described application server 2 of the embodiment of the present invention can include:Data receipt unit 21, list update unit 22 and list output
Unit 23.
Data receipt unit 21, the exercise data increment after the encapsulation process sending for receive user terminal, described envelope
The movable information currently being recorded that exercise data increment after dress process returns according to wearable device by described user terminal
Calculated, and using the motion number being packaged based on the ID of interactive application in the current preset time period of process
According to increment;
In implementing, user terminal can send movable information request it is preferred that described user is whole to wearable device
End timing can send movable information request to described wearable device, for example:Send a movable information every two hours
Request etc., described wearable device can read exercise data total amount from the sensor of itself, for example:Walking and/or running
Step number, distance etc., obtain the current record moment, described wearable device will carry the described current record moment simultaneously, with
And the movable information of described current record moment corresponding exercise data total amount sends to described user terminal to respond described fortune
Dynamic information request, described user terminal obtains the movable information currently being recorded that described wearable device returns.
It is understood that described user terminal, before sending movable information request to described wearable device, needs
Set up communication connection with described wearable device in advance, described communication connection can be to enter using wired or wireless connected mode
Row is set up, and radio connection can include wireless network, bluetooth, NFC etc., extra due to being needed using wired connection mode
Data wire etc. is attached, and easily causes cost and wastes, and then needs possessing wireless network using the connected mode of wireless network
Just can carry out in the environment of network, the efficiency of impact data statisticss, and certain customers' terminal may not possess the function of NFC, therefore
The embodiment of the present invention is set up Bluetooth communication using bluetooth connection mode with described wearable device and is connected.Described user terminal is permissible
Remain the communication connection with described wearable device, it is of course also possible to the time in movable information request transmission is interim,
The foundation being communicatively coupled with described wearable device.
Exercise data due to described wearable device record will not be reset, therefore to calculate a certain preset time period
Interior (for example:In two hours) exercise data, then described user terminal require to look up the upper note based on the current record moment
Record moment corresponding exercise data total amount, and to a described upper record moment corresponding exercise data total amount and described current note
Record moment corresponding exercise data total amount is calculated, and obtains the fortune between described upper record moment to a described current record moment
Dynamic data increment, described user terminal can be sealed to described exercise data increment based on the ID logging in interactive application
Dress is processed, and described ID is distributed or defeated when described interactive application being registered by described user terminal owning user
The ID entering.The exercise data being increased in preset time period described in described exercise data incremental representation, for for subsequently should
The foundation of data increase is provided to the corresponding exercise data of ID described in the current record moment with server 2 statistics cut-off.
Described interactive application is preferably instant messaging application.
Described user terminal sends the described exercise data increment after encapsulation process to described application server 2, described
Described exercise data increment after encapsulation process carries described ID, and described data receipt unit 21 receives described user eventually
Described exercise data increment after the described encapsulation process that end sends.
List update unit 22, for using described exercise data increment, to described ID, corresponding exercise data arranges
Table is updated;
In implementing, described list update unit 22 adopts described exercise data increment corresponding to described ID
Exercise data list is updated it is preferred that described list update unit 22 can obtain the described ID pair being stored
The exercise data answered, and to described ID, corresponding exercise data is updated using described exercise data increment, described
List update unit 22 obtains each interactive user mark at least one interactive user mark being associated with described ID
Know corresponding exercise data, described list update unit 22 adopts predetermined order mode, corresponding to the ID after updating
Exercise data and each interactive user described identify corresponding exercise data and are ranked up processing, and generate after sequence is processed
Exercise data list.
It is understood that the corresponding exercise data of described ID in described application server 2 is for recording
In certain time period (for example:The 0 of the same day is when the 24 of the same day) summation of the exercise data increment of described user terminal uploads,
For example:If described user terminal uploads an exercise data increment every two hours, described application server 2 can be from the same day
0 when start that corresponding exercise data is updated to described ID every two hours, until the same day 24 when, every time
After being updated, be required for corresponding renewal described exercise data list, meanwhile, in described exercise data list also exist with
Other interactive user that described ID is associated identify (for example:Possess the other users mark of friend relation) corresponding fortune
Dynamic data, by being ranked up to these exercise datas, generates exercise data list.
List output unit 23, for exporting described exercise data list;
In implementing, described list output unit 23 can export to described exercise data list, needs explanation
, mode that described list output unit 23 exports to described exercise data list can be by described exercise data list by
Send according to described ID and shown to described user terminal, or described exercise data list can be sent to being based on
In the corresponding public group of public identifier of described interactive application, described user terminal owning user can be marked by described user
Know and enter described public group to consult described exercise data list.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive.
Refer to Figure 13, for embodiments providing the structural representation of another kind of application server.As Figure 13 institute
Show, the described application server 2 of the embodiment of the present invention can include:Data receipt unit 21, list update unit 22, list are defeated
Go out unit 23, judging unit 24, data dump unit 25 and notification unit 26;Wherein, data receipt unit 21 and list output
The concrete structure of unit 23 may refer to the specific descriptions of embodiment illustrated in fig. 12, and here is not repeated.
Judging unit 24, for judging whether current time reaches predetermined time;
In implementing, described exercise data after described data receipt unit 21 receives described encapsulation process increases
Amount, described judging unit 24 can first judge whether current time reaches predetermined time it is to be understood that described application service
The corresponding exercise data of described ID in device 2 is for recording in certain time period (for example:The 0 of the same day was up to the same day
24 when) described user terminal uploads exercise data increment summation, for example:If described user terminal is in two hours
Pass an exercise data increment, then described application server 2 can start every two hours, described user to be marked when the 0 of the same day
Know corresponding exercise data to be updated, until the same day 24 when, now described judging unit 24 may determine that current time is
During no arrival 24, that is, during next day 0.
Data dump unit 25, if judging that described current time reaches described predetermined time for described judging unit 24,
Then the exercise data in the corresponding exercise data list of described ID is zeroed out processing;
In implementing, when described judging unit 24 judges that described current time reaches described predetermined time, described number
Exercise data in the corresponding exercise data list of described ID can be zeroed out processing according to clearing cell 25, permissible
It is understood by, there is other interactive user being associated with described ID in described exercise data list and identify (for example:Tool
The other users mark of standby friend relation) corresponding exercise data, and the corresponding exercise data of described ID, therefore exist
When reaching described predetermined time, all exercise datas in described exercise data list can be carried out by described data dump unit 25
Reset.
Preferably, while being zeroed out processing, described application server 2 can also be right for described data dump unit 25
The complete exercise data list (i.e. complete exercise data when the same day 0 is up to the same day 24) on the same day is preserved, so that
User can check historical record at any time, certainly, in order to save the memory space of described application server 2 it is also possible to directly enter
Row clearing is processed, and the not complete exercise data list to the same day preserves, or can be by the complete motion number on the same day
Preserve one section of Preset Time according to list, then deleted.
Notification unit 26, if judging that described current time does not reach described predetermined time for described judging unit 24,
To described ID, corresponding exercise data arranges using described exercise data increment to notify described list update unit 22 execution
Table is updated;
List update unit 22, for using described exercise data increment, to described ID, corresponding exercise data arranges
Table is updated;
In implementing, when described judging unit 24 judges that described current time does not reach described predetermined time, described
List update unit 22 is updated to the corresponding exercise data list of described ID using described exercise data increment, excellent
Choosing, described list update unit 22 can obtain the corresponding exercise data of described ID being stored, and using described
To described ID, corresponding exercise data is updated exercise data increment, described list update unit 22 obtain with described
In at least one interactive user mark that ID is associated, each interactive user identifies corresponding exercise data, described list
Updating block 22 adopts predetermined order mode, and the corresponding exercise data of ID after updating and each interaction described are used
Family identifies corresponding exercise data and is ranked up processing, and generates exercise data list after sequence is processed.
Specifically, please also refer to Figure 14, for embodiments providing the structural representation of list update unit.As
Shown in Figure 14, described list update unit 22 can include:
Data updates subelement 221, for obtaining the corresponding exercise data of described ID being stored, and adopts institute
Corresponding exercise data is updated to described ID to state exercise data increment;
In implementing, when described judging unit 24 judges that described current time does not reach described predetermined time, described
Data updates subelement 221 and can obtain the corresponding exercise data of described ID being stored, and by acquired motion
Data increment exercise data corresponding with described ID is added, and completes to the corresponding exercise data of described ID more
Newly.
Data acquisition subelement 222, for obtaining at least one interactive user mark being associated with described ID
In each interactive user identify corresponding exercise data;
In implementing, due at this point for corresponding with least one interactive application mark that described ID is associated
Exercise data also likely to be present change, therefore described data acquisition subelement 222 can obtain at least one interaction described should
Identify corresponding exercise data with each interactive application in mark.
It should be noted that described interactive application mark represents there is incidence relation (for example with described ID:Good friend
Relation etc.) application identities, it can be distributed when registering to described interactive application by other users or be inputted
ID, the user terminal of other users equally can upload respective exercise data increment, and the process that it is realized can be with this
The implementation procedure of inventive embodiments is identical, and here is not repeated.
List generates subelement 223, for using predetermined order mode, to the ID corresponding motion number after updating
According to this and each interactive user described identify corresponding exercise data be ranked up process, and sequence process after generate motion number
According to list;
In implementing, described list generates subelement 223 can be with using predetermined order mode, to the user's mark after updating
Know corresponding exercise data and each interactive user described identifies corresponding exercise data and is ranked up processing, described default row
Sequence method is preferably and is ranked up all exercise datas from high to low successively, so that user checks, certainly, using other sequences
Mode, for example:It is ranked up from as little as high, or the corresponding exercise data of ID after updating is ranked the first, described
Each interactive user identifies corresponding exercise data and is ranked up from high to low, all can realize the sequence of the embodiment of the present invention
Processing procedure.Described list generates subelement 223 and generates exercise data list after sequence process, in described exercise data list
Multiple ID can be included, and the corresponding exercise data of each ID in multiple ID.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;By exercise data list being timed with renewal it is achieved that user
Can improve recreational between user, enrich the applied field of wearable device with the moving situation of real time inspection other users
Scape.
Refer to Figure 15, for embodiments providing the structural representation of another application server.As Figure 15 institute
Show, described application server 2000 can include:At least one processor 2001, such as CPU, at least one network interface
2004, user interface 2003, memorizer 2005, at least one communication bus 2002.Wherein, communication bus 2002 is used for realizing this
Connection communication between a little assemblies.Wherein, user interface 2003 can include display screen (Display), keyboard (Keyboard),
Optional user interface 2003 can also include the wireline interface of standard, wave point.Network interface 2004 optionally can include
The wireline interface of standard, wave point (as WI-FI interface).Memorizer 2005 can be high-speed RAM memorizer it is also possible to right and wrong
Unstable memorizer (non-volatile memory), for example, at least one disk memory.Memorizer 2005 is optionally also
It can be the storage device that at least one is located remotely from aforementioned processor 2001.As shown in figure 15, as a kind of Computer Storage
Operating system, network communication module, Subscriber Interface Module SIM and data statisticss application can be included in the memorizer 2005 of medium
Program.
In application server 2000 shown in Figure 15, network interface 2004 is mainly used in connecting user terminal, and described
User terminal enters row data communication;And user interface 2003 is mainly used in providing the user the interface of input, obtain user input
Data;And processor 2001 can be used for calling the data statisticss application program of storage in memorizer 2005, and specifically execute
Following steps:
Exercise data increment after the encapsulation process that receive user terminal sends, the exercise data after described encapsulation process increases
Measure the movable information currently being recorded returning by described user terminal according to wearable device calculated, and using being based on
The ID of interactive application is packaged the exercise data increment in the current preset time period of process;
Using described exercise data increment, the corresponding exercise data list of described ID is updated;
Export described exercise data list.
In one embodiment, described processor 2001 adopts described exercise data increment to described ID in execution
Before corresponding exercise data list is updated, also execute following steps:
Judge whether current time reaches predetermined time;
If so, then the exercise data in the corresponding exercise data list of described ID is zeroed out processing;
If it is not, then execute being carried out more to the corresponding exercise data list of described ID using described exercise data increment
New step.
In one embodiment, described processor 2001 adopts described exercise data increment to described ID in execution
When corresponding exercise data list is updated, specifically execute following steps:
Obtain the corresponding exercise data of described ID being stored, and using described exercise data increment to described use
Family identifies corresponding exercise data and is updated;
Obtain corresponding with each interactive user mark at least one interactive user mark that described ID is associated
Exercise data;
Using predetermined order mode, to the corresponding exercise data of ID after updating and each interactive user described
Identify corresponding exercise data to be ranked up processing, and generate exercise data list after sequence is processed.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;By exercise data list being timed with renewal it is achieved that user
Can improve recreational between user, enrich the applied field of wearable device with the moving situation of real time inspection other users
Scape.
Refer to Figure 16, for embodiments providing a kind of structural representation of data statistics system.As Figure 16 institute
Show, this system can include user terminal 1, application server 2 and wearable device 3, user terminal 1 and application server 2
And application server 2 can be connected by network with wearable device 3, can lead between user terminal 1 and wearable device 3
The modes such as data wire, NFC, bluetooth, wireless network of crossing are connected.Wherein, data is activation terminal 1 is specially the arbitrary reality of Fig. 7-Figure 10
Apply the user terminal 1 of example, described application server 2 is specially the application server 2 of Figure 12-Figure 14 any embodiment, or, use
Family terminal 1 is specially the user terminal 1000 of embodiment illustrated in fig. 11, and described application server 2 is specially embodiment illustrated in fig. 15
Application server 2000.
Described user terminal 1, for sending movable information request to wearable device 3, and obtains described wearable device 3
The movable information currently being recorded being returned according to the request of described movable information;
Described wearable device 3, for when receiving the movable information request that described user terminal 1 sends, according to institute
State movable information request and the movable information currently being recorded is back to described user terminal 1;
Described user terminal 1, the exercise data being additionally operable to be calculated according to described movable information in the current preset time period increases
Amount, and described exercise data increment is packaged process using the ID based on interactive application;
Described user terminal 1, is additionally operable to send the described exercise data increment after encapsulation process to application server 2;
Described application server 2, for using described exercise data increment to described ID corresponding exercise data
List is updated, and exports described exercise data list.
In one embodiment, described wearable device 3 includes at least one wearable device 3;
Described user terminal 1 is used for sending movable information request to wearable device 3, and obtains described wearable device 3
According to described movable information request return currently recorded movable information when, specifically for:
Send movable information request to each wearable device 3 at least one wearable device 3, and obtain described every
The movable information that individual wearable device 3 returns according to the request of described movable information;
Determined in the movable information that each wearable device 3 described returns using default screening rule and currently to be recorded
Movable information.
In one embodiment, described movable information includes current record moment and corresponding fortune of described current record moment
Dynamic data total amount;
Described user terminal 1 is used for calculating the exercise data increment in the current preset time period according to described movable information
When, specifically for:
Search the upper record moment corresponding exercise data total amount based on the current record moment;
To a described upper record moment corresponding exercise data total amount and corresponding motion number of described current record moment
Calculated according to total amount, obtained the exercise data increment between described upper record moment to a described current record moment.
In one embodiment, described application server 2, is additionally operable to judge whether current time reaches predetermined time;
If so, then the exercise data in the corresponding exercise data list of described ID is zeroed out processing;
If it is not, then execute being carried out more to the corresponding exercise data list of described ID using described exercise data increment
New step.
In one embodiment, described application server 2 is used for using described exercise data increment to described ID
When corresponding exercise data list is updated, specifically for:
Obtain the corresponding exercise data of described ID being stored, and using described exercise data increment to described use
Family identifies corresponding exercise data and is updated;
Obtain corresponding with each interactive user mark at least one interactive user mark that described ID is associated
Exercise data;
Using predetermined order mode, to the corresponding exercise data of ID after updating and each interactive user described
Identify corresponding exercise data to be ranked up processing, and generate exercise data list after sequence is processed.
In one embodiment, described user terminal 1, is additionally operable to set up with wearable device 3 using bluetooth connection mode
Bluetooth communication connects.
In embodiments of the present invention, the movable information currently being recorded in wearable device is obtained by user terminal,
Calculate the exercise data increment obtaining in the current preset time period, and exercise data increment is committed to application based on interactive application
Server, makes the application server can be according to exercise data incremental update exercise data list to be exported, by motion number
Achieve the intercommunication of exercise data according to the output of list, by the movable information in user terminal extraction wearable device and finally real
The displaying of existing exercise data list, indirectly increased the function of wearable device, mutually can check exercise data between user,
Improve between user based on movable information can be interactive;Bluetooth communication is set up even by bluetooth connection mode and wearable device
Connect it is ensured that the transmission of data message can be carried out between user terminal and wearable device in real time, pass through default screening rule simultaneously
Then determine the movable information currently being recorded it is ensured that the uniqueness of movable information and accuracy;By to exercise data list
It is timed renewal it is achieved that user can improve recreational between user with the moving situation of real time inspection other users, rich
The rich application scenarios of wearable device.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, it is permissible
Instruct related hardware to complete by computer program, described program can be stored in a computer read/write memory medium
In, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed be only present pre-ferred embodiments, certainly the right model of the present invention can not be limited with this
Enclose, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is covered.
Claims (18)
1. a kind of data statistical approach is it is characterised in that include:
User terminal sends movable information request to wearable device, and obtains described wearable device according to described movable information
The movable information currently being recorded that request returns;
Described user terminal calculates the exercise data increment in the current preset time period according to described movable information, and using being based on
The ID of interactive application is packaged to described exercise data increment processing;
Described user terminal sends the described exercise data increment after encapsulation process to application server;
Described application server is carried out more to the corresponding exercise data list of described ID using described exercise data increment
Newly, and export described exercise data list;
Wherein, described wearable device includes at least one wearable device;
Described user terminal sends movable information request to wearable device, and obtains described wearable device according to described motion
The movable information currently being recorded that information request returns, including:
User terminal sends movable information request to each wearable device at least one wearable device, and obtains described
The movable information that each wearable device returns according to the request of described movable information;
Described user terminal is determined currently using default screening rule in the movable information that each wearable device described returns
The movable information being recorded;
The movable information of each wearable device described carries the current record moment, and the described current record moment is corresponding
Exercise data total amount, described default screening rule is the current record moment corresponding motion that each wearable device described returns
The maximum movable information of total amount value in data total amount, or comprise the current record moment pair that each wearable device described returns
The meansigma methodss of exercise data total amount answered and the movable information in described current record moment.
2. method according to claim 1 it is characterised in that described movable information include the current record moment and described work as
Front record moment corresponding exercise data total amount;
Described user terminal calculates the exercise data increment in the current preset time period according to described movable information, including:
Described user terminal searches the upper record moment corresponding exercise data total amount based on the current record moment;
Described user terminal corresponds to a described upper record moment corresponding exercise data total amount and described current record moment
Exercise data total amount calculated, obtained a described upper record moment to the exercise data increasing between the described current record moment
Amount.
3. method according to claim 1 is it is characterised in that described application server adopts described exercise data increment pair
Before the corresponding exercise data list of described ID is updated, also include:
Described application server judges whether current time reaches predetermined time;
If so, then described application server is zeroed out to the exercise data in the corresponding exercise data list of described ID
Process;
If it is not, then execute described application server adopt described exercise data increment to described ID corresponding exercise data
The step that list is updated.
4. the method according to claim 1 or 3 is it is characterised in that described application server adopts described exercise data to increase
Amount is updated to the corresponding exercise data list of described ID, including:
The corresponding exercise data of described ID that described application server acquisition is stored, and increased using described exercise data
To described ID, corresponding exercise data is updated amount;
Described application server is obtained each interaction at least one interactive user mark being associated with described ID and uses
Family identifies corresponding exercise data;
Described application server adopts predetermined order mode, to the corresponding exercise data of ID after updating and described every
Individual interactive user identifies corresponding exercise data and is ranked up processing, and generates exercise data list after sequence is processed.
5. method according to claim 1 is it is characterised in that described user terminal sends movable information to wearable device
Before request, also include:
User terminal is set up Bluetooth communication using bluetooth connection mode and wearable device and is connected.
6. a kind of data statistical approach is it is characterised in that include:
Send movable information request to wearable device, and obtain described wearable device according to working as that described request of data returns
Front recorded movable information;
Exercise data increment in the current preset time period is calculated according to described movable information, and using the use based on interactive application
Family mark is packaged to described exercise data increment processing;
Described exercise data increment after encapsulation process is sent to application server, so that described application server is using described
Exercise data increment is updated to the corresponding exercise data list of described ID, and makes described application server output institute
State exercise data list;
Wherein, described wearable device includes at least one wearable device;
Described send movable information request to wearable device, and obtain described wearable device and asked according to described movable information
The movable information currently being recorded returning, including:
Send movable information request to each wearable device at least one wearable device, and obtain described each can wear
Wear the movable information that equipment returns according to the request of described movable information;
The motion currently being recorded is determined in the movable information that each wearable device described returns using default screening rule
Information;
The movable information of each wearable device described carries the current record moment, and the described current record moment is corresponding
Exercise data total amount, described default screening rule is the current record moment corresponding motion that each wearable device described returns
The maximum movable information of total amount value in data total amount, or comprise the current record moment pair that each wearable device described returns
The meansigma methodss of exercise data total amount answered and the movable information in described current record moment.
7. method according to claim 6 it is characterised in that described movable information include the current record moment and described work as
Front record moment corresponding exercise data total amount;
The described exercise data increment being calculated according to described movable information in the current preset time period, including:
Search the upper record moment corresponding exercise data total amount based on the current record moment;
Total to a described upper record moment corresponding exercise data total amount and corresponding exercise data of described current record moment
Amount is calculated, and obtains the exercise data increment between described upper record moment to a described current record moment.
8. method according to claim 6 is it is characterised in that described ask it to wearable device transmission movable information
Before, also include:
Set up Bluetooth communication using bluetooth connection mode and wearable device to be connected.
9. a kind of data statistical approach is it is characterised in that include:
Exercise data increment after the encapsulation process that receive user terminal sends, the exercise data increment after described encapsulation process is
The movable information currently being recorded that described user terminal returns according to wearable device is calculated, and using based on interaction
The ID of application is packaged the exercise data increment in the current preset time period of process;
Using described exercise data increment, the corresponding exercise data list of described ID is updated;
Export described exercise data list;
Wherein, described wearable device includes at least one wearable device, and at least one wearable device described, each can
The movable information of wearable device carries the current record moment, and corresponding exercise data total amount of described current record moment;
The described movable information currently being recorded be described user terminal using default screening rule described each wearable set
The information determining in the standby movable information returning, described default screening rule is the current note that each wearable device described returns
The maximum movable information of total amount value in record moment corresponding exercise data total amount, or comprise described each wearable device return
The meansigma methodss of current record moment corresponding exercise data total amount and the movable information in described current record moment.
10. method according to claim 9 it is characterised in that described using described exercise data increment to described user
Identify before corresponding exercise data list is updated, also include:
Judge whether current time reaches predetermined time;
If so, then the exercise data in the corresponding exercise data list of described ID is zeroed out processing;
If it is not, then execute being updated to the corresponding exercise data list of described ID using described exercise data increment
Step.
11. methods according to claim 9 or 10 it is characterised in that described using described exercise data increment to described
ID corresponding exercise data list is updated, including:
Obtain the corresponding exercise data of described ID being stored, and using described exercise data increment, described user is marked
Know corresponding exercise data to be updated;
Obtain each interactive user at least one interactive user mark being associated with described ID and identify corresponding fortune
Dynamic data;
Using predetermined order mode, to the corresponding exercise data of ID after updating and each interactive user described mark
Corresponding exercise data is ranked up processing, and generates exercise data list after sequence is processed.
A kind of 12. user terminals are it is characterised in that include:
Information acquisition unit, for sending movable information request to wearable device, and obtains described wearable device according to institute
State the movable information currently being recorded of request of data return;
Data packaging unit, for calculating the exercise data increment in the current preset time period according to described movable information, and adopts
Described exercise data increment is packaged process with the ID based on interactive application;
Data transmission unit, for the described exercise data increment after encapsulation process is sent to application server, so that described
Application server is updated to the corresponding exercise data list of described ID using described exercise data increment, and makes institute
State application server and export described exercise data list;
Wherein, described wearable device includes at least one wearable device;
Described information acquiring unit includes:
Acquisition of information subelement, please for sending movable information to each wearable device at least one wearable device
Ask, and obtain the movable information that each wearable device described returns according to the request of described movable information;
Information determination subelement, for true in the movable information that each wearable device described returns using default screening rule
Settled front recorded movable information;
The movable information of each wearable device described carries the current record moment, and the described current record moment is corresponding
Exercise data total amount, described default screening rule is the current record moment corresponding motion that each wearable device described returns
The maximum movable information of total amount value in data total amount, or comprise the current record moment pair that each wearable device described returns
The meansigma methodss of exercise data total amount answered and the movable information in described current record moment.
13. user terminals according to claim 12 it is characterised in that described movable information include the current record moment and
Described current record moment corresponding exercise data total amount;
Described data packaging unit includes:
Data search subelement, for searching the upper record moment corresponding exercise data total amount based on the current record moment;
Data acquisition subelement, for during to a described upper record moment corresponding exercise data total amount and described current record
Carve corresponding exercise data total amount to be calculated, obtain the motion number between described upper record moment to a described current record moment
According to increment;
Data encapsulates subelement, for being packaged to described exercise data increment locating using the ID based on interactive application
Reason.
14. user terminals according to claim 12 are it is characterised in that also include:
Connection establishment unit, is connected for setting up Bluetooth communication using bluetooth connection mode and wearable device.
A kind of 15. application servers are it is characterised in that include:
Data receipt unit, the exercise data increment after the encapsulation process sending for receive user terminal, described encapsulation process
Exercise data increment afterwards calculates according to the movable information currently being recorded that wearable device returns by described user terminal
Arrive, and increased using the exercise data being packaged based on the ID of interactive application in the current preset time period of process
Amount;
List update unit, for being carried out to the corresponding exercise data list of described ID using described exercise data increment
Update;
List output unit, for exporting described exercise data list;
Wherein, described wearable device includes at least one wearable device, and at least one wearable device described, each can
The movable information of wearable device carries the current record moment, and corresponding exercise data total amount of described current record moment;
The described movable information currently being recorded be described user terminal using default screening rule described each wearable set
The information determining in the standby movable information returning, described default screening rule is the current note that each wearable device described returns
The maximum movable information of total amount value in record moment corresponding exercise data total amount, or comprise described each wearable device return
The meansigma methodss of current record moment corresponding exercise data total amount and the movable information in described current record moment.
16. servers according to claim 15 are it is characterised in that also include:
Judging unit, for judging whether current time reaches predetermined time;
For described judging unit, data dump unit, if judge that described current time reaches described predetermined time, to described
Exercise data in ID corresponding exercise data list is zeroed out processing;
Notification unit, if judging that described current time does not reach described predetermined time for described judging unit, notifies described
The execution of list update unit is updated to the corresponding exercise data list of described ID using described exercise data increment.
17. servers according to claim 15 or 16 are it is characterised in that described list update unit includes:
Data updates subelement, for obtaining the corresponding exercise data of described ID being stored, and adopts described motion
To described ID, corresponding exercise data is updated data increment;
Data acquisition subelement, for obtaining each friendship at least one interactive user mark being associated with described ID
The mutually corresponding exercise data of ID;
List generates subelement, for using predetermined order mode, to the corresponding exercise data of ID after updating and
Each interactive user described identifies corresponding exercise data and is ranked up processing, and generates exercise data row after sequence is processed
Table.
A kind of 18. data statistics systems it is characterised in that include user terminal as described in any one of claim 12-14 with
And the application server as described in any one of claim 15-17, also include at least one wearable device;Wherein,
Each wearable device at least one wearable device described, for when the motion receiving described user terminal transmission
During information request, the movable information currently being recorded is back to by described user terminal according to the request of described movable information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410814242.4A CN104580403B (en) | 2014-12-24 | 2014-12-24 | A kind of data statistical approach and its system, user terminal, application server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410814242.4A CN104580403B (en) | 2014-12-24 | 2014-12-24 | A kind of data statistical approach and its system, user terminal, application server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104580403A CN104580403A (en) | 2015-04-29 |
CN104580403B true CN104580403B (en) | 2017-03-01 |
Family
ID=53095561
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410814242.4A Active CN104580403B (en) | 2014-12-24 | 2014-12-24 | A kind of data statistical approach and its system, user terminal, application server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104580403B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104836727B (en) * | 2015-05-12 | 2019-01-25 | 李卫军 | Movement social activity control method based on instant messaging |
CN114167743A (en) * | 2015-10-30 | 2022-03-11 | 安定宝公司 | Wearable control device, control system and method for controlling controlled electric appliance |
CN107370781A (en) * | 2016-05-12 | 2017-11-21 | 中兴通讯股份有限公司 | A kind of management method, terminal and the system of Wearable data |
WO2018076181A1 (en) * | 2016-10-25 | 2018-05-03 | 深圳市屹石科技股份有限公司 | Fitness management terminal, server, method and system based on two-dimensional code |
CN107896365A (en) * | 2017-03-17 | 2018-04-10 | 深圳市云康悦荟网络科技有限公司 | A kind of apparatus work data acquisition and transmission method based on intelligent velcro |
CN108804455A (en) * | 2017-04-28 | 2018-11-13 | 中移(杭州)信息技术有限公司 | A kind of data reordering method and device |
CN107135474B (en) * | 2017-06-15 | 2019-12-20 | 北京一数科技有限公司 | Data synchronization method and device and mobile device |
CN107591191A (en) * | 2017-09-29 | 2018-01-16 | 广州市香港科大霍英东研究院 | The analysis storage method and system of exercise data |
CN107860397A (en) * | 2017-10-25 | 2018-03-30 | 北京小米移动软件有限公司 | Count the method and device of movable information |
CN109726581B (en) * | 2017-10-31 | 2020-04-14 | 阿里巴巴集团控股有限公司 | Data statistical method and device |
CN109040053A (en) * | 2018-07-26 | 2018-12-18 | 深圳市梵高夫科技有限公司 | Acquisition methods, terminal and storage medium based on block chain movement parameter |
CN111930532B (en) * | 2020-07-09 | 2023-11-17 | 智盈未来(西安)信息技术有限公司 | Avionics data integration method and device |
CN114500597B (en) * | 2022-01-19 | 2024-03-08 | 云控智行科技有限公司 | Vehicle data processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645078A (en) * | 2009-09-11 | 2010-02-10 | 中南大学 | System and method for integration of change information collection and spatiotemporal data update] |
CN104144203A (en) * | 2013-12-11 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Method and device for sharing information |
CN104144216A (en) * | 2014-07-31 | 2014-11-12 | 中国联合网络通信集团有限公司 | Data processing method and device for wearable terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140197963A1 (en) * | 2013-01-15 | 2014-07-17 | Fitbit, Inc. | Portable monitoring devices and methods of operating the same |
-
2014
- 2014-12-24 CN CN201410814242.4A patent/CN104580403B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101645078A (en) * | 2009-09-11 | 2010-02-10 | 中南大学 | System and method for integration of change information collection and spatiotemporal data update] |
CN104144203A (en) * | 2013-12-11 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Method and device for sharing information |
CN104144216A (en) * | 2014-07-31 | 2014-11-12 | 中国联合网络通信集团有限公司 | Data processing method and device for wearable terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104580403A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104580403B (en) | A kind of data statistical approach and its system, user terminal, application server | |
CN106161628B (en) | Shooting file uploading method and device | |
CN102572875B (en) | Network latency for mobile device is estimated | |
CN109101381A (en) | Configuration file update method, system, electronic equipment and storage medium | |
US9301097B2 (en) | Correlating wireless signals to a location on an image using mobile sensor technologies | |
CN107466103A (en) | A kind of method of locating terminal and the network equipment | |
EP3598791A1 (en) | Communication system, base station, communication method, and non-transitory computer readable medium storing program | |
CN102710858A (en) | Pairing method and system between mobile devices | |
CN104717743B (en) | Mobile terminal method for tracing and system based on signalling analysis | |
WO2014145728A2 (en) | System and method of an event timing system having integrated geodetic timing points | |
CN103994764B (en) | Portable positioning system | |
US20200088533A1 (en) | Navigation Method, Navigation Device, and Storage Medium | |
CN105571609B (en) | A kind of kinematic parameter processing method and mobile terminal | |
CN102016857A (en) | Virtual space provision device, program, and virtual space provision system | |
CN106416319A (en) | Deriving relationships from overlapping location data | |
CN107733687A (en) | Prompt service abnormal method, terminal, server and computer-readable medium | |
US11082806B2 (en) | Method of identifying user location, storage medium and electronic device | |
US20160105866A1 (en) | A method and apparatus for recording information from a plurality of mobile devices in an area | |
US11722986B2 (en) | Positioning system for continuously and accurately updating position value of wireless LAN AP, and method therefor | |
CN104056442A (en) | Intelligent body building realization method, device and system | |
EP2177928A1 (en) | Method for providing indoor positioning information to a navigation application based on the conversion of the positioning information to a standard format | |
CN110501007B (en) | Path planning method, device and terminal | |
JP6938904B2 (en) | Transmission control program, transmission control method and information processing device | |
EP3149978B1 (en) | System for providing location-based social networking services to users of mobile devices | |
CN106649798A (en) | Beidou high precision-based structure monitoring data comparison and correlation analysis method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20211104 Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |