CN108540544B - Motion information sharing method and terminal - Google Patents

Motion information sharing method and terminal Download PDF

Info

Publication number
CN108540544B
CN108540544B CN201810257851.2A CN201810257851A CN108540544B CN 108540544 B CN108540544 B CN 108540544B CN 201810257851 A CN201810257851 A CN 201810257851A CN 108540544 B CN108540544 B CN 108540544B
Authority
CN
China
Prior art keywords
terminal
motion
motion information
information
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810257851.2A
Other languages
Chinese (zh)
Other versions
CN108540544A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810257851.2A priority Critical patent/CN108540544B/en
Publication of CN108540544A publication Critical patent/CN108540544A/en
Application granted granted Critical
Publication of CN108540544B publication Critical patent/CN108540544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a motion information sharing method and a terminal, wherein the motion information sharing method comprises the following steps: when the terminal is a management terminal, acquiring information of member terminals in a terminal group together with the terminal in real time, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value; recording the motion information of the user to which the terminal belongs in the motion process; after the user to which the terminal belongs finishes moving, the moving information is uploaded to a server to share the moving information to the member terminal of the terminal group. According to the scheme, the positioning function and the data flow of a mobile phone of each person are not required to be opened when multiple persons move in the same row and share the track, the mobile phone of one person is only required to be opened, and after the movement or the movement in the same row is finished, the data of other persons can be synchronously downloaded from the server, so that the data sharing is realized, and the electric quantity and the flow are saved for users; the problem that the motion information acquisition scheme of the same-row users consumes more terminal power consumption and data traffic in the prior art is solved.

Description

Motion information sharing method and terminal
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a motion information sharing method and a terminal.
Background
Modern more and more people like jogging to exercise the body, everyone likes to carry the smart phone with him or her when running, and downloads running software such as happy sports and gurgling, so that the software can be used for better managing running plans of the person, such as track, duration, step frequency, speed and other information of running each time. However, the acquisition of the information requires the user to turn on the positioning function and data traffic of the smart phone while running, and the positioning navigation function and data access increase the power consumption of the smart phone.
When a plurality of persons accompany jogging to exercise the body, the positioning function and the data traffic of the mobile phone of each jogging person need to be opened, the navigation function is opened by software of each mobile phone to obtain the motion track, however, the motion track and the speed of each person are basically similar after running is finished, the data are basically the same, and therefore the waste of the power consumption and the traffic of the mobile phone is caused. Especially, the mobile phone of a person with the same person has less electric quantity, which is not enough to maintain the condition of high power consumption of navigation software.
Disclosure of Invention
The invention aims to provide a motion information sharing method and a terminal, and aims to solve the problems that in the prior art, motion information acquisition schemes of users in the same line consume more terminal power consumption and data traffic.
In order to solve the technical problem, the invention is realized as follows: a motion information sharing method is applied to a terminal, and comprises the following steps:
when the terminal is a management terminal, acquiring information of member terminals in a terminal group together with the terminal in real time, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value;
recording the motion information of the user to which the terminal belongs in the motion process;
and after the user to which the terminal belongs finishes moving, uploading the movement information to a server to share the movement information to the member terminal of the terminal group.
In a first aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
the first processing module is used for acquiring information of member terminals in a terminal group together with the terminal in real time when the terminal is a management terminal, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value;
the first recording module is used for recording the motion information of the user to which the terminal belongs in the motion process;
and the second processing module is used for uploading the motion information to a server to share the motion information to the member terminal of the terminal group after the motion of the user to which the terminal belongs is finished.
In a second aspect, an embodiment of the present invention further provides a terminal, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the motion information sharing method described above.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the motion information sharing method described above are implemented.
In the embodiment of the invention, when the terminal is a management terminal, information of member terminals in a terminal group with the terminal is obtained in real time, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value; recording the motion information of the user to which the terminal belongs in the motion process; after the user to which the terminal belongs finishes moving, the motion information is uploaded to a server to be shared to the member terminal of the terminal group; therefore, when multiple persons move together and share the track, the positioning function and the data flow are not required to be opened by the mobile phones of each person, only one person can open the mobile phone, after the movement or the movement, the data of other persons can be synchronously downloaded from the server, the data sharing is realized, and the electric quantity and the flow are saved for the user.
Drawings
FIG. 1 is a flowchart illustrating a motion information sharing method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a specific application flow of the motion information sharing method according to the embodiment of the present invention;
fig. 3 is a first schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a terminal structure according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention provides a motion information sharing method for a terminal aiming at the problem that the motion information acquisition scheme of the same-row user in the prior art consumes more power consumption of the terminal and data flow, as shown in figure 1, the motion information sharing method comprises the following steps:
step 11: when the terminal is a management terminal, information of a member terminal in a terminal group with the terminal is obtained in real time (also called maintenance), wherein the member terminal is a terminal of which the distance from the terminal in the motion process is smaller than a preset value.
The method can also be understood as acquiring the identity information of the member terminal in the same terminal group with the terminal in real time, and the terminal group is a terminal group formed by the terminals carried by the users in the same row.
Step 12: and recording the motion information of the user to which the terminal belongs in the motion process.
Wherein the motion information comprises: at least one of a motion trajectory, a motion speed, and a motion duration.
In consideration of the practical application scenario, the step may specifically be: after the positioning function and the data flow of the terminal are started, the motion information of the user to which the terminal belongs in the motion process is recorded (started).
That is, in the process of user movement, the positioning function and data traffic need to be opened to record the movement information of the user, so this step needs to be executed after the user opens the positioning function and data traffic of the terminal.
Step 13: and after the user to which the terminal belongs finishes moving, uploading the movement information to a server to share the movement information to the member terminal of the terminal group.
The identifier for the user moving finish may be, but is not limited to, that the terminal detects a record end instruction; correspondingly, the precondition of step 12 may also be that the terminal detects a recording start instruction, and more specifically, after the user opens the positioning function and the data traffic of the terminal, the recording start instruction is detected, and then step 12 is executed.
According to the motion information sharing method provided by the embodiment of the invention, when the terminal is a management terminal, information of member terminals which are in a terminal group with the terminal is obtained in real time, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value; recording the motion information of the user to which the terminal belongs in the motion process; after the user to which the terminal belongs finishes moving, the motion information is uploaded to a server to be shared to the member terminal of the terminal group; therefore, when multiple persons move in the same row and share the track, the positioning function and the data flow are not required to be opened by the mobile phone of each person, only one mobile phone is required to be opened, and after the movement or the movement is finished, the data of other persons can be synchronously downloaded from the server, so that the data sharing is realized, and the electric quantity and the flow are saved for the user; the problem that the motion information acquisition scheme of the same-row users consumes more terminal power consumption and data traffic in the prior art is solved.
Further, before recording the motion information of the user to which the terminal belongs in the motion process, the motion information sharing method further includes: and joining the terminal group through a short-distance communication technology.
Therefore, the users corresponding to the member terminals in the terminal group are ensured to be the users in the same row, but not the users at random, thereby avoiding irrelevant personnel from acquiring the motion information and improving the user experience. The short-range communication technology may be bluetooth technology or P2P technology, which is not limited herein.
In the embodiment of the present invention, in a process of recording motion information of a user to which a terminal belongs in a motion process, for a case that a member terminal in a terminal group exits in the middle of the motion, the motion information sharing method further includes: and if the member terminals in the terminal group exit the terminal group in the moving process, marking the identity information of the member terminals and the recorded moving information during exiting, and uploading to a server (for corresponding) for storage.
That is, in the process of movement, if the member terminal of the terminal group exits, the recorded movement information (that is, the movement information corresponding to the part of movement in which the member terminal participates) and the identity information of the member terminal when the member terminal exits are uploaded to the server for storage, so that the member terminal can obtain the movement information of the part participating in the movement in the future.
In the embodiment of the present invention, in a process of recording motion information of a user to which a terminal belongs in a motion process, for a case that a new group member terminal exists in a terminal group on the way of motion, the motion information sharing method further includes: during the movement, if a newly added member terminal is detected to be added into the terminal group, recording a movement starting position corresponding to the newly added member terminal; and when the motion information is uploaded to the server, uploading the identity information and the motion starting position of the newly-added member terminal to the server (for corresponding) for storage.
That is, in the moving process, if a new member terminal exists in the terminal group, the identity information of the member terminal and the position information (the moving start position of the member terminal) during joining are uploaded to the server for storage after the moving is finished, so that the member terminal can obtain the moving information of the part participating in the moving in the future.
In an embodiment of the present invention, in a process of recording motion information of a user to which the terminal belongs in a motion process, for a case that the terminal exits in the middle of the motion, the motion information sharing method further includes: during the movement, if an instruction indicating that the terminal exits the terminal group is detected, a target terminal is determined from the terminal group, recorded movement information is sent to the target terminal, the target terminal is indicated to record the movement information of a user to which the target terminal belongs on the basis of the recorded movement information, and after the movement of the user to which the target terminal belongs is finished, the movement information is uploaded to a server to be shared to a member terminal of the terminal group.
That is, when the terminal prepares to quit the terminal group during the movement, the next terminal (target terminal) responsible for continuously recording the movement information is selected, the recorded movement information is sent to the terminal, the terminal is instructed to continuously record, and after the movement is finished, the movement information corresponding to the whole movement is uploaded to the server for storage; meanwhile, the terminal may also instruct the terminal to obtain, in real time, the member information, such as identity information, corresponding to other member terminals in the terminal group, but not limited thereto, the member information may be obtained by the terminal autonomously in real time.
Here, the instructing the target terminal to record the motion information of the user to which the target terminal belongs on the basis of the recorded motion information may specifically be: and indicating the target terminal to store the recorded motion information, continuously recording the motion information of the user after the current moment behind the recorded motion information, and taking the recorded motion information and the motion information recorded later as the integral motion information (uploading together when uploading to a server) after the motion is finished.
Wherein the step of determining a target terminal from the terminal group comprises: and determining the target terminal according to the current electric quantity and the current usable data flow of each member terminal in the terminal group.
Therefore, the target terminal which meets the actual requirements of the user can be obtained more accurately; the current electric quantity and the current data traffic that can be used of each group member terminal in the terminal group may be information actively reported by each group member terminal, but not limited to this, and may also be information actively obtained by the target terminal.
Specifically, the step of determining the target terminal according to the current electric quantity and the current data traffic that can be used by each member terminal in the terminal group includes: and acquiring the member terminals of which the current electric quantity is greater than or equal to a first threshold value and the current available data flow is greater than or equal to a second threshold value in the terminal group, and determining the member terminals as target terminals.
Therefore, frequent switching of the terminal responsible for recording can be avoided as much as possible, and user experience is improved.
The operation may be more specifically: when only one member terminal which meets the conditions (the current electric quantity is larger than or equal to a first threshold value, and the current available data flow is larger than or equal to a second threshold value) is provided, the member terminal is taken as a target terminal;
when a plurality of group member terminals meet the condition, the group member terminal with the highest electric quantity and the largest available data flow can be obtained and used as a target terminal;
if the electric quantity is the highest and a plurality of member terminals with the highest available data flow exist, selecting the member terminal with the lowest power consumption as the target terminal or selecting the member terminal with the lowest power consumption as the target terminal according to the model of the member terminal;
if there is no member terminal with the highest electric quantity and the largest available data flow, acquiring the member terminal with the electric quantity greater than or equal to a third threshold (the third threshold is greater than the first threshold) and the available data flow greater than or equal to a fourth threshold (the fourth threshold is greater than the second threshold) as a target terminal;
if the electric quantity is greater than or equal to the third threshold value and a plurality of group member terminals with the usable data flow greater than or equal to the fourth threshold value exist, the threshold value of the electric quantity and the threshold value of the usable data flow can be continuously increased until one group member terminal is finally selected as the target terminal;
if there is no member terminal satisfying the condition (that the current electric quantity is greater than or equal to the first threshold value and the current available data flow is greater than or equal to the second threshold value), acquiring the member terminal with the highest electric quantity or the highest available data flow as the target terminal.
In order to be more intelligent, in the embodiment of the present invention, in the process of recording the motion information of the user to which the terminal belongs in the motion process, the motion information sharing method further includes: monitoring the electric quantity of the terminal and the usable data flow; when the electric quantity of the terminal is smaller than or equal to a fifth threshold value and/or the available data flow is smaller than or equal to a sixth threshold value, determining a target terminal from the terminal group, sending the recorded motion information to the target terminal, indicating the target terminal to record the motion information of a user to which the target terminal belongs on the basis of the recorded motion information, and uploading the motion information to a server to share the motion information to a member terminal of the terminal group after the user to which the target terminal belongs finishes moving.
Therefore, in the movement process, the plurality of terminals can independently assist in completing the recording of the movement information in the whole movement process, the operation of a user is reduced, and the user experience is improved.
Further, after the movement information is recorded by switching to the target terminal, a new target terminal can be determined according to the monitored electric quantity of the target terminal and the usable data flow, wherein the threshold of the judgment standard of the electric quantity is smaller than a fifth threshold, and the threshold of the judgment standard of the usable data flow is smaller than a sixth threshold; furthermore, the switching to the new terminal for recording the motion information can be continuously performed according to the monitored electric quantity of the terminal for recording the motion information and the data flow (the threshold value of the judgment standard is in a descending trend) which can be used until the whole motion is finished.
Therefore, the recording of the motion information in the whole motion process can be well completed under the condition that the electric quantity and the usable data flow of the member terminals in the terminal group are less.
After the user to which the terminal belongs finishes moving, the step of uploading the movement information to a server to share the movement information to the member terminal of the terminal group comprises the following steps: after the user to which the terminal belongs finishes moving, uploading the identity information of each member terminal in the terminal group at the current moment and the recorded motion information to a server (for corresponding) for storage; and enabling the server to share the corresponding motion information to the terminal when receiving an acquisition request sent by the terminal conforming to the identity information.
Therefore, the user who moves can accurately acquire the motion information corresponding to the motion participated by the user, and the user experience is improved.
In the following, the motion information sharing method provided by the embodiment of the present invention is further described, where the terminal takes a mobile phone as an example, and takes a mobile phone as an example to complete recording of motion information in the whole motion process.
To solve the above technical problems, an embodiment of the present invention provides a motion information sharing method, which may specifically be a power-saving and traffic-saving implementation scheme based on a multiple-person association common trajectory: when multiple persons accompany the same row and the tracks are the same, the persons can be considered to be in the same group, only one mobile phone of one person is required to open the positioning function and the data traffic in the same group, the positioning function and the data traffic of other mobile phones are not required to be opened, and after the movement or the accompanying row is finished, the data of other persons can be manually or automatically synchronized from the server, so that the data sharing is realized.
The precondition of the scheme is that multiple persons associate with one line and share tracks, and the implementation scheme can be as follows:
assuming that the user A, the user B and the user C have the same trajectory requirements, a group is firstly created on the mobile phones of the user A, the mobile phones of the user B and the user C join the group through Bluetooth or P2P technology, or the mobile phones of the user B and the user C actively join the group through Bluetooth or P2P technology when the group is created by the user A.
After the group is successfully created, a group member terminal with more electric quantity and flow in the group, such as a mobile phone of the user B, can be selected as a responsible terminal (a terminal responsible for recording motion information) of the same row, that is, the mobile phone of the user B is only required to open the positioning function and the data flow, the mobile phones of other people are not required to open the positioning function and the data flow, and the software does not start the navigation function, so that the purpose of saving power is achieved. Of course, the responsible terminal can be replaced and reassigned the next time the same row is made.
In the process of the peer, if the user C does not want to peer, only the mobile phone of the user C needs to automatically disconnect the bluetooth or P2P, and the software on the mobile phone of the user B detects that the mobile phone of the user C leaves the group, the peer parameter information from the peer to the disconnection time is automatically marked, and the information is uploaded to the server, and when the mobile phone of the user C can be networked, the data of the server can be synchronized to obtain the parameter information of the peer.
After the peer is finished, software on the mobile phone of the user B calculates and marks the peer parameters (motion information) of the peer responsible terminal, namely the peer parameters of the user B, such as the peer track, the peer speed, the peer duration and other motion information, and simultaneously acquires the identity information of each group member terminal in the group at the moment, and finally synchronizes the acquired motion information as the acquired motion information of each group member terminal to the server (i.e. uploading the acquired motion information and the acquired identity information of each group member terminal to the server for storage), thereby achieving the purpose of sharing the peer parameters.
The specific implementation process of the above embodiment can be shown in fig. 2, and includes:
step 21: creating a group (namely constructing the terminal group), and selecting the responsible terminals in the same row;
step 22: judging whether a member terminal leaves, if so, entering a step 23, and if not, entering a step 24;
step 23: synchronizing the motion information from the beginning of the same row to the moment to the server as the motion information of the group member terminal leaving the group, and then entering step 24;
step 24: judging whether the same line is finished, if so, entering a step 25, and if not, continuing to execute a step 24;
step 25: and synchronizing the motion information of the responsible terminal to the server as the motion information of each member terminal in the group at the moment.
Therefore, according to the scheme provided by the embodiment of the invention, when multiple persons are in the same row and share the track, the positioning function and the data flow are not required to be opened by the mobile phone of each person, so that the electric quantity and the flow can be saved for the user.
The scheme further includes the situation that the responsible terminal of the peer is replaced and the member terminal of the peer is dynamically added in the peer process, and the situation that a new member terminal is added after the peer process is performed for a period of time can be specifically referred to above, and is not described herein again.
The first responsible terminal may be designated by a user, and the responsible terminal is replaced in the middle of the subsequent peer, or the responsible terminal (the terminal responsible for recording the motion information) may be designated autonomously, but not limited thereto.
An embodiment of the present invention further provides a terminal, as shown in fig. 3, where the terminal includes:
the first processing module 31 is configured to, when the terminal is a management terminal, obtain information of a member terminal in a terminal group together with the terminal in real time, where the member terminal is a terminal whose distance from the terminal in a motion process is smaller than a preset value;
the first recording module 32 is used for recording the motion information of the user of the terminal in the motion process;
the second processing module 33 is configured to upload the motion information to a server to share the motion information with a member terminal of the terminal group after the user to which the terminal belongs moves;
wherein the motion information comprises: at least one of a motion trajectory, a motion speed, and a motion duration.
The terminal provided by the embodiment of the invention acquires information of the member terminals in a terminal group together with the terminal in real time when the terminal is a management terminal, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value; recording the motion information of the user to which the terminal belongs in the motion process; after the user to which the terminal belongs finishes moving, the motion information is uploaded to a server to be shared to the member terminal of the terminal group; therefore, when multiple persons move in the same row and share the track, the positioning function and the data flow are not required to be opened by the mobile phone of each person, only one mobile phone is required to be opened, and after the movement or the movement is finished, the data of other persons can be synchronously downloaded from the server, so that the data sharing is realized, and the electric quantity and the flow are saved for the user; the problem that the motion information acquisition scheme of the same-row users consumes more terminal power consumption and data traffic in the prior art is solved.
Wherein the first recording module includes: and the first recording submodule is used for recording the motion information of the user to which the terminal belongs in the motion process after the positioning function and the data flow of the terminal are started.
Further, the terminal further includes: and the third processing module is used for joining the terminal group through a short-distance communication technology before recording the motion information of the user to which the terminal belongs in the motion process.
Further, the terminal further includes: and the fourth processing module is used for marking the identity information of the member terminal and the recorded motion information during exiting if the member terminal exits the terminal group in the middle of the motion in the process of recording the motion information of the user to which the terminal belongs in the motion process, and uploading the identity information and the recorded motion information to the server for storage.
For the situation that the team member terminal in the terminal group quits in the middle of the movement, in the embodiment of the invention, the terminal further comprises: the fifth processing module is used for recording the motion information of the user to which the terminal belongs in the motion process, recording the motion initial position corresponding to a newly added member terminal if the newly added member terminal is detected to be added into the terminal group in the motion process; and the sixth processing module is used for uploading the identity information and the movement starting position of the newly-added member terminal to the server for storage when the movement information is uploaded to the server.
In view of the situation that a new group member terminal exists in a terminal group in the middle of movement, in the embodiment of the present invention, the terminal further includes: a seventh processing module, configured to, during the course of recording motion information of a user to which the terminal belongs during the course of moving, determine a target terminal from the terminal group if an instruction indicating that the terminal exits the terminal group is detected, send the recorded motion information to the target terminal, instruct the target terminal to record the motion information of the user to which the target terminal belongs on the basis of the recorded motion information, and upload the motion information to a server to share the motion information with a member terminal of the terminal group after the user to which the target terminal belongs finishes moving.
In an embodiment of the present invention, for a case that the terminal exits in the middle of moving, the seventh processing module includes: and the first determining submodule is used for determining the target terminal according to the current electric quantity and the current available data flow of each member terminal in the terminal group.
Wherein the first determination submodule includes: and the first processing unit is used for acquiring the member terminals of which the current electric quantity is greater than or equal to a first threshold value and the current available data flow is greater than or equal to a second threshold value in the terminal group, and determining the member terminals as target terminals.
Specifically, the second processing module includes: the first processing submodule is used for uploading the identity information of each member terminal in the terminal group at the current moment and the recorded motion information to the server for storage after the motion of the user to which the terminal belongs is finished; and enabling the server to share the corresponding motion information to the terminal when receiving an acquisition request sent by the terminal conforming to the identity information.
The terminal provided by the embodiment of the present invention can implement each process implemented by the terminal in the method embodiments of fig. 1 to fig. 2, and is not described herein again to avoid repetition.
Fig. 4 is a schematic diagram of a hardware structure of a terminal for implementing various embodiments of the present invention, where the terminal 40 includes, but is not limited to: radio frequency unit 41, network module 42, audio output unit 43, input unit 44, sensor 45, display unit 46, user input unit 47, interface unit 48, memory 49, processor 410, and power supply 411. Those skilled in the art will appreciate that the terminal configuration shown in fig. 4 is not intended to be limiting, and that the terminal may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 410 is configured to obtain information of a member terminal in a terminal group with the terminal in real time when the terminal is a management terminal, where the member terminal is a terminal whose distance from the terminal in the motion process is smaller than a preset value; recording the motion information of the user to which the terminal belongs in the motion process; after the user to which the terminal belongs finishes moving, the motion information is uploaded to a server to be shared to the member terminal of the terminal group; wherein the motion information comprises: at least one of a motion trajectory, a motion speed, and a motion duration.
In the embodiment of the invention, when the terminal is a management terminal, information of member terminals in a terminal group with the terminal is obtained in real time, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value; recording the motion information of the user to which the terminal belongs in the motion process; after the user to which the terminal belongs finishes moving, the motion information is uploaded to a server to be shared to the member terminal of the terminal group; therefore, when multiple persons move in the same row and share the track, the positioning function and the data flow are not required to be opened by the mobile phone of each person, only one mobile phone is required to be opened, and after the movement or the movement is finished, the data of other persons can be synchronously downloaded from the server, so that the data sharing is realized, and the electric quantity and the flow are saved for the user; the problem that the motion information acquisition scheme of the same-row users consumes more terminal power consumption and data traffic in the prior art is solved.
Optionally, the processor 410 is specifically configured to record motion information of a user to which the terminal belongs in a motion process after the positioning function and the data traffic of the terminal are started.
Optionally, the processor 410 is further configured to join the terminal group through a short-distance communication technology before recording the motion information of the user to which the terminal belongs during the motion process.
Optionally, the processor 410 is further configured to, in the process of recording the motion information of the user to which the terminal belongs in the motion process, if a member terminal in the terminal group exits the terminal group in the motion process, mark the identity information of the member terminal and the motion information recorded in the exiting process, and upload the identity information and the motion information to the server for storage.
Optionally, the processor 410 is further configured to, during the course of recording the movement information of the user to which the terminal belongs during the movement, record a movement start position corresponding to a newly added group member terminal if it is detected that the newly added group member terminal is added to the terminal group; and when the motion information is uploaded to a server, the identity information and the motion starting position of the newly-added member terminal are uploaded to the server together for storage.
Optionally, the processor 410 is further configured to, during the movement process in the process of recording the movement information of the user to which the terminal belongs during the movement process, if an instruction indicating that the terminal exits from the terminal group is detected, determine a target terminal from the terminal group, send the recorded movement information to the target terminal, instruct the target terminal to record the movement information of the user to which the target terminal belongs on the basis of the recorded movement information, and upload the movement information to the server to be shared with the panelist terminal of the terminal group after the movement of the user to which the target terminal belongs is completed.
Optionally, the processor 410 is specifically configured to determine the target terminal according to the current electric quantity and the current data traffic that can be used by each member terminal in the terminal group.
Optionally, the processor 410 is specifically configured to acquire a member terminal in the terminal group, where the current electric quantity is greater than or equal to a first threshold and the current available data traffic is greater than or equal to a second threshold, and determine the member terminal as a target terminal.
Optionally, the processor 410 is specifically configured to, after the user to which the terminal belongs finishes moving, upload the identity information of each member terminal in the terminal group at the current time and the recorded movement information to the server for storage; and enabling the server to share the corresponding motion information to the terminal when receiving an acquisition request sent by the terminal conforming to the identity information.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 41 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 410; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 41 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 41 can also communicate with a network and other devices through a wireless communication system.
The terminal provides wireless broadband internet access to the user via the network module 42, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 43 may convert audio data received by the radio frequency unit 41 or the network module 42 or stored in the memory 49 into an audio signal and output as sound. Also, the audio output unit 43 may also provide audio output related to a specific function performed by the terminal 40 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 43 includes a speaker, a buzzer, a receiver, and the like.
The input unit 44 is for receiving an audio or video signal. The input Unit 44 may include a Graphics Processing Unit (GPU) 441 and a microphone 442, and the Graphics processor 441 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 46. The image frames processed by the graphic processor 441 may be stored in the memory 49 (or other storage medium) or transmitted via the radio frequency unit 41 or the network module 42. The microphone 442 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 41 in case of the phone call mode.
The terminal 40 also includes at least one sensor 45, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 461 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 461 and/or a backlight when the terminal 40 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the terminal posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration identification related functions (such as pedometer, tapping), and the like; the sensors 45 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 46 is used to display information input by the user or information provided to the user. The Display unit 46 may include a Display panel 461, and the Display panel 461 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 47 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal. Specifically, the user input unit 47 includes a touch panel 471 and other input devices 472. The touch panel 471, also referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 471 using a finger, a stylus, or any other suitable object or accessory). The touch panel 471 can include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 410, receives a command from the processor 410, and executes the command. In addition, the touch panel 471 can be implemented by various types, such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 47 may include other input devices 472 in addition to the touch panel 471. Specifically, the other input devices 472 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 471 can be overlaid on the display panel 461, and when the touch panel 471 detects a touch operation on or near the touch panel 471, the touch panel transmits the touch operation to the processor 410 to determine the type of the touch event, and then the processor 410 provides a corresponding visual output on the display panel 461 according to the type of the touch event. Although the touch panel 471 and the display panel 461 are shown as two separate components in fig. 4, in some embodiments, the touch panel 471 and the display panel 461 may be integrated to implement the input and output functions of the terminal, and are not limited herein.
The interface unit 48 is an interface for connecting an external device to the terminal 40. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 48 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the terminal 40 or may be used to transmit data between the terminal 40 and external devices.
The memory 49 may be used to store software programs as well as various data. The memory 49 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 49 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 410 is a control center of the terminal, connects various parts of the entire terminal using various interfaces and lines, performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 49 and calling data stored in the memory 49, thereby performing overall monitoring of the terminal. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The terminal 40 may further include a power supply 411 (e.g., a battery) for supplying power to various components, and preferably, the power supply 411 may be logically connected to the processor 410 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the terminal 40 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides a terminal, including a processor 410, a memory 49, and a computer program stored in the memory 49 and capable of running on the processor 410, where the computer program is executed by the processor 410 to implement each process of the above-mentioned motion information sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned motion information sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the computer program is not described herein again. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (13)

1. A motion information sharing method is applied to a terminal, and is characterized by comprising the following steps:
when the terminal is a management terminal, acquiring information of member terminals in a terminal group together with the terminal in real time, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value;
recording the motion information of the user to which the terminal belongs in the motion process;
after the user to which the terminal belongs finishes moving, the motion information is uploaded to a server to be shared to the member terminal of the terminal group;
wherein the motion information comprises: at least one of a motion track, a motion speed and a motion duration;
the step of uploading the motion information to a server to share the motion information to the member terminal of the terminal group after the motion of the user to which the terminal belongs is finished comprises the following steps:
after the user to which the terminal belongs finishes moving, uploading the identity information of each member terminal in the terminal group at the current moment and the recorded motion information to a server for storage; and enabling the server to share the corresponding motion information to the terminal when receiving an acquisition request sent by the terminal conforming to the identity information.
2. The motion information sharing method according to claim 1, wherein the step of recording the motion information of the user to which the terminal belongs during the motion process includes:
and after the positioning function and the data flow of the terminal are started, recording the motion information of the user to which the terminal belongs in the motion process.
3. The motion information sharing method according to claim 1, wherein in the process of recording the motion information of the user to which the terminal belongs in the motion process, the motion information sharing method further comprises:
and if the member terminals in the terminal group exit the terminal group in the moving process, marking the identity information of the member terminals and the recorded moving information during exiting, and uploading the information to a server for storage.
4. The motion information sharing method according to claim 1, wherein in the process of recording the motion information of the user to which the terminal belongs in the motion process, the motion information sharing method further comprises:
during the movement, if a newly added member terminal is detected to be added into the terminal group, recording a movement starting position corresponding to the newly added member terminal;
and when the motion information is uploaded to a server, the identity information and the motion starting position of the newly-added member terminal are uploaded to the server together for storage.
5. The motion information sharing method according to claim 1, wherein in the process of recording the motion information of the user to which the terminal belongs in the motion process, the motion information sharing method further comprises:
during the movement, if an instruction indicating that the terminal exits the terminal group is detected, a target terminal is determined from the terminal group, recorded movement information is sent to the target terminal, the target terminal is indicated to record the movement information of a user to which the target terminal belongs on the basis of the recorded movement information, and after the movement of the user to which the target terminal belongs is finished, the movement information is uploaded to a server to be shared to a member terminal of the terminal group.
6. The motion information sharing method according to claim 5, wherein the step of determining the target terminal from the terminal group includes:
determining the target terminal according to the current electric quantity and the current usable data flow of each member terminal in the terminal group;
the step of determining the target terminal according to the current electric quantity and the current available data traffic of each member terminal in the terminal group includes:
and acquiring the member terminals of which the current electric quantity is greater than or equal to a first threshold value and the current available data flow is greater than or equal to a second threshold value in the terminal group, and determining the member terminals as target terminals.
7. A terminal, characterized in that the terminal comprises:
the first processing module is used for acquiring information of member terminals in a terminal group together with the terminal in real time when the terminal is a management terminal, wherein the member terminals are terminals of which the distance from the terminal in the motion process is smaller than a preset value;
the first recording module is used for recording the motion information of the user to which the terminal belongs in the motion process;
the second processing module is used for uploading the motion information to a server to share the motion information to the member terminal of the terminal group after the motion of the user of the terminal is finished;
wherein the motion information comprises: at least one of a motion track, a motion speed and a motion duration;
the second processing module comprises:
the first processing submodule is used for uploading the identity information of each member terminal in the terminal group at the current moment and the recorded motion information to the server for storage after the motion of the user to which the terminal belongs is finished; and enabling the server to share the corresponding motion information to the terminal when receiving an acquisition request sent by the terminal conforming to the identity information.
8. The terminal of claim 7, wherein the first recording module comprises:
and the first recording submodule is used for recording the motion information of the user to which the terminal belongs in the motion process after the positioning function and the data flow of the terminal are started.
9. The terminal of claim 7, further comprising:
and the fourth processing module is used for marking the identity information of the member terminal and the recorded motion information during exiting if the member terminal exits the terminal group in the middle of the motion in the process of recording the motion information of the user to which the terminal belongs in the motion process, and uploading the identity information and the recorded motion information to the server for storage.
10. The terminal of claim 7, further comprising:
the fifth processing module is used for recording the motion information of the user to which the terminal belongs in the motion process, recording the motion initial position corresponding to a newly added member terminal if the newly added member terminal is detected to be added into the terminal group in the motion process;
and the sixth processing module is used for uploading the identity information and the movement starting position of the newly-added member terminal to the server for storage when the movement information is uploaded to the server.
11. The terminal of claim 7, further comprising:
a seventh processing module, configured to, during the course of recording motion information of a user to which the terminal belongs during the course of moving, determine a target terminal from the terminal group if an instruction indicating that the terminal exits the terminal group is detected, send the recorded motion information to the target terminal, instruct the target terminal to record the motion information of the user to which the target terminal belongs on the basis of the recorded motion information, and upload the motion information to a server to share the motion information with a member terminal of the terminal group after the user to which the target terminal belongs finishes moving.
12. The terminal of claim 11, wherein the seventh processing module comprises:
the first determining submodule is used for determining the target terminal according to the current electric quantity and the current available data flow of each member terminal in the terminal group;
the first determination submodule includes:
and the first processing unit is used for acquiring the member terminals of which the current electric quantity is greater than or equal to a first threshold value and the current available data flow is greater than or equal to a second threshold value in the terminal group, and determining the member terminals as target terminals.
13. A terminal comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method of sharing motion information according to any one of claims 1 to 6.
CN201810257851.2A 2018-03-27 2018-03-27 Motion information sharing method and terminal Active CN108540544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810257851.2A CN108540544B (en) 2018-03-27 2018-03-27 Motion information sharing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810257851.2A CN108540544B (en) 2018-03-27 2018-03-27 Motion information sharing method and terminal

