CN107508690B - Communication method, device and storage medium - Google Patents

Communication method, device and storage medium Download PDF

Info

Publication number
CN107508690B
CN107508690B CN201710801934.9A CN201710801934A CN107508690B CN 107508690 B CN107508690 B CN 107508690B CN 201710801934 A CN201710801934 A CN 201710801934A CN 107508690 B CN107508690 B CN 107508690B
Authority
CN
China
Prior art keywords
motion
information
group
communication group
communication
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
CN201710801934.9A
Other languages
Chinese (zh)
Other versions
CN107508690A (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.)
China Mobile Communications Group Co Ltd
MIGU Interactive Entertainment Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
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 China Mobile Communications Group Co Ltd, MIGU Interactive Entertainment Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710801934.9A priority Critical patent/CN107508690B/en
Publication of CN107508690A publication Critical patent/CN107508690A/en
Application granted granted Critical
Publication of CN107508690B publication Critical patent/CN107508690B/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
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a communication method, which comprises the following steps: acquiring motion information of motion members in a motion group, wherein the motion information comprises information representing motion types; determining the motion type of the motion member according to the motion information; according to the motion types of the motion members, constructing communication groups in a mode that the motion members with the same motion types are distributed to the same communication groups and the motion members with different motion types are distributed to different communication groups; executing the following steps respectively aiming at each communication group to be communicated: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group. The invention also discloses a communication device and a storage medium.

Description

