Sports mode processing method and wearable device

The wearable device addresses the lack of specialized data recording in golf wearables by providing real-time statistical analysis and strike path display, enhancing user evaluation and training planning.

JP2024546063AInactive Publication Date: 2024-12-17HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024529752
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-12-15
Filing Date
2022-12-13
Publication Date
2024-12-17
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 2024546063000001_ABST
    Figure 2024546063000001_ABST
Patent Text Reader

Abstract

A sports mode processing method is disclosed, comprising: determining whether the wearable device (100) has loaded map data of a first sports field after receiving a first instruction, where the first instruction indicates that a user is playing a target sport, and the first sports field is a sports field where the user plays the target sport; obtaining motion data and positioning data after it is determined that the wearable device (100) has loaded the map data of the first sports field, where the motion data represents a user's action feature in the case where the user plays the target sport, and the positioning data represents a location of the user's action in the case where the user plays the target sport and a location of the wearable device (100); and displaying statistical data about the user's playing the target sport based on the motion data, the positioning data, and the map data of the first sports field. A wearable device for performing the sports mode processing method, a computer readable storage medium for performing the sports mode processing method, and a computer program product for performing the sports mode processing method are further included.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] This application claims priority to Chinese Patent Application No. 202111534187.X, filed with the State Intellectual Property Office of China on December 15, 2021, entitled "Sports Mode Processing Method and Wearable Device," the entirety of which is incorporated herein by reference.

[0002] The present application relates to the field of terminal technology, in particular to a sports mode processing method and a wearable device. [Background technology]

[0003] Golf is a leisure competitive sport. There are various types of clubs, and the course environment is complicated. After the golf game is finished, the user usually focuses on the specialized data of the golf game, such as the swing type and strike point of each strike action, and the total cumulative quantity of strokes and strike path for each hole. This helps the user to carry out comprehensive review and analysis to fully recognize the user's weaknesses in golf, so that the user can realize a complete post-evaluation and formulate a scientific training plan.

[0004] Currently, golf wearable devices on the market, such as wristbands, watches, or shoes with pedometers, usually record basic data such as heart rate, exercise time, and steps during the game, but do not record specialized data of the golf game, which is not conducive to user evaluation, review, or analysis. Summary of the Invention

[0005] The present application provides a sports mode processing method and a wearable device to display a golf strike path, help prompt a user to review and analyze their golf game, help the user recognize their swing habits, golf ball landing location, the consistency of their performance, and the like.

[0006] According to a first aspect, the present application provides a sports mode processing method applied to a wearable device.

[0007] The method includes: a step of the wearable device determining whether the wearable device has map data of a first sports field loaded after receiving a first instruction, where the first instruction indicates that a user is playing a target sport, and the first sports field is a sports field where the user is playing the target sport; a step of the wearable device acquiring motion data and positioning data after determining that the wearable device has loaded the map data of the first sports field, where the motion data represents action characteristics of the user in the case where the user is playing the target sport, and the positioning data represents the location of the user's action and the location of the wearable device in the case where the user is playing the target sport; and a step of the wearable device displaying statistical data about the user's playing of the target sport based on the motion data, the positioning data, and the map data of the first sports field.

[0008] According to the sports mode processing method provided in the first aspect, after receiving an instruction to instruct a user to play the target sport in the sports mode of the target sport, the wearable device may determine whether the wearable device has loaded map data of the sports field where the user plays the target sport. After determining that the wearable device has loaded the map data of the sports field, the wearable device may obtain motion data and positioning data generated when the user plays the target sport, where the motion data may represent the user's action features in the case where the user plays the target sport, and the positioning data may represent the location of the user's action and the location of the wearable device in the case where the user plays the target sport. The wearable device may display statistical data about the user's play of the target sport based on the motion data, the positioning data, and the map data of the sports field. Thus, the wearable device may display the statistical data to help instruct the user to review and analyze the target sport. This helps the user recognize the user's sports habits, sports status, the stability of the user's performance, and the like.

[0009] In a possible design, the wearable device receiving the first instruction includes:

[0010] The wearable device displays a first control, where the first control indicates that a user is playing a target sport, and the wearable device receives a first instruction after receiving a first operation performed by the user on the first control.

[0011] In a possible design, when the wearable device includes a hardware button, receiving the first instruction by the wearable device includes:

[0012] The wearable device receives a second action performed by the user on the hardware button, where the second action indicates that the user is playing the target sport; and The wearable device receives the first instruction after receiving the second action.

[0013] In a possible design, the wearable device receiving the first instruction includes:

[0014] The wearable device receives a first input, where the first input indicates that a user is playing a target sport; and The wearable device receives the first instruction after receiving a third operation performed by the user on the first input.

[0015] This provides multiple implementations of receiving the first instruction by the wearable device, such that after receiving the first instruction, the wearable device can determine that the captured relevant data comes from the target sport and not from another sport, such that the wearable device can accurately and completely capture the relevant data generated when the user plays the target sport.

[0016] In a possible design, determining whether the wearable device has map data of the first sports field loaded after the wearable device receives the first instruction includes:

[0017] The wearable device determines a first sports field after receiving the first instruction; and the wearable device determines whether the wearable device has loaded map data for the first sports field based on the identifier of the first sports field.

[0018] In a possible design, the wearable device determining the first sports field includes:

[0019] The wearable device displays a second control and a third control on the first user interface, where the second control indicates a second sports field, and the second sports field is a sports field obtained by the wearable device through positioning based on a location of the wearable device in the first sports field, and the second control is further used to select the sports field, and the third control is used to confirm the sports field; the wearable device determines the second sports field as the first sports field after receiving a fourth operation performed by the user on the third control; or the wearable device determines the second sports field as the first sports field after receiving a fourth operation performed by the user on the second control. After receiving the fifth operation, displaying a fourth control on the second user interface, where the fourth control is used to search for a sports field; after receiving a sixth operation performed by the user on the fourth control, receiving a second input, where the second input indicates a third sports field; after receiving a seventh operation performed by the user on the second input, determining that the user has selected the third sports field and switching the second user interface to the first user interface for display, where the second control on the first user interface indicates the third sports field; after receiving an eighth operation performed by the user on the third control, determining the third sports field as the first sports field.

[0020] Therefore, the wearable device can automatically obtain the sports field where the user plays the target sport through positioning, and can provide the user with the function of searching for the sports field. In this way, the wearable device can provide the user with multiple ways of determining the sports field, the process is flexible, and the operation is convenient, which helps to improve the user experience.

[0021] In a possible design, the method further comprises the steps of:

[0022] After the wearable device determines that map data for the first sports field has been loaded, the wearable device switches from the first user interface to display a third user interface, where the third user interface is used to display data generated when the user plays the target sport.

[0023] Thus, the wearable device may display data generated in real time as the user plays the target sport, helping to timely inform the user of the sports status of the user's play of the target sport.

[0024] In a possible design, the method further comprises the steps of:

[0025] After determining that the wearable device does not have map data for the first sports field loaded, the wearable device retrieves map data for the first sports field from an electronic device or a server communicatively connected to the wearable device; and the wearable device loads the map data for the first sports field based on the retrieved map data for the first sports field.

[0026] Thus, the wearable device, through the electronic device or the server, may load the sports field where the user plays the target sport, and prepare to detect statistical data about the user's playing of the target sport.

[0027] In a possible design, when the target sport is golf and the map data of the first sports field indicates a hole identifier and a field type for each location in the first sports field, after determining that the wearable device has loaded the map data of the first sports field, the wearable device acquiring the motion data and positioning data includes:

[0028] After the wearable device determines that the map data of the first sports field has been loaded, the wearable device activates the motion sensor and the positioning sensor, and obtains motion data by using the motion sensor, and obtains positioning data by using the positioning sensor; or after the wearable device determines that the wearable device has loaded map data of the first sports field, the wearable device activates the motion sensor, the positioning sensor, and the sound collector, and obtains motion data by using the motion sensor, the positioning sensor, and obtains sound wave data by using the sound collector.

[0029] Therefore, the wearable device may capture motion data and positioning data in real time by using a motion sensor and a positioning sensor, or may capture motion data, sound wave data, and positioning data in real time by using a motion sensor, a sound collector, and a positioning sensor, which helps to detect each strike action performed by a user in a timely and accurate manner when the user plays golf.

[0030] In a possible design, the wearable device displays statistical data about the user's play of the target sport based on the motion data, the positioning data, and the map data of the first sports field, including:

[0031] The wearable device records strike data of all strike actions based on the motion data, the positioning data, and the map data of the first sports field, where the strike data of each strike action includes at least a recording time, a cumulative number of strokes for a hole to which the strike action belongs, a swing type, a hole identifier, a field type, a strike point, and a cumulative number of strokes for a field to which the strike action belongs; and the wearable device displays statistical data based on the strike data of all strike actions, where the statistical data includes at least the strike data of each strike action, a total cumulative number of strokes for each field type, a total cumulative number of strokes for each hole, a stroke distribution for each swing type, and a total cumulative number of strokes for all holes.

[0032] Therefore, the wearable device can monitor each strike action of the user on the golf course in real time, record the strike data of every strike action, and display the sports statistics indicators in the statistical data based on the strike data of every recorded strike action, which helps the user to timely recognize the user's swing habits, golf ball landing place, the stability of the user's performance, and the like, and further helps to prompt the user to review and analyze the golf game thereafter.

[0033] In a possible design, for any one of all strike actions, the wearable device recording strike data of all strike actions based on the movement data, the positioning data, and the map data of the first sports field includes:

[0034] The wearable device acquires the motion data and the positioning data within the same period; the wearable device determines whether the wearable device detects a strike action based on the motion data; after the wearable device determines that the wearable device detects the strike action, when the wearable device determines that the field type of the strike action is a tee and the strike action is a first strike action, records strike data of the strike action based on the positioning data and the map data of the first sports field; or, after the wearable device determines that the wearable device detects the strike action, when the wearable device determines that the field type of the strike action is one of a tee, a hole, or a hazard and the strike action is not a first strike action, records a strike action having a strike point and a latest recording time of the strike action based on the positioning data and the map data of the first sports field. determine whether a distance between the strike points of the first and second sports fields is greater than a first threshold; record strike data of a strike action when the distance is greater than the first threshold; or display first information when the distance is less than or equal to the first threshold, where the first information is used to ask a user whether a strike action will be performed; record strike data of a strike action when a third input is received within the first length of time and the third input indicates that a strike action will be performed; or update the motion data and the positioning data when a fourth input is received within the first length of time and the fourth input indicates that a strike action will not be performed or when no user input is received after the first length of time has elapsed; or after the wearable device determines that it has detected a strike action, record strike data of a strike action based on the positioning data and the map data of the first sports field when it determines that a field type of the strike action is a green or a bunker.

[0035] Therefore, in the process of a user playing golf on a golf course, the wearable device may determine whether a strike action is detected based on the motion data and the positioning data within the same period, thereby eliminating false actions caused by arm swings or whiffs performed by the user. After the wearable device determines that a strike action is detected, when the field type of the strike action is any one of a tee, a fairway, or a hazard, the wearable device may selectively record strike data of the strike action based on the travel distance generated when the strike action acts on a golf ball, thereby eliminating actions generated in abnormal scenarios, such as whiffs, trial swings, or practice. When the field type of the strike action is a green or a bunker, the wearable device may directly record strike data of the strike action according to the golf rules. Thus, the wearable device may record strike data of all strike actions performed by the user when the user plays golf on a golf course.

[0036] In a possible design, when the motion data includes acceleration data and angular velocity data within the same period, the wearable device determining whether the wearable device has detected a strike action based on the motion data includes:

[0037] The wearable device determines a first waveform signal characteristic based on the acceleration data and the angular velocity data within the same period, where the first waveform signal characteristic includes at least one of a number of wave crests, a number of wave troughs, a wave crest value, a wave trough value, or a difference between the wave crest value and the wave trough value; the wearable device determines a first probability based on the first waveform signal characteristic, where the first probability indicates a probability of a strike action; and when the first probability is greater than a second threshold, the wearable device determines that the wearable device has detected a strike action; or when the first probability is less than or equal to the second threshold, the wearable device updates the acceleration data and the angular velocity data within the same period.

[0038] In a possible design, when the motion data includes acceleration data and angular velocity data within the same period, the wearable device determining whether the wearable device has detected a strike action based on the motion data includes:

[0039] The wearable device determines a second waveform signal feature based on the acceleration data and angular velocity data within the same period, where the second waveform signal feature includes at least one of a number of wave crests, a number of wave troughs, a wave crest value, a wave trough value, or a difference between the wave crest value and the wave trough value; the wearable device acquires sound wave data belonging to the same period as the acceleration data and angular velocity data by using a sound collector; the wearable device determines a first audio signal feature based on the sound wave data, where the first audio signal feature includes at least one of a frequency, an energy, or a crest value; the wearable device determines a second probability based on the second waveform signal feature and the first audio signal feature, where the second probability indicates a probability of a strike action; and when the second probability is higher than a third threshold, the wearable device determines that the wearable device has detected a strike action; or when the second probability is lower than or equal to a third threshold, the wearable device updates the acceleration data, the angular velocity data, and the positioning data within the same period.

[0040] In a possible design, when the motion data includes acceleration data and angular velocity data within the same period, the wearable device determining whether the wearable device has detected a strike action based on the motion data includes:

[0041] The wearable device determines a third waveform signal feature based on the acceleration data and angular velocity data within the same period, where the third waveform signal feature includes an upswing displacement and / or a rotation angle; the wearable device acquires sound wave data belonging to the same period as the acceleration data and angular velocity data by using a sound collector; the wearable device determines, based on the sound wave data, that the second sound signal feature includes at least one of a frequency, an energy or a peak value; the wearable device determines, based on the third waveform signal feature and the second sound signal feature, a probability corresponding to a strike action, a probability corresponding to a hand wave action, and a probability corresponding to a whiff action; when the wearable device determines that the probability corresponding to a strike action is a maximum value, the wearable device determines that the wearable device has detected a strike action; or when the wearable device determines that the probability corresponding to a strike action is not a maximum value, the wearable device updates the acceleration data and the angular velocity data within the same period.

[0042] Thus, multiple implementations are provided for the wearable device to determine whether the wearable device has detected a strike action.

[0043] In a possible design, the statistical data further includes a golf strike path for each hole.

[0044] In a possible design, for any hole in the first sports field, the wearable device displaying a golf strike path for the hole includes:

[0045] The wearable device selects all strike actions whose hole identifiers are hole identifiers of the hole based on the strike data of all strike actions, and determines recorded times and strike points of all strike actions; the wearable device draws a golf strike path for the hole based on the recorded times and strike points of all strike actions; and the wearable device displays the golf strike path for the hole on the electronic map of the first sports field.

[0046] In a possible design, the wearable device plots a golf strike path for a hole based on the recorded times and strike points of all strike actions, including:

[0047] The wearable device connects the strike points of all strike actions from start to finish by using connecting lines in ascending order of recorded time, drawing a golf strike path for the hole.

[0048] Therefore, the wearable device can display the sports strike path completely and clearly, and then help prompt the user to review and analyze the golf game, which helps the user to comprehensively evaluate the user's weaknesses and formulate a scientific training plan.

[0049] According to a second aspect, the present application provides a wearable device including a processor, a memory, a motion sensor, a positioning sensor, and a display. The memory, the motion sensor, the positioning sensor, and the display are all coupled to the processor. The memory is configured to store program instructions. The processor is configured to call the program instructions in the memory, such that the wearable device executes the sports mode processing method according to the first aspect or any one of the possible designs of the first aspect.

[0050] According to a third aspect, the present application provides a chip system. The chip system is used in a wearable device including a memory, a display and a sensor. The chip system includes a processor. When the processor executes computer instructions stored in the memory, the wearable device executes the sports mode processing method according to the first aspect or any one of the possible designs of the first aspect.

[0051] According to a fourth aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium storing a computer program, which, when executed by a processor, enables the wearable device to implement a sports mode processing method according to the first aspect or any one of the possible designs of the first aspect.

[0052] According to a fifth aspect, the present application provides a computer program product including executable instructions. The executable instructions are stored in a readable storage medium. At least one processor of a wearable device may read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions, such that the wearable device implements a sports mode processing method according to the first aspect or any one of the possible designs of the first aspect. [Brief description of the drawings]

[0053] [Figure 1] FIG. 2 is a schematic diagram of the structure of a wearable device according to an embodiment of the present application.

[0054] [Figure 2A] 4 is a schematic flowchart of a sports mode processing method according to an embodiment of the present application. [Figure 2B-1] 4 is a schematic flowchart of a sports mode processing method according to an embodiment of the present application. [Figure 2B-2] 4 is a schematic flowchart of a sports mode processing method according to an embodiment of the present application.

[0055] [Figure 3A] 4 is a schematic flowchart of a sports mode processing method according to an embodiment of the present application. [Figure 3B-1] 4 is a schematic flowchart of a sports mode processing method according to an embodiment of the present application. [Figure 3B-2] 4 is a schematic flowchart of a sports mode processing method according to an embodiment of the present application.

[0056] [Figure 4A] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4B] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4C] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4D] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4E] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4F] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4G] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4H] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4I] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4J] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4K] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4L]FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4M] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4N] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4O] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4P] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4Q] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4R] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4S] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4T] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4U] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4V] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4W] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4X] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4Y] FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application; [Figure 4Z]FIG. 1 is a schematic diagram of a human-computer interaction interface according to an embodiment of the present application;

[0057] [Diagram 5] 4 is a schematic flowchart of a sports mode processing method according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0058] In this application, "at least one" means one or more, and "multiple" means two or more. "And / or" describes an association relationship between associated objects and indicates that three relationships may exist. For example, A and / or B may indicate three cases: only A is present, both A and B are present, and only B is present, where A and B may be singular or plural. The character " / " usually indicates an "or" relationship between associated objects. "At least one of the following items" or similar expressions may indicate any combination of items, including any combination of one or more items of items. For example, at least one of a, b, or c may indicate a, b, c, a combination of a and b, a combination of a and c, a combination of b and c, or a combination of a, b, and c, where each of a, b, and c may be singular or plural. In addition, the terms "first" and "second" are intended merely for descriptive purposes and should not be understood as an indication or suggestion of relative importance.