Publications (2)

Publication Number Publication Date
CN108540544A CN108540544A (en) 2018-09-14
CN108540544B true CN108540544B (en) 2020-04-24

Family

ID=63485282

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810257851.2A Active CN108540544B (en) 2018-03-27 2018-03-27 Motion information sharing method and terminal

Country Status (1)

Country Link
CN (1) CN108540544B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111277949B (en) 2019-01-25 2021-05-28 维沃移动通信有限公司 Information reporting method, resource allocation method, first terminal and second terminal
CN112118539B (en) * 2019-06-20 2022-08-02 青岛海信移动通信技术股份有限公司 Method and device for device information interaction between terminals
JP7371562B2 (en) * 2020-04-08 2023-10-31 トヨタ自動車株式会社 Information processing device, information processing system, and program
CN111665531B (en) * 2020-06-16 2023-04-07 英华达(南京)科技有限公司 Positioning information uploading method, positioning device and system and related equipment
CN112774139B (en) * 2020-12-18 2023-02-07 深圳市倍轻松科技股份有限公司 Health equipment management method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836727A (en) * 2015-05-12 2015-08-12 湖南简成信息技术有限公司 Exercise social communication control method based on instant communication
CN106385662A (en) * 2016-08-31 2017-02-08 青岛歌尔声学科技有限公司 Motion data interaction method and device
CN107171928A (en) * 2017-03-31 2017-09-15 咪咕互动娱乐有限公司 A kind of information processing method and device
CN107749310A (en) * 2017-10-24 2018-03-02 珠海格力电器股份有限公司 Exercise data treating method and apparatus, storage medium and processor

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101593986B1 (en) * 2013-09-16 2016-02-17 엔에이치엔엔터테인먼트 주식회사 Service method and system for providing service using user activity

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104836727A (en) * 2015-05-12 2015-08-12 湖南简成信息技术有限公司 Exercise social communication control method based on instant communication
CN106385662A (en) * 2016-08-31 2017-02-08 青岛歌尔声学科技有限公司 Motion data interaction method and device
CN107171928A (en) * 2017-03-31 2017-09-15 咪咕互动娱乐有限公司 A kind of information processing method and device
CN107749310A (en) * 2017-10-24 2018-03-02 珠海格力电器股份有限公司 Exercise data treating method and apparatus, storage medium and processor