Communication method, device and storage medium
Technical Field
The present invention relates to communication technologies, and in particular, to a communication method, apparatus, and storage medium.
Background
With the improvement of living standard of people, more and more people are in sub-health state, and need to be strengthened through sports items such as running. At present, in order to enhance the running enthusiasm of users, more and more exercise Applications (APPs) are generated, and users only need to install an exercise APP on a mobile terminal and make an exercise plan according to the requirements of the users.
The user can communicate with each motion member in the motion group through the established motion group in the motion APP. However, in the sports group, there may be a case where the sports type of each sports member is different, for example, there are some sports members whose sports type is running and some sports members whose sports type is riding. This easily leads to: when the content of the communication of the sports members participating in the running in the sports group is about the running topic, the sports members participating in the riding are disturbed because the sports members participating in the riding tend to be less concerned about the running topic; similarly, when the content communicated by the sports members participating in the ride in the sports group is about the topic of the ride, the sports members participating in running may be disturbed because they tend to be less concerned about the topic of the ride.
The disturbance generated when the moving members in the moving group communicate may occur during communication using a group chat function provided by the moving APP, or may occur during communication using a group chat function provided by the instant messaging APP with a moving data detection function.
Disclosure of Invention
In order to solve the existing technical problems, embodiments of the present invention desirably provide a communication method, apparatus and storage medium, so as to solve the problem in the prior art that communication between members who perform one type of motion in the same motion group disturbs communication between members who perform another type of motion.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a communication method, which comprises the following steps:
acquiring motion information of motion members in a motion group, wherein the motion information comprises information representing motion types;
determining the motion type of the motion member according to the motion information;
according to the motion types of the motion members, constructing communication groups in a mode that the motion members with the same motion types are distributed to the same communication groups and the motion members with different motion types are distributed to different communication groups;
executing the following steps respectively aiming at each communication group to be communicated: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group.
In the above scheme, the obtaining motion information of the motion members in the motion group includes:
receiving a motion type identifier sent by a motion member in the motion group, and taking the motion type identifier as motion information of the corresponding motion member;
or, detecting motion data representing the motion type of the motion member in the motion group, and using the motion information carried by the detected motion data as the motion information of the corresponding motion member.
In the above solution, when obtaining the motion information of the motion member in the motion group, including receiving the motion type identifier, and using the motion type identifier as the motion information of the corresponding motion member, determining the motion type of the motion member according to the motion information includes:
acquiring a motion type corresponding to the motion type identifier according to the motion type identifier; determining the obtained motion type as the motion type of the motion member corresponding to the motion type identifier;
when the motion information of each motion member in the motion group is acquired, including the detection of the motion data, and the motion information carried by the detected motion data is taken as the motion information of the corresponding motion member, determining the motion type of the motion member according to the motion information, including:
matching the motion data with motion data corresponding to each motion type in a motion database; and according to the matching result, determining the motion type of the motion data matched with the detected motion data in the motion database as the motion type of the motion member corresponding to the motion data.
In the above scheme, after assigning moving members having the same type of movement to the same communication group, the method further includes:
and according to the motion type, allocating a motion tag to the communication group, wherein the motion tag is used for representing the motion type of the communication group.
In the above-mentioned scheme, when the information to be broadcasted associated with the communication group includes chat information to be transmitted between moving members in the communication group, the information to be broadcasted associated with the communication group is acquired, and the information to be broadcasted is transmitted in the communication group, including:
receiving a request of information to be broadcasted sent by a moving member, wherein the request carries chat information and a moving label;
and if the communication group where the motion member sending the request is positioned is determined to be the communication group according to the motion tag, transmitting the chat information in the communication group.
In the above-mentioned scheme, when the information to be broadcasted associated with the communication group includes system information to be broadcasted in the communication group, and the system information includes real-time traffic information, the information to be broadcasted associated with the communication group is acquired, and the information to be broadcasted is transmitted in the communication group, including:
receiving a self movement route sent by a movement member in the communication group;
acquiring real-time road condition data of each motion route;
and transmitting real-time road condition information in the communication group according to the real-time road condition data.
In the foregoing solution, when the information to be broadcasted associated with the communication group includes system information to be broadcasted in the communication group, and the system information includes encouragement information for motivating a sports member, acquiring the information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group, the method includes:
receiving self position information sent by each moving member in the communication group;
counting the remaining distance from the current position of each moving member in the communication group to the end point of the movement route of each moving member based on the position information and the movement route of each moving member in the communication group;
determining the moving member with the longest residual distance as a target moving member according to the statistical result;
and sending encouragement information to the target motion member as the information to be broadcasted associated with the communication group.
In the above solution, according to the motion types of the motion members, the communication group is constructed in a manner that the motion members having the same motion type are assigned to the same communication group, and the motion members having different motion types are assigned to different communication groups, including:
judging whether the moving member actually carries out the corresponding type of movement according to the movement type of the moving member to obtain a judgment result;
constructing a communication group according to a preset rule according to the motion type of the motion and the judgment result;
the preset rules include:
distributing the motion members with the same motion type and performing corresponding motion types to the same communication group; and distributing the motion members with different motion types and performing corresponding motion types to different communication groups.
In the above solution, assigning the moving members having the same movement type to the same communication group includes:
monitoring the motion data of each motion member in the motion group within a preset time period, wherein the motion data comprises an actual motion speed and/or an actual motion distance;
according to the monitored motion data, determining the motion member corresponding to the motion data with the actual motion speed larger than a preset speed threshold or the actual motion distance larger than a preset distance threshold as the current motion member actually participating in the same motion type;
assigning the moving members currently actually participating in the same type of motion to the same communication group.
In the above solution, assigning the moving members having the same movement type to the same communication group includes:
acquiring the current geographic position data of each moving member in the moving group within a preset time period;
determining the distance from the corresponding current geographic position to a preset starting point corresponding to the motion group by each motion member according to the geographic position data;
determining the moving members corresponding to the preset distances, of which the distances from the current geographic position to the preset starting points are smaller than the preset distances, as the moving members actually participating in the same motion types at present;
assigning the moving members currently actually participating in the same type of motion to the same communication group.
The embodiment of the invention also provides a communication method, which comprises the following steps:
the method comprises the steps that a client sends motion information of motion members in a motion group to a server, wherein the motion information comprises information representing motion types;
transmitting, at the server, communication information associated with a communication group constructed in a manner that a moving member having the same movement type is assigned to the same communication group and a moving member having a different movement type is assigned to a different communication group, according to the movement type; the communication information comprises chat information transmitted among the moving members in the communication group and/or system information broadcasted in the communication group.
In the above scheme, the method further comprises:
acquiring a motion tag which is distributed by a server and corresponds to the communication group;
transmitting, in a communication group constructed by the server according to the motion type, communication information associated with the communication group, including:
and sending a request of information to be broadcasted to the server, wherein the request carries chat information and the motion tag so as to trigger the server to transmit the chat information in the communication group according to the motion tag.
In the above scheme, transmitting, in a communication group constructed by the server according to the motion type, communication information associated with the communication group includes:
and sending a self movement route to the server in the communication group so as to trigger the server to transmit real-time road condition information corresponding to the movement route in the communication group according to the real-time road condition data corresponding to the movement route.
In the foregoing solution, in a communication group constructed by the server according to the motion type, transmitting communication information associated with the communication group, the method further includes:
sending own position information to the server in the communication group to trigger the server to transmit encouragement information corresponding to the position information in the communication group when the server determines that the remaining distance from the current position of the corresponding motion member to the terminal point of the motion route is the farthest according to the position information and the motion route of the corresponding motion member in the communication group.
An embodiment of the present invention further provides a communication apparatus, where the apparatus includes: the device comprises an acquisition unit, a determination unit, a construction unit and a first transmission unit;
the acquiring unit is used for acquiring the motion information of the motion members in the motion group, wherein the motion information comprises information representing the motion type;
the determining unit is used for determining the motion type of the motion member according to the motion information acquired by the acquiring unit;
the building unit is used for building the communication groups according to the motion types of the motion members and the modes that the motion members with the same motion types are distributed to the same communication group and the motion members with different motion types are distributed to different communication groups;
the first transmission unit is configured to execute, for each communication group to be communicated, respectively: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group.
In the above scheme, the apparatus further comprises: a detection unit;
the first transmission unit is further configured to receive a motion type identifier sent by a motion member in the motion group;
the detection unit is used for detecting motion data of the motion members in the motion group, wherein the motion data are used for representing motion types;
the acquiring unit is specifically configured to use the motion type identifier received by the first transmitting unit as motion information of a corresponding motion member; or, the motion information carried by the motion data detected by the detection unit is used as the motion information of the corresponding motion member.
In the foregoing solution, the obtaining unit is further configured to obtain, according to the motion type identifier received by the first transmission unit, a motion type corresponding to the motion type identifier;
the device further comprises: the matching unit is used for matching the motion data detected by the detection unit with the motion data corresponding to each motion type in a motion database;
the determining unit is specifically configured to determine the motion type acquired by the acquiring unit as the motion type of the motion member corresponding to the motion type identifier; or according to the matching result of the matching unit, determining the motion type of the motion data matched with the detected motion data in the motion database as the motion type of the motion member corresponding to the motion data.
In the above scheme, the first transmission unit is further configured to receive a request for information to be broadcasted, where the request is sent by a moving member, and the request carries chat information and a moving tag; and the chat server is further used for transmitting the chat information in the communication group when the communication group where the motion member sending the request is located is determined to be the communication group according to the motion tag.
In the above scheme, the first transmission unit is further configured to receive a motion route of the first transmission unit sent by a motion member in the communication group; sending real-time road condition information in the communication group according to the real-time road condition data acquired by the acquisition unit;
the acquisition unit is further used for acquiring real-time road condition data of each motion route.
In the above scheme, the first transmission unit is further configured to receive location information of each moving member in the communication group; the encouraging information determined by the determining unit is used as the information to be broadcasted associated with the communication group and is sent to the target moving member;
correspondingly, the device further comprises: a counting unit;
the statistical unit is used for counting the remaining distance from the current position of each moving member in the communication group to the end point of the moving route of each moving member based on the position information and the moving route of each moving member in the communication group;
and the determining unit is also used for determining the moving member with the longest residual distance as the target moving member according to the statistical result.
In the above scheme, the apparatus further comprises:
the monitoring unit is used for monitoring the motion data of each motion member in the motion group within a preset time period, wherein the motion data comprises an actual motion speed and/or an actual motion distance;
the determining unit is further configured to determine, according to the monitored motion data, a motion member corresponding to the motion data with an actual motion speed greater than a preset speed threshold or an actual motion distance greater than a preset distance threshold as a current motion member actually participating in the same motion type;
the building unit is specifically configured to assign the motion members currently actually participating in the same motion type to the same communication group.
In the above scheme, the obtaining unit is specifically configured to obtain current geographic position data of each moving member in the moving group within a preset time period;
the determining unit is further configured to determine, according to the geographic position data, a distance from the corresponding current geographic position to a preset starting point corresponding to the movement group for each movement member; determining the moving members corresponding to the preset distances, of which the distances from the current geographic position to the preset starting points are smaller than the preset distances, as the moving members actually participating in the same motion types at present;
the building unit is specifically configured to assign the motion members currently actually participating in the same motion type to the same communication group.
An embodiment of the present invention further provides a communication apparatus, where the apparatus includes: a transmitting unit and a second transmission unit;
the sending unit is used for sending self motion information to the server in the motion group, wherein the motion information comprises information representing motion types;
the second transmission unit is used for transmitting the communication information related to the communication group in the communication group which is constructed by the server according to the motion type and in a mode that the motion members with the same motion type are distributed to the same communication group and the motion members with different motion types are distributed to different communication groups; the communication information comprises chat information transmitted among the moving members in the communication group and/or system information broadcasted in the communication group.
In the above scheme, the apparatus further comprises: a second acquisition unit;
the second acquisition unit is used for acquiring the motion tags which are distributed by the server and correspond to the communication groups;
the second transmission unit is further configured to send a request for information to be broadcasted to the server, where the request carries chat information and the motion tag, so as to trigger the server to transmit the request according to the motion tag. And transmitting the chat information in the communication group.
In the above scheme, the second transmission unit is further configured to send a movement route of the second transmission unit to the server in the communication group; and triggering the server to transmit the real-time road condition information corresponding to the movement route in the communication information group according to the real-time road condition data corresponding to the movement route.
In the foregoing solution, the second transmission unit is further configured to send location information of the second transmission unit to the server in the communication group, so as to trigger the server to determine, according to the location information and a movement route of a corresponding movement member in the communication group, that a remaining distance from a current location of the corresponding movement member to a terminal of the movement route is farthest, and trigger the server to transmit encouragement information corresponding to the location information in the communication group.
An embodiment of the present invention further provides a communication apparatus, where the apparatus includes: a memory and a processor;
wherein the memory is to store a computer program operable on the processor;
the processor is configured to execute the steps of any one of the above communication methods when the computer program is executed.
An embodiment of the present invention further provides a communication apparatus, where the apparatus includes: a memory and a processor;
wherein the memory is to store a computer program operable on the processor;
the processor is configured to execute the steps of any one of the above communication methods when the computer program is executed.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the above-mentioned communication methods.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the above-mentioned communication methods.
The embodiment of the invention provides a communication method, a communication device and a storage medium, wherein the communication method comprises the steps of screening out motion members with the same motion type according to motion information of all the motion members in an established motion group, distributing the screened motion members with the same motion type to a communication group, wherein the communication group is a subgroup of the motion group, and then sending information to be broadcasted in the communication group, so that the communication can be realized among the motion members actually participating in the same motion type. Thus, the effectiveness of the communication can be improved, and the situation that the communication disturbs the members who do not participate in any sports or participate in different sports can be avoided.
Drawings
Fig. 1 is a flowchart illustrating a communication method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another communication method according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a communication device according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another embodiment of a communication device;
FIG. 5 is a schematic diagram of another embodiment of a communication device;
fig. 6 is a schematic view of a usage scenario according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart illustrating a communication method according to an embodiment of the present invention; as shown in fig. 1, the method includes:
step 101, obtaining motion information of motion members in a motion group, wherein the motion information comprises information representing motion types;
in the embodiment of the invention, the communication method is mainly applied to a communication device, and the communication device can be a server corresponding to a sport APP installed on a mobile terminal.
Specifically, the server acquires the motion information of the motion members in the motion group, including: and receiving the self motion type identification sent by each motion member in the motion group, and taking the motion type identification as the motion information of the corresponding motion member.
Wherein the motion group is a group including at least two or more motion members. Wherein, at least two or more motion members can organize and share the motion items in the motion group. And the at least two or more motion members can perform different types of motion items in actual motion. For example, the athletic event performed by athletic member A is "running"; the sport item performed by the sport member B is "riding".
The motion type identification is triggered when a user presses a button corresponding to the motion type on the mobile terminal. The motion-type button may be a keyboard button on the mobile terminal or a virtual button displayed in a display screen of the mobile terminal.
In the following, how to obtain the motion type identifier is illustrated:
for example, the types of motion in the motion APP installed on the mobile terminal include: run and ride, when the user touched or pressed the button that the motion type was "run", the motion APP then acquire with the motion type sign that "run" motion type corresponds is "01", if the user touched or pressed the button that the motion type is "ride" correspondence, the motion APP then acquire with the motion type sign that "ride" motion type corresponds is "02". Here, "01" and "02" are used as the motion type indicator, and are merely for illustration, and are not limited to the motion type indicator.
In the embodiment of the present invention, the motion information of the motion members in the motion group is obtained, and the motion information carried by the detected motion data can be used as the motion information of the corresponding motion member by detecting the current motion data representing the motion type of each motion member in the motion group.
Here, when the motion information carried by the motion data is taken as the motion information of the motion member, the motion data includes data such as a motion speed, a motion acceleration, a heart rate and the like generated by the current user in the motion process.
Specifically, the motion data of each motion member may be the motion data of the current user detected by the motion APP of the mobile terminal through the acceleration sensor; and then the mobile terminal sends the detected motion data to the server.
For example, the motion APP detects motion data of a motion member a and a motion member B in a motion group within 1 hour through a motion sensor, and obtains a detection result.
According to the detection result, the moving distance of the moving member A in 1 hour is 3 kilometers, and the moving distance of the moving member B in 1 hour is 10 kilometers.
The server takes the moving mileage (3 km) and the moving time (1 hour) of the moving member a as the moving information of the moving member a, and takes the moving mileage (10 km) and the moving time (1 hour) of the moving member B as the moving information of the moving member B.
And, after comparing the exercise information of the exercising member a and the exercise information of the exercising member B with the exercise information in the exercise database, respectively, it is determined that the exercise item currently performed by the exercising member a is "running" and the exercise item currently performed by the exercising member B is "riding".
In this embodiment of the present invention, before the server obtains the motion information of each motion member in the motion group, the method further includes: the method comprises the steps of receiving a group construction request sent by a mobile terminal (specifically, the request can be sent by a motion APP installed on the mobile terminal), responding to the group construction request after the server receives the group construction request, and further obtaining motion plan information corresponding to account information according to the account information of the motion APP carried in the group construction request and Internet Protocol (IP) address information of the mobile terminal, and constructing a motion group according to the motion plan information.
In the embodiment of the present invention, the motion group is constructed in the following two ways:
the first method is as follows: the mobile terminal A sends a group construction request to the server through the motion APP. Wherein the group construction request includes: the information such as the movement account information used when the mobile terminal logs in the movement APP, the IP address information of the mobile terminal, or the group name named by the mobile terminal a, for example: the group name information named by the mobile terminal a is "HI bar together". And after receiving the group construction request, the server responds to the group construction request and constructs a movement group named 'together HI bar'. After the server successfully establishes the moving group, the server further constructs a group list for storing member information in the moving group.
The second method comprises the following steps: after receiving a group construction request of a mobile terminal A, a server responds to the group construction request and obtains movement plan information formulated by the mobile terminal A in a movement APP according to a movement account of the mobile terminal A; then, according to the movement account number registered in the movement APP by each movement member, movement plan information formulated in the movement APP by each movement member is obtained, the movement plan information of each movement member is matched with the movement plan information of the mobile terminal A, a movement account number meeting a preset condition is obtained, the movement group is created, and the user corresponding to the movement account number is used as a member of the movement group. After the server successfully establishes the moving group, the server further constructs a group list for storing member information in the moving group.
In the embodiment of the present invention, the predetermined condition is: and the motion plan information is completely matched with or partially matched with the motion plan information of the mobile terminal A. For example, the motion plan information of the mobile terminal a includes: the movement time length is as follows: 2 hours; the movement route is as follows: the starting point "Zhongguancun", the route "Qinghua university", the destination "sports university"; the motion plan information of the mobile terminal B includes: the movement time length is as follows: 1 hour; the movement route is as follows: the starting point "Zhongguancun", the destination "Qinghua university"; the motion plan information of the mobile terminal C includes: the movement time is 1 hour, and the movement route is as follows: and the server determines that the routes of the mobile terminal B and the mobile terminal A are overlapped through matching, and then takes the mobile terminal B as a group member of the motion group.
In an embodiment of the present invention, the types of the motion groups constructed include: a temporary group and a fixed group; wherein the temporary group is: automatically resolving when the clustering time of the motion group reaches a preset time; or automatically dissolving after the movement plan formulated in the movement group is finished; the fixed group is: the sports group is not automatically disassembled, but the sports members in the sports group request to exit or kicks out by group owners. The group members in the moving group may be represented in the form of a list or in the form of a group, and the representation form of the specific group member is not limited.
In the embodiment of the invention, each moving member in the moving group can modify the nickname of the moving member in the moving group by itself, and the nickname of the moving group can only be modified by a group owner. Here, the group may be the group owner of a mobile terminal that initiates a group construction request to a server; or the server may use the mobile terminal with the fastest running speed or the farthest running distance as the group owner according to the motion information of each motion member in the motion group.
In the embodiment of the invention, communication chatting can be carried out among all the motion members in the motion group, and the communication chatting forms comprise voice chatting, text chatting and video chatting. However, the specific manner of constructing the motion group is not limited to the above two manners, as long as the purpose of forming a group by the motion members having the same or partially the same motion information and enabling communication in the group can be achieved.
In an embodiment of the present invention, after successfully constructing the motion group, the method further includes: sending motion group information corresponding to the motion group; specifically, the motion group information includes: the information comprises information of successful construction of a motion group, first group identification information distributed to the motion group, mapping relation information of a motion account of the mobile terminal and the motion group, link information joining the motion group and the like.
In this embodiment of the present invention, the first group identifier may be an identifier generated at a construction time of the motion group. For example: if the construction time of the sports group is 2017, 3, month, and 21, the first group identifier allocated to the sports group is: 20170321.
in the embodiment of the present invention, after storing the mapping relationship between the first group identifier, the motion account of the mobile terminal, and the motion group, the server sends a message that the motion group is successfully constructed and link information requesting to join the motion group to the mobile terminal according to the IP address of the mobile terminal. And after receiving the information of the motion group successfully constructed by the server according to the group construction request and the link information, the mobile terminal carries out link sharing on the link corresponding to the link information within a specified range. Here, the designated range refers to a sharing range determined by the mobile terminal.
For example, a friend circle of instant messaging software such as QQ and wechat installed on the mobile terminal is linked and shared; or directly performing link sharing on the motion circle of the motion APP where the mobile terminal is located.
Correspondingly, the link sharing of the link within the specified range includes: the mobile terminal A carries out link sharing in the friend circle through instant messaging software such as QQ, WeChat and the like, after a friend mobile terminal B of the mobile terminal A sees the link shared by the mobile terminal A through the friend circle, sending a motion group joining request to the server by clicking the link, after the server receives the motion group joining request sent by the mobile terminal B, sending 'joining' and 'not joining' options to the mobile terminal B according to the group identification carried in the motion group joining request, the mobile terminal B receiving the motion account of the mobile terminal B by selecting the 'joining' option, the server adds the motion account of the mobile terminal B into a group list of a motion group corresponding to the group identification, and sending a notification message of successful joining to the mobile terminal B, wherein the mobile terminal B becomes a group member of the motion group.
Step 102, determining the motion type of the motion member according to the motion information;
in the embodiment of the invention, after receiving the motion information of each motion member in the motion group, the server matches the motion data with the motion data corresponding to each motion type in the motion database when determining that the motion information is the motion data (motion speed, motion acceleration and motion heart rate) according to the information content displayed by the motion information; and according to the matching result, determining the motion type of the motion data matched with each detected motion data in the motion database as the current motion type of the motion member corresponding to the motion data.
For example, when the user is in the process of moving, the motion APP in the mobile terminal may obtain data such as an actual motion velocity value, an acceleration value and/or a heart rate value of the current user according to the acceleration sensor, and the obtained data such as the actual motion velocity value, the acceleration value and/or the heart rate value are sent to a server, after the server receives the data such as the actual motion speed value, the acceleration value and/or the heart rate value, matching the data such as the actual motion speed value, the acceleration value and/or the heart rate value with the motion data corresponding to each motion type in the type database of the server, determining the obtained data such as the dynamic velocity value, the acceleration value and/or the heart rate value according to the matching result, when the type database is matched with the exercise data belonging to the running type range, determining that the exercise type of the current user is 'running'; and determining the obtained data such as the dynamic velocity value, the acceleration value and/or the heart rate value according to the matching result, and determining that the motion type of the current user is 'riding' when the obtained data is matched with the motion data belonging to the riding type range in the type database. The type database of the server is used for storing the motion data corresponding to different motion types. The stored motion data corresponding to different motion types may be pre-collected by a technician and stored in the database. The specific type of motion corresponds to the motion data, which can be determined by a technician in a statistical manner. For example, statistical analysis of the exercise data generated by the running exercise of a group of running people determines that the average exercise speed value of the group of people is 10 km/h and the average heart rate value is 120 times/min, and then the exercise data and the identifier representing the type of exercise "running" may be stored in the database for subsequent query. Similarly, other motion data may be saved in the database corresponding to the corresponding identification in this manner.
In the embodiment of the invention, after receiving the motion information of each motion member in the motion group, a server acquires the motion type corresponding to the motion type identifier according to the motion type identifier when determining that the motion information is the motion type identifier according to the information content displayed by the motion information; and determining the acquired motion type as the motion type of the motion member corresponding to the motion type identifier.
For example, before the user starts an exercise, selecting a button with an exercise type of "run" in an interface displayed by an exercise APP of a mobile terminal, determining that the selected type of "run" by the user according to a touch signal generated by the user touching the "run" button, sending an exercise type identifier "01" corresponding to the "run" type to a server by the exercise APP of the mobile terminal, after receiving the exercise type identifier "01", searching the exercise type identifier "01" in a type database, and when searching the exercise type identifier "01", determining that the corresponding type of "run" of the exercise type identifier "01" in the type database is the current exercise type of "run" of the user.
If the user touches a button with a "riding" motion type in an interface displayed by a motion APP of the mobile terminal before the motion starts, the motion APP of the mobile terminal determines that the "riding" type is selected by the user according to a touch signal generated by the user touching the "riding" button, the motion APP of the mobile terminal sends a motion type identifier "02" corresponding to the "riding" type to a server, the server searches the motion type identifier "02" in a type database after receiving the motion type identifier "02", and when the motion type identifier "02" is found, the corresponding type "riding" of the motion type identifier "02" in the type database is determined as the current motion type "riding" of the user.
Here, the motion type identifier may be set according to actual requirements, and the motion type identifier "01, 02" is merely used for illustration and is not meant to be a limitation of the motion type identifier.
103, according to the motion types of the motion members, constructing communication groups in a mode of distributing the motion members with the same motion type to the same communication group and distributing the motion members with different motion types to different communication groups;
in the embodiment of the invention, after the server determines the motion types of all the motion members in the motion group, the motion members with the same motion type and the motion members with different motion types are screened out from the motion group according to the motion types of the motion members, the screened motion members with the same motion type are distributed to the same communication group, and the motion members with different motion types are distributed to different communication groups.
For example, in the sports group a, if an item of sports currently performed by a part of the sports members is "running" and an item of sports currently performed by another part of the sports members is "riding", the sports members whose items of sports are "running" are assigned to the same communication group, and the sports members whose items of sports are "riding" are assigned to the same communication group.
According to the motion types of the motion members, when the communication groups are constructed in a mode that the motion members with the same motion type are allocated to the same communication group and the motion members with different motion types are allocated to different communication groups, user information such as account numbers, nicknames, ages, sexes, interests and the like of the motion members with the same motion type can be extracted from the motion groups, and the communication groups are constructed according to the extracted user information.
Here, the communication group is a subgroup of the motion group, and the communication group is used for enabling the motion members with the same motion type to transmit information such as voice, pictures, video and the like in the communication group matched with the motion type. The problem that communication among the motion members performing one type of motion in the same motion group is disturbed due to different motion types is avoided.
In this embodiment of the present invention, after the communication groups are constructed according to the movement types of the movement members and in a manner of assigning movement members having the same movement type to the same communication group and movement members having different movement types to different communication groups, the method further includes: and distributing the motion labels to the communication groups according to the motion types. The motion tag is used for representing the motion type of the communication group.
For example, the server determines that the current motion type of a part of motion members in the motion group is "riding" according to the motion information of each motion member in the motion group, and allocates the part of motion members to the same communication group, and then allocates the motion tag to the communication group as "riding"; if the current exercise type of a part of the exercise members is 'running', the part of the exercise members are allocated to the same exercise group, and then the exercise label allocated to the communication group is 'running'; if some sports members do not participate in any sports currently, the server assigns the sports members to the same sports group, and then assigns the sports tag to the communication group as "not participating in sports".
By assigning the communication groups with motion tags, the types of motion of different communication groups can be quickly identified. And when the server receives a request of information to be broadcasted sent by a moving member in the communication group, the target communication group to which the request is directed can be quickly identified according to a moving tag carried in the request, so that the server sends the information to be broadcasted to which the request is directed in the target communication group.
In an embodiment of the present invention, after assigning moving members having the same movement type to the same communication group, the method further includes: acquiring user information of each moving member in the communication group; establishing a motion data table according to the user information; and allocating identification to the motion data table. Here, the user information includes: user ID, user nickname, etc.
Therefore, when a server receives a request of information to be broadcasted sent by a moving member and carries a moving data table, the server can search the moving data table corresponding to the identifier in a database according to the identifier of the moving data table, and send the information to be broadcasted for the request to a communication group where a user corresponding to user information stored in the moving data table is located according to the searched moving data table.
In the embodiment of the present invention, assigning moving members having the same movement type to the same communication group includes: in the moving members with the same movement type, the server monitors the movement data of each moving member, wherein the movement data comprises movement duration and/or movement distance; determining the moving member corresponding to the moving data with the moving time length and/or the moving distance larger than a preset threshold value as the moving member actually participating in the type of the motion at present according to the monitored moving data; the motion types are the same and the motion members currently actually participating in the motion types are assigned to the same communication group.
Step 104, executing the following steps for each communication group to be communicated: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group.
Here, when the server transmits the corresponding information to be broadcasted in the corresponding communication group, the server may directly send the information to be broadcasted (for example, broadcasted system information) to the moving member in the communication group, or the server may forward the information to be broadcasted sent by a moving member in the communication group to the moving member in the communication group.
Here, the broadcasted system information may be current traffic information, weather information, or statistical result information that is distributed after statistics is performed on current motion information of the motion member, which is distributed to the communication group by the server.
In the embodiment of the present invention, when information to be broadcasted associated with the communication group includes chat information to be transmitted between moving members in the communication group, acquiring the information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group, the method includes: receiving a request of information to be broadcasted sent by a moving member, wherein the request of the information to be broadcasted comprises: chat information (voice data or text data), a motion tag and/or a motion data table identifier. After the server receives a sending request of the information to be broadcasted, if the sending request carries a moving tag, determining whether a communication group where the moving member is located is a communication group associated with the information to be broadcasted or not according to the moving tag, and sending the information to be broadcasted corresponding to the request to each moving member in the communication group corresponding to the moving tag when determining that the communication group where the moving member is located is the communication group associated with the information to be broadcasted; if the sending request does not carry a motion tag but carries a motion data table identifier, searching a motion data table corresponding to the data table identifier in a database, and sending the information to be broadcasted corresponding to the request to a communication group where a user corresponding to the user information is located according to the user information stored in the motion data table.
Sending information to be broadcasted associated with the communication group to the moving members in the communication group, and further comprising: acquiring default broadcast information corresponding to the motion tags of the communication group; and sending the default broadcast information associated with the communication group to the moving members in the communication group.
For example, if the motion tag of the communication group is "running group," the default reporting information corresponding to the motion tag of the communication group may be "running at oil; if the sports tag of the communication group is a "riding group," the default broadcast information corresponding to the sports tag of the communication group may be "riding in oil.
In the embodiment of the present invention, the personal information of the sports member corresponding to the sports information that satisfies the predetermined condition may also be used as the default broadcast information.
Here, the personal information of the moving member corresponding to the moving information satisfying the predetermined condition includes: and the nickname, the movement account number, the user ID and other information of the movement member in the communication group.
The predetermined conditions include: and selecting the information of the highest running speed, the information of the lowest running speed, the information of the longest running route track, the information of the shortest running route track and/or the like according to the motion data of each motion member in the communication group.
For example, when the exercise information of the predetermined condition is the fastest running speed, the default broadcast information may be: "Happy speed of you running! "when the motion information of the predetermined condition is the longest running route track, the default broadcast information is: "" you run Hao Yuan! "and the like.
In this embodiment of the present invention, when the information to be broadcasted associated with the communication group includes system information to be broadcasted in the communication group, and the system information includes real-time traffic information, acquiring the information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group, the method includes: receiving the motion route of each motion member in the communication group; detecting the road condition of each movement route in real time through a local map or an internet map to obtain real-time road condition data of each movement route; and transmitting real-time road condition information in the communication group according to the real-time road condition data. For example, the real-time traffic data is used as the information to be broadcasted associated with the communication group, and is sent to the moving members in the communication group.
In this embodiment of the present invention, when the information to be broadcasted associated with the communication group includes system information to be broadcasted in the communication group, and the system information includes encouragement information for motivating a sports member, acquiring the information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group, the method includes: receiving self position information sent by each moving member in the communication group; counting the remaining distance from the current position of each moving member to the terminal point of the moving route of each moving member in the communication group based on the position information and the moving route of each moving member in the communication group; determining the moving member with the longest residual distance as a target moving member according to the statistical result; and sending encouragement information to the target motion member as the information to be broadcasted associated with the communication group.
Specifically, each of the moving members in the communication group periodically acquires its own position information via a Global Positioning System (GPS) and transmits its own position information to the server.
In the embodiment of the present invention, when a server constructs a communication group according to the motion types of the motion members and according to the manner of assigning the motion members having the same motion type to the same communication group and assigning the motion members having different motion types to different communication groups, the server may determine whether the motion members actually perform motions of corresponding types according to the motion types of the motion members to obtain a determination result; according to the judgment result, when the moving member is determined to actually move in a corresponding type, a communication group is constructed according to the movement type of the movement and the judgment result and a preset rule; the preset rules include: distributing the motion members with the same motion type and performing corresponding motion types to the same communication group; and distributing the motion members with different motion types and performing corresponding motion types to different communication groups.
Specifically, assigning moving members having the same type of movement to the same communication group includes:
monitoring the motion data of each motion member in the motion group within a preset time period, wherein the motion data comprises an actual motion speed and/or an actual motion distance; according to the monitored motion data, determining the motion member corresponding to the motion data with the actual motion speed larger than a preset speed threshold or the actual motion distance larger than a preset distance threshold as the current motion member actually participating in the same motion type; assigning the moving members currently actually participating in the same type of motion to the same communication group.
Assigning moving members having the same type of movement to the same communication group, may further include:
acquiring the current geographic position data of each moving member in the moving group within a preset time period; determining the distance from the corresponding current geographic position to a preset starting point corresponding to the motion group by each motion member according to the geographic position data; determining the moving members corresponding to the preset distances, of which the distances from the current geographic position to the preset starting points are smaller than the preset distances, as the moving members actually participating in the same motion types at present; assigning the moving members currently actually participating in the same type of motion to the same communication group.
In this embodiment of the present invention, before obtaining motion information of each moving member in a moving group, the method further includes:
assigning a first group identification to the motion group; receiving a motion group joining request sent by a motion member, and acquiring a second group identifier from the motion group joining request; and matching the second group identification with the first group identification, and determining the moving member corresponding to the successfully matched second group identification as the moving member of the moving group.
Here, since a plurality of different motion groups are stored in the server, and the server assigns respective group identifiers, collectively referred to as a first group identifier, to each of the different motion groups; that is, the plurality of motion groups each have a respective first group identification; therefore, in order to determine which motion group the motion group to which the motion member to join belongs, it is necessary to match the second group identifier carried in the motion group joining request sent by each motion member to be joined with each first group identifier, and determine the motion member to be joined corresponding to the successfully matched second group identifier as the motion member of the motion group corresponding to the successfully matched first group identifier.
In this embodiment of the present invention, the server may specifically send the information to be broadcasted to each moving member in the communication group, and may also send the information to be broadcasted to a target moving member in the communication group.
In the embodiment of the present invention, acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group includes:
acquiring motion data of each motion member in the communication group; comparing each piece of motion data with preset motion data, and determining the motion data smaller than the preset motion data according to the comparison result; determining a motion member corresponding to motion data smaller than the preset motion data as a target motion member; and sending the information to be broadcasted to the target moving member in the communication group.
Here, the target moving member may be the one with the worst athletic performance, that is, the shortest exercise duration, and/or the slowest exercise speed, and/or the shortest exercise mileage.
For example, after comparing each motion data value corresponding to the motion information of each motion member in the communication group with a preset threshold value, and determining that the motion mileage value of the mobile terminal B is smaller than the preset threshold value, the mobile terminal B is taken as a target motion member, and the information to be broadcasted is sent to the mobile terminal B, so as to stimulate the mobile terminal B to refuel.
Here, the information to be broadcasted includes: the exercise mileage data, the exercise speed, the exercise duration and other data.
Further, after the server determines the information to be broadcasted according to the position information of each moving member, the server carries the nickname of the moving member corresponding to the information to be broadcasted and sends the nickname to the mobile terminal B, so that the mobile terminal B can know who moving data is the best in the communication group, and the moving member with the best moving data is used as power for stimulating the progress of the mobile terminal B, and the moving speed of the mobile terminal B is improved.
In the embodiment of the present invention, the preset threshold may be set according to a historical movement record of each movement member. For example, the communication group includes moving members: A. b, C, according to the A, B, C historical exercise records, the lowest exercise amount of A is 500 meters per day, the lowest exercise amount of B is 600 meters per day, and the lowest exercise amount of C is 700 meters per day, then the preset threshold value is set as: the moving mileage is 500 meters, then, the corresponding moving mileage data values in the moving information of each moving member are respectively compared with the preset threshold, according to the comparison result, the moving mileage of the moving account A is determined to be 400 meters, and if the moving mileage is smaller than the preset threshold, the moving account A is determined to be the target moving member.
In the embodiment of the present invention, the server may further compare the motion data values corresponding to the motion information between the motion members, generate a numerical comparison table according to the comparison result, and determine the target motion member according to the numerical comparison table. Therefore, the server periodically sends the information to be broadcasted to each moving member or target moving member in the moving group, so that the user can be stimulated to more dynamically complete the movement plan made by the user, and the user can achieve a better movement effect.
In the embodiment of the present invention, when the server sends the information to be broadcasted to the moving members in the moving group, the server may also send information associated with the information to be broadcasted. For example, when the information to be broadcasted is sent to the target moving member in the moving group, the information associated with the information to be broadcasted may be carried by: the Chinese character ' Yi-Yi ', Yi-Yi ' and other information are added along with the Chinese character ' Kou ', so that the interestingness of the sports member in the process of sports is increased.
FIG. 2 is a flow chart illustrating another information processing method according to an embodiment of the present invention; as shown in fig. 2, the method includes:
step 201, a client sends motion information of motion members in a motion group to a server, wherein the motion information comprises information representing motion types;
in the embodiment of the invention, the method is mainly applied to a communication device, and the communication device can be a mobile terminal provided with a sport APP. After the mobile terminal logs in the motion APP through a motion account, sending self motion information to a server corresponding to the motion APP in the motion group corresponding to the motion APP. The motion information comprises information such as motion identification and motion data; the motion APP can be a motion APP with a group chat function, and can also be an instant messaging APP with a motion data detection function.
When motion APP is the instant messaging APP that possesses the motion data and detect the function, data such as motion step number, motion mileage that the motion APP can be to the user at every moment are monitored and are counted, and the user can pass through the step number of oneself walking every day is looked over to the motion APP, also can with other users in the motion APP carry out the match of amount of exercise or approve simultaneously.
Step 202, transmitting communication information associated with the communication group in the communication group constructed by the server according to the motion type and in a manner that the motion members with the same motion type are allocated to the same communication group and the motion members with different motion types are allocated to different communication groups; the communication information comprises chat information transmitted among the moving members in the communication group and/or system information broadcasted in the communication group.
In the embodiment of the invention, after receiving the motion information sent by the mobile terminal, the server allocates the mobile terminal to the communication group corresponding to the motion type of the mobile terminal according to the motion type corresponding to the motion information. The mobile terminals are connected with the communication group, the communication group is divided into a plurality of communication groups, the communication group comprises a plurality of mobile members, the mobile members in the communication group are all the mobile members with the same motion type as that of the mobile terminal, the mobile members with the same motion type are distributed to the same communication group, and the mobile members with different motion types are distributed to the same communication group, so that the communication among the mobile members with one motion type in the same motion group can be realized, and the disturbance among the mobile members with the other motion type can not be caused.
Here, the system information may be weather information sent by the server, road condition information of the mobile members in the communication group, and motion statistical information sent after statistics is performed on motion data of the mobile members in the communication group.
When the server transmits the communication information associated with the communication group, and the communication information is the information to be broadcasted which is forwarded by the server and sent by a certain mobile terminal in the communication group, the implementation method comprises the following steps: a certain moving member in the communication group acquires a moving label which is distributed by a server and corresponds to the communication group; then sending a request of information to be broadcasted to a server, wherein the request carries chat information and a motion type identifier or a data table identifier; after the server receives the request, according to the motion type identifier or the data table identifier, determining that a communication group corresponding to the request is the same as a motion tag distributed by the server, and sending information to be broadcasted corresponding to the request to the communication group by the server, so that only motion members in the communication group can receive the information to be broadcasted.
When the server transmits the communication information associated with the communication group and the server sends real-time road condition data corresponding to the movement route of a certain movement member, the specific implementation method is as follows: and after receiving the movement route, the server acquires real-time road condition data corresponding to the movement route, generates the acquired real-time road condition data into real-time road condition information and transmits the real-time road condition information in the communication group.
Here, the transmission may be to send the real-time traffic information to the communication group, or to receive the real-time traffic information reported by each moving member in the communication group.
The transmission of the communication information associated with the communication group may also be default broadcast information corresponding to the moving tag of the communication group, which is sent by the server.
For example, if the sports tag is "running group", the default report information corresponding to the sports tag is "big you run"; for example, if the sports tag is "riding group", the default broadcast message corresponding to the sports tag is "big fill riding.
The transmitting of the communication associated with the communication group may also be encouragement information sent by the server in the communication group to encourage the target sports member.
When the transmission of the communication information associated with the communication group is the incentive information sent by the server in the communication group for encouraging the target sports member, the specific implementation method is as follows: each moving member in the communication group sends own position information to the server, and after the server receives the position information, the server counts the remaining distance from the current position of each moving member in the communication group to the terminal point of the moving route of each moving member according to the position information of each moving member and the moving route of each moving member; determining the moving member with the longest residual distance as a target moving member according to the statistical result; and sending encouragement information to the communication group as the information to be broadcasted associated with the communication group, or sending encouragement information only to target motion members in the motion group. The moving member with the shortest remaining distance can be determined as the target moving member; and sending encouragement information to the communication group as the information to be broadcasted associated with the communication group, or sending encouragement information only to target motion members in the motion group.
For example, the motivational information includes: and the distance of the star-delta-.
In the embodiment of the invention, after receiving the communication information sent in the communication group, the mobile terminal converts the communication information into the voice information and only broadcasts the information in the communication group through the microphone of the mobile terminal.
In the embodiment of the invention, the voice style of the information broadcast can be the voice of a star or a certain type of animal. For example, voice announcement is performed using the sound of parrots. In addition, in the embodiment of the present invention, when the information to be broadcasted is sent to the moving group by the server, information associated with the information to be broadcasted may also be carried, for example, the total mileage exceeds you, and fuel information such as "fast fuel effect" is caught. Or the information of the mouth number such as 'one, two and one'.
In the embodiment of the invention, if the mobile terminal is currently listening to music or calling, the mobile terminal receives the information to be broadcasted sent by the server, and at the moment, the mobile terminal can convert the information to be broadcasted into voice for interspersed broadcasting. The interspersed broadcasting means that the currently played music or mute conversation is paused, the voice broadcasting of the information to be broadcasted is carried out, and after the voice broadcasting of the information to be broadcasted is finished, the currently played music or the current conversation is continuously started.
According to the information processing method provided by the embodiment of the invention, the motion members with the same motion type are screened from the original motion group (motion group), the motion subgroup (communication group) of the original motion group is constructed, and the communication is carried out in the motion subgroup, so that the pertinence of the communication can be improved, the current user who does not move and the user with different motion types cannot be disturbed, and the motion experience of the user is improved.
Fig. 3 is a schematic diagram illustrating a communication device according to an embodiment of the present invention; as shown in fig. 3, the apparatus includes: an acquisition unit 301, a determination unit 302, a construction unit 303 and a first transmission unit 304.
The obtaining unit 301 is configured to obtain motion information of a motion member in a motion group, where the motion information includes information representing a motion type;
the determining unit 302 is configured to determine a motion type of a motion member according to the motion information acquired by the acquiring unit;
the constructing unit 303 is configured to construct a communication group according to the motion types of the motion members and in a manner that the motion members with the same motion type are assigned to the same communication group and the motion members with different motion types are assigned to different communication groups;
the first transmission unit 304 is configured to perform, for each communication group to be communicated, respectively: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group.
In the embodiment of the present invention, the communication device may be a server corresponding to a sports APP installed on a mobile terminal.
The first transmission unit 304 is further configured to receive motion type identifiers of the respective motion members in the motion group. The obtaining unit 301 is specifically configured to use the motion type identifier received by the first transmitting unit 304 as the motion information of the corresponding motion member.
In this embodiment of the present invention, the motion type identifier received by the first transmission unit 304 is a motion identifier triggered when a user touches a corresponding motion type button on the mobile terminal. The motion-type button may be a keyboard button on the mobile terminal or a virtual button displayed in a display screen of the mobile terminal.
In the following, how to obtain the motion type identifier is illustrated:
for example, the types of motion in the motion APP installed on the mobile terminal include: run and ride, when the user touched or pressed the button that the motion type was "run", the motion APP then acquire with the motion type sign that "run" motion type corresponds is "01", if the user touched or pressed the button that the motion type is "ride" correspondence, the motion APP then acquire with the motion type sign that "ride" motion type corresponds is "02". Here, "01" and "02" are used as the motion type indicator, and are merely for illustration, and are not limited to the motion type indicator.
The device further comprises: a detection unit 305;
the detecting unit 305 is configured to detect current motion data of each moving member in the moving group through an acceleration sensor, and send the detected motion data to a server. The obtaining unit 301 is specifically configured to use the motion data detected by the detecting unit 305 as the motion information of the corresponding motion member.
In this embodiment of the present invention, when the obtaining unit 301 uses the motion information carried by the motion data as the motion information of the motion member, the motion data includes data such as a motion speed, a motion acceleration, and a heart rate generated by the current user in the motion process.
Specifically, the motion data of each motion member may be the motion data of the current user detected by the motion APP of the mobile terminal through the acceleration sensor; and then the mobile terminal sends the detected motion data to the server.
For example, the motion APP detects motion data of a motion member a and a motion member B in a motion group within 1 hour through a motion sensor, and obtains a detection result.
According to the detection result, the moving distance of the moving member A in 1 hour is 3 kilometers, and the moving distance of the moving member B in 1 hour is 10 kilometers.
The server takes the moving mileage (3 km) and the moving time (1 hour) of the moving member a as the moving information of the moving member a, and takes the moving mileage (10 km) and the moving time (1 hour) of the moving member B as the moving information of the moving member B.
And, after comparing the exercise information of the exercising member a and the exercise information of the exercising member B with the exercise information in the exercise database, respectively, it is determined that the exercise item currently performed by the exercising member a is "running" and the exercise item currently performed by the exercising member B is "riding".
In the embodiment of the present invention, the apparatus further includes: a building unit 306;
the first transmission unit 304 is configured to receive a group construction request sent by a mobile terminal (specifically, the request may be sent by the motion APP installed on the mobile terminal), after receiving the group construction request, the first transmission unit 304 responds to the group construction request, and triggers the obtaining unit 301 according to account information of the motion APP and IP address information of the mobile terminal, which are carried in the group construction request, and the obtaining unit 301 further obtains motion plan information corresponding to the account information, and triggers the constructing unit 306 to construct a motion group according to the motion plan information.
In this embodiment of the present invention, the constructing unit 306 constructs the motion group, which includes the following two construction methods:
the first method is as follows: the mobile terminal A sends a group construction request to the server through the motion APP. Wherein the group construction request includes: the information such as the movement account information used when the mobile terminal logs in the movement APP, the IP address information of the mobile terminal, or the group name named by the mobile terminal a, for example: the group name information named by the mobile terminal a is "HI bar together". After receiving the group construction request, the server responds to the group construction request and triggers the construction unit 306 to construct a motion group named "HI together". The constructing unit 306 further constructs a group list for storing member information in the motion group after the motion group is successfully established.
The second method comprises the following steps: after receiving a group construction request of a mobile terminal a, a server responds to the group construction request and triggers the obtaining unit 301 to obtain motion plan information formulated by the mobile terminal a in the motion APP according to a motion account of the mobile terminal a; then, the obtaining unit 301 obtains the movement plan information formulated by each movement person in the movement APP according to the movement account registered by each movement member in the movement APP, and matches the movement plan information of each movement person with the movement plan information of the mobile terminal a to obtain a movement account meeting a predetermined condition; then, the constructing unit 306 is triggered, the constructing unit 306 constructs the movement group, and the user corresponding to the movement account is taken as a member of the movement group. The constructing unit 306 further constructs a group list for storing member information in the motion group after the motion group is successfully established.
In the embodiment of the present invention, the predetermined condition is: and the motion plan information is completely matched with or partially matched with the motion plan information of the mobile terminal A. For example, the motion plan information of the mobile terminal a includes: the movement time length is as follows: 2 hours; the movement route is as follows: the starting point "Zhongguancun", the route "Qinghua university", the destination "sports university"; the motion plan information of the mobile terminal B includes: the movement time length is as follows: 1 hour; the movement route is as follows: the starting point "Zhongguancun", the destination "Qinghua university"; the motion plan information of the mobile terminal C includes: the movement time is 1 hour, and the movement route is as follows: and the server determines that the routes of the mobile terminal B and the mobile terminal A are overlapped through matching, and then takes the mobile terminal B as a group member of the motion group.
In the embodiment of the present invention, the types of the motion groups constructed by the construction unit 306 include: a temporary group and a fixed group; wherein the temporary group is: automatically resolving when the clustering time of the motion group reaches a preset time; or automatically dissolving after the movement plan formulated in the movement group is finished; the fixed group is: the sports group is not automatically disassembled, but the sports members in the sports group request to exit or kicks out by group owners. The group members in the moving group may be represented in the form of a list or in the form of a group, and the representation form of the specific group member is not limited.
In the embodiment of the invention, each moving member in the moving group can modify the nickname of the moving member in the moving group by itself, and the nickname of the moving group can only be modified by a group owner. Here, the group may be the group owner of a mobile terminal that initiates a group construction request to a server; or the server may use the mobile terminal with the fastest running speed or the farthest running distance as the group owner according to the motion information of each motion member in the motion group.
In the embodiment of the invention, communication chatting can be carried out among all the motion members in the motion group, and the communication chatting forms comprise voice chatting, text chatting and video chatting. The specific way of constructing the motion group by the server is not limited to the above two ways, as long as the method can combine the motion members with the same or partially same motion information into a group and can realize communication in the group.
In this embodiment of the present invention, after the constructing unit 306 successfully constructs the motion group, the first transmitting unit 304 is triggered to send the motion group information corresponding to the motion group to the mobile terminal.
Here, the motion group information includes: the information comprises information of successful construction of a motion group, first group identification information distributed to the motion group, mapping relation information of a motion account of the mobile terminal and the motion group, link information joining the motion group and the like.
In this embodiment of the present invention, the first group identifier may be an identifier generated at a construction time of the motion group. For example: if the construction time of the sports group is 2017, 3, month, and 21, the first group identifier allocated to the sports group is: 20170321.
in an embodiment of the present invention, the apparatus further includes: a storing unit 307, configured to store the first group identifier, the mapping relationship between the motion account of the mobile terminal and the motion group, and then trigger the first transmitting unit 304, where the first transmitting unit 304 transmits, to the mobile terminal, a message that the motion group is successfully constructed and link information that requests to join the motion group according to the IP address of the mobile terminal. And after receiving the information of the motion group successfully constructed by the server according to the group construction request and the link information, the mobile terminal carries out link sharing on the link corresponding to the link information within a specified range. Here, the designated range refers to a sharing range determined by the mobile terminal.
For example, a friend circle of instant messaging software such as QQ and wechat installed on the mobile terminal is linked and shared; or directly performing link sharing on the motion circle of the motion APP where the mobile terminal is located.
Correspondingly, the link sharing of the link within the specified range includes: the mobile terminal A carries out link sharing in the friend circle through instant messaging software such as QQ, WeChat and the like, after a friend mobile terminal B of the mobile terminal A sees the link shared by the mobile terminal A through the friend circle, sending a motion group joining request to the server by clicking the link, after the server receives the motion group joining request sent by the mobile terminal B, sending 'joining' and 'not joining' options to the mobile terminal B according to the group identification carried in the motion group joining request, the mobile terminal B receiving the motion account of the mobile terminal B by selecting the 'joining' option, the server adds the motion account of the mobile terminal B into a group list of a motion group corresponding to the group identification, and sending a notification message of successful joining to the mobile terminal B, wherein the mobile terminal B becomes a group member of the motion group.
In the embodiment of the present invention, after receiving the motion information of each motion member in the motion group, the server triggers the determining unit 302, and when determining that the motion type of the motion information is motion data (motion speed, motion acceleration, motion heart rate) according to the motion information, the determining unit 302 matches the motion data with the motion data corresponding to each motion type in the motion database; and according to the matching result, determining the motion type of the motion data matched with each detected motion data in the motion database as the current motion type of the motion member corresponding to the motion data.
For example, when the user is in the process of moving, the motion APP in the mobile terminal may obtain data such as an actual motion velocity value, an acceleration value and/or a heart rate value of the current user according to the acceleration sensor, and the obtained data such as the actual motion velocity value, the acceleration value and/or the heart rate value are sent to a server, after the server receives the data such as the actual motion speed value, the acceleration value and/or the heart rate value, matching the data such as the actual motion speed value, the acceleration value and/or the heart rate value with the motion data corresponding to each motion type in the type database of the server, determining the obtained data such as the dynamic velocity value, the acceleration value and/or the heart rate value according to the matching result, when the type database is matched with the exercise data belonging to the running type range, determining that the exercise type of the current user is 'running'; and determining the obtained data such as the dynamic velocity value, the acceleration value and/or the heart rate value according to the matching result, and determining that the motion type of the current user is 'riding' when the obtained data is matched with the motion data belonging to the riding type range in the type database.
In the embodiment of the present invention, after receiving motion information of each motion member in the motion group, the server triggers the determining unit 302, and when determining that the motion type of the motion information is a motion type identifier according to the motion information, the determining unit 302 acquires a motion type corresponding to the motion type identifier according to the motion type identifier; and determining the acquired motion type as the motion type of the motion member corresponding to the motion type identifier.
For example, before the user starts an exercise, selecting a button with an exercise type of "run" in an interface displayed by an exercise APP of a mobile terminal, determining that the selected type of "run" by the user according to a touch signal generated by the user touching the "run" button, sending an exercise type identifier "01" corresponding to the "run" type to a server by the exercise APP of the mobile terminal, after receiving the exercise type identifier "01", searching the exercise type identifier "01" in a type database, and when searching the exercise type identifier "01", determining that the corresponding type of "run" of the exercise type identifier "01" in the type database is the current exercise type of "run" of the user.
If the user touches a button with a "riding" motion type in an interface displayed by a motion APP of the mobile terminal before the motion starts, the motion APP of the mobile terminal determines that the "riding" type is selected by the user according to a touch signal generated by the user touching the "riding" button, the motion APP of the mobile terminal sends a motion type identifier "02" corresponding to the "riding" type to a server, the server searches the motion type identifier "02" in a type database after receiving the motion type identifier "02", and when the motion type identifier "02" is found, the corresponding type "riding" of the motion type identifier "02" in the type database is determined as the current motion type "riding" of the user.
Here, the motion type identifier may be set according to actual requirements, and the motion type identifier "01, 02" is merely used for illustration and is not meant to be a limitation of the motion type identifier.
In the embodiment of the present invention, after determining the motion types of each motion member in the motion group, the server screens out motion members with the same motion type and motion members with different motion types from the motion group according to the motion types of the motion members, and triggers the constructing unit 303 to allocate the screened motion members with the same motion type to the same communication group and allocate the motion members with different motion types to different communication groups.
For example, in the sports group a, if an item of sports currently performed by a part of the sports members is "running" and an item of sports currently performed by another part of the sports members is "riding", the sports members whose items of sports are "running" are assigned to the same communication group, and the sports members whose items of sports are "riding" are assigned to the same communication group.
According to the motion types of the motion members, when the communication groups are constructed in a mode that the motion members with the same motion type are allocated to the same communication group and the motion members with different motion types are allocated to different communication groups, user information such as account numbers, nicknames, ages, sexes, interests and the like of the motion members with the same motion type can be extracted from the motion groups, and the communication groups are constructed according to the extracted user information.
Here, the communication group is a subgroup of the motion group, and the communication group is used for enabling the motion members with the same motion type to transmit information such as voice, pictures, video and the like in the communication group matched with the motion type. The problem that communication among the motion members performing one type of motion in the same motion group is disturbed due to different motion types is avoided.
The constructing unit 303 assigns a motion tag to the communication group according to the motion type after assigning the same communication group to the motion members having the same motion type.
For example, the server determines that the current motion type of a part of motion members in the motion group is "riding" according to the motion information of each motion member in the motion group, and allocates a motion tag to the communication group as "riding" after the part of motion members are allocated to the same communication group; if a part of the motion members are assigned to the same motion group, the motion label assigned to the communication group is 'running'; if some sports members do not participate in any sports currently, the server assigns a sports label to the communication group as "not participating in sports" after assigning such sports members to the same sports group.
By assigning the communication group with a motion tag through the constructing unit 303, the motion types of different communication groups can be quickly identified. And when the server receives a request of information to be broadcasted sent by a moving member in the communication group, the target communication group to which the request is directed can be quickly identified according to a moving tag carried in the request, so that the server sends the information to be broadcasted to which the request is directed in the target communication group.
In this embodiment of the present invention, after the building unit 303 assigns moving members with the same movement type to the same communication group, the obtaining unit 301 is triggered, the obtaining unit 301 obtains user information of each moving member in the communication group, then the building unit 306 is triggered, the building unit 306 builds a movement data table according to the user information, then the building unit 303 is triggered, and the building unit 303 assigns identifiers to the movement data table. Here, the user information includes: user ID, user nickname, etc.
Therefore, when a server receives a request of information to be broadcasted sent by a moving member and carries a moving data table, the server can search the moving data table corresponding to the identifier in a database according to the identifier of the moving data table, and send the information to be broadcasted for the request to a communication group where a user corresponding to user information stored in the moving data table is located according to the searched moving data table.
In the embodiment of the present invention, the apparatus further includes: monitoring unit 308
The monitoring unit 308 is configured to monitor motion data of each motion member in the motion group within a preset time period, where the motion data includes an actual motion speed and/or an actual motion distance; the determining unit 302 determines, according to the monitored motion data, a motion member corresponding to the motion data of which the actual motion speed is greater than a preset speed threshold or the actual motion distance is greater than a preset distance threshold, as a motion member currently and actually participating in the same motion type; the constructing unit 303 is specifically configured to assign the moving members currently actually participating in the same motion type to the same communication group.
In another implementation manner, the obtaining unit 301 is specifically further configured to obtain current geographic position data of each moving member in the moving group within a preset time period;
the determining unit 302 is further configured to determine, according to the geographic position data, a distance from a corresponding current geographic position to a preset starting point corresponding to the motion group for each motion member; determining the moving members corresponding to the preset distances, of which the distances from the current geographic position to the preset starting points are smaller than the preset distances, as the moving members actually participating in the same motion types at present;
the constructing unit 303 is specifically configured to assign the moving members currently actually participating in the same motion type to the same communication group.
In this embodiment of the present invention, the sending, by the first transmission unit 304, information to be broadcasted associated with the communication group to a moving member in the communication group includes: first transmission element 304 receives the request of waiting to report the information that the motion member sent, wait to report the sending request of information and include: chat information (voice data or text data), a motion tag and/or a motion data table identifier. After the first transmission unit 304 receives the request for sending the information to be broadcasted, if the request carries a moving tag, the determination unit 302 is triggered, the determination unit 302 determines whether the communication group where the moving member is located is a communication group associated with the information to be broadcasted according to the moving tag, and when the communication group where the moving member is located is determined to be a communication group associated with the information to be broadcasted, the first transmission unit 304 is triggered, and the first transmission unit 304 sends the information to be broadcasted corresponding to the request to each moving member in the communication group corresponding to the moving tag.
In the embodiment of the present invention, the apparatus further includes: a lookup unit 309.
Specifically, after the first transmission unit 304 receives the request for sending the information to be broadcasted, if the request for sending does not carry a motion tag but carries a motion data table identifier, the search unit 309 is triggered, the search unit 309 searches a database for a motion data table corresponding to the data table identifier, and then the first transmission unit 304 is triggered, and the first transmission unit 304 sends the information to be broadcasted corresponding to the request to a communication group where a user corresponding to the user information is located according to the user information stored in the motion data table.
In this embodiment of the present invention, the obtaining unit 301 is further configured to obtain default broadcast information corresponding to the motion tag of the communication group; then, the first transmission unit 304 is triggered, and the first transmission unit 304 sends the default broadcast information associated with the communication group to the moving members in the communication group.
For example, if the motion tag of the communication group is "running group," the default reporting information corresponding to the motion tag of the communication group may be "running at oil; if the sports tag of the communication group is a "riding group," the default broadcast information corresponding to the sports tag of the communication group may be "riding in oil.
In the embodiment of the present invention, the personal information of the sports member corresponding to the sports information that satisfies the predetermined condition may also be used as the default broadcast information.
Here, the personal information of the moving member corresponding to the moving information satisfying the predetermined condition includes: and the nickname, the movement account number, the user ID and other information of the movement member in the communication group.
The predetermined conditions include: and selecting the information of the highest running speed, the information of the lowest running speed, the information of the longest running route track, the information of the shortest running route track and/or the like according to the motion data of each motion member in the communication group.
For example, when the exercise information of the predetermined condition is the fastest running speed, the default broadcast information may be: "Hakuaiya you run! When the motion information of the preset condition is the longest running route track, the default broadcast information is as follows: "Haoyang you run! And so on.
In this embodiment of the present invention, the sending, by the first transmission unit 304, information to be broadcasted associated with the communication group to a moving member in the communication group further includes: the first transmission unit 304 receives the own movement route sent by each movement member in the communication group; the detecting unit 305 detects the road condition of each motion route in real time through a local map or an internet map, so as to obtain real-time road condition data of each motion route; the first transmission unit 304 transmits the real-time traffic information in the communication group according to the real-time traffic data. For example, the real-time traffic data is used as the information to be broadcasted associated with the communication group, and is sent to the moving members in the communication group.
In the embodiment of the present invention, the apparatus further includes: a statistics unit 310.
Specifically, the first transmission unit 304 receives the position information of each moving member in the communication group, after the first transmission unit 304 receives the position information, the statistical unit 310 is triggered, and the statistical unit 310 performs statistics on the remaining distance from the current position of each moving member in the communication group to the end point of the movement route of each moving member based on the position information and the movement route of each moving member in the communication group. And then triggering the determining unit 302, and determining the moving member with the longest remaining distance as the target moving member by the determining unit 302 according to the statistical result. Then, the first transmission unit 304 is triggered, and the information to be broadcasted, which is sent to the target moving member by the first transmission unit 304, is encouragement information.
In the embodiment of the invention, each moving member in the communication group periodically acquires the position information of the moving member through a GPS respectively, and sends the position information of the moving member to the server.
In this embodiment of the present invention, after the constructing unit 303 allocates a first group identifier to the motion group, the first transmitting unit 304 is triggered, the first transmitting unit 304 receives a motion group join request sent by a motion member, and then the acquiring unit 301 is triggered, and the acquiring unit 301 acquires a second group identifier from the motion group join request; then, the determining unit 302 is triggered again, the determining unit 302 matches the second group identifier with the first group identifier, and determines the moving member corresponding to the successfully matched second group identifier as the moving member of the moving group.
Here, since a plurality of different motion groups are stored in the server, and the server assigns respective group identifiers, collectively referred to as a first group identifier, to each of the different motion groups; that is, the plurality of motion groups each have a respective first group identification; therefore, in order to determine which motion group the motion group to which the motion member to join belongs, it is necessary to match the second group identifier carried in the motion group joining request sent by each motion member to be joined with each first group identifier, and determine the motion member to be joined corresponding to the successfully matched second group identifier as the motion member of the motion group corresponding to the successfully matched first group identifier.
In this embodiment of the present invention, the first transmission unit 304 may send the information to be broadcasted to each moving member in the communication group, or send the information to be broadcasted to a target moving member in the communication group.
The sending, by the first transmission unit 304, the information to be broadcasted to the moving members in the communication group includes:
the server acquires the motion data of each motion member in the communication group, compares the motion data with preset motion data, determines the motion data smaller than the preset motion data according to the comparison result, and determines the motion member corresponding to the motion data smaller than the preset motion data as a target motion member; the first transmission unit 304; and sending the information to be broadcasted to the target moving member in the communication group.
Here, the target moving member may be the one with the worst athletic performance, that is, the shortest exercise duration, and/or the slowest exercise speed, and/or the shortest exercise mileage.
For example, after comparing each motion data value corresponding to the motion information of each motion member in the communication group with a preset threshold value, the server determines that the motion mileage value of the mobile terminal B is smaller than the preset threshold value, and then the mobile terminal B is taken as a target motion member, the first transmission unit 304 is triggered, and the first transmission unit 304 sends the information to be broadcasted to the mobile terminal B, so as to stimulate the mobile terminal B to refuel.
Here, the information to be broadcasted includes: the exercise mileage data, the exercise speed, the exercise duration and other data.
Further, after the server determines the information to be broadcasted according to the position information of each moving member, the server triggers the first transmission unit 304, the first transmission unit 304 carries the nickname of the moving member corresponding to the information to be broadcasted and sends the nickname to the mobile terminal B, so that the mobile terminal B can know who has the best moving data in the communication group, and the moving member with the best moving data is used as the power for stimulating the user to progress, so that the moving speed of the user is improved.
In the embodiment of the present invention, the preset threshold may be set according to a historical movement record of each movement member. For example, the communication group includes moving members: A. b, C, according to the A, B, C historical exercise records, the lowest exercise amount of A is 500 meters per day, the lowest exercise amount of B is 600 meters per day, and the lowest exercise amount of C is 700 meters per day, then the preset threshold value is set as: the moving mileage is 500 meters, then, the corresponding moving mileage data values in the moving information of each moving member are respectively compared with the preset threshold, according to the comparison result, the moving mileage of the moving account A is determined to be 400 meters, and if the moving mileage is smaller than the preset threshold, the moving account A is determined to be the target moving member.
In the embodiment of the present invention, the server may further compare the motion data values corresponding to the motion information between the motion members, generate a numerical comparison table according to the comparison result, and determine the target motion member according to the numerical comparison table. Therefore, the server periodically sends the information to be broadcasted to each moving member or target moving member in the moving group, so that the user can be stimulated to more dynamically complete the movement plan made by the user, and the user can achieve a better movement effect.
In this embodiment of the present invention, when the first transmission unit 304 sends the information to be broadcasted to the moving members in the moving group, the first transmission unit may also send information associated with the information to be broadcasted.
For example, when the first transmission unit 304 sends the information to be broadcasted to the target moving member in the moving group, the information carrying information associated with the information to be broadcasted may be: the Chinese character ' Yi-Yi ', Yi-Yi ' and other information are added along with the Chinese character ' Kou ', so that the interestingness of the sports member in the process of sports is increased.
Fig. 4 is a flow chart of another communication device according to an embodiment of the present invention; as shown in fig. 4, the apparatus includes: a transmitting unit 401 and a second transmission unit 402;
the sending unit 401 is configured to send motion information of a motion member in a motion group to a server, where the motion information includes information representing a motion type;
the second transmission unit 402 is configured to transmit, in a communication group constructed by the server according to the motion type and in a manner that a motion member with the same motion type is assigned to the same communication group and a motion member with a different motion type is assigned to a different communication group, communication information associated with the communication group; the communication information comprises chat information transmitted among the moving members in the communication group and/or system information broadcasted in the communication group.
In the embodiment of the present invention, the communication device may be a mobile terminal installed with a sports APP. After the mobile terminal logs in the motion APP through a motion account, the sending unit 401 is triggered in the motion group corresponding to the motion APP, and the sending unit 401 sends the motion information of the mobile terminal to the server corresponding to the motion APP. The motion information includes information such as motion identification and motion data.
Here, the motion APP may be a motion APP having a group chat function, or an instant messaging APP having a motion data detection function.
When motion APP is the instant messaging APP that possesses the motion data and detect the function, data such as motion step number, motion mileage that the motion APP can be to the user at every moment are monitored and are counted, and the user can pass through the step number of oneself walking every day is looked over to the motion APP, also can with other users in the motion APP carry out the match of amount of exercise or approve simultaneously.
In the embodiment of the invention, after receiving the self motion information sent by the device, the server allocates the device to the communication group corresponding to the motion type of the device according to the motion type corresponding to the motion information. Wherein the communication group is a subgroup of the motion group. And the moving members in the communication group are all moving members of the same type of motion as the device.
According to the embodiment of the invention, the moving members with the same motion type are allocated to the same communication group, and the moving members with different motion types are allocated to the same communication group, so that the moving members can communicate only in the communication group with the same motion type as the moving members, and thus the users who are not moving and the users with different motion types cannot be disturbed.
After joining the communication group, the second transmission unit 402 receives the information to be broadcasted associated with the communication group and sent by the moving member in the communication group.
Here, the information to be broadcasted may be information to be broadcasted that is transmitted by a certain mobile terminal in the communication group.
When the information to be broadcasted is the information to be broadcasted sent by a certain mobile terminal in the communication group, the implementation method is as follows: a certain moving member in the communication group acquires a moving label which is distributed by a server and corresponds to the communication group, and then sends a request of information to be broadcasted to the server, wherein the request carries chat information and a moving type identifier or a data table identifier; after the server receives the request, according to the motion type identifier or the data table identifier, determining that a communication group corresponding to the request is the same as a motion tag distributed by the server, and sending information to be broadcasted corresponding to the request to the communication group by the server, so that only motion members in the communication group can receive the information to be broadcasted.
The information to be broadcasted can also be real-time road condition data which is sent by the server and corresponds to the movement route of a certain movement member.
When the information to be broadcasted is real-time road condition data which is sent by a server and corresponds to a movement route of a certain movement member, the specific implementation method comprises the following steps: and after receiving the movement route, the server acquires real-time road condition data corresponding to the movement route, generates real-time road condition information from the acquired real-time road condition data, and transmits the real-time road condition information in the communication group.
The information to be broadcasted can also be default broadcast information which is sent by the server and corresponds to the motion tags of the communication groups.
For example, if the sports tag is "running group", the default report information corresponding to the sports tag is "big you run"; for example, if the sports tag is "riding group", the default broadcast message corresponding to the sports tag is "big fill riding.
The information to be broadcasted can also be encouragement information sent by the server in the communication group for encouraging the target moving members.
When the information to be broadcasted is the incentive information sent by the server in the communication group for the target sport member, the specific implementation method is as follows: each moving member in the communication group sends own position information to the server, and after the server receives the position information, the server counts the remaining distance from the current position of each moving member in the communication group to the terminal point of the moving route of each moving member according to the position information of each moving member and the moving route of each moving member; determining the moving member with the longest residual distance as a target moving member according to the statistical result; and sending encouragement information to the communication group as the information to be broadcasted associated with the communication group, or sending encouragement information only to target motion members in the motion group. The moving member with the shortest remaining distance can be determined as the target moving member; and sending encouragement information to the communication group as the information to be broadcasted associated with the communication group, or sending encouragement information only to target motion members in the motion group.
For example, the motivational information includes: and the distance of the star-delta-.
In the embodiment of the present invention, the apparatus further includes: a conversion unit (not shown in the figure).
Specifically, after receiving the information to be broadcasted sent by the communication group, the second transmission unit 402 triggers the conversion unit, the conversion unit converts the information to be broadcasted into voice information, and triggers a broadcast unit (not shown in the figure) in the device, and the broadcast unit broadcasts the information only in the communication group through its own microphone.
In the embodiment of the invention, the voice style of the information broadcast can be the voice of a star or a certain type of animal. For example, voice announcement is performed using the sound of parrots. In addition, in the embodiment of the present invention, when the information to be broadcasted is sent to the moving group by the server, information associated with the information to be broadcasted may also be carried, for example, the total mileage exceeds you, and fuel information such as "fast fuel effect" is caught. Or the information of the mouth number such as 'one, two and one'.
In the embodiment of the invention, if the mobile terminal is currently listening to music or is in a call, and the mobile terminal receives the information to be broadcasted sent by the server, the conversion unit can also convert the information to be broadcasted into voice, trigger the broadcast unit, and the broadcast unit carries out alternate broadcast on the information to be broadcasted.
The interspersed broadcasting means that the currently played music or mute conversation is paused, the voice broadcasting of the information to be broadcasted is carried out, and after the voice broadcasting of the information to be broadcasted is finished, the currently played music or the current conversation is continuously started.
By the communication device provided by the embodiment of the invention, the motion members with the same motion type can be screened from the original motion group (motion group), the motion subgroup (communication group) of the original motion group is constructed, and the communication is carried out in the motion subgroup, so that the communication pertinence can be improved, the current user who does not move and the user with different motion types cannot be disturbed, and the motion experience of the user is improved.
It should be noted that: in the communication device provided in the above embodiment, when performing information processing, only the division of each program module is exemplified, and in practical applications, the processing may be distributed to different program modules as needed, that is, the internal structure of the device may be divided into different program modules to complete all or part of the processing described above. In addition, the communication device and the information processing method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
An embodiment of the present invention further provides another communication apparatus, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute, when running the computer program:
acquiring motion information of motion members in a motion group, wherein the motion information comprises information representing motion types;
determining the motion type of the motion member according to the motion information;
according to the motion types of the motion members, constructing communication groups in a mode that the motion members with the same motion types are distributed to the same communication groups and the motion members with different motion types are distributed to different communication groups;
executing the following steps respectively aiming at each communication group to be communicated: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group.
The processor is further configured to, when executing the computer program, perform:
receiving a motion type identifier sent by a motion member in the motion group, and taking the motion type identifier as motion information of the corresponding motion member;
or, detecting motion data representing the motion type of the motion member in the motion group, and using the motion information carried by the detected motion data as the motion information of the corresponding motion member.
The processor is further configured to, when executing the computer program, perform:
when obtaining the motion information of the motion member in the motion group, including receiving the motion type identifier, and using the motion type identifier as the motion information of the corresponding motion member, determining the motion type of the motion member according to the motion information, including:
acquiring a motion type corresponding to the motion type identifier according to the motion type identifier; determining the obtained motion type as the motion type of the motion member corresponding to the motion type identifier;
when the motion information of each motion member in the motion group is acquired, including the detection of the motion data, and the motion information carried by the detected motion data is taken as the motion information of the corresponding motion member, determining the motion type of the motion member according to the motion information, including:
matching the motion data with motion data corresponding to each motion type in a motion database; and according to the matching result, determining the motion type of the motion data matched with the detected motion data in the motion database as the motion type of the motion member corresponding to the motion data.
The processor is further configured to, when executing the computer program, perform:
and according to the motion type, allocating a motion tag to the communication group, wherein the motion tag is used for representing the motion type of the communication group.
The processor is further configured to, when executing the computer program, perform:
receiving a request of information to be broadcasted sent by a moving member, wherein the request carries chat information and a moving label;
and if the communication group where the motion member sending the request is positioned is determined to be the communication group according to the motion tag, transmitting the chat information in the communication group.
The processor is further configured to, when executing the computer program, perform:
receiving a self movement route sent by a movement member in the communication group;
acquiring real-time road condition data of each motion route;
and transmitting real-time road condition information in the communication group according to the real-time road condition data.
The processor is further configured to, when executing the computer program, perform:
receiving self position information sent by each moving member in the communication group;
counting the remaining distance from the current position of each moving member in the communication group to the end point of the movement route of each moving member based on the position information and the movement route of each moving member in the communication group;
determining the moving member with the longest residual distance as a target moving member according to the statistical result;
and sending encouragement information to the target motion member as the information to be broadcasted associated with the communication group.
The processor is further configured to, when executing the computer program, perform:
judging whether the moving member actually carries out the corresponding type of movement according to the movement type of the moving member to obtain a judgment result;
constructing a communication group according to a preset rule according to the motion type of the motion and the judgment result;
the preset rules include:
distributing the motion members with the same motion type and performing corresponding motion types to the same communication group; and distributing the motion members with different motion types and performing corresponding motion types to different communication groups.
The processor is further configured to, when executing the computer program, perform:
monitoring the motion data of each motion member in the motion group within a preset time period, wherein the motion data comprises an actual motion speed and/or an actual motion distance;
according to the monitored motion data, determining the motion member corresponding to the motion data with the actual motion speed larger than a preset speed threshold or the actual motion distance larger than a preset distance threshold as the current motion member actually participating in the same motion type;
assigning the moving members currently actually participating in the same type of motion to the same communication group.
The processor is further configured to, when executing the computer program, perform:
acquiring the current geographic position data of each moving member in the moving group within a preset time period;
determining the distance from the corresponding current geographic position to a preset starting point corresponding to the motion group by each motion member according to the geographic position data;
determining the moving members corresponding to the preset distances, of which the distances from the current geographic position to the preset starting points are smaller than the preset distances, as the moving members actually participating in the same motion types at present;
assigning the moving members currently actually participating in the same type of motion to the same communication group.
An embodiment of the present invention further provides another communication apparatus, including: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute, when running the computer program:
the method comprises the steps that a client sends motion information of motion members in a motion group to a server, wherein the motion information comprises information representing motion types;
transmitting, at the server, communication information associated with a communication group constructed in a manner that a moving member having the same movement type is assigned to the same communication group and a moving member having a different movement type is assigned to a different communication group, according to the movement type; the communication information comprises chat information transmitted among the moving members in the communication group and/or system information broadcasted in the communication group.
The processor is configured to, when executing the computer program, further perform:
acquiring a motion tag which is distributed by a server and corresponds to the communication group;
transmitting, in a communication group constructed by the server according to the motion type, communication information associated with the communication group, including:
and sending a request of information to be broadcasted to the server, wherein the request carries chat information and the motion tag so as to trigger the server to transmit the chat information in the communication group according to the motion tag.
The processor is configured to, when executing the computer program, further perform:
and sending a self movement route to the server in the communication group so as to trigger the server to transmit real-time road condition information corresponding to the movement route in the communication group according to the real-time road condition data corresponding to the movement route.
The processor is configured to, when executing the computer program, further perform:
sending own position information to the server in the communication group to trigger the server to transmit encouragement information corresponding to the position information in the communication group when the server determines that the remaining distance from the current position of the corresponding motion member to the terminal point of the motion route is the farthest according to the position information and the motion route of the corresponding motion member in the communication group.
Fig. 5 is a schematic structural diagram illustrating a communication apparatus 500, which may be a mobile phone, a computer, a digital broadcast terminal, an information transceiver device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like, according to an exemplary embodiment of the present invention.
Referring to fig. 5, communications apparatus 500 may include one or more of the following components: processing component 501, memory 502, power component 503, multimedia component 504, audio component 505, input/output (I/O) interface 506, sensor component 507, and communication component 508.
The processing component 501 generally controls overall operation of the communication device 500, such as operations associated with display, telephone calls, data communications, camera capture, and information recording, among others. The processing component 501 may include one or more processors 5010 to execute computer programs to perform all or part of the steps of the methods described above. Further, the processing component 501 may include one or more modules that facilitate interaction between the processing component 501 and other components. For example, the processing component 501 may include a multimedia module to facilitate interaction between the processing component 501 and the multimedia component 504.
The memory 502 may be implemented by any type of volatile or non-volatile storage device, or combination thereof. The nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read-Only Memory (EPROM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced DRAM), Synchronous Dynamic Random Access Memory (SLDRAM), Direct Memory (DRmb Access), and Random Access Memory (DRAM). The memory 502 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 502 is used to store various types of data to support the operation of the communication device 500. Examples of such data include: any computer program for operating on communication device 500, such as an operating system and application programs; contact data; telephone book data; a message; a picture; video, etc. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs may include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. The program for implementing the method of the embodiment of the present invention may be included in the application program.
The power component 503 provides power to the various components of the communication device 500. The power components 503 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the communication device 500.
The multimedia component 504 includes a screen provided as an output interface between the communication device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented by a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor can not only sense the boundary of the touch or slide operation but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 504 may include a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the communication device 500 is in an operation mode, such as a photographing mode or a video mode. Each front or rear camera may be a fixed optical lens system, or have a focal length and optical zoom capability.
The audio component 505 is used to output and/or input audio signals. For example, the audio component 505 may include a microphone for receiving external audio signals when the communication device 500 is in an operational mode, such as a call mode, recording mode, or voice recognition mode. The received audio signals may further be stored in the memory 502 or transmitted via the communication component 508. In some embodiments, audio component 505 may also include a speaker for outputting audio signals.
The I/O interface 806 provides an interface for information interaction between the processing component 501 and peripheral interface modules, such as a keyboard, mouse, trackball, click wheel, keys, buttons, and the like. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 507 includes one or more sensors for providing various aspects of status assessment for the communication device 500. For example, the sensor component 507 may detect that the communication device 500 is in an open/closed state, the relative positioning of components, such as a display and keypad of the communication device 500; the sensor assembly 507 may also detect a change in position of the communication device 500 or a component of the communication device 500, the presence or absence of user contact with the communication device 500, orientation or acceleration/deceleration of the communication device 500, and a change in temperature of the communication device 500. The sensor assembly 507 may include a proximity sensor for detecting the presence of nearby objects in the absence of any physical contact. The sensor assembly 507 may also include a photosensor, such as a Metal-Oxide-Semiconductor (CMOS) image sensor or a Charge Coupled Device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 507 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, a temperature sensor, or the like.
The communication component 508 is used for wired or wireless communication between the communication apparatus 500 and other devices. The communications device 500 may access a wireless network based on a communications standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 508 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the Communication component 508 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency IDentification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra WideBand (UWB) technology, BlueTooth (BT) technology, or other technologies.
The methods disclosed in the embodiments of the invention described above can be implemented in the processor 5010 or implemented by the processor 5010. The processor 5010 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method can be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 5010. The Processor 5010 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. The processor 5010 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium that is located in the memory 502 and the processor 5010 reads the information in the memory 502 and in conjunction with its hardware performs the steps of the method previously described.
In an exemplary embodiment, the communication Device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
In an exemplary embodiment, the present invention further provides a computer readable storage medium, such as the memory 502, comprising a computer program, which is executable by the processor 5010 of the communication device 500 to perform the steps of the aforementioned method. The computer readable storage medium can be Memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface Memory, optical disk, or CD-ROM; or may be a variety of devices including one or any combination of the above memories, such as a mobile phone, computer, tablet device, personal digital assistant, etc.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, performs:
acquiring motion information of motion members in a motion group, wherein the motion information comprises information representing motion types;
determining the motion type of the motion member according to the motion information;
according to the motion types of the motion members, constructing communication groups in a mode that the motion members with the same motion types are distributed to the same communication groups and the motion members with different motion types are distributed to different communication groups;
executing the following steps respectively aiming at each communication group to be communicated: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group.
The computer program, when executed by the processor, further performs:
receiving a motion type identifier sent by a motion member in the motion group, and taking the motion type identifier as motion information of the corresponding motion member;
or, detecting motion data representing the motion type of the motion member in the motion group, and using the motion information carried by the detected motion data as the motion information of the corresponding motion member.
The computer program, when executed by the processor, further performs:
when obtaining the motion information of the motion member in the motion group, including receiving the motion type identifier, and using the motion type identifier as the motion information of the corresponding motion member, determining the motion type of the motion member according to the motion information, including:
acquiring a motion type corresponding to the motion type identifier according to the motion type identifier; determining the obtained motion type as the motion type of the motion member corresponding to the motion type identifier;
when the motion information of each motion member in the motion group is acquired, including the detection of the motion data, and the motion information carried by the detected motion data is taken as the motion information of the corresponding motion member, determining the motion type of the motion member according to the motion information, including:
matching the motion data with motion data corresponding to each motion type in a motion database; and according to the matching result, determining the motion type of the motion data matched with the detected motion data in the motion database as the motion type of the motion member corresponding to the motion data.
The computer program, when executed by the processor, further performs:
and according to the motion type, allocating a motion tag to the communication group, wherein the motion tag is used for representing the motion type of the communication group.
The computer program, when executed by the processor, further performs:
receiving a request of information to be broadcasted sent by a moving member, wherein the request carries chat information and a moving label;
and if the communication group where the motion member sending the request is positioned is determined to be the communication group according to the motion tag, transmitting the chat information in the communication group.
The computer program, when executed by the processor, further performs:
receiving a self movement route sent by a movement member in the communication group;
acquiring real-time road condition data of each motion route;
and transmitting real-time road condition information in the communication group according to the real-time road condition data.
The computer program, when executed by the processor, further performs:
receiving self position information sent by each moving member in the communication group;
counting the remaining distance from the current position of each moving member in the communication group to the end point of the movement route of each moving member based on the position information and the movement route of each moving member in the communication group;
determining the moving member with the longest residual distance as a target moving member according to the statistical result;
and sending encouragement information to the target motion member as the information to be broadcasted associated with the communication group.
The computer program, when executed by the processor, further performs:
judging whether the moving member actually carries out the corresponding type of movement according to the movement type of the moving member to obtain a judgment result;
constructing a communication group according to a preset rule according to the motion type of the motion and the judgment result;
the preset rules include:
distributing the motion members with the same motion type and performing corresponding motion types to the same communication group; and distributing the motion members with different motion types and performing corresponding motion types to different communication groups.
The computer program, when executed by the processor, further performs:
monitoring the motion data of each motion member in the motion group within a preset time period, wherein the motion data comprises an actual motion speed and/or an actual motion distance;
according to the monitored motion data, determining the motion member corresponding to the motion data with the actual motion speed larger than a preset speed threshold or the actual motion distance larger than a preset distance threshold as the current motion member actually participating in the same motion type;
assigning the moving members currently actually participating in the same type of motion to the same communication group.
The computer program, when executed by the processor, further performs:
acquiring the current geographic position data of each moving member in the moving group within a preset time period;
determining the distance from the corresponding current geographic position to a preset starting point corresponding to the motion group by each motion member according to the geographic position data;
determining the moving members corresponding to the preset distances, of which the distances from the current geographic position to the preset starting points are smaller than the preset distances, as the moving members actually participating in the same motion types at present;
assigning the moving members currently actually participating in the same type of motion to the same communication group.
Another computer-readable storage medium in an embodiment of the present invention has a computer program stored thereon, and when executed by a processor, performs:
the method comprises the steps that a client sends motion information of motion members in a motion group to a server, wherein the motion information comprises information representing motion types;
transmitting, at the server, communication information associated with a communication group constructed in a manner that a moving member having the same movement type is assigned to the same communication group and a moving member having a different movement type is assigned to a different communication group, according to the movement type; the communication information comprises chat information transmitted among the moving members in the communication group and/or system information broadcasted in the communication group.
The computer program, when executed by the processor, further performs: acquiring a motion tag which is distributed by a server and corresponds to the communication group;
transmitting, in a communication group constructed by the server according to the motion type, communication information associated with the communication group, including:
and sending a request of information to be broadcasted to the server, wherein the request carries chat information and the motion tag so as to trigger the server to transmit the chat information in the communication group according to the motion tag.
The computer program, when executed by the processor, further performs: and sending a self movement route to the server in the communication group so as to trigger the server to transmit real-time road condition information corresponding to the movement route in the communication group according to the real-time road condition data corresponding to the movement route.
The computer program, when executed by the processor, further performs: sending own position information to the server in the communication group to trigger the server to transmit encouragement information corresponding to the position information in the communication group when the server determines that the remaining distance from the current position of the corresponding motion member to the terminal point of the motion route is the farthest according to the position information and the motion route of the corresponding motion member in the communication group.
Fig. 6 is a schematic view of a usage scenario according to an embodiment of the present invention. As shown in fig. 6: the scene is a motion scene, and in the motion scene, the involved network elements include: a first mobile terminal 601, a second mobile terminal 602, a third mobile terminal 603 and a server 604; the first mobile terminal 601, the second mobile terminal 602, and the third mobile terminal 603 all have the same motion APP installed therein, and the server 604 is a motion server corresponding to the motion APP.
Specifically, if the first mobile terminal 601 wants to construct a motion group in the motion APP, the first mobile terminal 601 sends a group construction request to the server 604, and the server 604 receives the request, responds to the request, and constructs a motion group (hereinafter referred to as a motion group) based on the request. Specifically, the server 604 may construct a motion group according to the motion account information and the motion group name carried in the request. And allocating a group unique identifier to the successfully constructed motion group, storing a mapping relationship between the group unique identifier, the motion account of the first mobile terminal 601, and the member list of the motion group, and then the server 604 sends a message that the motion group is successfully constructed to the first mobile terminal 601 according to the IP address of the first mobile terminal 601, and simultaneously sends a link for requesting to join the motion group to the first mobile terminal 601. After receiving the link of the sports group, the first mobile terminal 601 shares the link within a specified range, for example, shares the link in a QQ group, a WeChat friend circle, and/or a sports circle. At this time, after seeing the link in the QQ group, the wechat friend circle, and/or the sports circle, the second mobile terminal 602 and/or the third mobile terminal 603 send a join request of the sports group to the server 604 by clicking the link, where the request carries a group identifier of the sports group. After receiving the join request of the sports group, the server 604 responds to the request, and sends the information of the sports group and the option information for joining the sports group to the second mobile terminal 602 and/or the third mobile terminal 603. The information of the movement group can be information such as a movement route, movement duration, movement mileage, movement members and the like; the option information includes: join and not join options to enable the second mobile terminal 602 and/or the third mobile terminal 603 to further determine whether to join the sports group. When the second mobile terminal 602 and/or the third mobile terminal 603 click on the "join" option, the server 604 receives the motion account sent by the second mobile terminal 602 and/or the third mobile terminal 603, and joins the motion account of the second mobile terminal 602 and/or the third mobile terminal 603 in the motion member list of the motion group, and then the server 604 sends a notification message of successful joining to the second mobile terminal 602 and/or the third mobile terminal 603, at this time, the second mobile terminal 602 and/or the third mobile terminal 603 successfully join the motion group. In the motion group, the first mobile terminal 601, the second mobile terminal 602, and the third mobile terminal 603 may chat, share music, motion information, and the like. And the position information of the mobile member can be periodically sent to the server 604, and then the server 604 determines the motion information of each mobile member according to the position information of each mobile member in the motion group, where the motion information includes motion duration, motion mileage, motion speed, and the like. After determining the information to be broadcasted according to the motion information of each motion member, the server 604 sends the information to be broadcasted to each motion member or target motion member in the motion group. For example, the server 604 determines that the moving distance, the moving speed, or the moving duration of the mobile terminal 603 is the shortest through the position information of each moving member, and then takes the mobile terminal 603 as the target moving member and sends the information to be broadcasted to the mobile terminal 603. So as to improve timeliness of obtaining the motion information of the motion companion by the mobile terminal 603 and improve the motion amount of the mobile terminal 603.
In the embodiment of the present invention, after the exercise group is formed in advance through the form of "jolting" and it is likely that only a part of the users actually participate in running or riding, the server 604 generally cannot screen out the exercise members actually participating in running or riding from the running group. If communication is performed in the sports group, other sports members who do not actually participate in running or riding may be disturbed, and therefore, in the embodiment of the present invention, the server 604 needs to obtain the sports information of each sports member in the sports group, that is, the sports information of the first mobile terminal 601, the second mobile terminal 602, and the third mobile terminal 603. Here, the motion information may be the motion identifiers of the first mobile terminal 601, the second mobile terminal 602, and the third mobile terminal 603, or may be the motion data of the first mobile terminal 601, the second mobile terminal 602, and the third mobile terminal 603, where the motion data includes: speed of movement, acceleration of movement, heart rate, etc. After the server 604 obtains the motion information of each mobile terminal, the current motion type of each motion member is determined according to the motion information, and the motion type includes running, riding and other items. For example, the server 604 learns that the motion type corresponding to the first mobile terminal 601 is "running", the motion type corresponding to the second mobile terminal 602 is "running", and the motion type corresponding to the third mobile terminal 603 is "riding", and allocates the same communication group to the first mobile terminal 601 and the second mobile terminal 602, and allocates a motion tag to the communication group where the first mobile terminal 601 and the second mobile terminal 602 are located. For example, the sports tag is a "running group". A communication group is individually assigned to the third mobile terminal 603 and a motion tag is assigned to the communication group in which the third mobile terminal is located. For example, the sports tag is a "ride group". Here, the communication group is actually a subgroup of the motion group.
When the first mobile terminal 601 and the second mobile terminal 602 want to send broadcast information, the server 604 that sends the broadcast information to be sent first, and then the server 604 sends the broadcast information to be sent to the communication group. Of course, the server may also send default information corresponding to the current motion tag of the communication group to the communication group. For example, the default information is information such as "oil run" or "dash and prick". After receiving the broadcast information sent by the server 604, the first mobile terminal 601 and the second mobile terminal 602 broadcast the information. Thus, communication can be performed between the sports members who actually participate in the same sports, and the situation that the sports members do not participate in the sports or the situation that the sports members different in sports are disturbed can be avoided.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (30)

1. A method of communication, the method comprising:
acquiring motion information of motion members in a motion group, wherein the motion information comprises information representing motion types;
determining the motion type of the motion member according to the motion information;
according to the motion types of the motion members, constructing communication groups in a mode that the motion members with the same motion types are distributed to the same communication groups and the motion members with different motion types are distributed to different communication groups;
executing the following steps respectively aiming at each communication group to be communicated: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group.
2. The method of claim 1, wherein obtaining motion information of the moving members in the moving group comprises:
receiving a motion type identifier sent by a motion member in the motion group, and taking the motion type identifier as motion information of the corresponding motion member;
or, detecting motion data representing the motion type of the motion member in the motion group, and using the motion information carried by the detected motion data as the motion information of the corresponding motion member.
3. The method of claim 2, wherein:
when obtaining the motion information of the motion member in the motion group, including receiving the motion type identifier, and using the motion type identifier as the motion information of the corresponding motion member, determining the motion type of the motion member according to the motion information, including:
acquiring a motion type corresponding to the motion type identifier according to the motion type identifier; determining the obtained motion type as the motion type of the motion member corresponding to the motion type identifier;
when the motion information of each motion member in the motion group is acquired, including the detection of the motion data, and the motion information carried by the detected motion data is taken as the motion information of the corresponding motion member, determining the motion type of the motion member according to the motion information, including:
matching the motion data with motion data corresponding to each motion type in a motion database; and according to the matching result, determining the motion type of the motion data matched with the detected motion data in the motion database as the motion type of the motion member corresponding to the motion data.
4. The method of claim 1, wherein after assigning members having the same type of motion to the same communication group, the method further comprises:
and according to the motion type, allocating a motion tag to the communication group, wherein the motion tag is used for representing the motion type of the communication group.
5. The method according to claim 4, wherein when the information to be broadcasted associated with the communication group includes chat information to be transmitted between moving members in the communication group, acquiring the information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group, the method includes:
receiving a request of information to be broadcasted sent by a moving member, wherein the request carries chat information and a moving label;
and if the communication group where the motion member sending the request is positioned is determined to be the communication group according to the motion tag, transmitting the chat information in the communication group.
6. The method according to claim 1, wherein when the information to be broadcasted associated with the communication group includes system information to be broadcasted in the communication group, and the system information includes real-time traffic information, acquiring the information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group, the method includes:
receiving a self movement route sent by a movement member in the communication group;
acquiring real-time road condition data of each motion route;
and transmitting real-time road condition information in the communication group according to the real-time road condition data.
7. The method of claim 1, wherein when the information to be broadcasted associated with the communication group comprises system information to be broadcasted in the communication group, and the system information comprises motivational information for motivating members, acquiring the information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group, comprises:
receiving self position information sent by each moving member in the communication group;
counting the remaining distance from the current position of each moving member in the communication group to the end point of the movement route of each moving member based on the position information and the movement route of each moving member in the communication group;
determining the moving member with the longest residual distance as a target moving member according to the statistical result;
and sending encouragement information to the target motion member as the information to be broadcasted associated with the communication group.
8. The method of claim 1, wherein constructing the communication groups according to the motion types of the motion members in such a manner that the motion members having the same motion type are assigned to the same communication group and the motion members having different motion types are assigned to different communication groups comprises:
judging whether the moving member actually carries out the corresponding type of movement according to the movement type of the moving member to obtain a judgment result;
constructing a communication group according to a preset rule according to the motion type of the motion and the judgment result;
the preset rules include:
distributing the motion members with the same motion type and performing corresponding motion types to the same communication group; and distributing the motion members with different motion types and performing corresponding motion types to different communication groups.
9. The method of claim 1, wherein assigning members with the same type of motion to the same communication group comprises:
monitoring the motion data of each motion member in the motion group within a preset time period, wherein the motion data comprises an actual motion speed and/or an actual motion distance;
according to the monitored motion data, determining the motion member corresponding to the motion data with the actual motion speed larger than a preset speed threshold or the actual motion distance larger than a preset distance threshold as the current motion member actually participating in the same motion type;
assigning the moving members currently actually participating in the same type of motion to the same communication group.
10. The method of claim 1, wherein assigning members with the same type of motion to the same communication group comprises:
acquiring the current geographic position data of each moving member in the moving group within a preset time period;
determining the distance from the corresponding current geographic position to a preset starting point corresponding to the motion group by each motion member according to the geographic position data;
determining the moving members corresponding to the preset distances, of which the distances from the current geographic position to the preset starting points are smaller than the preset distances, as the moving members actually participating in the same motion types at present;
assigning the moving members currently actually participating in the same type of motion to the same communication group.
11. A method of communication, the method comprising:
the method comprises the steps that a client sends motion information of motion members in a motion group to a server, wherein the motion information comprises information representing motion types;
transmitting, at the server, communication information associated with a communication group constructed in a manner that a moving member having the same movement type is assigned to the same communication group and a moving member having a different movement type is assigned to a different communication group, according to the movement type; the communication information comprises chat information transmitted among the moving members in the communication group and/or system information broadcasted in the communication group.
12. The method of claim 11, further comprising:
acquiring a motion tag which is distributed by a server and corresponds to the communication group;
transmitting, in a communication group constructed by the server according to the motion type, communication information associated with the communication group, including:
and sending a request of information to be broadcasted to the server, wherein the request carries chat information and the motion tag so as to trigger the server to transmit the chat information in the communication group according to the motion tag.
13. The method of claim 11, wherein transmitting, in a communication group constructed by the server according to the motion type, communication information associated with the communication group comprises:
and sending a self movement route to the server in the communication group so as to trigger the server to transmit real-time road condition information corresponding to the movement route in the communication group according to the real-time road condition data corresponding to the movement route.
14. The method according to claim 11, wherein in a communication group constructed by the server according to the motion type, transmitting communication information associated with the communication group, further comprises:
and when any moving member in the communication group sends own position information to the server to trigger the server to determine that the remaining distance of the current position of any moving member reaching the end point of the moving route corresponding to any moving member is farthest relative to other moving members according to the position information and the moving route of any moving member in the communication group, triggering the server to transmit encouragement information corresponding to the position information of the moving member with the farthest remaining distance in the communication group.
15. A communications apparatus, the apparatus comprising: the device comprises an acquisition unit, a determination unit, a construction unit and a first transmission unit;
the acquiring unit is used for acquiring the motion information of the motion members in the motion group, wherein the motion information comprises information representing the motion type;
the determining unit is used for determining the motion type of the motion member according to the motion information acquired by the acquiring unit;
the building unit is used for building the communication groups according to the motion types of the motion members and the modes that the motion members with the same motion types are distributed to the same communication group and the motion members with different motion types are distributed to different communication groups;
the first transmission unit is configured to execute, for each communication group to be communicated, respectively: acquiring information to be broadcasted associated with the communication group, and transmitting the information to be broadcasted in the communication group; the information to be broadcasted associated with the communication group comprises chat information to be transmitted among the moving members in the communication group and/or system information to be broadcasted in the communication group.
16. The apparatus of claim 15, further comprising: a detection unit;
the first transmission unit is further configured to receive a motion type identifier sent by a motion member in the motion group;
the detection unit is used for detecting motion data of the motion members in the motion group, wherein the motion data are used for representing motion types;
the acquiring unit is specifically configured to use the motion type identifier received by the first transmitting unit as motion information of a corresponding motion member; or, the motion information carried by the motion data detected by the detection unit is used as the motion information of the corresponding motion member.
17. The apparatus according to claim 16, wherein the obtaining unit is further configured to obtain, according to the motion type identifier received by the first transmission unit, a motion type corresponding to the motion type identifier;
the device further comprises: the matching unit is used for matching the motion data detected by the detection unit with the motion data corresponding to each motion type in a motion database;
the determining unit is specifically configured to determine the motion type acquired by the acquiring unit as the motion type of the motion member corresponding to the motion type identifier; or according to the matching result of the matching unit, determining the motion type of the motion data matched with the detected motion data in the motion database as the motion type of the motion member corresponding to the motion data.
18. The device according to claim 15, wherein the first transmission unit is further configured to receive a request for information to be broadcasted from a moving member, where the request carries chat information and a moving tag; and the chat server is further used for transmitting the chat information in the communication group when the communication group where the motion member sending the request is located is determined to be the communication group according to the motion tag.
19. The apparatus according to claim 15, wherein the first transmitting unit is further configured to receive a motion route sent by a moving member in the communication group; sending real-time road condition information in the communication group according to the real-time road condition data acquired by the acquisition unit;
the acquisition unit is further used for acquiring real-time road condition data of each motion route.
20. The apparatus according to claim 15, wherein the first transmitting unit is further configured to receive location information of each mobile member in the communication group; the encouraging information determined by the determining unit is used as the information to be broadcasted associated with the communication group and is sent to a target moving member;
correspondingly, the device further comprises: a counting unit;
the statistical unit is used for counting the remaining distance from the current position of each moving member in the communication group to the end point of the moving route of each moving member based on the position information and the moving route of each moving member in the communication group;
and the determining unit is also used for determining the moving member with the longest residual distance as the target moving member according to the statistical result.
21. The apparatus of claim 15, further comprising:
the monitoring unit is used for monitoring the motion data of each motion member in the motion group within a preset time period, wherein the motion data comprises an actual motion speed and/or an actual motion distance;
the determining unit is further configured to determine, according to the monitored motion data, a motion member corresponding to the motion data with an actual motion speed greater than a preset speed threshold or an actual motion distance greater than a preset distance threshold as a current motion member actually participating in the same motion type;
the building unit is specifically configured to assign the motion members currently actually participating in the same motion type to the same communication group.
22. The apparatus according to claim 15, wherein the obtaining unit is further configured to obtain current geographic location data of each of the moving members in the moving group within a preset time period;
the determining unit is further configured to determine, according to the geographic position data, a distance from the corresponding current geographic position to a preset starting point corresponding to the movement group for each movement member; determining the moving members corresponding to the preset distances, of which the distances from the current geographic position to the preset starting points are smaller than the preset distances, as the moving members actually participating in the same motion types at present;
the building unit is specifically configured to assign the motion members currently actually participating in the same motion type to the same communication group.
23. A communications apparatus, the apparatus comprising: a transmitting unit and a second transmission unit;
the sending unit is used for sending self motion information to the server in the motion group, wherein the motion information comprises information representing motion types;
the second transmission unit is used for transmitting the communication information related to the communication group in the communication group which is constructed by the server according to the motion type and in a mode that the motion members with the same motion type are distributed to the same communication group and the motion members with different motion types are distributed to different communication groups; the communication information comprises chat information transmitted among the moving members in the communication group and/or system information broadcasted in the communication group.
24. The apparatus of claim 23, further comprising: a second acquisition unit;
the second acquisition unit is used for acquiring the motion tags which are distributed by the server and correspond to the communication groups;
the second transmission unit is further configured to send a request for information to be broadcasted to the server, where the request carries chat information and the motion tag, so as to trigger the server to transmit the chat information in the communication group according to the motion tag.
25. The apparatus according to claim 23, wherein the second transmitting unit is further configured to send its own movement route to the server in the communication group; and triggering the server to transmit the real-time road condition information corresponding to the movement route in the communication information group according to the real-time road condition data corresponding to the movement route.
26. The apparatus according to claim 23, wherein the second transmitting unit is further configured to, when any moving member in the communication group sends its own location information to the server to trigger the server to determine, according to the location information and the movement route of any moving member in the communication group, that a remaining distance, where a current location of any moving member reaches an end point of the movement route corresponding to any moving member, is farthest from other moving members, trigger the server to transmit, in the communication group, encouragement information corresponding to the location information of the moving member with the farthest remaining distance.
27. A communications apparatus, the apparatus comprising: a memory and a processor;
wherein the memory is to store a computer program operable on the processor;
the processor, when executing the computer program, is adapted to perform the steps of the method of any of claims 1 to 10.
28. A communications apparatus, the apparatus comprising: a memory and a processor;
wherein the memory is to store a computer program operable on the processor;
the processor, when executing the computer program, is configured to perform the steps of the method of any of claims 11 to 14.
29. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 10.
30. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 11 to 14.
CN201710801934.9A 2017-09-07 2017-09-07 Communication method, device and storage medium Active CN107508690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710801934.9A CN107508690B (en) 2017-09-07 2017-09-07 Communication method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710801934.9A CN107508690B (en) 2017-09-07 2017-09-07 Communication method, device and storage medium

Publications (2)

Publication Number Publication Date
CN107508690A CN107508690A (en) 2017-12-22
CN107508690B true CN107508690B (en) 2021-02-05

Family

ID=60695301

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710801934.9A Active CN107508690B (en) 2017-09-07 2017-09-07 Communication method, device and storage medium

Country Status (1)

Country Link
CN (1) CN107508690B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829234A (en) * 2018-04-27 2018-11-16 上海爱优威软件开发有限公司 It is capable of the movement technique and system of online interaction
CN109107135A (en) * 2018-06-04 2019-01-01 上海康斐信息技术有限公司 Statistical information acquisition methods and device, the electronic equipment of racing campaign
CN108984687B (en) * 2018-06-29 2021-04-02 上海哔哩哔哩科技有限公司 Automatic group adding control method and device based on user behaviors and storage medium
CN112000896A (en) * 2019-05-27 2020-11-27 北京小米移动软件有限公司 Sports social contact method and device
CN110557461B (en) * 2019-09-30 2023-01-24 上海掌门科技有限公司 Message pushing method, device and storage medium
CN112511647A (en) * 2020-12-15 2021-03-16 歌尔光学科技有限公司 Wearable device-based motion information sharing method, sharing device and storage medium
CN113014476B (en) * 2021-03-17 2023-04-07 维沃移动通信有限公司 Group creation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888344A (en) * 2014-03-20 2014-06-25 小米科技有限责任公司 Group creation method, group exiting method and device
CN104836845A (en) * 2015-04-01 2015-08-12 常青竹(北京)科技有限公司 Method for automatically generating group based on hobbies and geographic position of user
CN105282184A (en) * 2014-05-29 2016-01-27 昆达电脑科技(昆山)有限公司 Method and system for helping matching and friend making by using motion information
CN105657188A (en) * 2015-05-22 2016-06-08 三星电子(中国)研发中心 Communicating method of mobile terminal and mobile terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104052760A (en) * 2013-03-11 2014-09-17 富泰华工业(深圳)有限公司 System, server and display method for displaying group user state
US10796384B2 (en) * 2014-05-30 2020-10-06 Google Llc Suggesting pre-created groups based on a user web identity and online interactions
CN104836727B (en) * 2015-05-12 2019-01-25 李卫军 Movement social activity control method based on instant messaging
CN106294424A (en) * 2015-05-26 2017-01-04 张勃钧 The method that the people with same movement purpose is linked and interactive network platform thereof
CN105589939B (en) * 2015-12-15 2020-02-11 北京百度网讯科技有限公司 Method and device for identifying group motion trail
CN105808771A (en) * 2016-03-22 2016-07-27 珠海格力电器股份有限公司 Management method and device of group information
CN107015646A (en) * 2017-03-28 2017-08-04 北京犀牛数字互动科技有限公司 The recognition methods of motion state and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103888344A (en) * 2014-03-20 2014-06-25 小米科技有限责任公司 Group creation method, group exiting method and device
CN105282184A (en) * 2014-05-29 2016-01-27 昆达电脑科技(昆山)有限公司 Method and system for helping matching and friend making by using motion information
CN104836845A (en) * 2015-04-01 2015-08-12 常青竹(北京)科技有限公司 Method for automatically generating group based on hobbies and geographic position of user
CN105657188A (en) * 2015-05-22 2016-06-08 三星电子(中国)研发中心 Communicating method of mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN107508690A (en) 2017-12-22

Similar Documents

Publication Publication Date Title
CN107508690B (en) Communication method, device and storage medium
CN109769128B (en) Video recommendation method, video recommendation device and computer-readable storage medium
CN106874308B (en) Recommendation method and device and recommendation device
US9911057B2 (en) Method and apparatus for image collection and analysis
KR101397322B1 (en) Tagging of multimedia content with geographical location by the user of a wireless communications device
CN109830118B (en) Public transport-based travel strategy display method and device and storage medium
WO2018157721A1 (en) Method for acquiring and providing information, device, system and storage medium
US9215286B1 (en) Creating a social network based on an activity
US20180121040A1 (en) Method and device for managing notification messages
US20210385506A1 (en) Method and electronic device for assisting live streaming
CN107784045B (en) Quick reply method and device for quick reply
CN108334651B (en) Method, device and storage medium for collecting user side data to realize preset requirements
CN111198956A (en) Multimedia resource interaction method and device, electronic equipment and storage medium
CN106403971B (en) Information interaction method and device
KR101852244B1 (en) Recommendation information acquisition method, terminal, server, program, and recording medium
CN110121146B (en) Information sharing method and device and related equipment
CN105956091B (en) Extended information acquisition method and device
CN109309843A (en) Video distribution method, terminal and server
CN110674343A (en) Account information processing method and device, server and terminal
CN109246184B (en) Time information acquisition method and device and readable storage medium
CN105550231B (en) The method, device and equipment of information exchange
WO2022252610A1 (en) Bullet screen comment issuing method and bullet screen comment receiving method
CN106572003A (en) User information recommendation method and device
CN110457451A (en) Information display method, device, electronic equipment and storage medium
CN114172964B (en) Scheduling method, device, communication equipment and storage medium of content distribution network

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