[0059] The present application provides a sports mode processing method and a wearable device (e.g., a wristband, a watch, or a shoe with a pedometer). After receiving an instruction to instruct a user to play the target sport in a sports mode of a target sport, the wearable device may determine whether the wearable device has loaded map data of the sports field where the user plays the target sport. After determining that the wearable device has loaded the map data of the sports field, the wearable device may obtain motion data and positioning data generated when the user plays the target sport, where the motion data may represent the user's action features in the case where the user plays the target sport, and the positioning data may represent the location of the user's action and the location of the wearable device in the case where the user plays the target sport. The wearable device may display statistical data about the user's playing the target sport based on the motion data, the positioning data, and the map data of the sports field.

[0060] Therefore, the wearable device may display statistical data to help guide the user to review and analyze the target sport, thereby helping the user to recognize the user's sports habits, sports status, the stability of the user's performance, and the like.

[0061] The specific type of the target sport is not limited in the present application. For ease of explanation, an example in which the target sport is golf is used in the detailed description in the present application. After receiving an instruction to instruct a user to play golf, the wearable device may determine whether the wearable device has loaded map data of a golf course where the user plays golf. After determining that the wearable device has loaded the map data of the golf course, the wearable device may use a motion sensor to monitor in real time the motion data generated when the user plays golf; and may use a positioning sensor to monitor in real time the positioning data generated when the user plays golf.

[0062] Therefore, based on the real-time detected motion data and positioning data, and the loaded map data of the golf course, the wearable device can fully take into account the effects caused by abnormal scenarios such as hand swings (also referred to as arm swings), missed swings, test swings, and practice, accurately detect all strike actions performed by the user on the golf course, and record the strike data of all strike actions.

[0063] The strike data for each strike action may include, for example, the recorded time, the cumulative number of strokes for the hole to which the strike action belongs, the swing type, the hole identifier, the field type, the strike point (which may also be referred to as the swing location), the cumulative number of strokes for the field to which the strike action belongs, and the strike distance.

[0064] Based on the description of the above embodiment, the wearable device may display a sports statistics indicator in the statistical data based on the strike data of all recorded strike actions. The sports statistics indicator may include, for example, the strike data of each strike action, the total cumulative number of strokes of each field type, the total cumulative number of strokes of each hole, the stroke distribution of each swing type, and the total cumulative number of strokes for all holes.

[0065] Therefore, the wearable device can monitor each strike action of the user on the golf course in real time, record the strike data of every strike action, and display the sports statistics indicators in the statistical data based on the strike data of every recorded strike action, which helps the user to timely recognize the user's swing habits, golf ball landing place, the stability of the user's performance, and the like, and further helps to prompt the user to review and analyze the golf game thereafter.

[0066] In addition, the wearable device may further display a sports strike path in the statistical data on an electronic map of the golf course based on the strike points of all recorded strike actions, where the sports strike path may include a golf strike path (which may also be referred to as a golf strike track) for at least one hole.

[0067] Therefore, the wearable device can display the sports strike path completely and clearly, and then help prompt the user to review and analyze the golf game, which helps the user to comprehensively evaluate the user's weak points and formulate a scientific training plan.

[0068] In addition, the wearable device can further monitor the sound wave data generated when the user plays golf in real time by using a sound collector; and can determine each strike action performed by the user on the golf course based on both the motion data and the sound wave data. This further helps to accurately detect every strike action, and further improves the recording accuracy and display accuracy of statistical data.

[0069] 1 is a schematic diagram of a structure of a wearable device according to an embodiment of the present application. For ease of explanation, in FIG. 1, an example in which the wearable device 100 is a wristwatch is used for explanation.

[0070] As shown in FIG. 1 , the wearable device 100 may include a device body 101 and a wearable part 102.

[0071] The device body 101 may include a display 1011 and touch components (1012 and 1013). The display 1011 may be configured to display the time, the battery level of the device body 101, a Bluetooth identifier, received messages, user sports information, and other content. The touch components (1012 and 1013) may be configured to receive an action, such as a tap, to turn on the display 1011 or to enable or disable a sports mode, such as running, golfing, walking, cycling, or swimming. The touch components (1012 and 1013) may be represented by software controls 1012 and / or buttons 1013.

[0072] In addition, the device body 101 may further record the user's steps traveled, calories burned, and statistical data (e.g., the statistical data may include sports statistical data and sports strike paths) by using a server communicatively connected to the wearable device or by using a storage module in the device body 101.

[0073] In addition, the device body 101 may establish a wireless communication connection with an electronic device (e.g., a mobile phone or a tablet computer), so that the wearable device 100 has basic functions such as an incoming call reminder and a message notification. In some embodiments, the device body 101 may establish a wireless communication connection with the electronic device through Bluetooth. The device body 101 may transmit the user's sports information to the electronic device with which the connection is established. In addition, when the electronic device receives an incoming call or a message notification, the device body 101 may receive an instruction from the electronic device and notify the user of the incoming call or the message notification. In addition, the communication connection between the wearable device and the electronic device is not limited to the above-mentioned functions.

[0074] The electronic device may be a mobile phone (e.g., a mobile phone with a foldable screen or a mobile phone with a large screen), a tablet computer, a notebook computer, a wearable device, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), a smart television, a smart screen, a high definition television, a 4K television, a smart speaker, a smart projector, or the like. The specific type of electronic device is not limited to this application. In addition, the type of operating system for the electronic device is not limited to this application. For example, the operating system is an Android system, a Linux system, a Windows system, an iOS system, or a Harmony operating system (HarmonyOS).

[0075] The wearable part 102 is used to mount the device body 101. For example, the wearable part 102 can be a wristband strap, a watch strap, or another device. The wearable part 102 is a device that allows the device body 101 to be attached to a user's wrist.

[0076] In the present application, a motion sensor may be configured in the device body 101. The device body 101 may use the motion sensor to capture motion data generated when a user plays golf. The motion data may include acceleration data and angular velocity data. The motion sensor may include an acceleration sensor and a gyroscope sensor. The acceleration sensor is configured to capture the acceleration data in real time. The gyroscope sensor is configured to capture the angular velocity data in real time. In addition, the motion data may further include velocity data, distance data, and the like, which are obtained through conversion based on the acceleration data and the angular velocity data.

[0077] Thus, the wearable device 100 is attached to the user's wrist, so that the motion sensor captures acceleration data and angular velocity data of the user's wrist, monitors each strike action, and determines the swing type of each strike action based on the acceleration data and angular velocity data of the user's wrist.

[0078] It should be noted that in addition to the wearable device 100, the motion sensor may alternatively be located within the golf club. For example, the motion sensor may be fixed to the golf club as an independent device, or the motion sensor may be integrated into the golf club as part of the golf club, so that the device body 101 can receive motion data from the golf club in real time. This is not a limitation in this application. In some embodiments, the motion sensor may be an inertial measurement unit (IMU) integrated with an acceleration sensor and a gyroscope sensor.

[0079] In addition, a sound collector (e.g., a microphone) may also be configured in the device body 101, and the device body 101 may capture sound wave data by using the sound collector. Thus, the wearable device 100 is attached to the user's wrist, so that the sound collector captures sound wave data generated when the user plays golf, monitors each strike action, and determines the swing type and strike field of each strike action based on the motion data combined with the sound wave data.

[0080] A positioning sensor may be configured in the device body 101, and the device body 101 may use the positioning sensor to capture positioning data in real time and monitor the strike point of each strike action and the location of the wearable device in real time. The positioning data may be represented by longitude and latitude coordinates, 3D coordinates, or the like, and the positioning data may represent the strike point of each strike action.

[0081] The positioning sensors may use, for example, a global positioning system (GPS), a global navigation satellite system (GLONASS), a BeiDou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite-based augmentation system (SBAS).

[0082] Based on the above description, in the following embodiments of the present application, with reference to Figures 2A, 2B-1, 2B-2, 3A, 3B-1, and 3B-2, a wearable device having the structure shown in Figure 1 is used as an example to describe in detail the sports mode processing method provided in the present application.

[0083] 2A is a schematic flowchart of a sports mode processing method according to an embodiment of the present application. As shown in FIG. 2A, the sports mode processing method referred to in the present application may include S11 to S17.

[0084] S11: The wearable device activates golf mode.

[0085] For golf, a golf mode (which may also be referred to as a golf course mode or a golf sport mode) may be set on the wearable device to distinguish between golf and other sports (e.g., running, skiing, cycling, and walking). After the golf mode is enabled, the wearable device may determine that the relevant data captured is from golf and not from another sport, so that the wearable device can accurately and completely capture the relevant data generated when the user plays golf.

[0086] The above-mentioned related data may include, but is not limited to, motion data captured by a motion sensor and positioning data captured by a positioning sensor. In addition, the related data may further include sound wave data captured by a sound collector, and the like.

[0087] Based on the above description, the wearable device needs to enable the golf mode when the user plays golf. The wearable device may enable the golf mode in several ways.

[0088] Method 1: The wearable device may enable golf mode via input 1.

[0089] When input 1 is utterance 1, the wearable device may receive utterance 1 input by a user, and utterance 1 is used to trigger the wearable device to enable the golf mode. The specific implementation of utterance 1 is not limited in this application. For example, a user may activate the wearable device through speech and input utterance 1 of "enable golf mode" or "I want to play golf" to the wearable device, so that the wearable device enables the golf mode based on utterance 1.

[0090] Thus, the wearable device may enable golf mode in response to utterance 1 after determining that utterance 1 is used to trigger the wearable device to enable golf mode.

[0091] When the input 1 is operation 1, the wearable device may receive operation 1 performed on touch component 1, and operation 1 is used to trigger the wearable device to activate the golf mode. The touch component 1 may be a software control displayed on a user interface of the wearable device, or the touch component 1 may be a button located on the wearable device, or the touch component 1 may include a combination of a software control and a button on the wearable device. Parameters such as size, shape, and color of the touch component 1 are not limited in this application. For example, the touch component 1 may be the touch component in FIG. 1. Operation 1 may include, but is not limited to, a tap operation, a double tap operation, a touch and hold operation, and the like. Parameters such as location, shape, and size of the user interface of the wearable device are not limited in this application.

[0092] Thus, the wearable device may enable the golf mode in response to operation 1.

[0093] Method 2: When the wearable device determines that the user is playing golf, it may enable golf mode.

[0094] The wearable device may use the motion data to determine whether the user is playing golf, and thus may enable a golf mode when the wearable device determines that the motion data indicates that the user is playing golf.

[0095] The wearable device may determine whether the user is playing golf in a number of ways.

[0096] In some embodiments, the wearable device may input feature maps of the motion data (e.g., acceleration waveform feature map and angular velocity waveform feature map) into classification model 1 for analysis. When the analysis indicates that the user is playing golf, the wearable device may enable a golf mode.

[0097] Classification model 1 may be used to determine that a user is playing golf and distinguish golf from other sports. Classification model 1 is obtained by training an original model based on standard golf features, such as upswing time, downswing time, still point, upswing distance, downswing distance, and swing angle.

[0098] In some other embodiments, the wearable device may input feature maps of the motion data and sound wave data (e.g., acceleration waveform feature map, angular velocity waveform feature map, and sound waveform feature map) into classification model 2 for analysis. When the analysis indicates that the user is playing golf, the wearable device may enable a golf mode.

[0099] Classification model 2 may be used to determine that the user is playing golf and distinguish golf from other sports. Classification model 2 is obtained by training an original model based on standard golf features, such as upswing time, downswing time, rest point, upswing distance, downswing distance, swing angle, and sound.

[0100] In addition, based on the implementation described above, the wearable device may alternatively determine whether the wearable device is located on a golf course and whether the user is playing golf based on the positioning data. Thus, when the wearable device is located on a golf course, the wearable device may determine that the user is playing golf and may enable a golf mode.

[0101] It should be noted that in this application, the implementation of determining whether a user is playing golf is not limited to the implementations described above.

[0102] Method 3: The wearable device may enable the golf mode according to instruction 1 sent by an electronic device that is communicatively connected to the wearable device.

[0103] The electronic device may receive an input 2, and in response to the input 2, the electronic device may send an instruction 1 to the wearable device that corresponds to the input 2. The instruction 1 is used to trigger the wearable device to enable a golf mode.

[0104] Input 2 may be utterance 2, and utterance 2 is used to trigger the wearable device to enable the golf mode. The specific implementation of utterance 2 is not limited in this application. For example, a user may activate the electronic device through speech and input utterance 2 of "enable golf mode on the wearable device" into the electronic device.

[0105] Alternatively, the input 2 may be an operation 2 performed on the touch component 2, which is used to trigger the wearable device to activate the golf mode. The touch component 2 may be a software control displayed on a user interface of the electronic device, or the touch component 2 may be a button located on the electronic device, or the touch component 2 may include a combination of a software control and a button on the electronic device. Parameters such as the size, shape, and color of the touch component 2 are not limited in this application. The operation 2 may include, but is not limited to, a tap operation, a double tap operation, a touch and hold operation, and the like. Parameters such as the location, shape, and size of the user interface of the electronic device are not limited in this application.

[0106] Thus, the wearable device may enable golf mode in response to instruction 1.

[0107] In summary, the wearable device may enable a golf mode to capture relevant data in real time generated as the user plays golf to help detect each strike action.

[0108] Based on the above description, in some embodiments, when the wearable device determines that golf mode is not enabled and that golf mode needs to be enabled, the wearable device may first vibrate for a period of time (e.g., 3 seconds), then enable golf mode, and notify the user that the wearable device has enabled golf mode.

[0109] In addition, the wearable device may display prompt 1 on the display of the wearable device after enabling golf mode, where prompt 1 is used to notify the user that the wearable device has enabled golf mode.

[0110] The specific implementation of Prompt 1 is not limited in this application. For example, Prompt 1 may include a golf icon and the text "Golf mode is enabled."

[0111] In addition, the wearable device may turn off the display of the wearable device after a period of time (e.g., 3 seconds) has elapsed and no user interaction has been received, which helps to reduce the power consumption of the wearable device.

[0112] Additionally, after the wearable device enables golf mode and receives input 3 to disable golf mode, the wearable device may vibrate for a period of time (e.g., 3 seconds) and then disable golf mode to notify the user that the wearable device has disabled golf mode.

[0113] The input 3 may be an utterance 3 or an operation 3 performed on the touch component 3, which is used to trigger the wearable device to disable the golf mode. The specific implementation of the utterance 3 is not limited in this application. The touch component 3 may be a software control displayed on the user interface of the wearable device, or the touch component 3 may be a button located on the wearable device, or the touch component 3 may include a combination of a software control and a button on the wearable device. The parameters such as the size, shape and color of the touch component 3 are not limited in this application. The operation 3 may include, but is not limited to, a tap operation, a double tap operation, a touch and hold operation, and the like. The parameters such as the location, shape and size of the user interface of the wearable device are not limited in this application. In addition, the touch component 3 may be the touch component 1 described above, or a touch component different from the touch component 1.

[0114] S12: After the golf mode is enabled, the wearable device determines whether the wearable device has loaded map data of the golf course.

[0115] After the golf mode is enabled, the wearable device needs to determine the golf course on which the user will be playing golf.

[0116] The wearable device may determine the golf course on which the user will play golf in a number of ways. In some embodiments, the wearable device may automatically determine the golf course based on the current location of the wearable device, as obtained by the wearable device through positioning, such that the wearable device can determine the golf course on which the user will play golf based on the golf course obtained by the wearable device through positioning. Thus, the wearable device may determine an identifier, such as a name or number, of the golf course.

[0117] In some other embodiments, the wearable device may alternatively determine an identifier, such as a name or number, of the golf course based on the received input 4. The input 4 is used to inform the wearable device of the golf course on which the user will play golf. The input 4 may be an utterance 4 or an operation 4 performed on a touch component. For specific implementations of the input 4, please refer to the above description of input 1, input 2, or input 3. Details will not be described again here.

[0118] Based on the above description, the wearable device may determine whether the wearable device has loaded (also referred to as stored) map data for the golf course based on the golf course identifier.

[0119] A golf course typically includes 18 holes, and the map data of the golf course may indicate a hole identifier (e.g., a number or name) and a field type for each location on the golf course. The specific implementation of the map data of the golf course is not limited in this application. Thus, based on the map data of the golf course, the wearable device may determine a hole identifier for each hole on the golf course, the size and location of the area in which the hole is located, and the field type, field size, field location, and the like for each field included in the area in which the hole is located.

[0120] For example, map data for a golf course may include flags for every pixel in a vector image, where the flag for each pixel indicates the hole identifier and field type that corresponds to the pixel, and the flag may be represented in the form of a number, a binary value, a letter, a alphabet, or the like.

[0121] The wearable device may perform S13 after determining that the wearable device has loaded map data for the golf course.

[0122] The wearable device may load the golf course map data in a number of ways after determining that the wearable device does not have the golf course map data loaded.

[0123] In some embodiments, the wearable device may transmit instruction 2 to a server communicatively connected to the wearable device such that the server, in response to instruction 2, may transmit map data of the golf course to the wearable device such that the wearable device can load the map data of the golf course.

[0124] In some other embodiments, the wearable device may transmit instruction 3 to an electronic device communicatively connected to the wearable device such that, in response to instruction 3, the electronic device determines whether the electronic device has loaded map data for the golf course.

[0125] When the electronic device determines that the electronic device has loaded the golf course map data, the electronic device may transmit the golf course map data to the wearable device, so that the wearable device may load the golf course map data. When the electronic device determines that the electronic device has not loaded the golf course map data, the electronic device may transmit instruction 4 to the server, so that the server may transmit the golf course map data to the wearable device. Thus, the wearable device may load the golf course map data.

[0126] Indication 2, indication 3 and indication 4 all indicate that the wearable device should load map data of a golf course. Indication 2, indication 3 and indication 4 may be represented in the form of an identifier, a binary value, a character, or the like. For example, indication 2, indication 3 and indication 4 hold the name of a golf course.

[0127] In summary, the wearable device may load map data of a golf course through a server and / or electronic device and prepare to detect in real time each strike action performed by a user as the user plays golf.

[0128] In addition, the wearable device may draw an electronic map of the golf course based on the map data of the golf course and display the electronic map. The electronic map of the golf course may display the area where all the holes are located, or may display the area where the corresponding holes are located when the user plays golf. Hole identifiers, field types, field sizes, field locations, and the like may be marked for the area where each hole is located.

[0129] S13: After the wearable device determines that it has loaded map data of the golf course, it activates the motion sensor and the positioning sensor.

[0130] The wearable device needs to spend a certain time to load the map data of the golf course. Therefore, the wearable device may activate the motion sensor and the positioning sensor after determining that the wearable device has loaded the map data of the golf course, to prevent the device from consuming the power of the wearable device due to a long activation. This helps to reduce the power consumption of the wearable device.

[0131] In manner 1 for enabling golf mode, the wearable device may activate the motion sensors and positioning sensors in response to input 1 after determining that the wearable device has loaded map data for the golf course.

[0132] In the method 2 of enabling the golf mode, the wearable device needs to capture the motion data by using the motion sensor, so the wearable device has already activated the motion sensor. Thus, the wearable device may activate the positioning sensor after determining that the user is playing golf based on the motion data and determining that the wearable device has loaded map data of the golf course.

[0133] In method 3 for enabling golf mode, the wearable device may activate the motion sensors and positioning sensors in response to instruction 1 after determining that the wearable device has loaded map data for the golf course.

[0134] S141: The wearable device acquires motion data in real time by using a motion sensor.

[0135] S142: The wearable device obtains positioning data in real time by using a positioning sensor.

[0136] There is no time sequence between S141 and S142, and S141 and S142 may be performed simultaneously or sequentially.

[0137] A software and / or hardware interface may be disposed between the wearable device and the motion sensor, such that the wearable device can obtain motion data in real time through the interface.A software and / or hardware interface may be disposed between the wearable device and the positioning sensor, such that the wearable device can obtain positioning data in real time through the interface.

[0138] Therefore, the wearable device can capture the motion data and positioning data in real time, which helps to detect each strike action performed by the user when playing golf in a timely and accurate manner.

[0139] The motion data may represent the action features, such as swing type, of each strike action performed by the user when the user plays golf. The positioning data may represent the strike point of each strike action performed by the user when the user plays golf, and the location of the wearable device on the golf course. For specific implementation of the motion data and positioning data, please refer to the above description. Details will not be described again here.

[0140] S15: The wearable device records strike data for every strike action based on the motion data and the positioning data.

[0141] The wearable device may monitor actions performed by the user in real time when the user plays golf based on the motion data and positioning data acquired in real time, and thus may detect each strike action performed by the user and record strike data for each strike action.

[0142] For each strike action, the strike data may include, for example, the recorded time, the cumulative number of strokes for the hole to which the strike action belongs, the swing type, the hole identifier, the field type, the strike point, the cumulative number of strokes for the field to which the strike action belongs, and the strike distance.

[0143] The recording time is the time (which may also be referred to as the moment) at which the wearable device records strike data of a strike action, or the time at which the wearable device determines a strike action.

[0144] The cumulative number of strokes for the hole to which the strike action belongs is the sequential number of the strike action in the total cumulative number of strokes for the hole to which the strike action belongs. The hole to which the strike action belongs is a hole in the area in the golf course on which the strike action is performed. Specifically, the hole identifier may indicate the hole to which the strike action belongs. The total cumulative number of strokes for the hole to which the strike action belongs is the total number of strike actions in the area on the golf course in which the hole to which the strike action belongs is located. The hole identifier may be a sequential number, a name, or the like for identification purposes.

[0145] For example, assume that a strike action is the i-th strike action for hole 1, the hole to which the strike action belongs is hole 1, and the cumulative quantity of strokes for the hole to which the strike action belongs is i, where i is a positive integer.

[0146] The swing type is a type of action in which the golf club hits the golf ball after the user swings the golf club, and the golf ball moves to drive the golf club forward. The swing type may include full swing, 1 / 2 swing, 1 / 4 swing, and putting. In addition, when the field type is a bunker (which may also be referred to as a sandbag) or a green, the swing type may further include a whiff. The whiff is a type of action in which the golf club slides over the golf ball without hitting it after the user swings the golf club.

[0147] The strike point is the location on the golf course where the strike action is performed, i.e., the swing location. The strike point may be determined based on positioning data, and the strike point may be represented by longitude and latitude coordinates, 3D coordinates, or the like.

[0148] The cumulative number of strokes for the field to which the strike action belongs is the sequence number of the strike action in the total cumulative number of strokes for the field to which the strike action belongs. The field to which the strike action belongs is the field in the golf course on which the strike action is performed. Specifically, the field type may indicate the field to which the strike action belongs. The total cumulative number of strokes for the field to which the strike action belongs is the total number of strike actions on all fields in the golf course that have the same field type as the field type of the field to which the strike action belongs. The field types may include tees, fairways, bunkers, greens, hazards, and the like. The hazards may include, for example, hazards in which trees are located and hazards in which ponds are located.

[0149] For example, assume that a strike action is the jth strike action for a hole, the field to which the strike action belongs is the hole, and the cumulative quantity of strokes for the field to which the strike action belongs is j, where j is a positive integer.

[0150] Strike distance is the distance traveled when a striking action is applied to the golf ball.

[0151] It should be noted that in this application, each of the bunker shot action and the ground hit action is also a type of strike action. The bunker shot action is an action in which the golf club hits the sand and hits the golf ball out of the bunker after the user swings the golf club. The ground hit action is an action in which the golf club hits the grass without hitting the golf ball after the user swings the golf club.

[0152] According to the golf rules, a user is not allowed to perform a trial swing or practice in a bunker or green, and a user is allowed to perform a trial swing and practice on a tee, a fairway or a hazard. Therefore, based on the motion data and positioning data acquired in real time by the wearable device, the judgment criteria for detecting whether each action performed by the user when playing golf is a strike action varies for different field types.

[0153] Referring to FIG. 2B-1 and FIG. 2B-2, the following describes in detail a specific implementation of recording strike data of every strike action based on the motion data and positioning data in S15 by the wearable device.

[0154] 2B-1 and 2B-2 are schematic flowcharts of a sports mode processing method according to an embodiment of the present application. As shown in FIG. 2B-1 and 2B-2, the sports mode processing method referred to in the present application may include S21 to S29.

[0155] In the case where a user plays golf in an area where any hole on a golf course is located:

[0156] S21 to S232 describe a specific implementation process of detecting a first strike action in an area where a hole is located by a wearable device and recording strike data of the first strike action.

[0157] S24 to S29 describe a specific implementation process of detecting remaining strike actions other than the first strike action in the area where the hole is located by the wearable device and recording strike data of the remaining strike actions.

[0158] S21: The wearable device acquires motion data and positioning data within period 1.

[0159] Based on S141 and S142, the wearable device can obtain the motion data and positioning data in real time during the entire process of the user playing golf. Thus, the wearable device can obtain the motion data and positioning data within the same period (i.e., period 1), which can help analyze the complete actions performed by the user when the user plays golf.

[0160] The specific length of time of period 1 is not limited in this application. In some embodiments, the length of time of period 1 may be set to be greater than or equal to the length of time that a user performs one strike action.

[0161] For example, during time period 1 starting from the time when the motion and positioning sensors are activated, the wearable device may capture motion and positioning data within period 1.

[0162] Alternatively, during time period 1 starting from when it is determined that the user enters an area on the golf course where a new hole is located, the wearable device may capture motion data and positioning data within period 1.

[0163] Thus, the wearable device may obtain motion data of time length 11 from the motion data within time period 1, and may obtain positioning data of time length 12 from the positioning data within time period 1.

[0164] The specific values ​​of duration 11 and duration 12 are not limited in this application as long as both duration 11 and duration 12 are within period 1.

[0165] This ensures that the wearable device can determine a strike action based on the motion data and positioning data within the same time period.

[0166] S22: The wearable device determines, based on the motion data within period 1, whether a strike action is detected.

[0167] If a strike action is detected, the wearable device executes S231. If a strike action is not detected, the wearable device executes S232.

[0168] According to the golf rules, when playing golf, a user may perform at least one of a hand gesture action, a whiff action, or a strike action. Therefore, the wearable device may determine whether a strike action is detected based on the motion data within the period 1. This may eliminate user erroneous operations, i.e., actions caused by a hand gesture or a whiff action.

[0169] The wearable device may determine whether a strike action has been detected in several ways.

[0170] In some embodiments, the wearable device captures acceleration data and angular velocity data within time period 1 based on the acceleration sensor and the gyroscope sensor in the motion sensor, respectively. The wearable device may obtain a first waveform signal characteristic based on the acceleration data and the angular velocity data within time period 1. The first waveform signal characteristic may include, but is not limited to, at least one of a number of wave crests, a number of wave troughs, a wave crest value, a wave trough value, or a difference between a wave crest value and a wave trough value.

[0171] Therefore, the wearable device may determine a first probability based on the first waveform signal characteristic. The first probability indicates a probability of a strike action. When the first probability is higher than Threshold 2, the wearable device may determine that a strike action is detected. When the first probability is less than or equal to Threshold 2, the wearable device may determine that a strike action is not detected. The specific value of Threshold 2 is not limited in this application.

[0172] In summary, the wearable device can determine whether a strike action is detected based on the motion data within period 1 and rule out abnormal scenarios such as hand gestures and misses.

[0173] S231: When it is determined that the field type of the strike action is a tee and the strike action is a first strike action based on the positioning data and the map data of the golf course within period 1, the wearable device records strike data of the strike action and executes S24.

[0174] After determining that a strike action is detected, the wearable device may determine a location of the wearable device in the case where the user performs a strike action based on the positioning data within period 1. Based on the location of the wearable device and the map data of the golf course, the wearable device may determine a specific field where the wearable device is located, in an area where a hole is located, i.e., a field type of the strike action.

[0175] When it is determined that no strike data has been recorded for a strike action in the area in which the hole is located or when the current total cumulative quantity of strokes for the hole is determined to be zero, the wearable device may determine that the strike action is a first strike action.

[0176] Thus, when the field type of the strike action is a tee and the strike action is determined to be a first strike action, the wearable device may record strike data of the first strike action and execute S24, so that the wearable device may continue to detect the remaining strike actions in the area in which the hole is located and record strike data for the remaining strike actions.

[0177] With respect to the cumulative number of strokes for the hole to which the strike action belongs, since the current total cumulative number of strokes for the hole is 0, the wearable device may update the cumulative number of strokes for the hole to which the strike action belongs to 1.

[0178] Regarding the cumulative number of strokes for the field to which the strike action belongs, since the current total cumulative number of strokes for the field is 0, the wearable device may update the cumulative number of strokes for the field to which the strike action belongs to 1.

[0179] S232: The wearable device updates the motion data and positioning data within period 1 in S21 until S231 is executed.

[0180] After the wearable device determines that a strike action is not detected, it may update the motion data and positioning data within period 1 in S21, so that the wearable device captures motion data and positioning data corresponding to the complete action to the maximum extent.

[0181] In some embodiments, the wearable device may update the motion data and positioning data within period 1 in S21 to the motion data and positioning data within period 1'.

[0182] The particular length of time of Period 1' is not limited herein, so long as at least one time point in Period 1' is later than the most recent time point in Period 1. In addition, the length of time of Period 1' can be the same as or different from that of Period 1.

[0183] For example, for a time period 1' starting from the most recent point in time period 1, the wearable device may capture motion data and positioning data within time period 1'.

[0184] Thus, the wearable device may obtain motion data of time length 11' from motion data within period 1', and obtain positioning data of time length 12' from positioning data within period 1'.

[0185] The specific values ​​of duration 11' and duration 12' are not limited in this application as long as both duration 11' and duration 12' are within period 1'.

[0186] This ensures that the wearable device can determine a strike action based on the motion data and positioning data within the same time period.

[0187] In summary, the wearable device may detect a first strike action and record strike data of the first strike action.

[0188] S24: The wearable device acquires motion data and positioning data within a period 2, where the period 2 is different from the period 1.

[0189] Based on S141 and S142, the wearable device can obtain the motion data and positioning data in real time during the entire process of the user playing golf. Thus, the wearable device can obtain the motion data and positioning data within the same period (i.e., period 2), which can help analyze the complete actions performed by the user when the user plays golf.

[0190] The particular length of time of period 2 is not limited herein, so long as at least one point in period 2 is later than the most recent point in period 1. In addition, the length of time of period 2 may be the same as or different from that of period 1. In some embodiments, the length of time of period 2 may be set to be greater than or equal to the length of time for a user to perform one strike action.

[0191] For example, during time period 2 starting from when the previous strike action was detected, the wearable device may capture motion data and positioning data within period 2.

[0192] Thus, the wearable device may obtain motion data of time length 21 from the motion data within time period 2, and obtain positioning data of time length 22 from the positioning data within time period 2.

[0193] The specific values ​​of duration 21 and duration 22 are not limited in this application, as long as both duration 21 and duration 22 are within period 2.

[0194] This ensures that the wearable device can determine a strike action based on the motion data and positioning data within the same time period.

[0195] S25: The wearable device determines whether a strike action is detected based on the motion data within period 2.

[0196] If a strike action is detected, the wearable device executes S261 or S262. If a strike action is not detected, the wearable device executes S29.

[0197] For the specific implementation process of S25, please refer to the description of the embodiment of S22 shown in FIG. 2B-1, and the details will not be described again here.

[0198] S261: When the wearable device determines that the field type of the strike action is one of tee, fairway, or hazard based on the positioning data within period 2 and the map data of the golf course, the wearable device determines whether the distance between the strike point of the strike action corresponding to the positioning data within period 2 and the strike point of the strike action with the most recent recorded time is greater than threshold 1.

[0199] If the distance is greater than threshold 1, the wearable device executes S271. If the distance is not greater than threshold 1, the wearable device executes S272.

[0200] After determining that a strike action is detected, the wearable device may determine the field type of the strike action based on the positioning data within the period 2 and the loaded map data of the golf course. For a specific implementation process, please refer to the description of the embodiment of S231. Here, the details will not be described again. In addition, the wearable device may further determine the location in the area where the strike action is performed, where the golf course or the hole is located, that is, the strike point of the strike action.

[0201] When the field type of the strike action is any one of tee, fairway, or hazard, the wearable device may determine whether the distance between the strike point of the strike action and the strike point of the strike action with the latest recorded time is greater than Threshold 1. The sequence of swings performed by the user is fully taken into account, thereby avoiding the phenomenon that a blank swing, trial swing, or practice performed by the user is erroneously determined as a strike action.

[0202] The strike action with the most recent recorded time is the strike action whose recorded time is closest to the current time among all strike actions recorded before the current moment.

[0203] For example, it is assumed that the wearable device records a first strike action and a second strike action prior to the current moment, in which case, after determining that another strike action is detected, the wearable device may determine that the strike action with the most recent recorded time is the second strike action.

[0204] The distance between the strike point of the strike action and the strike point of the strike action with the most recent recorded time represents the distance of travel that occurs when the strike action acts on the golf ball, i.e., the strike distance of the strike action.

[0205] The specific value of Threshold 1 is not limited in the present application. For example, Threshold 1 may be set to be equal to the average distance that a user performs one strike action.

[0206] S271: The wearable device records strike data of the strike action and executes S29.

[0207] When the distance between the strike point of the strike action and the strike point of the strike action with the latest recording time is greater than threshold 1, the wearable device may determine that the golf ball has traveled a long distance after the user performed the strike action. Thus, the wearable device records the strike data of the strike action and executes S29, so that the wearable device can continue to detect the remaining strike actions in the area where the hole is located and record the strike data of the remaining strike actions.

[0208] For the cumulative number of strokes for the hole to which the strike action belongs, since the current total cumulative number of strokes for the hole is N, the wearable device may update the cumulative number of strokes for the hole to which the strike action belongs to N+1, where N is a positive integer.

[0209] For the cumulative number of strokes for the field to which the strike action belongs, since the current total cumulative number of strokes for the field is M, the wearable device may update the cumulative number of strokes for the field to which the strike action belongs to M+1, where M is a positive integer.

[0210] S272: The wearable device displays message 1, where message 1 is used to ask the user whether a strike action is to be performed.

[0211] When the distance between the strike point of the strike action and the strike point of the strike action with the latest recorded time is less than or equal to threshold 1, the wearable device may determine that the golf ball may have moved a small distance or may not have moved after the user performed the strike action. Thus, the wearable device may display message 1, which may help eliminate cases where the strike action may be an action that occurs in abnormal cases, such as a whiff, a test swing, or a practice, based on the user input.

[0212] The specific implementation of message 1 is not a limitation of this application.

[0213] For example, the strike action is determined to be a whiff action. Message 1 may be used to inform the user that the strike action is a whiff action and strike data for the strike action will not be recorded, or to inform the user that the strike action is a whiff action and ask the user whether to record strike data for the strike action, or to inform the user that the movement distance is too small and strike data for the strike action will not be recorded.

[0214] S281: The wearable device executes S271 after receiving an input 5 within a time length 3 indicating that a strike action is to be performed.

[0215] S282: The wearable device executes S29 after receiving an input 6 within the time length 3 indicating that a strike action will not be performed or when no user input is received within the time length 3.

[0216] The input 5 or input 6 may be a speech, or a tap operation, a double tap operation, a touch-and-hold operation, or the like, performed on the touch component. For the specific implementation of the input 5 or input 6, please refer to the above description of the input 1, input 2, or input 3. The details will not be described again here.

[0217] The specific value of the time length 3 is not limited in this application. In addition, the message 1 can be further used to display the time length 3, which helps to indicate to the user to select within the time length 3 whether a strike action, a whiff action, a test swing action, or a practice action is performed.

[0218] In summary, the wearable device may eliminate actions that may be whiffs, test swings, or practice swings based on user input and may determine that the wearable device detects a strike action.

[0219] S262: When the wearable device determines that the field type of the strike action is green or bunker based on the positioning data within period 2 and the map data of the golf course, the wearable device records strike data of the strike action and executes S29.

[0220] Based on the description of the embodiment of S261, when the field type of the strike action is a green or a bunker, the wearable device may record strike data of the strike action and execute S29, so that the wearable device can continue to detect the remaining strike actions in the area where the hole is located and record the strike data of the remaining strike actions.

[0221] S29: The wearable device updates the motion data and positioning data within period 2 in S24 until the user finishes playing golf in the area where the hole is located and then performs S21, or until the user finishes playing golf on the golf course.

[0222] After the wearable device determines that a strike action has not been detected, it may update the motion data and positioning data within period 2 in S24, so that the wearable device captures motion data and positioning data corresponding to the complete action to the maximum extent.

[0223] In some embodiments, the wearable device may update the motion data and positioning data within period 2 in S24 to the motion data and positioning data within period 2'.

[0224] The particular length of time of Period 2' is not limited herein, so long as at least one time point in Period 2' is later than the most recent time point in Period 2. In addition, the length of time of Period 2' can be the same as or different from that of Period 2.

[0225] For example, during a time length 2' starting from the most recent acquisition time point in period 2', the wearable device captures motion data and positioning data within period 2'.

[0226] Thus, the wearable device may obtain motion data of time length 21' from motion data within time period 2', and obtain positioning data of time length 22' from positioning data within time period 2'.

[0227] The specific values ​​of duration 21' and duration 22' are not limited in this application as long as both duration 21' and duration 22' are within period 2'.

[0228] This ensures that the wearable device can determine a strike action based on the motion data and positioning data within the same time period.

[0229] In summary, when it is determined that the user has finished playing golf in the area where the hole is located, the wearable device may continue to execute S21 without needing to update the motion data and positioning data within period 2 in S24, so that the wearable device may continue to detect all strike actions in the area where another hole on the golf course is located and record corresponding strike data of all strike actions until it is determined that the user has finished playing golf on the golf course. Then, the wearable device may turn off the motion sensor and positioning sensor, disable the golf mode, and end the strike action detection performed when the user plays golf.

[0230] The wearable device may determine that the user has finished playing golf in the area where the hole is located and that the user has finished playing golf in multiple ways. For specific implementation, please refer to the description of the wearable device determining that the user is playing golf in S12. Details will not be described again here.

[0231] In addition, the wearable device may display Prompt 2 on the display of the wearable device after disabling the golf mode, where Prompt 2 is used to notify the user that the wearable device has disabled the golf mode. The specific implementation of Prompt 2 is not limited in this application. For example, Prompt 2 may include the text "Golf mode has been disabled."

[0232] Based on the description of the above embodiment, in the process of a user playing golf on a golf course, the wearable device may determine whether a strike action is detected based on the motion data and the positioning data within the same period, thereby eliminating false actions caused by arm swings or whiffs performed by the user. After the wearable device determines that a strike action is detected, when the field type of the strike action is any one of tee, fairway, or hazard, the wearable device may selectively record strike data of the strike action based on the moving distance generated when the strike action acts on the golf ball, thereby eliminating actions generated in abnormal scenarios, such as whiffs, trial swings, or practice. When the field type of the strike action is green or bunker, the wearable device may directly record strike data of the strike action according to the golf rules. Thus, the wearable device may record strike data of all strike actions performed by the user when the user plays golf on a golf course.

[0233] Additionally, after determining that a strike action is detected, the wearable device may further display strike data of the strike action in real time.

[0234] When any strike action is detected, the wearable device may further:

[0235] When determining that the field type of the strike action is green, the wearable device may display message 2, where message 2 is used to inform the user that the field type of the strike action is green and the swing type of the strike action is recorded as putting. The specific implementation of message 2 is not limited in this application.

[0236] When determining that the field type of the strike action is a bunker, the wearable device may display a message 3, where the message 3 is used to inform the user that the field type of the strike action is a bunker and to ask the user whether the strike action is detected. The specific implementation of the message 3 is not limited in this application.

[0237] When the field type of the strike action is determined to be a hazard with trees or a hazard with ponds, due to the accuracy of the positioning sensor and the complexity of the environment of the golf course, the wearable device may not accurately determine the strike point of the strike action. For example, the wearable device may identify the strike point of the strike action as a hazard with trees or a hazard with ponds through positioning. Therefore, the wearable device may display a message 4, where the message 4 is used to ask the user about the strike point of the strike action. The specific implementation of the message 4 is not limited in the present application.

[0238] After determining that the user has switched from one field type to another, the wearable device may use message 5, where message 5 is used to notify the user of the change in field type, notes about the field the user belongs to (e.g., inability to perform practice or test runs), and the like.

[0239] After determining that the user has switched from one hole to another, the wearable device may use message 6, where message 6 is used to notify the user of the change in hole, notes about the hole the user belongs to, and the like.

[0240] The above messages mentioned in this application may be represented in real time by text, images, or the like. The wearable device may display the above messages on the user interface in the form of a window in a floating manner, or may display the above messages embedded in the user interface, which is also not limited in this application. In addition, when displaying the above messages, the wearable device may vibrate and / or generate a beep sound to notify the user.

[0241] In summary, when it is determined that a strike action is detected, the wearable device may timely notify the user of the hole, field, swing type, and the like based on the strike data of the strike action, and may also timely notify the user of abnormal scenarios such as green, bunker, test swing, practice, miss, or hazard, thereby avoiding misidentification or missed detection by the wearable device in abnormal scenarios.

[0242] In addition, the wearable device may further confirm the strike action from the user based on the above message, so that the wearable device may determine whether to record strike data of the strike action based on the user input. The display time length, display mode and user input mode of the above message are not limited in the present application.

[0243] S16: The wearable device displays sports statistics indicators based on the strike data of all recorded strike actions.

[0244] The wearable device may display sports statistics indicators by using lists, arrays, tables, histograms, line graphs, or the like, by analyzing the strike data of all recorded strike actions.

[0245] The sports statistics indicators may include, for example, strike data for each strike action, the total cumulative number of strokes for each field type, the total cumulative number of strokes for each hole, stroke distribution for each swing type, and the total cumulative number of strokes for all holes.

[0246] Additionally, the wearable device may further transmit strike data of all recorded strike actions to the electronic device so that the electronic device can display sports statistics indicators on an electronic map of the golf course.

[0247] S17: The wearable device displays the sports strike path based on the strike data of all recorded strike actions.

[0248] Note that S17 is optional.

[0249] The sports strike path includes a golf strike path for at least one hole.

[0250] For a golf strike path for a hole, the wearable device may select, from the strike data of all recorded strike actions, all strike actions whose hole identifiers indicate the hole, and determine the recorded times and strike points of all strike actions. The wearable device may draw a golf strike path for the hole based on the recorded times and strike points of all strike actions.

[0251] In some embodiments, the wearable device may connect the strike points of all strike actions from start to finish in ascending order of recorded time by using connecting lines to draw a golf strike path for a hole.

[0252] Specifically, the wearable device connects the strike points of all strike actions by using a connection line, and uses the connection line as a golf strike path for a hole, in which the strike point of the strike action with the earliest recorded time is the start point, the strike point of the strike action with the latest recorded time is the end point, and the strike points of two strike actions with adjacent recorded times are connected.

[0253] In summary, the wearable device may plot the golf strike path for each hole on the golf course. Thus, the wearable device may display the sports strike path on an electronic map of the golf course in a floating manner.

[0254] The manner in which a sports strike path is displayed by a wearable device is not limited in this application.

[0255] In some embodiments, the wearable device may dynamically display the process of drawing a sports strike path on an electronic map of a golf course. For example, for a golf strike path for a hole, the wearable device may display the corresponding dynamic process of connecting the strike points of all strike actions by using connecting lines.

[0256] In some other embodiments, the wearable device may statically display a sports strike path on an electronic map of a golf course.

[0257] Additionally, the wearable device may further display the strike point of the strike action with the earliest recorded time and the strike point of the strike action with the most recent recorded time in a sports strike path, and / or display the strike point of each strike action in a sports strike path.

[0258] Additionally, the wearable device may further distinguish or highlight the sports strike path on the electronic map of the golf course by color, bold lines, or in graphic form, or the like.

[0259] Additionally, the wearable device may further transmit strike data of all recorded strike actions to the electronic device, so that the electronic device can display the sports strike path on an electronic map of the golf course.

[0260] Based on the description of the embodiment in Figures 2A, 2B-1 and 2B-2, taking into full consideration the influencing factors such as golf rules, golf course field type and golf sports characteristics, the wearable device can detect each strike action performed by the user in real time when the user plays golf, and record the strike data of every strike action to accurately display the statistical data, which helps the user to timely recognize the user's swing habits, golf ball landing place, the stability of the user's performance, and the like, and further helps the user to comprehensively evaluate the user's weaknesses and formulate a scientific training plan.

[0261] 3A is a schematic flowchart of a sports mode processing method according to an embodiment of the present application. As shown in FIG. 3A, the sports mode processing method referred to in the present application may include S31 to S37.

[0262] S31: The wearable device activates golf mode.

[0263] For the specific implementation of S31, please refer to the description of the embodiment of S11 shown in Figure 2A, and the details will not be described again here.

[0264] S32: After the golf mode is enabled, the wearable device determines whether the wearable device has loaded map data of the golf course.

[0265] For the specific implementation of S32, please refer to the description of the embodiment of S12 shown in Figure 2A, and the details will not be described again here.

[0266] S33: After the wearable device determines that the map data of the golf course has been loaded, the wearable device activates the motion sensor, the sound collector, and the positioning sensor.

[0267] For the specific implementation of activating the motion sensor and the positioning sensor in S33, please refer to the description of the embodiment of S13 shown in Figure 2A, and the details will not be described again here.

[0268] The wearable device needs to spend a certain time to load the map data of the golf course. Therefore, the wearable device may further activate the sound collector when activating the motion sensor and the positioning sensor, to prevent the device from consuming a large power of the wearable device due to a long activation.

[0269] S341: The wearable device acquires motion data in real time by using a motion sensor.

[0270] For the specific implementation of S341, please refer to the description of the embodiment of S141 shown in Figure 2A, and the details will not be described again here.

[0271] S342: The wearable device acquires sound wave data in real time by using a sound collector.

[0272] A software interface and / or a hardware interface may be disposed between the wearable device and the sound collector, so that the wearable device can obtain sound wave data in real time through the interface. The sound collector may be disposed within the wearable device. For example, the sound collector may be fixed within the wearable device as an independent device, or the sound collector may be integrated within the wearable device as a part of the wearable device. For example, the sound collector may be a microphone.

[0273] The sonic data may represent the action characteristics of each strike action performed by the user when the user plays golf, such as field type and swing type. For specific implementation of the sonic data, please refer to the above description, and the details will not be described again here.

[0274] S343: The wearable device obtains positioning data in real time by using a positioning sensor.

[0275] For the specific implementation of S343, please refer to the description of the embodiment of S142 in the embodiment of FIG. 2A, and the details will not be described again here.

[0276] There is no time sequence between S341, S342 and S343, and S341 to S343 may be executed simultaneously or sequentially.

[0277] Therefore, the wearable device can capture the motion data, the sound wave data and the positioning data in real time, which helps to detect each strike action performed by the user when the user plays golf in a timely and accurate manner.

[0278] S35: The wearable device records strike data for every strike action based on the motion data, the sonic data, and the positioning data.

[0279] The wearable device may monitor, in real time, the actions performed by the user when the user plays golf based on the motion data, the sound wave data, and the positioning data acquired in real time, and thus, the wearable device may determine each strike action and record strike data for each strike action.

[0280] For the specific implementation of the strike data of each strike action, please refer to the description of the embodiment of S15 shown in Figure 2A, and the details will not be described again here.

[0281] According to the golf rules, a user is not allowed to perform a trial swing or practice in a bunker or green, and is allowed to perform a trial swing and practice on a tee, a fairway or a hazard. Therefore, the criteria for detecting whether each action performed by a user when playing golf is a strike action based on the motion data, the sound wave data and the positioning data acquired in real time by the wearable device vary for different field types.

[0282] Referring to Figures 3B-1 and 3B-2, the following describes in detail a specific implementation of S35 in which the wearable device records strike data of every strike action based on motion data, sonic data, and positioning data.

[0283] 3B-1 and 3B-2 are schematic flowcharts of a sports mode processing method according to an embodiment of the present application. As shown in FIG. 3B-1 and 3B-2, the sports mode processing method referred to in the present application may include S41 to S49.

[0284] In the case where a user plays golf in an area where any hole on a golf course is located:

[0285] S41 to S432 describe a specific implementation process of detecting a first strike action in an area where a hole is located by a wearable device and recording strike data of the first strike action.

[0286] S44 to S49 describe a specific implementation process of detecting remaining strike actions other than the first strike action in the area where the hole is located by the wearable device and recording strike data of the remaining strike actions.

[0287] S41: The wearable device acquires motion data, acoustic data, and positioning data within period 4.

[0288] Based on S341, S342 and S343, the wearable device can obtain the motion data, sonic data and positioning data in real time during the whole process of the user playing golf. Thus, the wearable device can obtain the motion data, sonic data and positioning data within the same period (i.e., period 4), which can help to analyze the complete actions performed by the user when the user plays golf.

[0289] For the specific implementation of Period 4, please refer to the description of Period 1 in the embodiment of S21 shown in FIG. 2B-1. Details will not be described again here.

[0290] S42: The wearable device determines, based on the motion data and the acoustic data within period 4, whether a strike action has been detected.

[0291] If a strike action is detected, the wearable device executes S431. If a strike action is not detected, the wearable device executes S432.

[0292] According to the golf rules, when playing golf, a user may perform at least one of a hand gesture action, a whiff action, or a strike action. Therefore, the wearable device may determine whether a strike action is detected based on the motion data and the sound wave data within the period 4. This may eliminate user errors, i.e., actions caused by a hand gesture or a whiff action.

[0293] The wearable device may determine whether a strike action has been detected in several ways.

[0294] In some embodiments, the wearable device captures acceleration data and angular velocity data within time period 4 based on the acceleration sensor and the gyroscope sensor in the motion sensor, respectively. The wearable device may obtain second waveform signal characteristics based on the acceleration data and the angular velocity data within time period 4. The second waveform signal characteristics may include, but are not limited to, at least one of a number of wave crests, a number of wave troughs, a wave crest value, a wave trough value, or a difference between a wave crest value and a wave trough value.

[0295] The wearable device captures sound wave data within time period 4 based on the sound collector. The wearable device may obtain a first sound signal characteristic based on the sound wave data within time period 4. The first sound signal characteristic may include at least one of a frequency, an energy, or a peak value.

[0296] Thus, the wearable device may determine a second probability based on the second waveform signal feature and the first audio signal feature, where the second probability indicates a probability of a strike action. When the second probability is higher than Threshold 3, the wearable device may determine that a strike action has been detected. When the second probability is less than or equal to Threshold 3, the wearable device may determine that a strike action has not been detected. The specific value of Threshold 3 is not limited in this application.

[0297] In some other embodiments, the wearable device captures acceleration data and angular velocity data within time period 4 based on the acceleration sensor and the gyroscope sensor in the motion sensor, respectively. The wearable device may determine a third waveform signal characteristic based on the motion data and the acoustic data within time period 4. The third waveform signal characteristic may include an upswing displacement and / or a rotation angle.

[0298] The wearable device captures sound wave data within time period 4 based on the sound collector. The wearable device may obtain second sound signal characteristics based on the sound wave data within time period 4. The second sound signal characteristics may include at least one of a frequency, an energy, or a peak value.

[0299] Thus, the wearable device may determine a probability 1 of a hand-waving action, a probability 2 of a whiff action, and a probability 3 of a strike action based on the third waveform signal feature and the second audio signal feature. When the probability 3 is the largest among the probabilities 1, 2, and 3, the wearable device may determine that a strike action is detected. Otherwise, the wearable device may determine that a strike action is not detected.

[0300] In summary, the wearable device can determine whether a strike action is detected based on the motion data and acoustic data within period 4 and rule out abnormal scenarios such as hand gestures and misses.

[0301] Additionally, after determining that a strike action is detected, the wearable device may further analyze whether the swing type of the strike action is a full swing, a half swing, a quarter swing, or a putting.

[0302] S431: When it is determined based on the positioning data and the golf course map data within period 4 that the field type of the strike action is a tee and the strike action is a first strike action, the wearable device records strike data of the strike action and executes S44.

[0303] For the specific implementation process of S431, please refer to the description of the embodiment of S231 shown in FIG. 2B-1, and the details will not be described again here.

[0304] Thus, when the field type of the strike action is a tee and the strike action is determined to be a first strike action, the wearable device may record strike data of the first strike action and execute S44, so that the wearable device may continue to detect the remaining strike actions in the area in which the hole is located and record strike data for the remaining strike actions.

[0305] With respect to the cumulative number of strokes for the hole to which the strike action belongs, since the current total cumulative number of strokes for the hole is 0, the wearable device may update the cumulative number of strokes for the hole to which the strike action belongs to 1.

[0306] Regarding the cumulative number of strokes for the field to which the strike action belongs, since the current total cumulative number of strokes for the field is 0, the wearable device may update the cumulative number of strokes for the field to which the strike action belongs to 1.

[0307] S432: The wearable device updates the motion data, acoustic data, and positioning data within period 4 in S41 until S431 is executed.

[0308] After it is determined that a strike action is not detected, the wearable device may continue to update the motion data, acoustic data, and positioning data within period 4 in S41, so that the wearable device captures motion data, acoustic data, and positioning data corresponding to a complete action to the maximum extent.

[0309] In some embodiments, the wearable device may update the motion data, acoustic data, and positioning data within period 4 in S41 to the motion data, acoustic data, and positioning data within period 4'.

[0310] For specific implementation within period 4', please refer to the description of period 1' in the embodiment of S232 shown in FIG. 2B-1. Here, details will not be described again.

[0311] In summary, the wearable device may detect a first strike action and record strike data of the first strike action.

[0312] S44: The wearable device acquires motion data, acoustic data, and positioning data within a period 5, where period 5 is different from period 4.

[0313] Based on S341, S342 and S343, the wearable device can obtain the motion data, sonic data and positioning data in real time during the entire process of the user playing golf. Thus, the wearable device can obtain the motion data, sonic data and positioning data within the period 5, which helps to analyze the complete actions performed by the user when the user plays golf.

[0314] For the specific implementation of Period 5, please refer to the description of Period 2 in the embodiment of S24 shown in FIG. 2B-1. Here, the details will not be described again.

[0315] S45: The wearable device determines whether a strike action has been detected based on the motion data and the sound wave data within period 5.

[0316] If a strike action is detected, the wearable device executes S461 or S462. If a strike action is not detected, the wearable device executes S49.

[0317] For the specific implementation process of S45, please refer to the description of the embodiment of S42 shown in FIG. 3B-1, and the details will not be described again here.

[0318] S461: When the wearable device determines that the field type of the strike action is one of tee, fairway, or hazard based on the ultrasonic data, positioning data, and golf course map data within period 5, the wearable device determines whether the distance between the strike point of the strike action corresponding to the positioning data within period 5 and the strike point of the strike action with the most recent recording time is greater than threshold 2.

[0319] If the distance is higher than threshold 2, the wearable device executes S471. If the distance is not higher than threshold 2, the wearable device executes S472.

[0320] After it is determined that a strike action is detected, the wearable device may pre-determine whether the field type of the strike action is a bunker or a green based on the acoustic data within period 5, since the acoustic data may represent sound characteristics of various field types.

[0321] When it is determined that the field type of the strike action is a bunker or a green, the wearable device may continue to execute S471 without having to determine the field type of the strike action based on the positioning data within period 5 and the loaded golf course map data.

[0322] When it is determined that the field type of the strike action is not a bunker or a green, the wearable device may continue to determine the field type of the strike action based on the positioning data within the period 5 and the loaded map data of the golf course. For a specific implementation process, please refer to the description of the embodiment of S261 shown in FIG. 2B-2. Details will not be described again here. In addition, the wearable device may further determine the location in the area where the strike action is performed, where the golf course or the hole is located, that is, the strike point of the strike action.

[0323] When the field type of the strike action is any one of tee, fairway, or hazard, the wearable device may determine whether the distance between the strike point of the strike action and the strike point of the strike action with the latest recorded time is greater than Threshold 2. The sequence of swings performed by the user is fully taken into account, thereby avoiding the phenomenon that a blank swing, trial swing, or practice performed by the user is erroneously determined as a strike action.

[0324] The strike action with the most recent recorded time is the strike action whose recorded time is closest to the current time among all strike actions recorded before the current moment.

[0325] For example, it is assumed that the wearable device records a first strike action and a second strike action before the current moment, In this case, after determining that a strike action is detected, the wearable device may determine that the strike action with the most recent recording time is the second strike action.

[0326] The distance between the strike point of the strike action and the strike point of the strike action with the most recent recorded time represents the distance of travel that occurs when the strike action acts on the golf ball, i.e., the strike distance of the strike action.

[0327] The specific value of Threshold 2 is not limited in the present application. For example, Threshold 2 may be set equal to the average distance that a user performs one strike action.

[0328] S471: The wearable device records strike data of the strike action and executes S49.

[0329] When the distance between the strike point of the strike action and the strike point of the strike action with the latest recording time is greater than threshold 2, the wearable device may determine that the golf ball has traveled a long distance after the user performed the strike action. Thus, the wearable device records the strike data of the strike action and executes S49, so that the wearable device can continue to detect the remaining strike actions in the area where the hole is located and record the strike data of the remaining strike actions.

[0330] For the cumulative number of strokes for the hole to which the strike action belongs, since the current total cumulative number of strokes for the hole is N, the wearable device may update the cumulative number of strokes for the hole to which the strike action belongs to N+1, where N is a positive integer.

[0331] For the cumulative number of strokes for the field to which the strike action belongs, since the current total cumulative number of strokes for the field is M, the wearable device may update the cumulative number of strokes for the field to which the strike action belongs to M+1, where M is a positive integer.

[0332] S472: The wearable device displays message 1, where message 1 is used to ask the user whether a strike action is to be performed.

[0333] For the specific implementation process of S472, please refer to the description of the embodiment of S272 shown in FIG. 2B-2, and the details will not be described again here.

[0334] S481: The wearable device executes S471 after receiving an input 5 within a time period 6 indicating that a strike action is to be performed.

[0335] S482: The wearable device executes S49 after receiving input 6 within the length of time 6 indicating that a strike action is not to be performed or when it does not receive user input within the length of time 6.

[0336] For the specific implementation of the time length 6, please refer to the description of the time length 3 in the embodiment of S281 and S282 shown in FIG. 2B-2. For the specific implementation process of S481, please refer to the description of the embodiment of S281 shown in FIG. 2B-2. For the specific implementation process of S482, please refer to the description of the embodiment of S282 shown in FIG. 2B-2. Here, the details will not be described again.

[0337] In summary, based on user input, the wearable device eliminates actions that may be whiffs, test swings, or practice swings and determines that a strike action has been detected.

[0338] S462: When the wearable device determines that the field type of the strike action is green or bunker based on the acoustic data, positioning data, and golf course map data within period 5, the wearable device records strike data of the strike action and executes S49.

[0339] Based on the description of the embodiment of S461, when the field type of the strike action is a green or a bunker, the wearable device may record strike data of the strike action and execute S49, so that the wearable device can continue to detect the remaining strike actions in the area where the hole is located and record the strike data of the remaining strike actions.

[0340] S49: The wearable device updates the motion data, acoustic data and positioning data within period 5 in S44 until the user finishes playing golf in the area where the hole is located and then executes S41, or until the user finishes playing golf on the golf course.

[0341] After it is determined that a strike action is not detected, the wearable device may update the motion data, acoustic data, and positioning data within period 5 in S44, such that the wearable device captures motion data, acoustic data, and positioning data corresponding to the complete action to the maximum extent.

[0342] In some embodiments, the wearable device may update the motion data, acoustic data, and positioning data within period 5 in S44 to the motion data, acoustic data, and positioning data within period 5'.

[0343] For the specific implementation of Period 5', please refer to the description of Period 2' in the embodiment of S29 shown in FIG. 2B-2. Here, the details will not be described again.

[0344] Therefore, when it is determined that the user has finished playing golf in the area where the hole is located, the wearable device may continue to execute S41 without needing to update the motion data, sound wave data, and positioning data within period 5 in S44, so that the wearable device may continue to detect all strike actions in the area where another hole on the golf course is located and record the corresponding strike data of all strike actions until it is determined that the user has finished playing golf on the golf course. Then, the wearable device may turn off the motion sensor, the sound collector, and the positioning sensor to disable the golf mode and terminate the strike action detection performed when the user plays golf.

[0345] Based on the description of the above embodiment, in the process of a user playing golf on a golf course, the wearable device may determine whether a strike action is detected based on the motion data and the positioning data within the same period, thereby eliminating false actions caused by arm swings or whiffs performed by the user. After the wearable device determines that a strike action is detected, when the field type of the strike action is any one of tee, fairway, or hazard, the wearable device may selectively record strike data of the strike action based on the moving distance generated when the strike action acts on the golf ball, thereby eliminating actions generated in abnormal scenarios, such as whiffs, trial swings, or practice. When the field type of the strike action is green or bunker, the wearable device may directly record strike data of the strike action according to the golf rules. Thus, the wearable device may record strike data of all strike actions performed by the user when the user plays golf on a golf course.

[0346] Additionally, after determining that a strike action is detected, the wearable device may further display strike data of the strike action in real time.

[0347] When any strike action is detected, the wearable device may further execute the contents of the embodiment of S29 shown in FIG. 2B-2. Details will not be described again here.

[0348] S36: The wearable device displays sports statistics indicators based on the strike data of all recorded strike actions.

[0349] For the specific implementation of S36, please refer to the description of the embodiment of S16 in the embodiment of FIG. 2A, and the details will not be described again here.

[0350] S37: The wearable device displays the sports strike path based on the strike data of all recorded strike actions.

[0351] Please note that S37 is optional.

[0352] For the specific implementation of S37, please refer to the description of the embodiment of S17 in the embodiment of FIG. 2A, and the details will not be described again here.

[0353] Based on the description of the embodiment in Figures 3A, 3B-1 and 3B-2, taking into full consideration the influencing factors such as golf rules, golf course field type and golf sports characteristics, the wearable device can detect each strike action performed by the user in real time when the user plays golf, and record the strike data of every strike action to accurately display sports statistics indicators. This helps the user to timely recognize the user's swing habits, golf ball landing place, the stability of the user's performance, and the like, and further helps the user to comprehensively evaluate the user's weaknesses and formulate a scientific training plan.

[0354] Based on the description of the above embodiment, with reference to Figures 4A to 4Z, by using an example of a user holding a wearable device and playing golf on a golf course, a specific implementation process of implementing a sports mode processing method by the wearable device after the user plays golf is described in detail below. For ease of explanation, in Figures 4A to 4Z, an example in which the wearable device is the watch in Figure 1 is used for explanation.

[0355] 4A-4Z are schematic diagrams of a human-computer interaction interface according to an embodiment of the present application.

[0356] 1. Activate Golf mode on your watch.

[0357] The watch may display a user interface 21 as shown in Fig. 4A as an example. The user interface 21 may be a home screen of the watch. The user interface 21 may include, but is not limited to, a status bar, a navigation bar, a calendar indicator, a weather indicator, a time indicator, a battery level indicator, a number of application icons, and the like. The application icons may further include an icon 201 of a sports and health application, or may include, for example, an icon of a music application, an icon of a camera application, an icon of a settings application, an icon of a map application, or an icon of a frequently used contacts application.

[0358] After detecting an operation of launching the sports and health application indicated by the user (e.g., the user taps on the icon 201 of the sports and health application on the user interface 21 shown in Fig. 4A), the watch may display the user interface 22 shown in Fig. 4B as an example. The user interface 22 is used to display the page of the sports and health application.

[0359] 4B, the user interface 22 may include, but is not limited to, a golf icon 202, a running icon, a skiing icon, a walking icon, and the like. The golf icon 202 is used to activate a golf mode. In addition, the user interface 22 may further include a control for adding new moves, and the like.

[0360] After detecting an operation to enable golf mode indicated by a user (e.g., the user taps on golf icon 202 on user interface 22 shown in Fig. 4B), the watch may enable golf mode and display user interface 23 shown, for example, in Fig. 4C. User interface 23 is a golf interface that is displayed after golf mode is enabled.

[0361] Tapping on the golf icon 202 on the user interface 22 may be a possible implementation of input 1 or operation 1.

[0362] In addition, after detecting an action to disable golf mode indicated by the user (e.g., the user sliding to the right on user interface 23 shown in FIG. 4C), the watch may disable golf mode and may display user interface 22 shown in FIG. 4B as an example.

[0363] A right sliding action on the user interface 23 may be a possible implementation of the input 3 .

[0364] It should be noted that in addition to the manner of enabling the golf mode in Figures 4A-4C, the watch may display a user interface 31 as shown in Figure 4D as an example. The user interface 31 may be a lock screen page of the watch. The user interface 31 may include, but is not limited to, a time indicator, a battery level indicator, a number of application icons, and the like. The application icons may further include a golf icon 219 in a sports and health application, or may include, for example, a music application icon, a camera application icon, a settings application icon, a maps application icon, or a frequently used contacts application icon.

[0365] After detecting an action to enable golf mode indicated by a user (e.g., the user tapping the golf icon 219 in the sports and health application on the user interface 31 shown in FIG. 4D), the watch may enable golf mode and display the user interface 23 shown in FIG. 4C as an example.

[0366] Tapping on the golf icon 219 in the sports and health application on the user interface 31 may be a possible implementation of input 1 or operation 1.

[0367] Alternatively, the watch may include a button 220 on user interface 31 shown in Figure 4D. After detecting an action indicated by a user to enable golf mode (e.g., the user double-tap button 220), the watch may enable golf mode and display user interface 23 shown, for example, in Figure 4C.

[0368] A double tap on button 220 may be a possible implementation of input 1 or action 1.

[0369] Alternatively, the watch may include a button 220 on a user interface 31 shown in Figure 4D. After detecting a user-indicated action to enable golf mode (e.g., the user double-tap button 220 and then input the utterance "Enable golf mode"), the watch may enable golf mode and display user interface 23 shown, for example, in Figure 4C.

[0370] The action of double tapping button 220 and then inputting the utterance "Enable golf mode" may be a possible implementation of Input 1 or Utterance 1.

[0371] Alternatively, the watch may enable golf mode after detecting an action indicated by the user to enable golf mode (e.g., the user rotating the dial of the watch) and may display user interface 23 shown, for example, in FIG. 4C.

[0372] The operation of turning the dial of a wristwatch may be a possible implementation of input 1 or operation 1.

[0373] In summary, the watch may enable a golf mode.

[0374] Additionally, when golf mode is enabled, the watch may vibrate to notify the user that golf mode has been enabled. Alternatively, the watch may display a message indicating that golf mode has been enabled.

[0375] 2. After the golf mode is enabled, the watch determines whether the watch has loaded map data for golf course a, and after determining that the watch has loaded map data for golf course a, it activates the motion sensor, the sound collector, and the positioning sensor.

[0376] In FIG. 4C, user interface 23 may include control 203 and control 204 .

[0377] Control 203 is used to display the golf course identifier obtained by the watch through positioning or the golf course identifier selected by the user. Control 203 is further used to provide an entry for viewing golf courses recommended by the watch. Control 203 is further used to provide an entry for reselecting the golf course. Control 204 is used to provide an entry for judging the golf course. In addition, user interface 23 may further include control 205. Control 205 is used to provide an entry for exemplars of golf actions.

[0378] 21. The user views the golf courses recommended by the watch or the user reselects the golf course.

[0379] The watch may display user interface 24, as shown for example in FIG. 4E, after detecting an operation indicated by the user to view golf courses recommended by the watch or to reselect a golf course (e.g., the user taps control 203 on user interface 23 shown in FIG. 4C). User interface 24 is used to display identifiers of golf courses recommended by the watch. In addition, user interface 24 is further used to display the loading status of map data of each golf course, for example, loaded or not loaded. In addition, user interface 24 is further used to provide an entry for searching for another golf course.

[0380] 4E, user interface 24 may include control 2061. Control 2061 is used to provide an entry for selecting hole 1 in golf course a. In addition, user interface 24 may further include control 2062 and control 2063. Control 2062 is used to provide an entry for searching for another golf course based on text input. Control 2063 is used to provide an entry for searching for another golf course based on speech input.

[0381] After detecting an action indicated by the user to select hole 1 on golf course a (e.g., the user taps control 2061 or slides to the right on user interface 24 shown in FIG. 4E), the watch may determine that the user has selected hole 1 on golf course a.

[0382] Thus, the watch can determine whether the watch has loaded map data for golf course a.

[0383] The watch may switch from displaying user interface 24 shown in FIG. 4E to displaying user interface 23 shown in FIG. 4C after the watch determines that it has loaded map data for golf course a.

[0384] After determining that the watch does not have map data for golf course a loaded, the watch may load the map data for golf course a via a server communicatively connected to the watch or via the watch.

[0385] The watch may further display, when loading the map data of golf course a, the loading progress of the map data of golf course a being loaded by the watch on the user interface 24 shown in FIG. 4E.

[0386] In addition, after the loading of the map data of golf course a is completed, the watch may update the loading status or prompt of the map data of golf course a on the user interface 24 shown in FIG. 4E.

[0387] In addition, the watch may determine that the user has selected golf course b after detecting an operation of selecting golf course b indicated by the user (for example, the user taps the text "golf course b" on the user interface 24 shown in FIG. 4E). Thus, the watch may determine whether the watch has loaded map data of golf course b. For a specific implementation process, please refer to the above description of determining and identifying whether the map data of golf course a has been loaded by the watch. Details will not be described again here.

[0388] In addition, the watch may determine that the user has selected golf course c after detecting an operation of selecting golf course c indicated by the user (for example, the user taps the control 2062 on the user interface 24 shown in FIG. 4E, inputs the text "golf course c", and then taps the text "golf course c"). Thus, the watch may determine whether the watch has loaded the map data of golf course c. For a specific implementation process, please refer to the above description of determining and identifying whether the map data of golf course a has been loaded by the watch. Details will not be described again here.

[0389] In addition, the watch may determine that the user has selected golf course c after detecting an operation of selecting golf course c indicated by the user (e.g., the user taps the control 2063 on the user interface 24 shown in FIG. 4E, inputs the utterance "golf course c", and then taps the recognized text "golf course c"). Thus, the watch may determine whether the watch has loaded map data of golf course c. For a specific implementation process, please refer to the above description of determining and identifying whether the map data of golf course a has been loaded by the watch. Details will not be described again here.

[0390] For ease of explanation, the present application uses an example in which a user selects hole 1 on golf course a for illustration.

[0391] Thus, after the watch determines that it has loaded map data for golf course a, the watch may switch from displaying user interface 24 shown in Figure 4E to displaying user interface 23 shown in Figure 4C. In this case, an identifier for golf course a is displayed on user interface 23 (if golf course b is determined to have been selected, an identifier for golf course b is displayed on control 203 on user interface 23; or, if golf course c is determined to have been selected, an identifier for golf course c is displayed on control 203 on user interface 23).

[0392] The watch may activate the motion sensor, sound collector, and positioning sensor after detecting an action indicated by the user to view golf course a (e.g., the user tapping control 204 on user interface 23 shown in FIG. 4C).

[0393] In addition, the watch may switch from displaying user interface 23 shown in Figure 4C to displaying user interface 25 shown in Figure 4F. User interface 25 is used to display strike data for each strike action performed when the user plays golf. In addition, the initial state of user interface 25 indicates that the watch has not detected a strike action.

[0394] It should be noted that the present application is not limited to the display style of the user interface 25 .

[0395] 22: The user determines that the golf course acquired by the wristwatch through positioning is golf course a where the user plays golf.

[0396] After detecting an action indicated by a user to identify hole 1 on golf course a (e.g., the user taps control 204 on user interface 23 shown in FIG. 4C), the watch may determine that the user has selected hole 1 on golf course a and determine whether map data for golf course a has been loaded.

[0397] After determining that the watch does not have the map data for golf course a loaded, the watch may load the map data for golf course a through a server communicatively connected to the watch or through the watch.

[0398] When loading the map data of golf course a, the watch may further display the loading progress of the map data of golf course a being loaded by the watch on the user interface 23 shown in FIG. 4C.

[0399] After the watch determines that it has loaded map data for golf course a, the watch may activate the motion sensor, sound collector, and positioning sensor, and may switch from displaying user interface 23 shown in FIG. 4C to displaying user interface 25 shown in FIG. 4F.

[0400] 31: The wristwatch obtains motion data in real time by using a motion sensor.

[0401] After the motion sensor is activated, the watch can capture motion data in real time.

[0402] 32: The watch collects sound wave data in real time by using a sound collector.

[0403] After the sound collector is activated, the watch can acquire sound wave data in real time.

[0404] 33: The wristwatch obtains positioning data in real time by using a positioning sensor.

[0405] After the positioning sensor is activated, the watch can obtain positioning data in real time.

[0406] 4: The watch records strike data for every strike action based on motion data, sonic data, and positioning data.

[0407] For hole 1 in golf course a, the watch can detect each strike action in the area where hole 1 is located in real time, and record the strike data of all strike actions in the area where hole 1 is located.

[0408] 41: First strike action on hole 1

[0409] In the area where the hole 1 in the golf course a is located, the user swings a golf club to play golf. In this case, based on the embodiment of Figures 2A, 2B-1, 2B-2, 3A, 3B-1 and 3B-2, the watch can execute the following process:

[0410] The watch determines whether a strike action is detected based on the motion data acquired within a period of time, or determines whether a strike action is detected based on the motion data and sound wave data acquired within the same length of time, specifically, detects whether an action performed by the user when the user plays golf is a strike action.

[0411] After the watch determines that it has detected a strike action, the watch may determine whether the field type of the strike action is a tee based on positioning data obtained within the same period as the motion data.

[0412] When it is determined that the field type of the strike action is a tee and strike data for the strike action in the area in which hole 1 is located has not been recorded, the watch may determine that the strike action is a first strike action for hole 1 and may record strike data for the first strike action.

[0413] In addition, the watch may switch from displaying user interface 25 shown in Figure 4F to displaying user interface 25 shown in Figure 4G. In this case, user interface 25 is used to display strike data of the first strike action in real time.

[0414] 42: Second strike action on hole 1

[0415] In the area where the hole 1 in the golf course a is located, the user continues to swing the golf club to play golf. In this case, based on the embodiment of Figures 2A, 2B-1, 2B-2, 3A, 3B-1 and 3B-2, the watch can perform the following process.

[0416] The watch determines whether a strike action has been detected based on the motion data acquired within the time period, or determines whether a strike action has been detected based on the motion data and sound wave data acquired within the same time period.

[0417] After determining that a strike action is detected, the watch may determine a field type of the strike action based on acquired positioning data belonging to the same period as the motion data.

[0418] When the watch determines that the field type of the strike action is a bunker, it may display a window 207 shown in Fig. 4H as an example on the user interface 25 shown in Fig. 4G. The window 207 is used to notify the user that the user has entered a bunker and to ask the user whether the detected strike action is a strike action.

[0419] Additionally, window 207 may be further used to provide an entry to skip displaying window 207 after a certain amount of time (e.g., 5 seconds) so that the user can concentrate on golfing without being distracted by window 207.

[0420] In addition, window 207 may also be used to provide an entry to skip displaying window 207 after a bunker is detected again, so that the user may later concentrate on golfing without being distracted by window 207. Typically, the watch may display window 207 after first detecting that the field type of the strike action is a bunker. In addition, the watch may continue to determine that the user did not select to skip displaying window 207 and display window 207 after again detecting that the field type of the strike action is a bunker.

[0421] The presentation format of window 207 may be a possible implementation of message 3.

[0422] After detecting an action indicated by the user confirming that the detected strike action is a strike action (e.g., the user taps a control having the text "OK" in window 207 shown in FIG. 4H or no user input is received within 5 seconds), the watch may determine that the strike action is a second strike action for hole 1 and may record strike data for the second strike action.

[0423] In addition, the watch may switch from displaying user interface 25 shown in Figure 4H to displaying user interface 25 shown in Figure 41. In this case, user interface 25 is used to display strike data of the second strike action in real time.

[0424] Alternatively, the watch may determine that a strike action is not detected after detecting an action indicated by the user that confirms that the detected strike motion is not a strike action (e.g., the user tapping a control having the text "Cancel" in window 207 shown in FIG. 4H), and may continue to display user interface 25 shown in FIG. 4G.

[0425] 43: Third strike action on hole 1

[0426] In the area where the hole 1 in the golf course a is located, the user continues to swing the golf club to play golf. In this case, based on the embodiment of Figures 2A, 2B-1, 2B-2, 3A, 3B-1 and 3B-2, the watch can perform the following process.

[0427] The watch determines whether a strike action has been detected based on the motion data acquired within the time period, or determines whether a strike action has been detected based on the motion data and sound wave data acquired within the same time period.

[0428] After determining that a strike action is detected, the watch may determine a field type of the strike action based on acquired positioning data belonging to the same period as the motion data.

[0429] When the watch determines that the field type of the strike action is fairway, it may determine whether the distance between the strike point of the strike action and the strike point of the second strike action is greater than a threshold value (e.g., threshold 1 or threshold 2 described above).

[0430] When the distance is less than or equal to the threshold value, the watch may preliminarily determine that the strike action is a whiff action, a test swing action, or a practice action. For ease of explanation, an example in which the watch determines that the strike action is a whiff action is used for explanation in this specification.

[0431] In some embodiments, the watch may display window 208 shown in Figure 4J on user interface 25 shown by way of example in Figure 4I. Window 208 is used to inform the user that the strike distance of the strike action is close and that no strike data will be recorded for the strike action.

[0432] In addition, window 208 may also be used to provide an entry to skip displaying window 208 after strike distance is again detected as close, so that the user can concentrate on golfing without being distracted by window 208. Typically, the watch may display window 208 after the first time that strike distance is detected as close. In addition, the watch may determine that the user has not selected to skip displaying window 208 and continue to display window 208 after strike distance is again detected as close.

[0433] The presentation format of window 208 may be a possible implementation of message 1.

[0434] Thus, after a certain amount of time (e.g., 5 seconds) has elapsed or after a user action is received selecting to skip displaying window 208, the watch may continue to display user interface 25 shown in FIG. 4I.

[0435] In some other embodiments, the watch may display a window 209, shown by way of example in Fig. 4K, on ​​the user interface 25 shown in Fig. 4I. Window 209 is used to inform the user that the strike action is a whiff action and that no strike data for the strike action will be recorded.

[0436] In addition, window 209 is further used to provide an entry to skip displaying window 209 after a whiff action is detected again, so that the user can concentrate on golfing without being distracted by window 209. Typically, the watch may display window 209 after detecting a whiff action for the first time. In addition, the watch may determine that the user has not selected to skip displaying window 209 and continue to display window 209 after detecting a whiff action again.

[0437] The presentation format of window 209 may be another possible implementation of message 1.

[0438] Thus, after a certain amount of time (e.g., 5 seconds) has elapsed or after a user action is received selecting to skip displaying window 209, the watch may continue to display user interface 25 shown in FIG. 4I.

[0439] In some other embodiments, the watch may display a window 210, shown by way of example in Fig. 4L, on the user interface 25 shown in Fig. 4I. Window 210 is used to inform the user that the strike action is a whiff action and to ask the user whether to record strike data for the strike action.

[0440] Additionally, window 210 may be further used to provide an entry to skip displaying window 210 after a certain amount of time (e.g., 5 seconds) has elapsed, allowing the user to concentrate on golfing without being distracted by window 210.

[0441] The presentation format of window 210 may be another possible implementation of message 1.

[0442] After detecting an operation indicated by the user to record strike data of a strike action (e.g., a control having the text "Record" in window 210 shown in FIG. 4L is tapped), the watch may determine that the strike action is not a whiff action, may determine that the strike action is a third strike action for hole 1, and may record the strike data of the third strike action.

[0443] In addition, the watch may further, for example, switch from the user interface 25 shown in Fig. 4L to the user interface 25 shown in Fig. 4M, in which case the user interface 25 is used to display the strike data of the third strike action in real time.

[0444] Alternatively, after detecting an operation indicated by the user to skip recording strike data for a strike action (e.g., a control having the text "Cancel" in window 210 shown in FIG. 4L is tapped or no user input is received within 5 seconds), the watch may determine that the strike action is a whiff action, not record strike data for the strike action, and continue to display user interface 25 shown in FIG. 4I.

[0445] When the distance is greater than the threshold, the watch may determine that a strike action is detected. Thus, the watch may determine that the strike action is a third strike action for hole 1 and may record strike data for the third strike action.

[0446] In addition, the watch may, for example, switch from the user interface 25 shown in Figure 4I to the user interface 25 shown in Figure 4M, in which case the user interface 25 is used to display the strike data of the third strike action in real time.

[0447] 44: 4th strike action on hole 1

[0448] In the area where the hole 1 in the golf course a is located, the user continues to swing the golf club to play golf. In this case, based on the embodiment of Figures 2A, 2B-1, 2B-2, 3A, 3B-1 and 3B-2, the watch can perform the following process.

[0449] The watch determines whether a strike action has been detected based on the motion data acquired within the time period, or determines whether a strike action has been detected based on the motion data and sound wave data acquired within the same time period.

[0450] After determining that a strike action is detected, the watch may determine a field type of the strike action based on acquired positioning data belonging to the same period as the motion data.

[0451] When the watch determines that the field type of the strike action is a hazard where a pond is located, it may display a window 211 as shown in Fig. 4N for example on the user interface 25 shown in Fig. 4M. The window 211 is used to inform the user that the user has entered a pond and to inform the user that a strike point of the strike action has been detected, so that the user can select an accurate strike point for the strike action in a timely manner, and the watch can correct the strike point of the strike action in a timely manner.

[0452] Additionally, window 211 may be further used to provide an entry to skip displaying window 211 after a certain amount of time (e.g., 5 seconds) so that the user can concentrate on golfing without being distracted by window 211.

[0453] The expression format of window 211 may be a possible implementation of message 4.

[0454] After detecting an operation of selecting a strike point for a strike action indicated by a user (e.g., tapping a control having the text "Select" in window 211 shown in Fig. 4N), the watch may display user interface 26 as shown in Fig. 4O for example. User interface 26 is used to display area 300 in which hole 1 in golf course a is located.

[0455] Additionally, the user interface 26 is further used for zooming in or out on the area 300 in which hole 1 on golf course a is located, obtaining the current location of the watch through positioning, providing entries for performing searches based on speech input in the area 300 in which hole 1 on golf course a is located, and the like.

[0456] In Fig. 4O, the user interface 26 may include an area 300 in which a hole 1 in the golf course a is located. In addition, the user interface 26 may further include a control 212, a control 213, and a control 214. The control 212 is used to provide an entry for performing a search based on a speech input in the area 300 in which a hole 1 in the golf course a is located. The control 213 is used to obtain the current location of the watch through positioning. The control 214 is used to zoom in or out of the area 300 in which a hole 1 in the golf course a is located.

[0457] The area 300 in which hole 1 in golf course a is located may include a tee 301, a fairway 302, a bunker 303, a green 304, a hazard in which trees are located 305, a hazard in which a pond is located 306, hole 1 307, and the like. The above-mentioned fairway 302 is the field between the tee 301 and hole 1 307 where a user can play golf.

[0458] 4O, the user interface 26 may further include a location A1, which indicates a strike point of the strike action.

[0459] According to the golf rules, the user is not allowed to execute a swing in a hazard where a pond is located. Therefore, after detecting an operation of selecting a strike point by the user for a strike action indicated by the user (e.g., the location A1 on the user interface 26 shown in FIG. 4O is moved), the watch may display the user interface 26 shown in FIG. 4P as an example. The user interface 26 may include a location A2. The location A2 indicates the strike point of the strike action selected by the user.

[0460] After detecting an operation indicated by the user to re-determine that the strike point of the strike action is location A2 (e.g., tapping a control to confirm location A2 on user interface 26 shown in FIG. 4P), the watch may determine that the strike action is a fourth strike action for hole 1 and may record strike data for the fourth strike action.

[0461] In addition, the watch may display a user interface 25 as shown in Fig. 4Q as an example. In this case, the user interface 25 is used to display the strike data of the fourth strike action in real time.

[0462] Please note that in this application, a control for confirming the location A2 on the user interface 26 shown in Fig. 4P is not shown. The above-mentioned control may be displayed in the form of a window, a message, or the like, which is not limited in this application.

[0463] In addition, the watch may alternatively display user interface 26 as shown in FIG 4P for example after detecting an operation indicated by a user to select a strike point for a strike action (e.g., tapping on a control having the text "Select" in window 211 shown in FIG 4N), depending on the accuracy of the positioning sensor used by the watch.

[0464] Alternatively, after detecting an action indicated by the user to skip selecting a strike point for a strike action (e.g., tapping a control having the text "Cancel" in window 211 shown in FIG. 4N or no user input being received within 5 seconds), the watch may determine that the strike action is a fourth strike action for hole 1 and record strike data for the fourth strike action.

[0465] Thus, the watch may display the user interface 25 shown in Fig. 4Q as an example. In this case, the user interface 25 is used to display the strike data of the fourth strike action in real time.

[0466] 45: 5th strike action on hole 1

[0467] In the area where the hole 1 in the golf course a is located, the user continues to swing the golf club to play golf. In this case, based on the embodiment of Figures 2A, 2B-1, 2B-2, 3A, 3B-1 and 3B-2, the watch can perform the following process.

[0468] The watch determines whether a strike action has been detected based on the motion data acquired within the time period, or determines whether a strike action has been detected based on the motion data and sound wave data acquired within the same time period.

[0469] After determining that a strike action is detected, the watch may determine a field type of the strike action based on acquired positioning data belonging to the same period as the motion data.

[0470] When the watch determines that the field type of the strike action is fairway, it may determine whether the distance between the strike point of the strike action and the strike point of the third strike action is greater than a threshold value (e.g., threshold 1 or threshold 2 described above).

[0471] When the distance is greater than the threshold, the watch may determine that a strike action is detected. Thus, the watch may determine that the strike action is a fifth strike action for hole 1 and may record strike data for the fifth strike action.

[0472] In addition, the watch may, for example, switch from the user interface 25 shown in Fig. 4Q to the user interface 25 shown in Fig. 4R, in which case the user interface 25 is used to display strike data for the fifth strike action in real time.

[0473] 46: 6th strike action on hole 1

[0474] In the area where the hole 1 in the golf course a is located, the user continues to swing the golf club to play golf. In this case, based on the embodiment of Figures 2A, 2B-1, 2B-2, 3A, 3B-1 and 3B-2, the watch can perform the following process.

[0475] The watch determines whether a strike action has been detected based on the motion data acquired within the time period, or determines whether a strike action has been detected based on the motion data and sound wave data acquired within the same time period.

[0476] After determining that a strike action is detected, the watch may determine a field type of the strike action based on acquired positioning data belonging to the same period as the motion data.

[0477] When the watch determines that the field type of the strike action is green, it may determine that the strike action is a sixth strike action for hole 1 and may record strike data for the sixth strike action.

[0478] In addition, the watch may further display, by way of example, the user interface 25 shown in Figure 4R and the window 215 shown in Figure 4S. Window 215 is used to notify the user when the user has entered the green and record the swing type of the strike action as a putting.

[0479] Additionally, window 215 may be further used to provide an entry to skip displaying window 215 after a certain amount of time (e.g., 5 seconds) has elapsed, allowing the user to concentrate on golfing without being distracted by window 215.

[0480] In addition, window 215 may also be used to provide an entry to skip displaying window 215 after a green is detected again, so that the user may subsequently concentrate on golfing without being distracted by window 215. Typically, the watch may display window 215 after first detecting that the strike action field type is a green. In addition, the watch may continue to determine that the user did not select to skip displaying window 215 and display window 215 after again detecting that the strike action field type is a green.

[0481] The presentation format of window 215 may be a possible implementation of message 2.

[0482] Thus, after a certain amount of time (e.g., 5 seconds) has elapsed or after a user action is received selecting to skip displaying window 215, the watch may switch from displaying user interface 25 shown in Figure 4S to displaying user interface 25 shown in Figure 4T. In this case, user interface 25 is used to display strike data for the sixth strike action in real time.

[0483] In summary, when the watch determines that the golf ball enters hole 1 307 after a sixth strike action has acted on the golf ball, it may determine that the user has finished playing golf in the area in which hole 1 of golf course a is located, and that the watch has recorded strike data for the six strike action performed by the user in the area in which hole 1 of golf course a is located.

[0484] In addition, the watch may vibrate and / or generate a beep to notify the user when it displays window 207 shown in FIG. 4H, window 208 shown in FIG. 4J, window 209 shown in FIG. 4K, window 210 shown in FIG. 4L, window 211 shown in FIG. 4N, or window 215 shown in FIG. 4S.

[0485] It can be seen that after the watch detects that the user switches from one field type to another, it can notify the user of the field type change in a timely manner using window 207 shown in FIG. 4H, window 211 shown in FIG. 4N, or window 215 shown in FIG. 4S, and can display personalized reminder information based on the different field types.

[0486] In addition, when the watch detects an abnormal scenario in which the strike action is a hand gesture, a whiff, a test swing, a practice swing, or the like, it may notify the user in a timely manner or ask the user whether the strike action is to be performed using window 208 shown in FIG. 4J, window 209 shown in FIG. 4K, or window 210 shown in FIG. 4L.

[0487] The above expression format may be a possible implementation of message 1.

[0488] Based on the above description, the watch may detect and record each strike action performed by the user in the area where the remaining holes on golf course a are located in the same or similar manner until the user finishes playing golf on golf course a, and record strike data for each strike action performed by the user in the area where the remaining holes on golf course a are located.

[0489] 5. The watch displays sports statistics indicators and sports strike paths based on the strike data of all recorded strike actions.

[0490] After the user finishes playing golf on golf course a, the watch may obtain a sports statistics indicator and a sports strike path based on the strike data of each strike action in the area where all the holes on golf course a are located.

[0491] In addition, the watch may display a user interface 27, shown by way of example in Figure 4U. User interface 27 is used to provide entries for displaying sports statistic indicators and sports strike paths.

[0492] The user interface 27 may include a control 216 and a control 217. The control 216 is used to provide an entry for displaying sports statistics indicators. The control 217 is used to provide an entry for displaying a golf strike path 308 for hole 1 on golf course a.

[0493] After detecting an operation to view the sports statistics indicators indicated by the user (e.g., tapping the control 216 on the user interface 27 shown in FIG. 4U), the watch may display the user interface 28 shown in FIG. 4V as an example. The user interface 28 is used to display the sports statistics indicators.

[0494] In addition, the user interface 28 is further used to edit the strike data of each strike action, e.g., to provide entries for modifying, deleting or adding strike data; further used to display, distinguishing using color or another scheme, strike data of strike actions that need to be confirmed by the user and strike data of strike actions that do not need to be confirmed by the user; and further used to display data such as heart rate and energy generated in the process of playing golf by the user on golf course a.

[0495] After detecting an action of viewing a sports statistics indicator indicated by a user (e.g., tapping control 217 on user interface 27 shown in FIG. 4U), the watch may display golf strike path 308 for hole 1 shown in FIG. 4W as an example on user interface 26 shown in FIG. 4O; or may display golf strike path 308 for hole 1 shown in FIG. 4X as an example on user interface 26 shown in FIG. 4P.

[0496] Figure 4Y is a schematic enlarged view of the area 300 in Figure 4W in which hole 1 is located. As shown in Figure 4Y, the watch may display a golf strike path 308 for hole 1 in the area 300 in which hole 1 is located.

[0497] Figure 4Z is a schematic expanded view of the area 300 in Figure 4X in which hole 1 is located. As shown in Figure 4Z, the watch may display a golf strike path 308 for hole 1 in the area 300 in which hole 1 is located.

[0498] In Figures 4Y and 4Z, in area 300 in which hole 1 is located, six strike points corresponding to six strike actions respectively are marked, for example, by numbers 1 to 6 and circles, and the strike point of the first strike action and the strike point of the sixth strike action are marked, for example, by pentagrams.

[0499] 4Y, the window 218 is further marked in the area 300 where hole 1 is located. The window 218 indicates that the strike point of the fourth strike action in the golf strike path 308 can be modified, so that the user can change the strike point of the strike action in time.

[0500] After detecting an operation indicated by the user to re-determine the strike point for the fourth strike action (e.g., the strike point of the fourth strike action on the user interface 26 shown in FIG. 4W is moved), the watch may switch from displaying the user interface 26 shown in FIG. 4W to displaying the user interface 26 shown in FIG. 4X, so that the watch can record the strike point obtained through the movement by the user as the strike point of the fourth strike action.

[0501] In addition to the above-mentioned manner of searching for a sports strike path, it is noted that when the watch receives a text or speech input by the user such as "View golf strike path for hole 1," the watch may display the user interface 26 shown in FIG. 4W or FIG. 4X as an example, so that the user can timely recognize the golf strike path 308 for hole 1.

[0502] In addition, the watch may transmit the sports statistic indicators and sports strike paths to an electronic device communicatively connected to the watch so that the electronic device can also display the sports statistic indicators and sports strike paths.

[0503] For example, the present application provides a sports mode processing method.

[0504] Based on the above description, and referring to FIG. 5, the sports mode processing method provided in the present application will be described in detail.

[0505] FIG. 5 is a schematic flow chart of a sports mode processing method according to an embodiment of the present application.

[0506] As shown in FIG. 5, the sports mode processing method in the present application is applied to a wearable device, and may include S101 to S103.

[0507] S101: After receiving a first instruction, the wearable device determines whether the wearable device has loaded map data of a first sports field, where the first instruction indicates that a user is playing a target sport, and the first sports field is the sports field where the user plays the target sport.

[0508] For a specific implementation of the wearable device, please refer to the description of the wearable device 100 in the embodiment of FIG. 1. For example, the target sport is golf. For a specific implementation of receiving the first instruction by the wearable device, please refer to the above description of enabling the golf mode by the wearable device when the user plays golf. For a specific implementation of the first sports field, please refer to the above description of the golf course. For a specific implementation of the map data of the first sports field, please refer to the above description of the map data of the golf course. For a specific implementation of S101, please refer to the description of determining whether the wearable device has loaded the map data of the golf course by the wearable device after the golf mode is enabled in S12 in the embodiment of FIG. 2A and S32 in the embodiment of FIG. 3A. Here, details will not be described again.

[0509] S102: After the wearable device determines that the wearable device has loaded map data of the first sports field, it acquires motion data and positioning data, where the motion data represents the action characteristics of the user when the user plays the target sport, and the positioning data represents the location of the user's action and the location of the wearable device when the user plays the target sport.

[0510] For a specific implementation of the motion data, please refer to the above description of the motion data obtained by using the motion sensor. For a specific implementation of the motion sensor, please refer to the above description of the motion sensor. For a specific implementation of the positioning data, please refer to the above description of the positioning sensor. For a specific implementation of the positioning sensor, please refer to the above description of the positioning sensor. For a specific implementation of S102, please refer to the description of S141 and S142 in the embodiment of FIG. 2A and S341 and S342 in the embodiment of FIG. 3A. Here, details will not be described again.

[0511] S103: The wearable device displays statistical data about the user's playing of the target sport based on the motion data, the positioning data and the map data of the first sports field.

[0512] The statistical data may include sports statistical data and sports strike paths. For specific implementations of the sports statistical data and sports strike paths, please refer to the above description of the sports statistical data and sports strike paths. For specific implementations of S103, please refer to the description of S16 in the embodiment of FIG. 2A and S36 in the embodiment of FIG. 3A. For specific implementations of S103, please refer to the description of S16 and S17 in the embodiment of FIG. 2A and S36 and S37 in the embodiment of FIG. 3A. Here, details will not be described again.

[0513] According to the sports mode processing method of the present application, in the sports mode of the target sport, after receiving an instruction to instruct the user to play the target sport, the wearable device may determine whether the wearable device has loaded the map data of the sports field where the user plays the target sport. After determining that the wearable device has loaded the map data of the sports field, the wearable device may obtain the motion data and positioning data generated when the user plays the target sport, where the motion data may represent the action features of the user in the case where the user plays the target sport, and the positioning data may represent the location of the user's action and the location of the wearable device in the case where the user plays the target sport. The wearable device may display statistical data about the user's play of the target sport based on the motion data, the positioning data, and the map data of the sports field. Thus, the wearable device may display the statistical data to help instruct the user to review and analyze the target sport, thereby helping the user to recognize the user's sports habits, sports status, the stability of the user's performance, and the like.

[0514] At S101, the wearable device may receive a first instruction and may determine that the user is playing a target sport.

[0515] The specific implementation of the first instruction is not limited in this application.

[0516] With reference to several specific embodiments, the following will describe in detail a specific implementation of the first instruction by using an example in which the target sport is golf.

[0517] In some embodiments, the wearable device displays a first control, where the first control indicates that a user is playing a target sport, and the wearable device thus receives the first instruction after receiving a first action performed by the user on the first control.

[0518] For a specific implementation of the first control, please refer to the description in which the touch component 1 is a software control displayed on the user interface of the wearable device in manner 1 at S11 in the embodiment of Fig. 2A. For a specific implementation of the first operation, please refer to the description of the operation 1 performed on the touch component 1 in manner 1 at S11 in the embodiment of Fig. 2A. Thus, the first instruction is a corresponding instruction for enabling the golf mode in response to the operation 1.

[0519] In some other embodiments, when the wearable device includes a hardware button, the wearable device receives a second action performed by the user on the hardware button, where the second action indicates that the user is playing the target sport, and the wearable device thus receives the first instruction after receiving the second action.

[0520] For a specific implementation of the hardware button, please refer to the description in which the touch component 1 is a button disposed on the wearable device in manner 1 at S11 in the embodiment of FIG. 2A. For a specific implementation of the second operation, please refer to the description of the operation 1 performed on the touch component 1 in manner 1 at S11 in the embodiment of FIG. 2A. Thus, the first instruction is a corresponding instruction for enabling the golf mode in response to the operation 1.

[0521] In some other embodiments, the wearable device receives a first input, where the first input indicates that a user is playing the target sport, and the wearable device thus receives the first instruction after receiving a third action performed by the user in response to the first input.

[0522] For a specific implementation of the first input, please refer to the description of input 1 being utterance 1 in method 1 at S11 in the embodiment of Fig. 2A. For a specific implementation of the third operation, please refer to the description of determining that utterance 1 is used to trigger the wearable device to enable the golf mode in method 1 at S11 in the embodiment of Fig. 2A. Thus, the first instruction is a corresponding instruction for enabling the golf mode in response to utterance 1.

[0523] In some other embodiments, referring to the description of method 2 at S11 in the embodiment of FIG. 2A , the wearable device may alternatively receive a corresponding first instruction to enable golf mode when it determines that the motion data indicates that the user is playing golf.

[0524] In some other embodiments, referring to the description of method 3 at S11 in the embodiment of FIG. 2A, the wearable device may alternatively use instruction 1 sent to the wearable device by an electronic device communicatively connected to the wearable device as the first instruction.

[0525] In summary, when the wearable device receives the first instruction, the wearable device may determine that the user is playing a target sport. For example, the target sport is golf. The wearable device may determine that the user is playing golf and may enable a golf mode.

[0526] In S101, the wearable device may determine whether the wearable device has loaded map data of the first sports field in several ways.

[0527] In some embodiments, the wearable device determines the first sports field after receiving the first instruction, and then determines whether the wearable device has loaded map data for the first sports field based on the identifier of the first sports field.

[0528] The identifier of the first sports field may be represented by a name, a number, or the like. For specific implementation of the above steps, please refer to the description of the wearable device determining whether the wearable device has loaded the map data of the golf course in S12 in the embodiment of FIG. 2A and S32 in the embodiment of FIG. 3A after the golf mode is enabled. Here, details will not be described again.

[0529] In some embodiments, the wearable device displays a second control and a third control on the first user interface, where the second control indicates a second sports field, the second sports field being a sports field obtained through positioning by the wearable device based on a location of the wearable device at the first sports field, and the second control is further used to select the sports field and the third control is used to review the sports field.

[0530] For a specific implementation of the first user interface, please refer to the description of the user interface 23 in the embodiment of Fig. 4C. For a specific implementation of the second control, please refer to the description of the control 203 in the embodiment of Fig. 4C. For a specific implementation of the third control, please refer to the description of the control 204 in the embodiment of Fig. 4C. For a specific implementation of the second sports field, please refer to the description of the course 1 in the golf course a displayed in the control 203 in the embodiment of Fig. 4C. Here, the details will not be described again.

[0531] When the user determines that the second sports field acquired by the wearable device through positioning is the sports field where the user plays the target sport, the wearable device determines the second sports field as the first sports field after receiving a fourth operation performed by the user on the third control.

[0532] For specific implementation of the fourth operation, please refer to the description of the operation of tapping the control 204 on the user interface 23 in the embodiment of Fig. 4C. For specific implementation of the above-mentioned steps, please refer to the description of determining that the user has selected the hole 1 in the golf course a after the watch detects the operation of tapping the control 204 on the user interface 23 in the embodiment of Fig. 4C. Here, the details will not be described again.

[0533] When the user reselects the sports field, the wearable device displays a fourth control on the second user interface after receiving a fifth operation performed by the user on the second control, where the fourth control is used to search for the sports field.

[0534] For a specific implementation of the fifth operation, please refer to the description of the operation of tapping the control 203 on the user interface 23 in the embodiment of Fig. 4C. For a specific implementation of the second user interface, please refer to the description of the user interface 24 in the embodiment of Fig. 4E. For a specific implementation of the fourth control and the above-mentioned steps, please refer to the description of displaying the user interface 24 in Fig. 4E after the wristwatch detects the operation of tapping the control 203 on the user interface 23 in the embodiment of Fig. 4C. Here, the details will not be described again.

[0535] A second input is received after a sixth operation performed by the user on the fourth control is received, where the second input indicates a third sports field. After a seventh operation performed by the user on the second input is received, it is determined that the user has selected the third sports field, and the second user interface is switched to and displayed as the first user interface, where the second control on the first user interface indicates the third sports field.

[0536] For a specific implementation of the sixth operation, please refer to the description of the operation of tapping the control 2062 on the user interface 24 in the embodiment of FIG. 4E. For a specific implementation of the second input, please refer to the description of tapping the control 2062 on the user interface 24 and then performing the operation of inputting the text "golf course c" in the embodiment of FIG. 4E. For a specific implementation of the third sports field, please refer to the description of the golf course c in the embodiment of FIG. 4E. For a specific implementation of the seventh operation, please refer to the description of inputting the text "golf course c" and then tapping the text "golf course c" in the embodiment of FIG. 4E. For a specific implementation of the above-mentioned steps, please refer to the description of the watch determining that the user has selected golf course c after detecting the operation of tapping the control 2062 on the user interface 24, inputting the text "golf course c", and then tapping the text "golf course c" in the embodiment of FIG. Here, details will not be described again.

[0537] Alternatively, for the specific implementation of the sixth operation, please refer to the description of the operation of tapping the control 2063 on the user interface 24 in the embodiment of FIG. 4E. For the specific implementation of the second input, please refer to the description of tapping the control 2063 on the user interface 24 and then performing the operation of inputting the utterance "golf course c" in the embodiment of FIG. 4E. For the specific implementation of the third sports field, please refer to the description of golf course c in the embodiment of FIG. 4E. For the specific implementation of the seventh operation, please refer to the description of inputting the utterance "golf course c" and then tapping the recognized text "golf course c" in the embodiment of FIG. 4E. For the specific implementation of the above-mentioned steps, please refer to the description of the embodiment of FIG. 4E in which the watch detects the operation of tapping the control 2063 on the user interface 24, inputting the utterance "golf course c", and then tapping the recognized text "golf course c", and then determines that the user has selected golf course c, and switches from the display of the user interface 24 shown in FIG. 4E to the display of the user interface 23 shown in FIG. 4C. Here, details will not be described again.

[0538] After an eighth operation performed on the user with respect to the third control is received, the third sports field is determined as the first sports field.

[0539] When the third sports field selected by the user is "golf course a", for the specific implementation of the eighth operation, please refer to the description of the operation of tapping the control 204 on the user interface 23 in the embodiment of Fig. 4C. For the specific implementation of the above-mentioned steps, please refer to the description of determining that the user has selected hole 1 in golf course a after the watch detects the operation of tapping the control 204 on the user interface 23 in the embodiment of Fig. 4C. Here, the details will not be described again.

[0540] In some embodiments, the wearable device switches from the first user interface to display a third user interface after the wearable device determines that map data for the first sports field has been loaded, where the third user interface is used to display data generated as the user plays the target sport.

[0541] For a specific implementation of the first user interface, please refer to the description of the user interface 23 in the embodiment of Fig. 4C. For a specific implementation of the third user interface, please refer to the description of the user interface 25 in the embodiment of Fig. 4F. For a specific implementation of the above-mentioned steps, please refer to the above-mentioned description of the watch switching from displaying the user interface 23 shown in Fig. 4C to displaying the user interface 25 shown in Fig. 4F. Details will not be described again here.

[0542] In some other embodiments, after determining that the wearable device does not have map data for the first sports field loaded, the wearable device retrieves map data for the first sports field from an electronic device or a server communicatively connected to the wearable device; and the wearable device loads the map data for the first sports field based on the retrieved map data for the first sports field.

[0543] For specific implementation of the above steps, please refer to the above description of S12 in the embodiment of Fig. 2A and S32 in the embodiment of Fig. 3A that after the wearable device determines that the wearable device has not loaded the golf course map data, the wearable device may load the golf course map data in multiple ways, and the details will not be described again here.

[0544] In some embodiments, at S102, when the target sport is golf and the map data of the first sports field indicates a hole identifier and a field type for each location in the first sports field, the wearable device may acquire motion data and positioning data in multiple implementations.

[0545] In some embodiments, the wearable device activates the motion sensor and the positioning sensor after determining that the wearable device has loaded the map data of the first sports field, so that the wearable device obtains motion data by using the motion sensor and obtains positioning data by using the positioning sensor.

[0546] For specific implementation of the above steps, please refer to the above description of S13, S141 and S142 in the embodiment of Figure 2A, and the details will not be described again here.

[0547] In some other embodiments, the wearable device activates the motion sensor, the positioning sensor, and the sound collector after determining that the wearable device has loaded map data of the first sports field, and thus the wearable device obtains motion data by using the motion sensor, obtains positioning data by using the positioning sensor, and obtains sound wave data by using the sound collector.

[0548] For specific implementation of the above steps, please refer to the above description of S33, S341, S342 and S343 in the embodiment of Figure 3A, and the details will not be described again here.

[0549] In some embodiments, the wearable device records strike data of all strike actions based on the motion data, the positioning data, and the map data of the first sports field, where the strike data of each strike action includes at least a recording time, a cumulative number of strokes for the hole to which the strike action belongs, a swing type, a hole identifier, a field type, a strike point, and a cumulative number of strokes for the field to which the strike action belongs. Thus, the wearable device displays statistical data based on the strike data of all strike actions, where the statistical data includes at least the strike data of each strike action, a total cumulative number of strokes for each field type, a total cumulative number of strokes for each hole, a stroke distribution for each swing type, and a total cumulative number of strokes for all holes.

[0550] For specific implementation of the above-mentioned steps, please refer to the above description of S15 and S16 in the embodiment of Fig. 2A. Alternatively, for specific implementation of the above-mentioned steps, please refer to the above description of S35 and S36 in the embodiment of Fig. 3A. Here, details will not be described again.

[0551] In some embodiments, the wearable device acquires the motion data and the positioning data within the same time period, and the wearable device determines whether the wearable device detects a strike action based on the motion data.

[0552] After the wearable device determines that it has detected a strike action, the wearable device records strike data of the strike action based on the positioning data and the map data of the first sports field when it determines that the field type of the strike action is a tee and the strike action is a first strike action.

[0553] Alternatively, after the wearable device determines that the wearable device detects a strike action, when the wearable device determines that the field type of the strike action is one of a tee, a hole, or a hazard, and the strike action is not a first strike action, determine whether a distance between the strike point of the strike action and the strike point of the strike action having the latest recorded time is greater than a first threshold based on the positioning data and the map data of the first sports field; when the distance is greater than the first threshold, determine whether the strike action is a first strike action. record strike data of the strike action; or display first information when the distance is less than or equal to a first threshold, where the first information is used to query a user whether a strike action will be performed; record strike data of the strike action when a third input is received within the first length of time and the third input indicates that a strike action will be performed; or update the motion data and positioning data when a fourth input is received within the first length of time and the fourth input indicates that a strike action will not be performed or when no user input is received after the first length of time has elapsed.

[0554] Alternatively, after the wearable device determines that it has detected a strike action, the wearable device records strike data of the strike action based on the positioning data and the map data of the first sports field when it determines that the field type of the strike action is a green or a bunker.

[0555] For a specific implementation of the first threshold, please refer to the above-mentioned description of threshold 1 mentioned in S261 in the embodiment of FIG. 2B-2. For a specific implementation of the first information, please refer to the above-mentioned description of message 1 mentioned in S272 in the embodiment of FIG. 2B-2. For a specific implementation of the first time length, please refer to the above-mentioned description of time length 3 mentioned in S281 and S282 in the embodiment of FIG. 2B-2. For a specific implementation of the third input, please refer to the above-mentioned description of input 5 mentioned in S281 in the embodiment of FIG. 2B-2. For a specific implementation of the fourth input, please refer to the above-mentioned description of input 6 mentioned in S282 in the embodiment of FIG. 2B-2. For a specific implementation of the above-mentioned steps, please refer to the above-mentioned description of S21 to S29 in the embodiments of FIG. 2B-1 and FIG. 2B-2. Here, the details will not be described again.

[0556] Alternatively, for a specific implementation of the first threshold, please refer to the above-mentioned description of threshold 2 mentioned in S461 in the embodiment of FIG. 3B-2. For a specific implementation of the first information, please refer to the above-mentioned description of message 1 mentioned in S472 in the embodiment of FIG. 3B-2. For a specific implementation of the first time length, please refer to the above-mentioned description of time length 6 mentioned in S481 and S482 in the embodiment of FIG. 3B-2. For a specific implementation of the third input, please refer to the above-mentioned description of input 5 mentioned in S481 in the embodiment of FIG. 3B-2. For a specific implementation of the fourth input, please refer to the above-mentioned description of input 6 mentioned in S482 in the embodiment of FIG. 3B-2. For a specific implementation of the above-mentioned steps, please refer to the above-mentioned description of S41 to S49 in the embodiments of FIG. 3B-1 and FIG. 3B-2. Here, the details will not be described again.

[0557] In the present application, the wearable device may determine whether the wearable device has detected a strike action based on the motion data in a number of ways.

[0558] In some embodiments, when the motion data includes acceleration data and angular velocity data within the same time period, the wearable device determines a first waveform signal characteristic based on the acceleration data and angular velocity data within the same time period, where the first waveform signal characteristic includes at least one of a quantity of wave crests, a quantity of wave troughs, a value of the wave crest, a value of the wave trough, or a difference between the value of the wave crest and the value of the wave trough. The wearable device determines a first probability based on the first waveform signal characteristic, where the first probability indicates a probability of a strike action. When the first probability is higher than a second threshold, the wearable device determines that the wearable device has detected a strike action. When the first probability is less than or equal to the second threshold, the wearable device updates the acceleration data and angular velocity data within the same time period.

[0559] For specific implementation of the above steps, please refer to the above description of S22 in the embodiment of FIG. 2B-1, and details will not be described again here.

[0560] In some other embodiments, when the motion data includes acceleration data and angular velocity data within the same period, the wearable device determines a second waveform signal feature based on the acceleration data and angular velocity data within the same period, where the second waveform signal feature includes at least one of a number of wave crests, a number of wave troughs, a value of a wave crest, a value of a wave trough, or a difference between a value of a wave crest and a value of a wave trough. The wearable device obtains sound wave data belonging to the same period as the acceleration data and the angular velocity data by using a sound collector. The wearable device determines a first audio signal feature based on the sound wave data, where the first audio signal feature includes at least one of a frequency, an energy, or a value of a crest. The wearable device determines a second probability based on the second waveform signal feature and the first audio signal feature, where the second probability indicates a probability of a strike action. When the second probability is higher than a third threshold, the wearable device determines that the wearable device has detected a strike action. When the second probability is less than or equal to the third threshold, the wearable device updates the acceleration data, the angular velocity data, and the positioning data within the same period.

[0561] For specific implementation of the above steps, please refer to the above description of S42 in the embodiment of FIG. 3B-1, and details will not be described again here.

[0562] In some other embodiments, when the motion data includes acceleration data and angular velocity data within the same period, the wearable device determines a third waveform signal feature based on the acceleration data and angular velocity data within the same period, where the third waveform signal feature includes an upswing displacement and / or a rotation angle. The wearable device acquires sound wave data belonging to the same period as the acceleration data and angular velocity data by using a sound collector. The wearable device determines that the second audio signal feature includes at least one of a frequency, an energy, or a peak value based on the sound wave data. The wearable device determines a probability corresponding to a strike action, a probability corresponding to a hand-waving action, and a probability corresponding to an air swing action based on the third waveform signal feature and the second audio signal feature. When the wearable device determines that the probability corresponding to a strike action is the maximum value, the wearable device determines that the wearable device has detected a strike action. When the wearable device determines that the probability corresponding to a strike action is not the maximum value, the wearable device updates the acceleration data and angular velocity data within the same period.

[0563] For specific implementation of the above steps, please refer to the above description of S42 in the embodiment of FIG. 3B-1, and details will not be described again here.

[0564] In this application, the statistical data further includes a golf strike path for each hole. Thus, for any hole in the first sports field, the wearable device selects all strike actions whose hole identifier is the hole identifier of the hole based on the strike data of all strike actions, and determines the recorded times and strike points of all strike actions. The wearable device draws a golf strike path for the hole based on the recorded times and strike points of all strike actions. The wearable device displays the golf strike path for the hole on the electronic map of the first sports field.

[0565] For specific implementation of the above-mentioned steps, please refer to the above description of S17 in the embodiment of Fig. 2A. Alternatively, for specific implementation of the above-mentioned steps, please refer to the above description of S37 in the embodiment of Fig. 3A. Here, details will not be described again.

[0566] In some embodiments, the wearable device uses connecting lines to connect the strike points of all strike actions from start to finish in ascending order of recorded time to plot a golf strike path for a hole.

[0567] For example, the present application provides a wearable device including a memory and a processor, the memory being configured to store program instructions, and the processor being configured to call the program instructions in the memory, such that the wearable device executes the sports mode processing method in the above-mentioned embodiment.

[0568] For example, the present application provides a chip system for use in a wearable device including a memory, a display and a sensor. The chip system includes a processor. When the processor executes the computer instructions stored in the memory, the wearable device executes the sports mode processing method in the above embodiment.

[0569] For example, the present application provides a computer-readable storage medium, which stores a computer program, which, when executed by a processor, enables the wearable device to implement the sports mode processing method in the above-mentioned embodiment.

[0570] For example, the present application provides a computer program product including executable instructions. The executable instructions are stored in a readable storage medium. At least one processor of a wearable device can read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions, so that the wearable device implements the sports mode processing method in the above embodiment.

[0571] In the above-mentioned embodiments, all or some of the functions may be implemented by software, hardware, or a combination of software and hardware. When the functions are implemented by software, all or some of the functions may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded into a computer and executed, all or some of the processes or functions according to the present application are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or another programmable device. The computer instructions may be stored in a computer-readable storage medium. The computer-readable storage medium may be any available medium accessible to a computer, or a data storage device, such as a server or a data center that integrates one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk drive, or a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid-State Drive, SSD), etc.

[0572] Those skilled in the art may understand that all or some of the processes of the method in the above embodiment may be implemented by a computer program that instructs relevant hardware. The program may be stored in a computer-readable storage medium. When the program is executed, the process of the method embodiment may be executed. The above storage medium includes any medium that can store program code, such as a ROM, a random access memory RAM, a magnetic disk, or an optical disk.

Claims

1. A sports mode processing method applied to a wearable device, comprising: determining whether the wearable device has loaded map data of a first sports field after the wearable device receives a first instruction, where the first instruction indicates that a user is playing a target sport, and the first sports field is a sports field where the user plays the target sport; acquiring motion data and positioning data after the wearable device determines that the map data of the first sports field is loaded by the wearable device, where the motion data represents an action feature of the user when the user plays the target sport, and the positioning data represents a location of the action of the user and a location of the wearable device when the user plays the target sport; and and displaying statistical data about the user's playing of the target sport based on the motion data, the positioning data, and the map data of the first sports field, the wearable device. A method for providing the above.

2. The step of receiving a first instruction by the wearable device comprises: displaying a first control on the wearable device, where the first control indicates that the user is playing the target sport; and receiving the first instruction after the wearable device receives a first operation performed by the user on the first control; The method of claim 1 , comprising:

3. When the wearable device includes a hardware button, the step of the wearable device receiving a first instruction includes: receiving, by the wearable device, a second action performed by the user on the hardware button, where the second action indicates that the user is playing the target sport; and receiving the first instruction by the wearable device after receiving the second action. The method of claim 1 , comprising:

4. The step of receiving a first instruction by the wearable device comprises: receiving a first input by the wearable device, the first input indicating that the user is playing the target sport; and receiving the first instruction after the wearable device receives a third operation performed by the user on the first input. The method of claim 1 , comprising:

5. The step of determining whether the wearable device has loaded map data of a first sports field after receiving a first instruction includes: determining, by the wearable device after receiving the first instruction, the first sports field; and The wearable device determines whether the wearable device has loaded the map data for the first sports field based on an identifier of the first sports field. The method of any one of claims 1 to 4, comprising:

6. The step of the wearable device determining the first sports field comprises: the wearable device displaying a second control and a third control on a first user interface, where the second control indicates a second sports field, the second sports field being a sports field obtained through positioning by the wearable device based on a location of the wearable device in the first sports field, the second control being further used to select a sports field, and the third control being used to confirm the sports field; and determining, by the wearable device, the second sports field as the first sports field after receiving a fourth operation performed by the user on the third control; or displaying, on a second user interface, a fourth control after the wearable device receives a fifth operation performed by the user on the second control, where the fourth control is used to search for a sports field; receiving a second input after receiving a sixth operation performed by the user on the fourth control, where the second input indicates a third sports field; determining that the user has selected the third sports field after receiving a seventh operation performed by the user on the second input, switching to display from the second user interface to the first user interface, where the second control on the first user interface indicates the third sports field; and determining the third sports field as the first sports field after receiving an eighth operation performed by the user on the third control. The method of claim 5 , comprising:

7. The method further comprises: switching from the first user interface to a third user interface after the wearable device determines that the map data of the first sports field has been loaded by the wearable device, where the third user interface is used to display data generated when the user plays the target sport. The method of claim 6 comprising:

8. The method further comprises: retrieving the map data of the first sports field from an electronic device or a server communicatively connected to the wearable device after the wearable device determines that the map data of the first sports field is not loaded by the wearable device; and and loading, on the wearable device, the map data of the first sports field based on the acquired map data of the first sports field. The method according to claim 6 or 7, comprising:

9. When the target sport is golf and the map data of the first sports field indicates a hole identifier and a field type for each location in the first sports field, the step of acquiring motion data and positioning data after the wearable device determines that the wearable device has loaded the map data of the first sports field comprises: activating a motion sensor and a positioning sensor after the wearable device determines that the wearable device has loaded the map data of the first sports field, and obtaining the motion data by using the motion sensor and obtaining the positioning data by using the positioning sensor; or After the wearable device determines that the map data of the first sports field has been loaded, activating a motion sensor, a positioning sensor, and a sound collector, acquiring the motion data by using the motion sensor, acquiring the positioning data by using the positioning sensor, and acquiring sound wave data by using the sound collector. The method of any one of claims 1 to 8, comprising:

10. The step of the wearable device displaying statistical data about the user's playing of the target sport based on the motion data, the positioning data, and the map data of the first sports field includes: The wearable device records strike data of all strike actions based on the motion data, the positioning data, and the map data of the first sports field, where the strike data of each strike action includes at least a recording time, a cumulative number of strokes for a hole to which the strike action belongs, a swing type, a hole identifier, a field type, a strike point, and a cumulative number of strokes for a field to which the strike action belongs; and the wearable device displays the statistical data based on the strike data of all the strike actions, where the statistical data includes at least the strike data of each strike action, a total cumulative number of strokes for each field type, a total cumulative number of strokes for each hole, a stroke distribution for each swing type, and a total cumulative number of strokes for all holes.

10. The method of claim 9, comprising:

11. The step of the wearable device recording, for any one of all the strike actions, strike data of all the strike actions based on the movement data, the positioning data, and the map data of the first sports field, includes: acquiring, by the wearable device, motion data and positioning data within the same time period; determining, based on the motion data, whether the wearable device detects a strike action; and After the wearable device determines that the strike action is detected by the wearable device, when the wearable device determines, based on the positioning data and the map data of the first sports field, that a field type of the strike action is a tee and that the strike action is the first strike action, recording strike data of the strike action; or After the wearable device determines that the strike action is detected, when the wearable device determines, based on the positioning data and the map data of the first sports field, that the field type of the strike action is one of a tee, a hole, or a hazard, and the strike action is not the first strike action, determine whether a distance between a strike point of the strike action and a strike point of a strike action having a latest recorded time is greater than a first threshold; when the distance is greater than the first threshold, recording strike data of an action; or displaying first information when the distance is less than or equal to the first threshold, wherein the first information is used to query the user whether a strike action is to be performed; recording strike data of the strike action when a third input is received within a first length of time and the third input indicates that a strike action is to be performed; or updating the movement data and the positioning data when a fourth input is received within the first length of time and the fourth input indicates that a strike action is not to be performed or when no user input is received after the first length of time has elapsed; or and recording strike data of the strike action when the wearable device determines, after the wearable device determines that the strike action has been detected, that the field type of the strike action is a green or a bunker based on the positioning data and the map data of the first sports field. The method of claim 10, comprising:

12. When the motion data includes acceleration data and angular velocity data within a same time period, the step of the wearable device determining whether the wearable device has detected a strike action based on the motion data includes: and determining a first waveform signal characteristic based on the acceleration data and the angular velocity data within the same time period, the first waveform signal characteristic comprising at least one of: a number of wave crests, a number of wave troughs, a wave crest value, a wave trough value, or a difference between a wave crest value and a wave trough value. determining a first probability based on the first waveform signal characteristic, the first probability indicating a probability of a strike action; and determining, by the wearable device, that the wearable device has detected a strike action when the first probability is higher than a second threshold; or updating the acceleration data and the angular velocity data within the same period when the first probability is less than or equal to the second threshold. The method of claim 11 , comprising:

13. When the motion data includes acceleration data and angular velocity data within a same time period, the step of determining whether the wearable device has detected a strike action based on the motion data includes: the wearable device determining second waveform signal characteristics based on the acceleration data and the angular velocity data within the same time period, where the second waveform signal characteristics include at least one of a number of wave crests, a number of wave troughs, a wave crest value, a wave trough value, or a difference between a wave crest value and a wave trough value; A step in which the wearable device acquires sound wave data belonging to the same period as the acceleration data and the angular velocity data by using the sound collector; determining, by the wearable device, a first audio signal characteristic based on the acoustic data, where the first audio signal characteristic includes at least one of a frequency, an energy, or a peak value; determining a second probability based on the second waveform signal characteristic and the first audio signal characteristic, the second probability indicating a probability of a strike action; and determining, by the wearable device, that the wearable device has detected a strike action when the second probability is greater than a third threshold; or updating the acceleration data, the angular velocity data, and the positioning data within the same period when the second probability is less than or equal to the third threshold. The method of claim 11 , comprising:

14. When the motion data includes acceleration data and angular velocity data within a same time period, the step of the wearable device determining whether the wearable device has detected a strike action based on the motion data includes: the wearable device determining a third waveform signal characteristic based on the acceleration data and the angular velocity data within the same time period, where the third waveform signal characteristic includes an upswing displacement and / or a rotation angle; A step in which the wearable device acquires sound wave data belonging to the same period as the acceleration data and the angular velocity data by using the sound collector; determining, by the wearable device, based on the sound wave data, that second audio signal characteristics include at least one of a frequency, an energy, or a peak value; The wearable device determines a probability corresponding to a strike action, a probability corresponding to a hand-waving action, and a probability corresponding to a whiff action based on the third waveform signal characteristic and the second audio signal characteristic; and determining that the wearable device has detected a strike action when the wearable device determines that the probability corresponding to a strike action is at a maximum value; or updating the acceleration data and the angular velocity data within the same period when the wearable device determines that the probability corresponding to a strike action is not a maximum value; The method of claim 11 , comprising:

15. 15. The method of any one of claims 9 to 14, wherein the statistical data further comprises a golf strike path for each hole.

16. For any hole in the first sports field, the wearable device may display a golf strike path for the hole, comprising: the wearable device selecting, based on the strike data of all the strike actions, all strike actions having a hole identifier of the hole, and determining recorded times and strike points of all the strike actions; the wearable device plotting the golf strike path for the hole based on the recorded times and the strike points of all the strike actions; and the wearable device displaying the golf strike path for the hole on an electronic map of the first sports field.

16. The method of claim 15, comprising:

17. The step of the wearable device plotting the golf strike path for the hole based on the recorded times and the strike points of all the strike actions comprises: the wearable device connects the strike points of all the strike actions from beginning to end in ascending order of recorded time by using connecting lines to plot the golf strike path for the hole.

17. The method of claim 16, comprising:

18. A wearable device comprising a processor, a memory, a motion sensor, a positioning sensor and a display, the memory, the motion sensor, the positioning sensor and the display are all coupled to the processor, the memory configured to store program instructions, and the processor configured to invoke the program instructions in the memory, such that the wearable device performs the sports mode processing method described in any one of claims 1 to 17.

19. A computer-readable storage medium comprising computer instructions, the computer instructions, when executing on a wearable device, capable of causing the wearable device to execute a sport mode processing method according to any one of claims 1 to 17.

20. 18. A computer program product, which when said computer program product is executed on a computer, is capable of causing said computer to execute the sport mode processing method according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • golf swing monitoring system

    JP2017525398A

  • Device and program

    JP2021058760A

  • Automatic wearable device for recognizing golf stroke and method thereof

    KR1020180006706A

  • Devices and methods for analyzing golf swings

    US20150328523A1

  • Tracking and Virtual Reconstruction of Activities

    US20160354633A1