Also Published As

Publication number Publication date
CN108540544A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN108540544B (en) Motion information sharing method and terminal
CN109461117B (en) Image processing method and mobile terminal
CN108279948B (en) Application program starting method and mobile terminal
US20200257433A1 (en) Display method and mobile terminal
CN108362304B (en) Data processing method and mobile terminal
CN111031108B (en) Synchronization method and electronic equipment
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
CN108628217B (en) Wearable device power consumption control method, wearable device and computer-readable storage medium
CN108196753B (en) Interface switching method and mobile terminal
CN111812997B (en) Device control method, device, and readable storage medium
CN109618218B (en) Video processing method and mobile terminal
CN110784652A (en) Video shooting method and device, electronic equipment and storage medium
CN111415722B (en) Screen control method and electronic equipment
CN107277364B (en) Shooting method, mobile terminal and computer readable storage medium
CN110505660B (en) Network rate adjusting method and terminal equipment
CN111124569A (en) Application sharing method, electronic equipment and computer readable storage medium
CN109164908B (en) Interface control method and mobile terminal
CN108366171B (en) Temperature rise control method and mobile terminal
CN107995590B (en) Information recording method and mobile terminal
CN111417929A (en) Interface display method and control terminal
CN111261128B (en) Screen brightness adjusting method and electronic equipment
CN109858447B (en) Information processing method and terminal
CN109582820B (en) Song playing method, terminal equipment and server
CN111443764A (en) Separation state processing method and electronic equipment
CN111402157A (en) Image processing method and electronic equipment

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