CN107733865A - Hidden method and device, the server and storage medium of a kind of motion state - Google Patents

Hidden method and device, the server and storage medium of a kind of motion state Download PDF

Info

Publication number
CN107733865A
CN107733865A CN201710811296.9A CN201710811296A CN107733865A CN 107733865 A CN107733865 A CN 107733865A CN 201710811296 A CN201710811296 A CN 201710811296A CN 107733865 A CN107733865 A CN 107733865A
Authority
CN
China
Prior art keywords
motion
period
account
expected
parameter values
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710811296.9A
Other languages
Chinese (zh)
Other versions
CN107733865B (en
Inventor
张良海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MIGU Interactive Entertainment Co Ltd
Original Assignee
MIGU Interactive Entertainment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MIGU Interactive Entertainment Co Ltd filed Critical MIGU Interactive Entertainment Co Ltd
Priority to CN201710811296.9A priority Critical patent/CN107733865B/en
Publication of CN107733865A publication Critical patent/CN107733865A/en
Application granted granted Critical
Publication of CN107733865B publication Critical patent/CN107733865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0407Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the identity of one or more communicating identities is hidden
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2125Just-in-time application of countermeasures, e.g., on-the-fly decryption, just-in-time obfuscation or de-obfuscation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of hidden method of motion state, including:In actual motion data procedures corresponding to the first account that collection motion client is logged in, obtain first account and it is expected to hide the period of actual motion state and corresponding desired motion status information;And actual motion status parameter values of first account in start time period are obtained from the actual motion data of collection;The period, desired motion status information and actual motion status parameter values are sent to server, for the server according to the period, desired motion status information and actual motion status parameter values, the desired motion status parameter values for it is expected in the period to present are generated, to respond the interaction request of the second account that the motion client logged in first account.The present invention further simultaneously discloses a kind of concealing device of motion state, server and computer-readable recording medium.

Description

Hidden method and device, the server and storage medium of a kind of motion state
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of hidden method of motion state and device, server with And computer-readable recording medium.
Background technology
In order to meet various demands of the people for motion, occurs the fortune that can be much arranged in terminal currently on the market Dynamic application.So, people can not only record various exercise datas using the sports applications, such as record motion total duration with And movement locus etc.;But also can be interacted using these sports applications with good friend, as user can by exercise data to this Good friend in sports applications shows that specifically, the total duration of motion, movement locus and motion total step number etc. are moved number by user According to the good friend being shared with sports applications, the motion state of can real-time display user on the sports applications interface of good friend.This Sample, the good friend of user can check the motion state of the daily total step number of user at any time, or user can be checked in some period The motion state of interior total step number, or even the step number curve map of user's each period (for example, per hour) can be checked.
However, in actual applications, user is not intended to that the motion state of itself is all presented into good friend in real time.So, User needs to be set in advance as sports applications to forbid the exercise data for sharing user, or is arranged to forbid sports applications to call And the data-interface in reading terminals, or user can also directly exit sports applications.Because the sports applications of user have been set It is set to and forbids sharing or be turned off, in this way, will be unable to presentation user on the sports applications interface of user good friend in institute's having time Motion step number in section;And, it is easy to found by the good friend in social platform, particularly many users may be not intended to spy The motion state in section of fixing time shows the situation of good friend, so as to realize the original intention for being not easy to be discovered by other users.
The content of the invention
To solve the problems, such as that prior art is present, the embodiment of the present invention it is expected to provide a kind of hidden method of motion state and Device, server and computer-readable recording medium, the process of actual motion data can be gathered in real time in motion client Middle realization is hidden to the actual motion state in special time period, reaches the effect for hiding displacement state well.
What the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of hidden method of motion state, methods described includes:
In actual motion data procedures corresponding to the first account that collection motion client is logged in, described first is obtained Account it is expected to hide the period of actual motion state and corresponding desired motion status information;And from the actual motion of collection Actual motion status parameter values of first account in start time period are obtained in data;
The period, desired motion status information and actual motion status parameter values are sent to server, for institute Server is stated according to the period, desired motion status information and actual motion status parameter values, generates the period The interior desired motion status parameter values for it is expected to present, to respond second account that is logged in of motion client to described first The interaction request of account.
In such scheme, the period for obtaining first account and it is expected hiding actual motion state, including:
Hiding instruction triggering command is received, the hiding instruction triggering command, which carries triggering start time and preset, to be hidden Time interval;
According to the triggering start time and default hiding time interval, determine that first account it is expected to hide actual fortune The period of dynamic state.
It is described to obtain first account and it is expected to hide period of actual motion state and corresponding in such scheme Desired motion status information, including:
Receive first account and correspond to the hiding start time of user's input and hiding finish time;
According to the hiding start time and hiding finish time, determine that first account it is expected to hide actual motion shape The period of state;
Obtain the desired motion status information for the period that first account corresponds to user's input.
The embodiments of the invention provide a kind of concealing device of motion state, described device includes:First processor and For storing the first memory for the computer program that can be run on first processor;Wherein,
When the first processor is used to run the computer program, the hidden of said apparatus lateral movement state is realized in execution Tibetan method.
The embodiments of the invention provide a kind of concealing device of motion state, described device includes:Acquisition module and transmission Module;Wherein,
The acquisition module, in actual motion data mistake corresponding to the first account for being logged in of collection motion client Cheng Zhong, obtain first account and it is expected to hide the period of actual motion state and corresponding desired motion status information; And actual motion state of first account in start time period is obtained from the actual motion data of collection and is joined Numerical value;
The sending module, for by the period, desired motion status information and actual motion status parameter values Send to server, for the server according to the period, desired motion status information and actual motion state parameter Value, the desired motion status parameter values for it is expected in the period to present are generated, logged in to respond the motion client Interaction request of second account to first account.
The embodiments of the invention provide a kind of hidden method of motion state, methods described includes:
The parameter information that the first account that motion client is logged in is sent is received, the parameter information includes:It is expected hidden Hide period of actual motion state, desired motion status information and start time period corresponding to the period Actual motion status parameter values;
According to the period, desired motion status information and actual motion status parameter values, the period is generated The interior desired motion status parameter values for it is expected to present;
When receiving second account that is logged in of motion client to the interaction request of first account, by institute State desired motion status parameter values and be sent to second account.
In such scheme, the desired motion status information includes desired motion step number in the period, the reality Border motion state parameterses value includes the total step number of start time period, and the desired motion status parameter values include described Each moment it is expected the total step number presented in period;
It is described according to the period, desired motion status information and actual motion status parameter values, when generating described Between the desired motion status parameter values that present it is expected in section, including:
Step number and the unit interval length of the period are moved according to desired in the period, when determining described Between in section the unit interval incremental step number;
According to the total step number of start time period and it is described be incremented by step number, when generating in the period with unit Between be incremented by corresponding to each moment it is expected the total step number that presents.
In such scheme, the actual motion status parameter values also include the positional information of start time period, The desired motion status parameter values include it is expected the positional information presented in the period;
Generate in the period with the unit interval be incremented by corresponding to each moment it is expected the total step number presented when, methods described Also include:
It is incremented by step number based on described, determines the target motion step number of first account;And according to relative to the time The history average stride of the motion step number of section start time and the first account of statistics, determine the target fortune of first account Dynamic distance;The target motion step number is to be incremented by corresponding each moment relative to the time in the period with the unit interval The motion step number of section start time, the target move distance are to be incremented by corresponding each moment in the period with the unit interval Relative to the move distance of start time period;
According to the move distance relative to start time period, the positional information of start time period with And the first of first account it is expected motion path, determine that first account it is expected the position presented within the period Information;Described first it is expected that motion path is the first object according to each account of the presetting method from the motion client of statistics The motion path that motion path central diameter filters out;The first object motion path is to include start time period The motion path of positional information.
In such scheme, the desired motion status information also includes:First account it is expected way in the period The positional information and desired trajectory shape in the place in footpath;It is described according to the period, desired motion status information and reality Border motion state parameterses value, after generating the desired motion status parameter values for it is expected to present in the period, methods described is also Including:
To including the positional information of start time period and the first account expectation way in the period All motion paths of the positional information in the place in footpath scan for, and obtain the second target motion path;
According to the desired trajectory shape, match from the second target motion path to obtain according to preset matching algorithm Two it is expected motion path;
Motion path and the move distance relative to start time period it is expected according to described second, it is determined that described The movement locus of first account.
The embodiments of the invention provide a kind of server, the server includes:Second processor and for storing energy The second memory of enough computer programs run in second processor;Wherein,
When the second processor is used to run the computer program, above-mentioned server side motion state is realized in execution Hidden method.
The embodiments of the invention provide a kind of server, the server includes:Receiving module, generation module and transmission mould Block;Wherein,
The receiving module, the parameter information sent for receiving the first account that motion client is logged in, the ginseng Number information includes:It is expected to hide period of actual motion state, desired motion status information corresponding to the period and The actual motion status parameter values of start time period;
The generation module, for according to the period, desired motion status information and actual motion state parameter Value, generate the desired motion status parameter values for it is expected to present in the period;
The sending module, for when receiving second account that is logged in of motion client to first account Interaction request when, the desired motion status parameter values are sent to second account.
The embodiments of the invention provide a kind of computer-readable recording medium, stored in the computer-readable recording medium There are computer executable instructions, the computer executable instructions computer program realizes above-mentioned dress when being performed by first processor Put the hidden method of lateral movement state, or when the computer executable instructions computer program is performed by second processor it is real The hidden method of existing above-mentioned server side motion state.
It can be seen that in the embodiment of the present invention, by moving client in real-time the first account for gathering motion client and being logged in In actual motion data procedures corresponding to family, first obtain first account it is expected to hide the period of actual motion state and Corresponding desired motion status information, and obtain first account from the actual motion data of collection and opened in the period The actual motion status parameter values at moment beginning;Then, by the period, corresponding desired motion status information and it is described when Between the actual motion status parameter values of section start time be sent to server;And the server according to the period, correspondingly Desired motion status information and the actual motion status parameter values of start time period, generate first account It is expected the desired motion status parameter values presented;When the second account request that the motion client is logged in checks described first During the exercise data of account, the desired motion status parameter values are sent to second account by the server.So as to Enough realize is realized to enter the motion state in special time period during motion client gathers actual motion data in real time Row is hidden, and realizes the original intention for being not easy to be discovered by other users;And then it can solve the problem that many users may be not intended to when will be specific Between motion state in section the problem of showing good friend, reach the effect for hiding displacement state well.
Brief description of the drawings
Fig. 1 is the implementation process schematic diagram of the hidden method of device side motion state of the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram of the hidden method of server side motion state of the embodiment of the present invention;
Fig. 3 is a kind of specific implementation schematic flow sheet of step 202 in Fig. 2;
Fig. 4 is another specific implementation schematic flow sheet of step 202 in Fig. 2;
Fig. 5 is that the concealing device of motion state of the embodiment of the present invention forms structural representation;
Fig. 6 is that the concealing device hardware of motion state of the embodiment of the present invention forms structural representation;
Fig. 7 is server group of the embodiment of the present invention into structural representation;
Fig. 8 is that server hardware of the embodiment of the present invention forms structural representation.
Embodiment
It is can be seen that from the description of background technology in correlation technique, the motion state of itself hidden in sports applications Simultaneously, it is easy to discovered by other users, and can not realize and be hidden the motion state in special time period.
For example for, for miaow cluck it is kind run this motion client, have three kinds of implementations make user miaow cluck it is kind The motion state of itself is hidden in race.The first implementation is:User directly logs off from miaow cluck kind race;Second of realization Mode is:Forbid miaow cluck the kind data-interface out of tune with institute in the terminal, to forbid reading exercise data;The third implementation For:Pre-set in miaow cluck kind race and forbid the exercise data for sharing user, if for example, by cluck the kind race of attendant exclusion miaow Good friend share the exercise data (the motion step number in such as each period) of user, then good friend miaow cluck kind run display interface On will be unable to motion step number of the presentation user within all periods.
Although above-mentioned three kinds of implementations can be realized hides the motion state of itself in miaow cluck kind race, in miaow During cluck kind race is exited or forbidden, user good friend will check that so, user hides certainly less than any exercise data on user The behavior of body motion state will be easy to be found by the good friend in social platform, can not realize and be not easy what is discovered by other users Original intention.
In addition, above-mentioned three kinds of implementations can not be realized and be hidden the motion state in special time period;Citing For, in 10 AM to ten two points, miaow cluck kind run can not be by good friend's miaow cluck kind motion state for running the user shown on interface It is changed to without motion state;Also user can not be hidden in morning or the motion step number in the late into the night or athletic venue etc..
Based on this, the hiding scheme of motion state provided in an embodiment of the present invention, pass through the motion visitor in terminal It is hiding real first to obtain expectation in actual motion data procedures corresponding to the first account that collection motion client is logged in for family end The period of border motion state and corresponding desired motion status information, and the period is obtained from actual motion data The actual motion status parameter values of start time.Then, by the period, corresponding desired motion status information and reality Motion state parameterses value is sent to server.Finally, after server receives these parameter informations that motion client is sent, root According to these parameter informations generation since the initial time of the period, first account it is expected within the period be in Existing desired motion status parameter values, so as to ensure the continuous of the actual motion state of first account and desired motion state Property.
If the second account that the motion client is logged in asks to check first account within the period During exercise data, the server by include it is expected in the period present desired motion status parameter values be sent to institute The second account is stated, so that second account is checked.The actual motion state in special time period is carried out so as to realize Hide, realize the original intention for being not easy to be discovered by other users;And then it can solve the problem that many users may be not intended to special time The problem of motion state in section shows good friend, reach the effect for hiding displacement state well.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.Should Understand, the specific embodiments described herein are merely illustrative of the present invention, is not intended to limit the present invention.
Fig. 1 is the implementation process schematic diagram of the hidden method of device side motion state of the embodiment of the present invention.The institute of reference picture 1 Show, the hidden method of the motion state of the present embodiment comprises the following steps:
Step 101, in actual motion data procedures corresponding to the first account that collection motion client is logged in, obtain First account it is expected to hide the period of actual motion state and corresponding desired motion status information;And from collection Actual motion status parameter values of first account in start time period are obtained in actual motion data;
The hidden method of the motion state of the present embodiment, applied to terminal, motion client is installed in the terminal, it is described The first account is logged in motion client.The motion client after operation, can record first account pair in real time Using the actual motion data at family, the actual motion data, Yi Jiyu can be checked so that first account corresponds to user Other good friend users share the actual motion data.
Here, first account it is expected that hiding actual motion state can be interpreted as with narrow sense:Described first is not shown Account corresponds to the actual motion status information of user, and the actual motion status information can be the actual fortune in special time period Dynamic status information, or daylong actual motion status information.For example, do not show that first account corresponds to user and existed 22 points to 24 points of actual motion status information, or do not show that first account corresponds to the daylong actual motion shape of user State information.
Certainly, first account it is expected to hide actual motion state can also broad sense be interpreted as:It is desired with user Movement state information replaces the actual motion status information of user, so as to hide described the on motion client display interface One account corresponds to the actual motion state of user.For example user is 1000 steps in 22 points to 24 points actual motion step numbers, and use Family it is expected that the motion step number for being shared with other users is 500 steps within the time period, therefore, in 22 points to 24 points this periods Interior motion step number can replace 1000 steps with 500 steps, so as to hide the reality of itself with the desired motion state of user Border motion state;Again for example, user it is expected not showing actual motion status information within 22 points to 24 points this periods, this When, the actual motion state of itself can be replaced with stationary motion state, so as to hidden with the desired motion state of user Hide the actual motion state of itself.
It should be noted that the terminal includes sensor, the sensor can gather first account pair in real time Using the actual motion data at family, the actual motion data obtain the actual motion shape of user after the processor processing of terminal State parameter value.When first account, which corresponds to user, does not expect to hide the actual motion state of itself, the motion of the terminal The data-interface of client real-time calling terminal operating system, to read exercise data, and it will be handled according to the exercise data The actual motion status parameter values obtained afterwards are sent to server;When the second account request that the motion client is logged in is looked into When seeing the motion state of first account, the actual motion status parameter values are sent to second account by the server Family, so as to which second account can interact with first account in real time.
However, when first account corresponds to user and it is expected to hide the actual motion state of itself, user can pass through The interface for moving client is operated, user is pre-set and it is expected to hide the period of actual motion state;Correspondingly, transport The period for it is expected to hide actual motion state that dynamic client can obtain user and set by receiving instruction.For example, User can according to predetermined registration operation mode, a certain button or a certain icon or a certain buoy on the interface to moving client, Or a certain text box is operated, it is expected to hide the period of actual motion state to determine that first account corresponds to user; User is after it is determined that hide the period, and correspondingly, motion client can obtain the hiding period by receiving instruction.Institute It can be clicking operation mode to state predetermined registration operation mode, or touch operation mode, can also be acoustic control operation mode.
For example, the motion client can set acquiescence, from triggering specific button, (specific button instruction will hide The motion state of user) start, hide first account and correspond to the ensuing actual motion state of user;That is, work as When user clicks the specific button, motion client, which can receive, hides instruction triggering command, and this hides instruction triggering Instruction user is instructed it is expected to hide ensuing actual motion state.Motion client can also preset a period, when with When family clicks the specific button, since the motion client acquiescence hide institute receiving and hiding instruction triggering command State the actual motion state in the period.Certainly, the motion client can also set an end hiding button, work as user When clicking end hiding button, the motion client, which can receive, hides instruction END instruction, and this is hidden instruction and terminated Instruction indicates that first account corresponds to user and confirms no longer to hide the actual motion state of itself.
Specifically, the motion client can detect whether to receive in real time hides instruction triggering command, hidden when receiving Instruction triggering command is hidden, the hiding instruction triggering command carries triggering start time and default hiding time interval;According to The triggering start time and default hiding time interval, determine that first account it is expected to hide the time of actual motion state Section.For example, the motion client receives at the time of 22 hides instruction triggering command, and between the default hiding time Every being arranged to two hours, then it can determine that first account it is expected that the period for hiding actual motion state is 22 points to 24 Point.
In one embodiment, the motion client can also include user interface, can receive first account pair Hiding start time and hiding finish time using family input;According to the hiding start time and hiding finish time, really Fixed first account it is expected to hide the period of actual motion state.The motion client can be with pop-up dialogue box, for institute State the first account and correspond to user's input hiding start time and hiding finish time.Inputted by user and hide start time and hidden Finish time is hidden, the period for needing to hide actual motion state can be arbitrarily set, so as to improve the flexibility of setting, more Meets the needs of user well.For example, when user is at the time of 12, can pre-set needs hiding reality at 22 points to 24 points Border motion state, 12 points to second day 12 points of actual motion states of the same day can also be set.
In one embodiment, while the period for hiding actual motion state is set or afterwards, user can be with Desired motion status information corresponding to the period is set;Correspondingly, motion client can be used by user interface The desired motion status information that family is set.The desired motion status information includes to show to user good friend on display interface Various motion state datas;For example, the location of total step number, the step number in special time period, user data, motion away from From, consumption total calorie, consumed in specific time period total calorie, total movement locus, the motion in special time period Track etc..
For example, when the desired motion status information includes it is expected the motion step number presented in the period, user It can show in option (for example, 300-700,701-1500,1501-3000 etc.) on the display screen and select from motion client It is expected the motion step number presented, correspondingly, the motion client can get the phase within the period of user's selection Hope the motion step number presented.
After motion client gets the motion step number for it is expected to present in hiding period and the period, by this The a little parameter informations and actual motion total step number of start time is sent to server in the period, for server according to The information received, generate first account and correspond to the motion total step number that user it is expected to present within the period, and ring Answer interaction request of second account to first account.So that motion client available subscribers it is expected the motion presented Step number replaces the actual motion step number of user, realizes the purpose for hiding the actual motion state of user itself.
In one embodiment, the positional information in the place of expectation approach and expectation in user's also settable hiding period Trajectory shape, correspondingly, client is moved by user interface after these track-related informations that user is set are obtained, by this A little track-related informations are sent to server, so that server generation user it is expected the motion rail of presentation within the period Mark.Specifically, user can be arranged on some school of inevitable approach in the hiding period and can be arranged on the hiding period Interior desired trajectory shape is heart-shaped or circular, and correspondingly, motion client can obtain the user within the hiding period and it is expected Some school of approach, and user desired motion track within the hiding period is heart-shaped or circular.
In one embodiment, motion client can also set a state flag bit, described in the Status Flag bit identification First account corresponds to whether user it is expected to hide the actual motion state of itself.The state flag bit includes 1 and 0 two states, Wherein, 1 represent that user it is expected to hide the actual motion state of itself, 0 expression user does not hide the actual motion state of itself;This In embodiment, the state flag bit is defaulted as 0, and only when motion client, which receives, hides instruction triggering command, institute Stating state flag bit, just meeting set is 1.
The state flag bit can be sent to clothes in the lump by the motion client when sending parameter information to server Business device, the parameter information can include hiding period and desired motion status information, can also include actual motion shape State adopts parameter value.Server can inquire about the state flag bit before motion state parameterses value is sent into the second account.When When the state flag bit is 0, the actual motion status parameter values are sent to second account by the server;And work as When the state flag bit is 1, the server can according to receive the hiding period, desired motion status information and hidden The actual motion status parameter values of start time period are hidden, generate the desired motion state ginseng that first account it is expected to present Numerical value, and the desired motion status parameter values are sent to second account.
In addition, when moving client progress social networking application, for example, each account that the motion client is logged in is same When add the group of race, each account corresponds to user and can interacted in the group of race, and checks the motion shape of other users State information.The social networking application can be by the data-interface of reading terminals operating system or from server corresponding to motion client Middle acquisition exercise data, and the exercise data of user is shown or shared.
If obtaining exercise data from server, each account of the social networking application, which corresponds to user, to be pre-set Period and corresponding desired motion status information are hidden, and is sent to server, so that the social networking application is each Account, which corresponds to user, can hide the actual motion state of itself.
If social networking application obtains exercise data from the data-interface of terminal operating system, because the exercise data is Sensor in the terminal gathers acquisition in real time;Therefore, in this case, whether terminal can detect the social networking application Data-interface is being called, when detecting that the social networking application is calling data-interface within the hiding period, to the data Interface, which performs, kidnaps operation.The abduction operation can be according to the different and different of operating system;For example, can be by being operated in apple Cydia Substrate plug-in units are set in system (IOS, iPhone Operating System), or adopted in Android system The instrument Xposed that project is kidnapped with dynamic kidnaps operation to perform.Pass through the read-write for kidnapping the controllable data-interface of operation Authority, motion client is then set to obtain exercise data from server, so that each account of the social networking application is to application Family can hide the actual motion state of itself.
Step 102, the period, desired motion status information and actual motion status parameter values are sent to service Device, for the server according to the period, desired motion status information and actual motion status parameter values, described in generation The desired motion status parameter values presented it is expected in period, to respond the second account that the motion client logged in institute State the interaction request of the first account.
Specifically, server is after the parameter information that first account is sent is received, according to the parameter information, really Determine user it is expected to hide the period of actual motion state, desired motion status information corresponding to the period and it is described when Between section start time actual motion status parameter values.According to these information, generation first account corresponds to user's expectation and is in Existing desired motion status parameter values, and after second account is received to the interaction request of first account, by institute State desired motion status parameter values and be sent to second account.
It should be noted that when hiding finish time period arrives, the server can be by first account The positional information that corresponding user it is expected to present at the moment feeds back to motion client.If the motion client detects this Moment it is expected that the positional information presented and actual position information are not consistent;Now, motion client can eject a dialogue Frame, choose whether to continue to hide actual motion state for user, until user it is expected the positional information presented and actual bit confidence Breath is consistent.The desired motion state of user and the continuity of actual motion state are thereby may be ensured that, reaches preferably to hide and uses The effect of the actual motion state at family.
First account of acquisition it is expected to hide period of actual motion state, right by the present embodiment by moving client The desired motion status information answered and first account that is obtained from the actual motion data of collection are in the period The actual motion status parameter values of start time are sent to server, and first account is generated according to these information for server Corresponding user it is expected the desired motion status information presented.In this way, when second account that is logged in of motion client is hidden Request is hidden in the period when checking the exercise data of first account, the server is by the desired motion status parameter values It is sent to second account.So as to realize the realization pair during motion client gathers actual motion data in real time Motion state in special time period is hidden, and realizes the original intention for being not easy to be discovered by other users;And then it can solve the problem that very The problem of multi-user may be not intended to the motion state in special time period showing good friend, reach and hide itself fortune well The effect of dynamic state.
The embodiment of the present invention additionally provides a kind of hidden method of motion state, real for the present invention applied to server, Fig. 2 Apply the implementation process schematic diagram of a hidden method for server side motion state, shown in reference picture 2, the motion state of the present embodiment Hidden method comprise the following steps:
Step 201, the parameter information that the first account that motion client is logged in is sent, the parameter information bag are received Include:It is expected to hide period of actual motion state, desired motion status information and the time corresponding to the period The actual motion status parameter values of section start time;
The hidden method of the motion state of the present embodiment is applied to server, for the ginseng sent according to first account Number information, generate first account and correspond to the motion state parameterses value that user it is expected to present, and responsive movement client is stepped on Interaction request of second account of record to first account.
Here, after the server receives the parameter information that first account is sent, the parameter information is carried out Parsing.The parameter information can include state flag bit, and the state flag bit sign first account, which corresponds to user, is It is no it is expected to hide the actual motion state of itself.When the state flag bit is 0, parsed from the parameter information described First account corresponds to the actual motion status parameter values of user;When the Status Flag is 1, parsed from the parameter information It is expected to hide period of actual motion state, desired motion status information corresponding to the period and the period are opened The actual motion status parameter values at moment beginning.
Step 202, according to the period, desired motion status information and actual motion status parameter values, institute is generated State the desired motion status parameter values for it is expected to present in the period;
Here, the desired motion status information can include desired motion step number in the period, correspondingly, institute The total step number of start time period, the desired motion status parameter values can be included by stating actual motion status parameter values The total step number that each moment expectation is presented in the period can be included.
Fig. 3 is a kind of specific implementation schematic flow sheet of step 202 in Fig. 2, and shown in reference picture 3, the step 202 is specific Comprise the following steps:
Step 2021, step number and the unit interval length of the period are moved according to desired in the period, Determine the incremental step number of unit interval in the period;
Here, the step number that is incremented by can be according to desired motion step number divided by the list of the period in the period Position time span calculates, and the unit interval can be one minute;For example, the unit interval length of two hours is 120.
For example for, when the period is 22 points to 24, the desired motion step number within the period For 1000 steps, thus, it is possible to obtain incremental step number per minute in the period is 1000/120=8.33 steps.
Step 2022, according to the total step number of start time period and the incremental step number, the period is generated The interior total step number for being incremented by corresponding each moment expectation presentation with the unit interval.
Here, according to the total step number of start time period and the incremental step number, the period can be generated The interior each moment incremental with minute it is expected the total step number presented.For example, when the period is 22 points to 24, described Desired motion step number is 1000 steps in period, and the total step number of start time period is 3000 steps, then can generate It is 3000+60* (1000/120)=3500 step that first account, which corresponds to the total step number that user it is expected to present at 23 point moment,.
In this embodiment, the actual motion status parameter values can also include the position of start time period Information, correspondingly, the desired motion status parameter values can also include it is expected the positional information presented in the period;Institute Server is stated in addition to generating and being incremented by the total step number that corresponding each moment expectation is presented in the period with the unit interval, may be used also To generate the positional information hidden first account in the period and correspond to user.Specifically, Fig. 4 is the another of step 202 in Fig. 2 One kind specific implementation schematic flow sheet, shown in reference picture 4, the step 202 is further comprising the steps of:
Step 2023, it is incremented by step number based on described, determines the target motion step number of first account;And according to relative to The history average stride of the motion step number of start time period and the first account of statistics, determine first account Target move distance;Target motion step number be in the period with the unit interval be incremented by corresponding to each moment relative to The motion step number of start time period, the target move distance are incrementally to be corresponded to the unit interval in the period Each moment relative to start time period move distance;
For example for, when the period is 22 points to 24, the desired motion step number within the period For 1000 steps, first account corresponds to the position that user is in hotel at 22 point moment.This in this case, the server The incremental step number can be based on, determines that first account corresponds to user and walked at 23 point moment relative to the motion at 22 point moment Number is 60* (1000/120)=500 step.Then, the first account based on statistics corresponds to 0.5 meter of the history average stride of user, It is 250 relative to the move distance at 22 point moment that the server, which can determine that first account corresponds to user at 23 point moment, Rice.
Step 2024, according to the move distance relative to start time period, start time period First expectation motion path of positional information and first account, determines that first account it is expected within the period The positional information of presentation;Described first it is expected motion path for each account according to presetting method from the motion client of statistics The motion path that filters out of first object motion path central diameter;The first object motion path is to include the period The motion path of the positional information of start time.
Here, the server can prestore the first object motion path of each account, and determine each account pair It is expected motion path using the first object motion path of family approach maximum probability for the first of first account.For example, institute State server and be previously stored with 3 first object motion paths, each first object motion path all approach hotels are (described Certain hotel characterizes the positional information of start time period), and have recorded five people meeting when approach hotel First first object motion path is walked in selection, and have recorded three people can select away Article 2 the when approach hotel One target motion path, and have recorded two people can select away Article 3 first object to move when approach hotel Path;Then the server can determine that the motion path of maximum probability when each account corresponds to user approach hotel is first First object motion path, first first object motion path is defined as described first and it is expected motion path.
Further, since the parameter information that the server is sent according to first account, can determine described in real time One account corresponds to the positional information of user;Therefore, can be according in the period that first account is sent described first Account it is expected the positional information and desired trajectory shape in the place of approach, generates first account and corresponds to user's expectation presentation Movement locus.
Specifically, to including the positional information of start time period and first account in the period It is expected that all motion paths of the positional information in the place of approach scan for, obtain the second target motion path;According to described Desired trajectory shape, match from the second target motion path to obtain the second expectation motion path according to preset matching algorithm; It is expected motion path and the move distance relative to start time period according to described second, determine first account Movement locus.
Here, the matching algorithm is the usual algorithm of state of the art, and it will not be deployed herein.
If second account request checks that first account corresponds to the movement locus of user, the server also needs to The movement locus that first account corresponds to user is sent to second account, to respond second account to described The interaction request of one account.
Step 203, when receive interaction of second account that is logged in of motion client to first account please When asking, the desired motion status parameter values are sent to second account.
Here, second account can be by clicking on the icon of first account, to ask to check first account Family corresponds to the motion state parameterses value of user, can also be by refreshing each good friend's account on the motion client display interface The exercise data of corresponding user, to ask to check the motion state parameterses value that first account corresponds to user.In the hiding time In section, when the server receives second account to the interaction request of first account, by the desired motion Status parameter values are sent to second account.Certainly, if the second account request checks that first account corresponds to user institute Some motion state parameterses values, the server also need in addition to sending desired motion status parameter values to second account Send the actual motion status parameter values before the hiding period.So as to show boundary in the motion client of user good friend On face under the premise of exercise data of the presentation user within all periods, realize hidden to the motion state progress in special time period Hide, reach the effect for hiding displacement state well;And, it is not easy to discovered by other users.
To realize the method for the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of concealing device of motion state, Applied to terminal, the terminal is provided with motion client, the detail of the hidden method for realizing above-mentioned motion state, Reach identical effect.
Fig. 5 is that the concealing device of motion state of the present invention forms structural representation, shown in reference picture 5, in the present embodiment The concealing device of motion state includes:Acquisition module 31 and sending module 32;Wherein,
The acquisition module 31, in actual motion data corresponding to the first account for being logged in of collection motion client During, obtain first account and it is expected to hide the period of actual motion state and corresponding desired motion state letter Breath;And actual motion state of first account in start time period is obtained from the actual motion data of collection Parameter value;
The sending module 32, for by the period, desired motion status information and actual motion state parameter Value is sent to server, is joined for the server according to the period, desired motion status information and actual motion state Numerical value, the desired motion status parameter values for it is expected to present in the period are generated, logged in responding the motion client The second account to the interaction request of first account.
Alternatively, the acquisition module 31, instruction triggering command is hidden specifically for receiving, the hiding instruction triggering refers to Order carries triggering start time and default hiding time interval;According between the triggering start time and default hiding time Every determining that first account it is expected to hide the period of actual motion state.
Alternatively, the acquisition module 31, the hiding beginning of user's input is corresponded to specifically for receiving first account Moment and hiding finish time;According to the hiding start time and hiding finish time, it is hidden to determine that first account it is expected Hide the period of actual motion state;Obtain the desired motion for the period that first account corresponds to user's input Status information.
In actual applications, the acquisition module 31 and sending module 32 can be by the concealing devices of motion state Processor combination communication interface realize.
Above-described embodiment provide motion state concealing device carry out motion state it is hiding when, only with above-mentioned each journey The division progress of sequence module as needed can distribute above-mentioned processing by different programs for example, in practical application Module is completed, i.e., the internal structure of device is divided into different program modules, described above all or part of to complete Processing.In addition, the concealing device for the motion state that above-described embodiment provides and the hidden method embodiment of device side motion state Belong to same design, its specific implementation process refers to embodiment of the method, repeats no more here.
To realize the method for the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of concealing device of motion state, Applied to terminal, the terminal is provided with motion client, the detail of the hidden method for realizing above-mentioned motion state, Reach identical effect.
Fig. 6 is that the concealing device hardware of motion state of the embodiment of the present invention forms structural representation, shown in reference picture 6, this The concealing device of motion state in embodiment includes:First processor 41, for store can be transported on first processor 41 The communication interface 43 of first memory 42 and first of capable computer program;Wherein,
First communication interface 43, information exchange can be carried out with server;
The first processor 41, it is connected with first communication interface 43, information exchange is carried out with server to realize, During for running the computer program, the method that said apparatus side one or more technical scheme provides is performed.
Specifically, when the first processor 41 is used to run the computer program, perform:
In actual motion data procedures corresponding to the first account that collection motion client is logged in, described first is obtained Account it is expected to hide the period of actual motion state and corresponding desired motion status information;And from the actual motion of collection Actual motion status parameter values of first account in start time period are obtained in data;
The period, desired motion status information and actual motion status parameter values are sent to server, for institute Server is stated according to the period, desired motion status information and actual motion status parameter values, generates the period The interior desired motion status parameter values for it is expected to present, to respond second account that is logged in of motion client to described first The interaction request of account.
Alternatively, the first processor 41, during for running the computer program, perform:
Hiding instruction triggering command is received, the hiding instruction triggering command, which carries triggering start time and preset, to be hidden Time interval;
According to the triggering start time and default hiding time interval, determine that first account it is expected to hide actual fortune The period of dynamic state.
Alternatively, the first processor 41, during for running the computer program, perform:
Receive first account and correspond to the hiding start time of user's input and hiding finish time;
According to the hiding start time and hiding finish time, determine that first account it is expected to hide actual motion shape The period of state;
Obtain the desired motion status information for the period that first account corresponds to user's input.
Certainly, during practical application, as shown in fig. 6, each component is coupled by bus system 44.It is it is understood that total Linear system system 44 is used to realize the connection communication between these components.Bus system 44 is in addition to including data/address bus, in addition to electricity Source bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as always in figure 6 Linear system system 44.
Present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium storage has and can held Line program, the executable code first processor 41 realize following steps when performing:
In actual motion data procedures corresponding to the first account that collection motion client is logged in, described first is obtained Account it is expected to hide the period of actual motion state and corresponding desired motion status information;And from the actual motion of collection Actual motion status parameter values of first account in start time period are obtained in data;
The period, desired motion status information and actual motion status parameter values are sent to server, for institute Server is stated according to the period, desired motion status information and actual motion status parameter values, generates the period The interior desired motion status parameter values for it is expected to present, to respond second account that is logged in of motion client to described first The interaction request of account.
Alternatively, when the executable code first processor 41 performs, first account is obtained with specific implementation The step of it is expected to hide the period of actual motion state:
Hiding instruction triggering command is received, the hiding instruction triggering command, which carries triggering start time and preset, to be hidden Time interval;
According to the triggering start time and default hiding time interval, determine that first account it is expected to hide actual fortune The period of dynamic state.
Alternatively, when the executable code first processor 41 performs, it is expected to hide to obtain first account The step of period of actual motion state and corresponding desired motion status information:
Receive first account and correspond to the hiding start time of user's input and hiding finish time;
According to the hiding start time and hiding finish time, determine that first account it is expected to hide actual motion shape The period of state;
Obtain the desired motion status information for the period that first account corresponds to user's input.
To realize the method for the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of server, above-mentioned for realizing The detail of the hidden method of motion state, reach identical effect.
Fig. 7 is server group of the embodiment of the present invention into structural representation, shown in reference picture 7, the server bag of the present embodiment Include:Receiving module 51, generation module 52 and sending module 53;Wherein,
The receiving module 51, the parameter information sent for receiving the first account that motion client is logged in are described Parameter information includes:It is expected to hide period of actual motion state, desired motion status information corresponding to the period with And the actual motion status parameter values of start time period;
The generation module 52, for being joined according to the period, desired motion status information and actual motion state Numerical value, generate the desired motion status parameter values for it is expected to present in the period;
The sending module 53, for when receiving second account that is logged in of motion client to first account During the interaction request at family, the desired motion status parameter values are sent to second account.
Alternatively, the desired motion status information includes desired motion step number in the period, the actual fortune Dynamic status parameter values include the total step number of start time period, and the desired motion status parameter values include the time Each moment it is expected the total step number presented in section;The generation module 52, specifically for according to desired motion in the period Step number and the unit interval length of the period, determine the incremental step number of unit interval in the period;According to described The total step number of start time period and it is described be incremented by step number, generate in the period with the unit interval be incremented by corresponding to it is each when Set a date and hope the total step number of presentation.
Alternatively, the actual motion status parameter values also include the positional information of start time period, described Desired motion status parameter values include it is expected the positional information presented in the period;The generation module 52, is additionally operable to base It is incremented by step number in described, determines the target motion step number of first account;And according to relative to start time period Motion step number and statistics the first account history average stride, determine the target move distance of first account;Institute It is when being incremented by corresponding each moment in the period with the unit interval relative to the period to start to state target motion step number The motion step number at quarter, the target move distance in the period with the unit interval be incremented by corresponding to each moment relative to institute State the move distance of start time period;According to the move distance relative to start time period, the period The first of the positional information of start time and first account it is expected motion path, determines first account when described Between the positional information that presents it is expected in section;Described first it is expected motion path for the motion client according to presetting method from statistics Each account the motion path that filters out of first object motion path central diameter;The first object motion path is to include The motion path of the positional information of start time period.
Alternatively, the desired motion status information also includes:First account it is expected approach in the period The positional information and desired trajectory shape in place;The server of the present embodiment also includes:
Movement locus determining module 54, for the positional information for including start time period and the time First account it is expected that all motion paths of the positional information in the place of approach scan in section, obtains the second target fortune Dynamic path;According to the desired trajectory shape, match from the second target motion path to obtain according to preset matching algorithm Two it is expected motion path;It is expected motion path and the move distance relative to start time period according to described second, Determine the movement locus of first account.
In actual applications, receiving module 51, generation module 52, sending module 53 and movement locus determining module 54 Realized by the processor combination communication interface in server.
Above-described embodiment provide server carry out motion state it is hiding when, only with the division of above-mentioned each program module It is illustrated, in practical application, can be completed as needed and by above-mentioned processing distribution by different program modules, will The internal structure of server is divided into different program modules, to complete all or part of processing described above.On in addition, The server and the hidden method embodiment of server side motion state for stating embodiment offer belong to same design, and it is implemented Process refers to embodiment of the method, repeats no more here.
To realize the method for the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of server, above-mentioned for realizing The detail of the hidden method of motion state, reach identical effect.
Fig. 8 is that server hardware of the embodiment of the present invention forms structural representation, shown in reference picture 8, the clothes in the present embodiment Business device includes:Second processor 61, the second storage for storing the computer program that can be run in second processor 61 The communication interface 63 of device 62 and second;Wherein,
Second communication interface 63, information exchange can be carried out with the concealing device of motion state;
The second processor 61, it is connected with second communication interface 63, to realize the concealing device with motion state Information exchange is carried out, during for running the computer program, above-mentioned server side one or more technical scheme is performed and providing Method.
Specifically, when the second processor 61 is used to run the computer program, perform:
The parameter information that the first account that motion client is logged in is sent is received, the parameter information includes:It is expected hidden Hide period of actual motion state, desired motion status information and start time period corresponding to the period Actual motion status parameter values;
According to the period, desired motion status information and actual motion status parameter values, the period is generated The interior desired motion status parameter values for it is expected to present;
When receiving second account that is logged in of motion client to the interaction request of first account, by institute State desired motion status parameter values and be sent to second account.
Alternatively, the desired motion status information includes desired motion step number in the period, the actual fortune Dynamic status parameter values include the total step number of start time period, and the desired motion status parameter values include the time Each moment it is expected the total step number presented in section;The second processor 61, when being additionally operable to run the computer program, perform:
Step number and the unit interval length of the period are moved according to desired in the period, when determining described Between in section the unit interval incremental step number;
According to the total step number of start time period and it is described be incremented by step number, when generating in the period with unit Between be incremented by corresponding to each moment it is expected the total step number that presents.
Alternatively, the actual motion status parameter values also include the positional information of start time period, described Desired motion status parameter values include it is expected the positional information presented in the period;The second processor 61, is additionally operable to When moving the computer program, perform:
Generate in the period with the unit interval be incremented by corresponding to each moment it is expected the total step number presented when, based on described It is incremented by step number, determines the target motion step number of first account;And according to the motion relative to start time period The history average stride of first account of step number and statistics, determine the target move distance of first account;The target It is to be incremented by fortune of the corresponding each moment relative to start time period in the period with the unit interval to move step number Dynamic step number, the target move distance are to be incremented by corresponding each moment relative to the time in the period with the unit interval The move distance of section start time;
According to the move distance relative to start time period, the positional information of start time period with And the first of first account it is expected motion path, determine that first account it is expected the position presented within the period Information;Described first it is expected that motion path is the first object according to each account of the presetting method from the motion client of statistics The motion path that motion path central diameter filters out;The first object motion path is to include start time period The motion path of positional information.
Alternatively, the desired motion status information also includes:First account it is expected approach in the period The positional information and desired trajectory shape in place;The second processor 61, when being additionally operable to move the computer program, holds OK:
It is described according to the period, desired motion status information and actual motion status parameter values, when generating described Between the desired motion status parameter values that present it is expected in section after, to include start time period positional information and First account it is expected that all motion paths of the positional information in the place of approach scan in the period, obtains the Two target motion paths;
According to the desired trajectory shape, match from the second target motion path to obtain according to preset matching algorithm Two it is expected motion path;
Motion path and the move distance relative to start time period it is expected according to described second, it is determined that described The movement locus of first account.
Certainly, during practical application, as shown in figure 8, each component is coupled by bus system 64.It is it is understood that total Linear system system 64 is used to realize the connection communication between these components.Bus system 64 is in addition to including data/address bus, in addition to electricity Source bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as always in fig. 8 Linear system system 64.
Present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium storage has and can held Line program, the executable code second processor 61 realize following steps when performing:
The parameter information that the first account that motion client is logged in is sent is received, the parameter information includes:It is expected hidden Hide period of actual motion state, desired motion status information and start time period corresponding to the period Actual motion status parameter values;
According to the period, desired motion status information and actual motion status parameter values, the period is generated The interior desired motion status parameter values for it is expected to present;
When receiving second account that is logged in of motion client to the interaction request of first account, by institute State desired motion status parameter values and be sent to second account.
Alternatively, the desired motion status information includes desired motion step number in the period, the actual fortune Dynamic status parameter values include the total step number of start time period, and the desired motion status parameter values include the time Each moment it is expected the total step number presented in section;When the executable code second processor 61 performs, with described in specific implementation According to the period, desired motion status information and actual motion status parameter values, generating expectation in the period is in The step of existing desired motion status parameter values:
Step number and the unit interval length of the period are moved according to desired in the period, when determining described Between in section the unit interval incremental step number;
According to the total step number of start time period and it is described be incremented by step number, when generating in the period with unit Between be incremented by corresponding to each moment it is expected the total step number that presents.
Alternatively, the actual motion status parameter values also include the positional information of start time period, described Desired motion status parameter values include it is expected the positional information presented in the period;The executable code second processing When device 61 performs, to realize following steps:
Generate in the period with the unit interval be incremented by corresponding to each moment it is expected the total step number presented when, based on described It is incremented by step number, determines the target motion step number of first account;And according to the motion relative to start time period The history average stride of first account of step number and statistics, determine the target move distance of first account;The target It is to be incremented by fortune of the corresponding each moment relative to start time period in the period with the unit interval to move step number Dynamic step number, the target move distance are to be incremented by corresponding each moment relative to the time in the period with the unit interval The move distance of section start time;
According to the move distance relative to start time period, the positional information of start time period with And the first of first account it is expected motion path, determine that first account it is expected the position presented within the period Information;Described first it is expected that motion path is the first object according to each account of the presetting method from the motion client of statistics The motion path that motion path central diameter filters out;The first object motion path is to include start time period The motion path of positional information.
Alternatively, the desired motion status information also includes:First account it is expected approach in the period The positional information and desired trajectory shape in place;It is following to realize when the executable code second processor 61 performs Step:
It is described according to the period, desired motion status information and actual motion status parameter values, when generating described Between the desired motion status parameter values that present it is expected in section after, to include start time period positional information and First account it is expected that all motion paths of the positional information in the place of approach scan in the period, obtains the Two target motion paths;
According to the desired trajectory shape, match from the second target motion path to obtain according to preset matching algorithm Two it is expected motion path;
Motion path and the move distance relative to start time period it is expected according to described second, it is determined that described The movement locus of first account.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all All any modification, equivalent and improvement made within the spirit and scope of the present invention etc., it is all contained in the protection model of the present invention Within enclosing.

Claims (12)

1. a kind of hidden method of motion state, it is characterised in that methods described includes:
In actual motion data procedures corresponding to the first account that collection motion client is logged in, first account is obtained It is expected to hide the period of actual motion state and corresponding desired motion status information;And from the actual motion data of collection The middle actual motion status parameter values for obtaining first account in start time period;
The period, desired motion status information and actual motion status parameter values are sent to server, for the clothes Device be engaged according to the period, desired motion status information and actual motion status parameter values, generates the phase in the period The desired motion status parameter values presented are hoped, to respond second account that is logged in of motion client to first account Interaction request.
2. according to the method for claim 1, it is characterised in that described to obtain the hiding actual motion of the first account expectation The period of state, including:
Receive and hide instruction triggering command, the hiding instruction triggering command carries triggering start time and default hiding time Interval;
According to the triggering start time and default hiding time interval, determine that first account it is expected to hide actual motion shape The period of state.
3. according to the method for claim 1, it is characterised in that described to obtain the hiding actual motion of the first account expectation The period of state and corresponding desired motion status information, including:
Receive first account and correspond to the hiding start time of user's input and hiding finish time;
According to the hiding start time and hiding finish time, determine that first account it is expected to hide actual motion state Period;
Obtain the desired motion status information for the period that first account corresponds to user's input.
4. a kind of concealing device of motion state, it is characterised in that described device includes:First processor and for storing The first memory for the computer program that can be run on first processor;Wherein,
When the first processor is used to run the computer program, the step of any one of perform claim requirement 1 to 3 methods described Suddenly.
5. a kind of concealing device of motion state, it is characterised in that described device includes:Acquisition module and sending module;Wherein,
The acquisition module, in actual motion data procedures corresponding to the first account for being logged in of collection motion client In, obtain first account and it is expected to hide the period of actual motion state and corresponding desired motion status information;And Actual motion state parameter of first account in start time period is obtained from the actual motion data of collection Value;
The sending module, for the period, desired motion status information and actual motion status parameter values to be sent It is raw for the server according to the period, desired motion status information and actual motion status parameter values to server The desired motion status parameter values presented it is expected in into the period, to respond the second account that the motion client is logged in Interaction request of the family to first account.
6. a kind of hidden method of motion state, it is characterised in that methods described includes:
The parameter information that the first account that motion client is logged in is sent is received, the parameter information includes:It is expected to hide in fact Desired motion status information corresponding to the period of border motion state, the period and the reality of start time period Border motion state parameterses value;
According to the period, desired motion status information and actual motion status parameter values, the phase in the period is generated Hope the desired motion status parameter values presented;
When receiving second account that is logged in of motion client to the interaction request of first account, by the phase Motion state parameterses value is hoped to be sent to second account.
7. according to the method for claim 6, it is characterised in that the desired motion status information was included in the period Desired motion step number, the actual motion status parameter values include the total step number of start time period, the expectation Motion state parameterses value includes the total step number for each moment in the period it is expected to present;
It is described according to the period, desired motion status information and actual motion status parameter values, generate the period The interior desired motion status parameter values for it is expected to present, including:
According to desired motion step number and the unit interval length of the period in the period, the period is determined The incremental step number of interior unit interval;
According to the total step number of start time period and the incremental step number, generate and passed in the period with the unit interval Each moment corresponding to increasing it is expected the total step number presented.
8. according to the method for claim 7, it is characterised in that the actual motion status parameter values also include the time The positional information of section start time, the desired motion status parameter values include it is expected the position letter presented in the period Breath;
Generate in the period with the unit interval be incremented by corresponding to each moment it is expected the total step number presented when, methods described is also wrapped Include:
It is incremented by step number based on described, determines the target motion step number of first account;And opened according to relative to the period Begin the moment motion step number and statistics the first account history average stride, determine first account target move away from From;The target motion step number is to be opened in the period with unit interval at incremental corresponding each moment relative to the period The motion step number at moment beginning, the target move distance are relative with unit interval at incremental corresponding each moment in the period In the move distance of start time period;
According to the move distance relative to start time period, the positional information of start time period and institute State the first account first it is expected motion path, determines that first account it is expected the position letter presented within the period Breath;Described first it is expected that motion path is to be transported according to the first object of each account of the presetting method from the motion client of statistics The motion path that dynamic path central diameter filters out;The first object motion path is the position for including start time period The motion path of confidence breath.
9. according to the method for claim 8, it is characterised in that the desired motion status information also includes:The time First account it is expected the positional information and desired trajectory shape in the place of approach in section;It is described according to the period, Desired motion status information and actual motion status parameter values, generate the desired motion state for it is expected to present in the period After parameter value, methods described also includes:
To including the positional information of start time period and the first account expectation approach in the period All motion paths of the positional information in place scan for, and obtain the second target motion path;
According to the desired trajectory shape, match to obtain the second phase from the second target motion path according to preset matching algorithm Hope motion path;
It is expected motion path and the move distance relative to start time period according to described second, determine described first The movement locus of account.
10. a kind of server, it is characterised in that the server includes:Second processor and for store can be second The second memory of the computer program run on processor;Wherein,
When the second processor is used to run the computer program, the step of any one of perform claim requirement 6 to 9 methods described Suddenly.
11. a kind of server, it is characterised in that the server includes:Receiving module, generation module and sending module;Wherein,
The receiving module, the parameter information sent for receiving the first account that motion client is logged in, the parameter letter Breath includes:It is expected to hide period of actual motion state, desired motion status information corresponding to the period and described The actual motion status parameter values of start time period;
The generation module, for according to the period, desired motion status information and actual motion status parameter values, life The desired motion status parameter values presented it is expected in into the period;
The sending module, for when receiving friendship of second account that is logged in of motion client to first account Mutually during request, the desired motion status parameter values are sent to second account.
12. a kind of computer-readable recording medium, it is characterised in that be stored with computer in the computer-readable recording medium Executable instruction, the computer executable instructions computer program realize any one of claims 1 to 3 when being executed by processor The hidden method of described motion state, or realize the hidden method of the motion state described in any one of claim 6 to 9.
CN201710811296.9A 2017-09-11 2017-09-11 Hiding method and device of motion state, server and storage medium Active CN107733865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710811296.9A CN107733865B (en) 2017-09-11 2017-09-11 Hiding method and device of motion state, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710811296.9A CN107733865B (en) 2017-09-11 2017-09-11 Hiding method and device of motion state, server and storage medium

Publications (2)

Publication Number Publication Date
CN107733865A true CN107733865A (en) 2018-02-23
CN107733865B CN107733865B (en) 2020-11-13

Family

ID=61205085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710811296.9A Active CN107733865B (en) 2017-09-11 2017-09-11 Hiding method and device of motion state, server and storage medium

Country Status (1)

Country Link
CN (1) CN107733865B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398721A (en) * 2019-08-16 2021-02-23 中国移动通信集团浙江有限公司 Message shielding method, terminal, server, computing device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2466263A1 (en) * 2010-12-17 2012-06-20 Nxp B.V. Tamper-proof odometer system
CN105429929A (en) * 2014-09-04 2016-03-23 腾讯科技(北京)有限公司 Information processing method, client, server and information processing system
CN106267774A (en) * 2015-05-25 2017-01-04 腾讯科技(深圳)有限公司 Moving state identification method and apparatus
US20170024837A1 (en) * 2015-07-24 2017-01-26 Mastercard International Incorporated Method and apparatus for improving a public transport system
CN106648460A (en) * 2016-10-14 2017-05-10 广东欧珀移动通信有限公司 Step-counting data filtering method and intelligent terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2466263A1 (en) * 2010-12-17 2012-06-20 Nxp B.V. Tamper-proof odometer system
CN105429929A (en) * 2014-09-04 2016-03-23 腾讯科技(北京)有限公司 Information processing method, client, server and information processing system
CN106267774A (en) * 2015-05-25 2017-01-04 腾讯科技(深圳)有限公司 Moving state identification method and apparatus
US20170024837A1 (en) * 2015-07-24 2017-01-26 Mastercard International Incorporated Method and apparatus for improving a public transport system
CN106648460A (en) * 2016-10-14 2017-05-10 广东欧珀移动通信有限公司 Step-counting data filtering method and intelligent terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
马松岩: ""基于iOS平台的健身应用的设计与实现"", 《CNKI优秀硕士论文信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112398721A (en) * 2019-08-16 2021-02-23 中国移动通信集团浙江有限公司 Message shielding method, terminal, server, computing device and storage medium
CN112398721B (en) * 2019-08-16 2023-04-18 中国移动通信集团浙江有限公司 Message shielding method, terminal, server, computing device and storage medium

Also Published As

Publication number Publication date
CN107733865B (en) 2020-11-13

Similar Documents

Publication Publication Date Title
CN103473039B (en) The option based on context is generated in response to notice
CN108351890B (en) Electronic device and operation method thereof
CN108762937A (en) Configuration information transmitting method, acquisition methods, device and terminal
CN107548500A (en) Event anomalies based on user's routine model
CN107683486A (en) The change with personal influence of customer incident
CN105389099A (en) method and apparatus for voice recording and playback
CN107688478A (en) Terminal, the display methods of application message and device
CN105511776B (en) A kind of mobile terminal and its control method
CN110401844A (en) Generation method, device, equipment and the readable medium of net cast strategy
CN105009024A (en) Conserving battery and data usage
CN109992732A (en) Information sharing method, device, electronic equipment and storage medium
CN105430317B (en) A kind of video background setting method and terminal device
CN106844689B (en) A kind of paged data synchronous method, apparatus and system
CN106527895A (en) Information processing method and device
CN109716735A (en) The system and method for sharing application data between the application of isolation for being to execute on one or more application platform
CN110248201A (en) Live event processing method, device, electronic equipment and computer storage medium
CN108834040A (en) A kind of attendance information based reminding method and its equipment
CN110413528A (en) Test environment intelligent configuration method and system
CN107392653A (en) A kind of electronic business card method for pushing and its device, user terminal
CN103412885A (en) Contact person photo setting method and device
KR20180081231A (en) Method for sharing data and an electronic device thereof
US11218556B2 (en) Method, apparatus, user device and server for displaying personal homepage
CN108428027A (en) Event-handling method and device
CN107733865A (en) Hidden method and device, the server and storage medium of a kind of motion state
US20150228034A1 (en) Photo booth system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant