Motion information processing method and device, computer program product and electronic equipment

By matching the associated users and sports records through the movement record matching rules, the problem of difficulty for users to understand the movement situation of athletes with the same frequency is solved, and the aggregation of sports social relationships and the improvement of teaming experience is achieved.

CN119003624APending Publication Date: 2024-11-22HANGZHOU SPORTS CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411052153.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

Sports software records the user's own sports data, making it difficult for users to know the movement status of athletes with the same frequency, and lacks effective solutions.

Method used

By determining the sports record attributes uploaded by the target user, calling the corresponding sports record matching rules, matching the associated users and sports records, and displaying them on the user's display page, including inviting other users to upload sports records when the match is successful, satisfying the user's social and Teaming needs.

Benefits of technology

It enables users to know the movement status of athletes with the same frequency, enhances the aggregation and teaming experience of sports social relationships, and meets users' needs for athletes with the same frequency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119003624A_ABST
    Figure CN119003624A_ABST
Patent Text Reader

Abstract

The invention discloses a motion information processing method and device, a computer program product and electronic equipment. The method comprises the steps that the attribute of a target motion record uploaded by a target user is determined, and the attribute indicates whether the motion record is associated with a motion track or not; calling a corresponding motion record matching rule based on the attribute of the target motion record; matching an associated user and an associated motion record for the target motion record based on a motion record matching rule, the associated motion record being a motion record of the associated user; and displaying the target exercise record on a display page of the target user, and displaying the associated user and the associated exercise record. By means of the method and device, the problem that in the related technology, exercise software records exercise data of a user, and the user is difficult to know the exercise condition of a co-frequency exerciser is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of motion information processing, and in particular, to a motion information processing method, device, computer program product and electronic device. Background Art

[0002] Sports is a good way to socialize. Making friends, relaxing and entertaining through sports has become people's daily habit and hobby.

[0003] During exercise, exercise data can be generated. From the user's perspective, the duration of each exercise, calories burned, exercise trends, etc. are all important data. Exercise data can be recorded through exercise software to help users exercise better. In related technologies, exercise software records the user's own exercise data, and it is difficult for users to know the exercise status of people exercising at the same frequency.

[0004] In the related technology, sports software records the user's own sports data, and it is difficult for the user to know the exercise status of people who exercise at the same frequency. No effective solution has been proposed yet. Summary of the invention

[0005] The present application provides a method, device, computer program product and electronic device for processing motion information to solve the problem in the related art that the motion software records the user's own motion data and it is difficult for the user to know the motion status of people exercising at the same frequency.

[0006] According to one aspect of the present application, a method for processing motion information is provided. Applied to a sports application, the method includes: determining the attributes of a target motion record uploaded by a target user, wherein the attributes indicate whether the motion record is associated with a motion track; calling a corresponding motion record matching rule based on the attributes of the target motion record; matching an associated user and an associated motion record for the target motion record based on the motion record matching rule, wherein the associated motion record is a motion record of an associated user; and displaying the target motion record on a display page of the target user, and displaying the associated user and the associated motion record.

[0007] Optionally, matching associated users and associated motion records for the target motion record based on the motion record matching rules includes: when the motion record matching rules include N rules with different constraint strengths, sorting the N matching rules in order of matching strength from large to small to obtain a sorting result, wherein N is a positive integer greater than or equal to 2; matching associated users and associated motion records for the target motion record based on the matching rules in the sorting result in sequence until the match is successful, or until the match fails and there is no next matching rule; in case of a successful match, determining that the target motion record matches the associated users and associated motion records based on the matching result.

[0008] Optionally, in the case of a successful match, determining the target motion record-matching associated user and the associated motion record based on the matching result includes: in the case of a successful match based on the first matching rule in the sorting result, determining the user in the matching result as an associated user, and determining the motion record in the matching result as an associated motion record; in the case of a successful match based on a rule other than the first matching rule in the sorting result, obtaining the initial associated user from the matching result, and sending a confirmation message to the initial associated user, wherein the confirmation message is used to confirm whether to establish an association with the target motion record of the target user; determining the initial associated user who replies to the confirmation message as an associated user, and determining the motion record of the initial associated user who replies to the confirmation message as an associated motion record.

[0009] Optionally, the method also includes: when the match fails and there is no next matching rule, displaying an invitation interface, wherein the target user invites other users to upload sports records based on the invitation interface, and the other users are users other than the target user; when receiving sports records uploaded by other users, if the sports records meet the association rules of the sports record matching rules, the other users are determined as associated users, and the sports records uploaded by other users are determined as associated sports records, wherein the association rules at least include constraints on the type of sports and constraints on the start time of the sports.

[0010] Optionally, after the match is successful and the target motion record matches the associated user and the associated motion record based on the matching result, the method also includes: displaying an invitation interface, wherein the target user invites other users to upload motion records based on the invitation interface, and the other users are users other than the target user; when receiving motion records uploaded by other users, if the motion records meet the association rules of the motion record matching rules, the other users are determined as newly added associated users, and the motion records uploaded by other users are determined as newly added associated motion records, wherein the association rules at least include constraints on the motion type and constraints on the start time of the motion.

[0011] Optionally, the method also includes: matching the sports information in the target sports record with the event information of the target event, and assigning an event code to the target sports record when the sports information matches the preset items of the target event; obtaining a user who has the same event code and preset items as the target sports record to obtain a participating user; determining an associated user through the participating user, determining an associated sports record through the sports record of the participating user, or, updating an associated user obtained through the participating user, and updating an associated sports record obtained through the sports record of the participating user.

[0012] Optionally, when the attribute indicates an associated motion trajectory, the called motion record matching rule includes at least one of the following constraints: a constraint on the motion type, a constraint on the start time of the motion, a constraint on the end time of the motion, a constraint on the location of the starting point of the motion, a motion trajectory matching degree, and a similarity of motion mileage.

[0013] Optionally, when the attribute indicates that the motion trajectory is not associated, the invoked motion record matching rule includes at least one of the following constraints: a constraint on the start time of the motion, a constraint on the end time of the motion, and a constraint on the position of the motion starting point.

[0014] According to another aspect of the present application, a motion information processing device is provided. The device includes: a determination unit, used to determine the attributes of a target motion record uploaded by a target user, wherein the attributes indicate whether the motion record is associated with a motion trajectory; a calling unit, used to call a corresponding motion record matching rule based on the attributes of the target motion record; a matching unit, used to match an associated user and an associated motion record for the target motion record based on the motion record matching rule, wherein the associated motion record is a motion record of an associated user; and a display unit, used to display the target motion record on a display page of the target user, and to display the associated user and the associated motion record.

[0015] According to another aspect of the present application, a computer program product is provided, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a method for processing motion information is implemented.

[0016] According to another aspect of the present application, an electronic device is provided, comprising a processor and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein a method for processing motion information is executed when the computer-readable instructions are executed.

[0017] Through this application, the following steps are adopted: determine the attributes of the target motion record uploaded by the target user, wherein the attributes indicate whether the motion record is associated with a motion trajectory; call the corresponding motion record matching rules based on the attributes of the target motion record; match the associated user and the associated motion record for the target motion record based on the motion record matching rules, wherein the associated motion record is the motion record of the associated user; display the target motion record on the display page of the target user, and display the associated user and the associated motion record, which solves the problem that the sports software in the related technology records the user's own motion data, and the user is difficult to know the motion situation of the same-frequency athlete. By calling the corresponding motion record matching rules through the attributes of the target motion record, matching the associated user and the associated motion record for the target motion record, and displaying the target motion record, the associated user and the associated motion record, thereby achieving the effect of recording the motion record of the same-frequency athlete when recording the target motion record of the target user, so that the user can know the motion situation of the same-frequency athlete. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 is a flowchart of a method for processing motion information according to an embodiment of the present application;

[0020] Figure 2 is a flowchart of an optional motion information processing method according to an embodiment of the present application;

[0021] Figure 3 is a schematic diagram of a motion information processing device according to an embodiment of the present application;

[0022] Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0024] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0025] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.

[0027] It should be noted that the collected information used in this application is information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with the relevant laws, regulations and standards of the relevant regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for users to choose to authorize or refuse to use it.

[0028] According to an embodiment of the present application, a method for processing motion information is provided.

[0029] Figure 1 is a flow chart of a method for processing motion information according to an embodiment of the present application. Applicable to a motion application program, such as Figure 1 As shown, the method comprises the following steps:

[0030] Step S102: determining an attribute of a target motion record uploaded by a target user, wherein the attribute indicates whether the motion record is associated with a motion track.

[0031] Among them, the target users are athletes, who can use sports applications to assist in exercise, for example, following the fitness courses in the sports application to exercise, and after the exercise, uploading the exercise records automatically generated by the sports application. The target users can also exercise spontaneously without relying on the sports application, and upload the generated exercise records to the sports application through wearable devices.

[0032] There are many types of sports, such as running, cycling, walking, aerobics, hula hoop, spinning, football, basketball, badminton, etc. Different types of sports have different characteristics, and the properties of the sports records generated are also different. In order to help users match athletes with the same frequency and sports records of athletes with the same frequency, it is necessary to determine the properties of the sports records according to the sports type, set corresponding sports record matching rules for sports records with different attributes, and store the set sports record matching rules in the sports application.

[0033] For example, for sports such as outdoor running, walking, and cycling, it is necessary to accurately report the trajectory when uploading the sports record, and the attribute of the sports record is the sports record associated with the sports trajectory. For sports such as aerobics, hula hooping, spinning, football, basketball, and badminton, it is not necessary to accurately report the trajectory when uploading the sports record, and the attribute of the sports record is the sports record not associated with the sports trajectory.

[0034] Step S104: calling corresponding motion record matching rules based on the attributes of the target motion record.

[0035] After receiving the target motion record uploaded by the target user, the sports application calls the corresponding motion record matching rules, which include multiple constraints, such as the constraint of the start time of the motion, the constraint of the end time of the motion, the constraint of the starting point GPS (Global Positioning System) range, etc.

[0036] For example, if the target motion record has the attribute of motion record associated with motion trajectory, the motion application calls the corresponding motion record matching rule, which constrains the motion trajectory and mileage. For another example, if the target motion record has the attribute of motion record not associated with motion trajectory, the motion application calls the corresponding motion record matching rule, which does not constrain the motion trajectory and mileage.

[0037] Step S106: matching the target motion record with an associated user and an associated motion record based on the motion record matching rule, wherein the associated motion record is a motion record of the associated user.

[0038] Based on the motion record matching rules, the target motion record and other motion records published on the sports application are matched to determine whether other motion records fall within the constraints of the motion record matching rules. If a motion record falls within the constraints of the motion record matching rules, the generator of the motion record is determined as the associated user of the target motion record, and the motion record is determined as the associated motion record of the target motion record.

[0039] For example, the exercise record matching rules include the constraints of the exercise start time, the exercise end time, and the starting point GPS range. According to the exercise record matching rules, the target exercise records can be matched and identified for athletes with the same frequency who start exercising at the same place and time, and exercise incentives for athletes with the same frequency can be obtained.

[0040] Step S108, displaying the target movement record on the display page of the target user, and displaying the associated user and the associated movement record.

[0041] It should be noted that for each exercise, recording and uploading one's own exercise record can help the user to exercise better, and the same-frequency exercisers who exercise with the user are also very important, with social and commemorative significance, and are worth recording. Therefore, this embodiment determines the associated user of the target exercise record as the same-frequency exercise friend of this exercise, displays the target exercise record of the target user on the display page of the target user, and displays the same-frequency exercise friends and the exercise records of the same-frequency exercise friends under this record, so as to achieve the aggregation of sports social relationships. For example, the exercise records of multiple same-frequency exercise friends and same-frequency exercise friends can be displayed in a list, so that every time the user sees this exercise record, he can recall the last exercise and the people who exercised together, and inspire the next exercise.

[0042] The method for processing motion information provided by the embodiment of the present application determines the attributes of the target motion record uploaded by the target user, wherein the attributes indicate whether the motion record is associated with a motion trajectory; based on the attributes of the target motion record, the corresponding motion record matching rules are called; based on the motion record matching rules, the target motion record is matched with the associated user and the associated motion record, wherein the associated motion record is the motion record of the associated user; the target motion record is displayed on the display page of the target user, and the associated user and the associated motion record are displayed, which solves the problem that the motion software in the related art records the user's own motion data, and the user is difficult to know the motion situation of the same-frequency athlete. The corresponding motion record matching rules are called through the attributes of the target motion record, the associated user and the associated motion record are matched with the target motion record, and the target motion record, the associated user and the associated motion record are displayed, thereby achieving the effect of associating the motion record of the same-frequency athlete when recording the target motion record of the target user, so that the user can know the motion situation of the same-frequency athlete.

[0043] Motion data of sports categories that require accurate reporting of trajectories can be more easily detected by friends who exercise at the same frequency. Optionally, in the method for processing motion information provided in the embodiment of the present application, when the attribute indicates an associated motion trajectory, the called motion record matching rule includes at least one of the following constraints: a constraint on the type of motion, a constraint on the start time of the motion, a constraint on the end time of the motion, a constraint on the position of the starting point of the motion, a motion trajectory matching degree, and a similarity of motion mileage.

[0044] It should be noted that for sports categories that require accurate reporting of trajectories, such as outdoor running, walking, and cycling, these types of sports will report trajectories, mileage, etc. after completion of the exercise. Different sports and the same sport in different scenarios have different purposes, and the same frequency sports friends who need to be associated are also different, and the set sports record matching rules are also different.

[0045] In one embodiment, for the sport of running, professional users may choose to practice together in a sports theme park, led by a coach, and students will follow the coach to run the same distance and the same pace. Sports record matching rules with stronger constraints can be called to circle out friends who exercise with the same frequency through a stricter matching strategy. The constraints of the sports record matching rules are used to limit the strong matching relationship, and the constraints may include: outdoor running can only be matched with outdoor running; start exercise time: 3 minutes difference; end exercise time: 20 minutes difference; starting point GPS range: 50 meters difference, that is, sports records with a starting point of 50 meters can be matched; track matching degree: 95%; mileage similarity: 90%.

[0046] In one embodiment, for the sport of running, sports friends agree to run a route together, but the distance and pace are determined according to personal ability and personal willingness. Some users choose to run 8 kilometers, and some users choose to run 10 kilometers. Sports record matching rules with lower constraint strength can be called to circle out sports friends with the same frequency who do this type of sports through a relatively loose matching strategy; the constraints of the sports record matching rules are used to limit weak matching relationships, and each constraint may include: outdoor running can only be matched with outdoor running; start exercise time: 15 minutes difference; end exercise time: 200 minutes difference; starting point GPS range: 200 meters difference, that is, sports records with a starting point of 200 meters can be matched; track matching degree: 70%; mileage similarity: 40%.

[0047] It should be further explained that for sports such as outdoor running, walking, and cycling that require accurate reporting of trajectories, the trajectory matching degree and mileage difference can be more accurately circled. The sports record matching rules can be continuously adjusted and optimized based on user feedback or results obtained from sample surveys, so that friends who exercise at the same frequency can be more accurately selected.

[0048] For sports categories that do not require precise reporting of trajectories, the constraints of the sports record matching rules do not include the similarity of the sports trajectory matching degree and the sports mileage. Optionally, in the method for processing sports information provided in the embodiment of the present application, when the attribute indication is not associated with the sports trajectory, the called sports record matching rules include at least one of the following constraints: a constraint on the start time of the sports, a constraint on the end time of the sports, and a constraint on the position of the starting point of the sports.

[0049] It should be noted that for sports categories that do not require precise reporting of trajectories, such as badminton, tennis, football, aerobics, treadmill, spinning, etc., different sports and the same sport in different scenarios have different purposes, and the same frequency sports friends that need to be associated are also different, and the set sports record matching rules are also different.

[0050] For example, you can call a sports record matching rule with a stronger constraint strength, and use a stricter matching strategy to circle out more accurate friends who exercise with the same frequency. The constraint conditions of the sports record matching rule limit the strong matching relationship. The constraints may include: start exercise time: 3 minutes difference; end exercise time: 20 minutes difference; starting point GPS range: 50 meters difference, that is, sports records with a starting point of 50 meters can be matched.

[0051] For another example, you can call a sports record matching rule with a smaller constraint strength, and circle out more friends who exercise with the same frequency through a relatively loose matching strategy. The constraint conditions of the sports record matching rule limit the weak matching relationship, and the constraints may include: start exercise time: 15 minutes difference; end exercise time: 200 minutes difference; starting point GPS range: 200 meters difference, that is, sports records with a starting point of 200 meters can be matched.

[0052] In addition, for sports categories that do not require accurate reporting of trajectories, the constraints of the sports record matching rules can be replaced by the constraints of the sports type instead of the constraints of the starting point GPS range, so as to match friends of the same type and frequency of sports. This embodiment does not limit the specific constraints of the sports record matching rules.

[0053] Through this embodiment, for sports categories that require accurate trajectory reporting and sports categories that do not require accurate trajectory reporting, different sports record matching rules can be set based on different sports scenes and different sports purposes, so as to match users with suitable friends who exercise with the same frequency and sports records.

[0054] In order to improve the accuracy and efficiency of matching, optionally, in the motion information processing method provided in an embodiment of the present application, when the motion record matching rules include N rules with different constraint strengths, the N matching rules are sorted in order of matching strength from large to small to obtain a sorting result, wherein N is a positive integer greater than or equal to 2; the associated users and the associated motion records are matched for the target motion record based on the matching rules in the sorting result in sequence until the match is successful, or until the match fails and there is no next matching rule; in case of a successful match, the target motion record is determined to match the associated users and the associated motion records based on the matching result.

[0055] It should be noted that for motion record matching rules with greater constraint strength, the number of associated users matched based on the motion record matching rules is smaller, and for motion record matching rules with less constraint strength, the number of associated users matched based on the motion record matching rules is larger. The associated users and associated motion records can be matched for the target motion record in order of matching strength from large to small.

[0056] In the case where the motion record matching rule includes one rule, if the match is successful, the target motion record matching associated user and the associated motion record are determined based on the matching result, and if the match fails, the matching can be terminated.

[0057] In the case where the motion record matching rule includes multiple rules with different constraint strengths, for example, the motion record matching rule includes two rules with different constraint strengths, the constraint condition of the first motion record matching rule is used to restrict the strong matching relationship, and the constraint condition of the second motion record matching rule is used to restrict the weak matching relationship. The first motion matching rule can be used to match the target motion record with the associated user and the associated motion record. If the match is successful, the target motion record matches the associated user and the associated motion record based on the matching result. If the match fails, the second motion matching rule can be used to match the target motion record with the associated user and the associated motion record. If the match is successful, the target motion record matches the associated user and the associated motion record based on the matching result. If the match fails, the matching can be terminated.

[0058] In this embodiment, when the motion record matching rule includes multiple rules with different constraint strengths, the associated users and associated motion records may be matched for the target motion record in descending order of matching strength, thereby improving matching accuracy and efficiency.

[0059] For matching rules with different constraint strengths, the number of matched associated users and the number of associated motion records are different, and the methods of determining the target motion record matching associated users and associated motion records based on the matching results may be different. Optionally, in the motion information processing method provided in the embodiment of the present application, when the matching is successful, determining the target motion record matching associated users and associated motion records based on the matching results includes: when the matching is successful according to the first matching rule in the sorting result, determining the user in the matching result as the associated user, and determining the motion record in the matching result as the associated motion record; when the matching is successful according to the rule other than the first matching rule in the sorting result, obtaining the initial associated user from the matching result, and sending a confirmation message to the initial associated user, wherein the confirmation message is used to confirm whether to establish an association with the target motion record of the target user; determining the initial associated user who replies to the confirmation message as the associated user, and determining the motion record of the initial associated user who replies to the confirmation message as the associated motion record.

[0060] In an optional implementation, for a motion record matching rule with a relatively strong constraint strength, the constraint condition of the motion record matching rule is used to limit a strong matching relationship. If the target motion record of the target user and the motion records of other users trigger a strong matching relationship, the user in the matching result is determined as an associated user, and the motion record in the matching result is determined as an associated motion record. The target user is automatically helped to form a team in the target motion record. The target user enters the motion record and can see the target motion record and the motion records of other friends who exercise with the same frequency without performing any operation.

[0061] In an optional implementation, for a motion record matching rule with a smaller constraint strength, the constraint condition of the motion record matching rule is used to define a weak matching relationship. If the target motion record of the target user and the motion record of other users trigger a weak matching relationship, since the rule cannot accurately determine whether the matched friend relationship is accurate at this time, the initial associated user can be obtained from the matching result first, and then a confirmation message can be sent to the initial associated user. The confirmation message can be sent in the form of a "post-training matching card to be added". The initial associated user needs to enter the motion record, manually confirm the friend relationship and choose to join the team. If the friend relationship is confirmed and the user chooses to join the team, the initial associated user will be determined as an associated user, and his motion record will be determined as an associated motion record. If the friend relationship is not confirmed and the user does not choose to join the team, the initial associated user will not be determined as an associated user.

[0062] In this embodiment, for motion record matching rules with greater constraint strength, the users in the matching results can be directly determined as associated users, and the motion records in the matching results can be determined as associated motion records. For motion record matching rules with less constraint strength, the initial associated user is allowed to choose whether to establish an association with the target motion record of the target user, and the associated user is determined based on the user's choice, thereby achieving the effect of improving the matching accuracy.

[0063] In the case of a matching failure, associated users and associated sports records can be determined by active invitation. Optionally, in the method for processing sports information provided in an embodiment of the present application, the method also includes: in the case of a matching failure and there is no next matching rule, displaying an invitation interface, wherein the target user invites other users to upload sports records based on the invitation interface, and the other users are users other than the target user; in the case of receiving sports records uploaded by other users, if the sports records meet the association rules of the sports record matching rules, the other users are determined as associated users, and the sports records uploaded by other users are determined as associated sports records, wherein the association rules at least include constraints on the sports type and constraints on the start time of the sports.

[0064] When the match fails and there is no next matching rule, it means that the associated user and the associated exercise record cannot be matched according to the rules. However, there may still be sports friends who are in the same frequency as the target user. The entrance to invite friends to join the team can be displayed through the invitation interface of the sports application. After the target user invites friends, the invited friends can be reviewed according to the association rules. If the review passes, they will be determined as associated users, and the exercise records of the associated users will be determined as associated exercise records. It should be noted that the association rules are association rules of the exercise record matching rules. The constraint strength of the association rules is relatively small, and can include constraints on the exercise type and the exercise start time. For example, the exercise type is the same, and the start time of the exercise is within a certain difference range with the inviter's exercise record.

[0065] Through this embodiment, when the rules cannot match the associated users and associated exercise records, the target user can invite the exercise records of friends who exercise with the same frequency but are not covered by the rules through the invitation interface and invitation entrance, thereby realizing the association of friends who exercise with the same frequency and their exercise records.

[0066] In order to enrich associated users and associated motion records, optionally, in the method for processing motion information provided in an embodiment of the present application, after the matching is successful and the target motion record is determined to match the associated user and the associated motion record based on the matching result, the method also includes: displaying an invitation interface, wherein the target user invites other users to upload motion records based on the invitation interface, and the other users are users other than the target user; when receiving motion records uploaded by other users, if the motion records meet the association rules of the motion record matching rules, the other users are determined as newly added associated users, and the motion records uploaded by other users are determined as newly added associated motion records, wherein the association rules at least include constraints on the motion type and constraints on the start time of the motion.

[0067] In the case of a successful match, it means that the target exercise record can be determined to match the associated user and the associated exercise record according to the rules. However, the target user may have a personalized need to determine friends who exercise with the same frequency. The entrance to invite friends to join the team can be displayed through the invitation interface of the sports application. After the target user invites friends, the invited friends can be reviewed according to the association rules. If the review passes, they will be determined as associated users, and the exercise records of the associated users will be determined as associated exercise records. The association rules are association rules for the exercise record matching rules. The constraint strength of the association rules is relatively small, and can include constraints on the type of exercise and the start time of the exercise.

[0068] Through this embodiment, when the rules can match associated users and associated sports records, the target user can invite the sports records of friends who exercise at the same frequency but are not covered by the rules through the invitation interface and invitation entrance, thereby enriching the association between friends who exercise at the same frequency and their sports records and meeting the user's needs for personalized team formation.

[0069] The match of associated users and associated sports records can be determined more accurately through event information. Optionally, in the method for processing sports information provided in the embodiment of the present application, the method also includes: matching the sports information in the target sports record with the event information of the target event, and assigning an event code to the target sports record when the sports information matches the preset items of the target event; obtaining users who have the same event code and preset items as the target sports record to obtain participating users; determining associated users through participating users, determining associated sports records through the sports records of participating users, or, updating associated users obtained through participating users, and updating associated sports records obtained through the sports records of participating users.

[0070] In an optional implementation, a user participates in a large marathon event, and there are different competition events in the event, such as a 5km fun run, a half marathon (21.0975km), and a marathon (42.195km). The starting time of different users is different for different competition events, and there will be a large difference in the starting time. For example, the starting time of the players in zone A differs from that of the players in zone F by about 20 minutes. A more flexible way of forming a team can be determined, so that users can actively invite friends to form a team after training. Specifically, after the user uploads the target exercise record, the exercise start time, exercise end time, trajectory, and mileage are matched with all the information of a certain event of the target event. If the target exercise record matches the event, the user is determined to have participated in the event, and the event code and competition event are written for the user in the exercise record. The event code can be an event ID, and users with the same event ID are recalled to help users participating in the same event automatically form a team.

[0071] In an optional implementation, for sports that do not require precise reporting of motion trajectories, after the user uploads the target sports record, the record can also be matched with all the information of a certain event of the target event based on the start time, end time, trajectory, and mileage of the exercise. If the target sports record matches the event, the user is determined to have participated in the event, and the event ID and competition event are written for the user in the sports record. Users with the same event ID are recalled, and users participating in the same event are helped to automatically form teams.

[0072] It should be noted that compared with determining associated users and associated sports records based on other matching rules, recalling users with the same event ID through the event ID is a more accurate way to determine associated users and associated sports records. When the associated users and associated sports records are not originally matched, the associated users and associated sports records can be determined through the recalled users with the same event ID. When the associated users and associated sports records have originally been matched, the original associated users and associated sports records can also be updated through the recalled users with the same event ID, so that the final associated users and associated sports records are more accurate.

[0073] Figure 2 FIG. 1 is a flowchart of an optional method for processing motion information according to an embodiment of the present application. Figure 2 As shown, the method includes:

[0074] First, respond to the sports record upload operation, and then trigger the post-training match (strong match, for example, 95% match) between the uploaded sports record and other sports records in the sports record pool. If the strong match succeeds, issue a team formation success card. If the strong match fails, trigger the post-training match (weak match, for example, 70% match) between the uploaded sports record and other sports records in the sports record pool. If the weak match succeeds, issue a post-training match to be joined card. If the user has not joined, the post-training match to be joined card is still displayed. If the user joins, issue a team formation success card.

[0075] Furthermore, in both cases of sending the team formation success card, friends can be invited. If the invited friends have exercise records in the same period, it means that the invitation to team formation is successful. If the invited friends do not have exercise records in the same period, the team formation success card is still displayed. In addition, in the case of weak matching failure, an active team formation invitation card can also be sent to invite friends. If the invited friends have exercise records in the same period, it means that the invitation to team formation is successful. If the invited friends do not have exercise records in the same period, the team formation success card is still displayed.

[0076] Furthermore, if the event side returns the message "the sports record carries the event ID", the team formation can be updated to put users in the same group of the same event into the same team. If the event side does not return a message, the team formation success card is still displayed.

[0077] In this embodiment, whether it is a sports category that requires accurate uploading of sports trajectories or a sports category that does not require accurate uploading of sports trajectories, different post-training matching, inviting friends, and event-side team formation methods can be used to match associated users and associated sports records for target sports records, and display target sports records and associated users and associated sports records, thereby achieving the effect of associating the sports records of people who exercise with the same frequency while recording the target sports record of the target user, so that users can learn about the exercise conditions of people who exercise with the same frequency.

[0078] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0079] The present application also provides a motion information processing device. It should be noted that the motion information processing device of the present application can be used to execute the motion information processing method provided in the present application. The motion information processing device provided in the present application is introduced below.

[0080] Figure 3is a schematic diagram of a motion information processing device according to an embodiment of the present application. Figure 3 As shown, the device includes: a first determining unit 302 , a calling unit 304 , a matching unit 306 and a first displaying unit 308 .

[0081] The first determining unit 302 is configured to determine an attribute of a target motion record uploaded by a target user, wherein the attribute indicates whether the motion record is associated with a motion track.

[0082] The calling unit 304 is used to call the corresponding motion record matching rule based on the attribute of the target motion record.

[0083] The matching unit 306 is configured to match the associated user and the associated motion record for the target motion record based on the motion record matching rule, wherein the associated motion record is the motion record of the associated user.

[0084] The first display unit 308 is used to display the target movement record on the display page of the target user, and to display the associated user and the associated movement record.

[0085] The motion information processing device provided by the embodiment of the present application determines the attributes of the target motion record uploaded by the target user through the first determination unit 302, wherein the attributes indicate whether the motion record is associated with a motion trajectory; the calling unit 304 calls the corresponding motion record matching rule based on the attributes of the target motion record; the matching unit 306 matches the associated user and the associated motion record for the target motion record based on the motion record matching rule, wherein the associated motion record is the motion record of the associated user; the first display unit 308 displays the target motion record on the display page of the target user, and displays the associated user and the associated motion record, thereby solving the problem in the related art that the motion software records the user's own motion data and the user has difficulty in knowing the motion status of the same-frequency exerciser, and calls the corresponding motion record matching rule through the attributes of the target motion record, matches the associated user and the associated motion record for the target motion record, and displays the target motion record, the associated user and the associated motion record, thereby achieving the effect of associating the motion record of the same-frequency exerciser when recording the target motion record of the target user, so that the user can know the motion status of the same-frequency exerciser.

[0086] Optionally, in the motion information processing device provided in the embodiment of the present application, the matching unit 306 includes: a sorting module, which is used to sort the N matching rules in order of matching strength from large to small when the motion record matching rules include N rules with different constraint strengths, to obtain a sorting result, wherein N is a positive integer greater than or equal to 2; a matching module, which is used to match associated users and associated motion records for the target motion record based on the matching rules in the sorting result in sequence until the match is successful, or until the match fails and there is no next matching rule; a determination module, which is used to determine that the target motion record matches the associated users and associated motion records based on the matching result when the match is successful.

[0087] Optionally, in the motion information processing device provided in the embodiment of the present application, the determination module includes: a first determination module, which is used to determine the user in the matching result as an associated user and the motion record in the matching result as an associated motion record when the match is successful according to the first matching rule in the sorting result; a second determination module, which is used to obtain the initial associated user from the matching result and send a confirmation message to the initial associated user when the match is successful according to a rule other than the first matching rule in the sorting result, wherein the confirmation message is used to confirm whether to establish an association with the target motion record of the target user; and a third determination module, which is used to determine the initial associated user who replies to the confirmation message as an associated user, and determine the motion record of the initial associated user who replies to the confirmation message as an associated motion record.

[0088] Optionally, in the sports information processing device provided in the embodiment of the present application, the device also includes: a first display unit, used to display an invitation interface when the match fails and there is no next matching rule, wherein the target user invites other users to upload sports records based on the invitation interface, and the other users are users other than the target user; a second determination unit, used to, when receiving sports records uploaded by other users, if the sports records meet the association rules of the sports record matching rules, determine the other users as associated users, and determine the sports records uploaded by other users as associated sports records, wherein the association rules at least include constraints on the sports type and constraints on the start time of the sports.

[0089] Optionally, in the motion information processing device provided in the embodiment of the present application, the device also includes: a third display unit, which is used to display an invitation interface after the match is successful and the target motion record matches the associated user and the associated motion record based on the matching result, wherein the target user invites other users to upload motion records based on the invitation interface, and the other users are users other than the target user; a third determination unit, which is used to, when receiving motion records uploaded by other users, if the motion records meet the association rules of the motion record matching rules, determine the other users as newly added associated users and determine the motion records uploaded by other users as newly added associated motion records, wherein the association rules at least include constraints on the motion type and constraints on the start time of the motion.

[0090] Optionally, in the sports information processing device provided in the embodiment of the present application, the device also includes: an allocation unit, used to match the sports information in the target sports record with the event information of the target event, and assign an event code to the target sports record when the sports information matches the preset items of the target event; an acquisition unit, used to acquire users who have the same event code and preset items as the target sports record, to obtain participating users; a fourth determination unit, used to determine associated users through participating users, determine associated sports records through the sports records of participating users, or, update associated sports records obtained through the updated associated users through the sports records of participating users.

[0091] Optionally, in the motion information processing device provided in the embodiment of the present application, when the attribute indicates an associated motion trajectory, the called motion record matching rule includes at least one of the following constraints: a constraint on the motion type, a constraint on the start time of the motion, a constraint on the end time of the motion, a constraint on the position of the starting point of the motion, a motion trajectory matching degree, and a similarity of motion mileage.

[0092] Optionally, in the motion information processing device provided in an embodiment of the present application, when the attribute indication is not associated with the motion trajectory, the called motion record matching rule includes at least one of the following constraints: a constraint on the start time of the motion, a constraint on the end time of the motion, and a constraint on the position of the starting point of the motion.

[0093] The motion information processing device includes a processor and a memory. The first determination unit 302, the calling unit 304, the matching unit 306 and the first display unit 308 are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.

[0094] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem in the related art that the sports software records the user's own sports data, and the user is difficult to know the sports situation of the same frequency exerciser.

[0095] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0096] An embodiment of the present application further provides a computer storage medium, which is used to store a program, wherein when the program is run, the device where the non-volatile storage medium is located is controlled to execute a method for processing motion information.

[0097] The embodiment of the present application also provides an electronic device, Figure 4 is a schematic diagram of an electronic device according to an embodiment of the present application, wherein the electronic device 50 comprises a processor and a memory; the memory stores computer-readable instructions, and the processor is used to execute the computer-readable instructions, wherein a method for processing motion information is executed when the computer-readable instructions are executed. The electronic device in this article may be a server, a PC, a PAD, a mobile phone, etc.

[0098] An embodiment of the present application also provides a computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a method for processing motion information is implemented.

[0099] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0100] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0101] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0102] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0103] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0104] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0105] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0106] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0107] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for processing motion information, It is characterized in that For use in sports applications, including: Determining an attribute of a target motion record uploaded by a target user, wherein the attribute indicates whether the motion record is associated with a motion track; Invoking corresponding motion record matching rules based on the attributes of the target motion record; Matching an associated user and an associated motion record for the target motion record based on the motion record matching rule, wherein the associated motion record is a motion record of the associated user; The target movement record is displayed on the display page of the target user, and the associated user and the associated movement record are displayed.

2. The method according to claim 1, It is characterized in that Matching the target motion record with an associated user and an associated motion record based on the motion record matching rule includes: In the case where the motion record matching rule includes N rules with different constraint strengths, sorting the N matching rules in descending order of matching strength to obtain a sorting result, wherein N is a positive integer greater than or equal to 2; sequentially matching the associated user and the associated motion record for the target motion record based on the matching rules in the sorting result until the match succeeds, or until the match fails and there is no next matching rule; In the case of successful matching, it is determined based on the matching result that the target motion record matches the associated user and the associated motion record.

3. The method according to claim 2, It is characterized in that In the case where the matching is successful, determining that the target motion record matches the associated user and the associated motion record based on the matching result includes: In the case where the first matching rule in the sorting result is successfully matched, determining the user in the matching result as the associated user, and determining the exercise record in the matching result as the associated exercise record; In the case where the matching is successful according to the rules other than the first matching rule in the sorting result, obtaining an initial associated user from the matching result, and sending a confirmation message to the initial associated user, wherein the confirmation message is used to confirm whether to establish an association with the target motion record of the target user; The initial associated user who replies to the confirmation message is determined as the associated user, and the exercise record of the initial associated user who replies to the confirmation message is determined as the associated exercise record.

4. The method according to claim 2, It is characterized in that The method further comprises: In the case where the match fails and the next matching rule does not exist, an invitation interface is displayed, wherein the target user invites other users to upload exercise records based on the invitation interface, and the other users are users other than the target user; When receiving the sports record uploaded by the other user, if the sports record meets the association rule of the sports record matching rule, the other user is determined as the associated user, and the sports record uploaded by the other user is determined as the associated sports record, wherein the association rule at least includes the constraint conditions of the sports type and the constraint conditions of the start time of the sports.

5. The method according to any one of claims 1 to 4, It is characterized in that After the match is successful, and after determining that the target motion record matches the associated user and the associated motion record based on the match result, the method further includes: Displaying an invitation interface, wherein the target user invites other users to upload exercise records based on the invitation interface, and the other users are users other than the target user; When receiving the sports records uploaded by the other users, if the sports records meet the association rules of the sports record matching rules, the other users are determined as newly added associated users, and the sports records uploaded by the other users are determined as newly added associated sports records, wherein the association rules at least include constraints on the sports type and the sports start time.

6. The method according to claim 5, It is characterized in that The method further comprises: Matching the sports information in the target sports record with the event information of the target event, and assigning an event code to the target sports record if the sports information matches the preset items of the target event; Acquire users who have the same event code and the same preset item as the target sport record to obtain participating users, The associated user is determined through the participating user, and the associated exercise record is determined through the exercise record of the participating user, or the associated user is updated through the participating user, and the associated exercise record is updated through the exercise record of the participating user.

7. The method according to claim 1, It is characterized in that In the case where the attribute indicates association with the motion trajectory, the motion record matching rule invoked includes at least one of the following constraints: Constraints on the type of movement, constraints on the start time of movement, constraints on the end time of movement, constraints on the location of the starting point of movement, matching degree of movement trajectories, and similarity of movement mileage.

8. The method according to claim 1, It is characterized in that In the case where the attribute indication is not associated with the motion trajectory, the motion record matching rule invoked includes at least one of the following constraints: Constraints on the start time of the movement, constraints on the end time of the movement, and constraints on the position of the starting point of the movement.

9. A motion information processing device, It is characterized in that include: a determination unit, configured to determine an attribute of a target motion record uploaded by a target user, wherein the attribute indicates whether the motion record is associated with a motion track; A calling unit, configured to call a corresponding motion record matching rule based on the attribute of the target motion record; a matching unit, configured to match an associated user and an associated motion record for the target motion record based on the motion record matching rule, wherein the associated motion record is a motion record of the associated user; A display unit is used to display the target movement record on the display page of the target user, and to display the associated user and the associated movement record.

10. A computer program product, It is characterized in that The invention comprises a non-volatile computer-readable storage medium storing a computer program, wherein the computer program implements the motion information processing method according to any one of claims 1 to 8 when executed by a processor.

11. An electronic device comprising a memory and a processor, It is characterized in that The memory stores a computer program, and the processor is configured to execute the motion information processing method according to any one of claims 1 to 8 through the computer program.